Author Message

Bigg Boss93

it
Posts: 4024
http://rdbl.co/1Hmg5XL
Location: Italy - Sardegna
Occupation: Swimming out of the shit pool
Age: 30
V$: More than you can afford, pal.
#17811   2012-10-03 16:39          
ok, i'll try asap and let you know, many thanks :)

Added 53 minutes later:

Edited as you said, still wont work

ERROR: !syntax error in file parts\zBB93_Drag\scripts\src\15x19_1.java at line 7

package java.game.parts.zBB93_Drag;
import java.util.*;
import java.util.resource.*;
import java.game.parts.rgearpart.reciprocatingrgearpart.*;

public class 15x19_1 extends Tyre
{
	public 15x19_1 ( int id )
	{
		tyre_size_label = "485/40 R15";

		render_types[0]  = 0;		// for  5.0 inch wide rims //
		render_types[1]  = 0;		// for  5.5 inch wide rims //
		render_types[2]  = 0;		// for  6.0 inch wide rims //
		render_types[3]  = 0;		// for  6.5 inch wide rims //
		render_types[4]  = 0;		// for  7.0 inch wide rims //
		render_types[5]  = 0;		// for  7.5 inch wide rims //
		render_types[6]  = 0;		// for  8.0 inch wide rims //
		render_types[7]  = 0;		// for  8.5 inch wide rims //
		render_types[8]  = 0;		// for  9.0 inch wide rims //
		render_types[9]  = 0;		// for  9.5 inch wide rims //
		render_types[10] = 0;		// for 10.0 inch wide rims //
		render_types[11] = 0;		// for 10.5 inch wide rims //
		render_types[12] = 0;		// for 11.0 inch wide rims //
		render_types[13] = 0;		// for 11.5 inch wide rims //
		render_types[14] = 0;		// for 12.0 inch wide rims //
		render_types[15] = 0;		// for 12.5 inch wide rims //
		render_types[16] = 0;		// for 13.0 inch wide rims //
		render_types[17] = 0;		// for 13.5 inch wide rims //
		render_types[18] = 0;		// for 14.0 inch wide rims //
		render_types[19] = 0;		// for 14.5 inch wide rims //
		render_types[20] = 0;		// for 15.0 inch wide rims //
		render_types[21] = 0;		// for 16.0 inch wide rims //
		render_types[22] = 0;		// for 17.0 inch wide rims //
		render_types[23] = 0;		// for 18.0 inch wide rims //
		render_types[24] = parts.zBB93_Drag:0x0000D018r;	// for 19.0 inch wide rims //
		render_types[25] = parts.zBB93_Drag:0x0000D018r;	// this rendertype as default //

		SetupTyre(485.0, 40.0, 15.0, 40.0, tcDRAGRADIAL, 2.0);

		calcStuffs();

		name = "15x19_1";
		value = 80.0;
	}

	public void updatevariables()
	{
		Wheel	rim = partOnSlot(1);

		if (rim)
		{
			int	render_type_index = clampTo((rim.rim_width-5)*2,0,20);

			if (render_types[render_type_index])
				setRenderType(render_types[render_type_index]);
			else
				setRenderType(render_types[25]);
			SetupTyre(485.0, 40.0, 15.0, rim.rim_width, tcDRAGRADIAL);
			super.updatevariables();
		}
	}
}

Added 7 minutes later:

is weird, because i tried using a normal tyre java and it still gives me that error, as if the game didnt like the name or something

This post was edited by Bigg Boss93 (2012-10-03 17:40, ago)
Diegorborges about my Valo fix: "Now all of you must have your slrr folder like this: C:/BIGBOSSisMYlordANDiamHISbitch/SLRR LOL" :O