One Nation, One Love, But Who? ;) Group: BUSTED!
Joined: Oct 17, 2011
Would there be a Native function to make the car go faster? Like superspeed? As it would be cool, to switch bewteen the car going super super fast, then normal speed and not having to edit the handling file to make car super fast........
You can give the car a nice hard boost from the rear (Y position). If you wanted it to "accelerate" maybe apply small force on an interval, it will "stack" so speed will continue to increase. You could, using a fixed (-Z force) hold the car to the ground better making it "heavier" so it doesn't bounce around.
// Global int intSpeed = GetPrivateProfileIntA("Speed", "MaxSpeed", 280, "./Your Mod.ini"); // Set MaxSpeed to 280 km/h in INI int intAcc = GetPrivateProfileIntA("Speed", "Acceleration", 70, "./Your Mod.ini"); // Set Acceleration to 70 in INI Vehicle highSpeedCar; f32 maxSpeed, carSpeed, carAcc;
void CustomFiberThread::SkorproCarSpeedup() { maxSpeed = (float) intSpeed; // int to float carAcc = (float) intAcc; // int to float