Jump to content
Sign in to follow this  
col_kurtz1979

Car acceleration

Recommended Posts

This is my first addon and im not sure how to set the config for acceleration.

Ive set the max speed to 300 but this doesnt do much as the gear shift become longer ratio and so theres no gain in acceleration. Ive played around with the damper settings  but this doesnt seem to change much. I need drag racer type acceleration!! Is there anyway to change the gear ratio?

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">     class f1car: Car

   {

               scope=2;

               side=3;

               crew="Civilian3";

               hasDriver=1;

               icon="\Formula_One_Car\f1icon";

               picture="\Formula_One_Car\f1pic";

               maxSpeed=320;  

               displayName="Formula One Car";

               nameSound="target";

               accuracy=8.00000;

               armor=10;

               cost=1000;

               fuelCapacity=45;

               transportAmmo=0;

               model= \Formula_One_Car\f1car;

               armorWheels=0.140000;

               hasgunner=0;

               turnCoef=3.7500000;

    terrainCoef=0.45;

               damperSize=0.00000000011;

               damperForce=0.0000000001;

               brakeDistance=0.0000001

               precision=999.00;

               steerAheadSimul=999,000000;

  steerAheadPlan=999,000000;

               predictTurnSimul=999,00000;

  predictTurnPlan=999,000000;

               preferRoads=1;

               wheelCircumference=2.400;

               soundEngine[]={"\Formula_One_Car\f1.wav",0.25,1};

   soundGear[]={"\Formula_One_Car\gear.wav",1,1};                

               driverCastShadow = false;

               driverAction=ManActJeepDriver;      

       };

Ive searched and found just the one topic on the subject, which didnt help either  confused_o.gif

Share this post


Link to post
Share on other sites

Top speed for a vehicle is 190k's. If you want to go faster than that you will need to use a turbo script. You can adjust it to any speed you want.

Check the turbo script on the Mustang GTR here.

Share this post


Link to post
Share on other sites

Unreal Bratty. The script would be very usefull timing laps or the 1/4 mile on race islands. Good work, thanks.

Share this post


Link to post
Share on other sites

lol cell that nitro script is more than enough acceleration, very cool, thanks yay.gif

Using bratty's script i get :

0 - 60 in 2.203

0 - 100 5.531

..which is very poor for an F1 car... might see an improvement after ive tinkered with the nitro script

biggrin_o.gif

Share this post


Link to post
Share on other sites

No problem. There are a few versions of the nitro scripts available. You might want to check out PSC's Buggy pack. You can trigger of the nitro using the fire button on his one instead of using the action menu.

Share this post


Link to post
Share on other sites

Its all finished now m8, your nitro/boost script came in very useful, thanks.

Ive set a 'full throttle' and a 'handbrake' option for the action menu, which works nicely. The handbrake is basically a reverse of your nitro script, set to cut out when the car slows to 100kph.

Ive capped the top speed at 320 kph, dont want the car to become airbourne.

Using brattys (modified) script... acceleration rate as follows :

0 - 60 1.641 seconds

0 - 100 4.282 seconds

0 - 300 14.829 seconds

Just some textures to finish off now xmas_o.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×