Author Message

adnan54

br
Posts: 289

Location: Brazil
Occupation: student
Age: 24
V$:
#131059   2017-10-14 01:58          
# Jfernando1 : Also, in other news, have you tried the Civic bumpers?
I've checked the EK9 updated by Razine & Joealex, it have all the bumpers from Forza 4 so idk why to export it again. (VS EK9 and my single piece EK9 comes from Forza 4, basically they are the same model with different uvw mapping).



About the digital speedo:
I think it is not that hard to script, but the way that i'm think it could be done require some patience
My idea is something like this:

public void updatevariables()
{
	the_car = null;
 	getCar_LocalVersion();
 
 	if( the_car && GameLogic.player && GameLogic.player && GameLogic.player.car && the_car == GameLogic.player.car.chassis ) // player is using this car
 	{
		float speed = player.car.getSpeedSquare();

		switch (speed)
		{
			case 1: //1km/h
			{
				setRenderType(cars.NIS_SkylineGTRVSpecII_02.speedo:0x0002r); //set render to 1km/h
				Thread.sleep( 250 ); // wait 0.25 s
				break;
			}
			case 2: //2km/h
			{
				setRenderType(cars.NIS_SkylineGTRVSpecII_02.speedo:0x0003r); //set render to 2km/h
				Thread.sleep( 250 ); // wait 0.25 s
				break;
			}
			case 3: //3km/h
			{
				setRenderType(cars.NIS_SkylineGTRVSpecII_02.speedo:0x0004r); //set render to 3km/h
				Thread.sleep( 250 ); // wait 0.25 s
				break;
			}
			.
			.
			.
			case 319: //319km/h
			{
				setRenderType(cars.NIS_SkylineGTRVSpecII_02.speedo:0x0320r); //set render to 319km/h
				Thread.sleep( 250 ); // wait 0.25 s
				break;
			}
			case 320: //320km/h
			{
				setRenderType(cars.NIS_SkylineGTRVSpecII_02.speedo:0x0321r); //set render to 320km/h
				Thread.sleep( 250 ); // wait 0.25 s
				break;
			}
			default: //0km/h
			setRenderType(cars.NIS_SkylineGTRVSpecII_02.speedo:0x0001r);  //set render to 0km/h
			Thread.sleep( 100 ); // wait 0.1 s
			break;
		}
	}
}
Of course i know that it wouldn't work in exactly that way, i just have started to learn programming few months ago so i'm still a noob xD
Something wrong is not right.