Outerra forum
Anteworld - Outerra Game => Modding: Importer, Tools & Utilities => Topic started by: bugsblake on June 11, 2013, 06:56:44 am
-
hi all
can anyone tell me just what theses do? from vehicle .js file!
const EF = 30000.0;
const BF = 4000.0;
const forceloss = EF / (0.2*maxkmh + 1);
and is all this info listed anywhere?
thanks
-
Well, they don't do anything really, they're just constants assignments. EF is the engine force, BF the breaking force and forceloss is, iirc, how much the engine force decreases with the speed. It's a crude emulation of the decreasing torque of higher gears.
-
thanks giucam!
was wondering about how to get a car to accelerate faster? you see with the pontiac gto i just posted, its weight is 1645kg and top speed of 182kpm and it seems slow to get started! but i read it does 1/4 mile in such a time but mine dont! mine seems real slow at first!
i guess this is where if i wanted it to be more like the real car i would have to put gears in the .js file? is that right? is there a tut on setting up gears?
thanks
-
To have the car accellerate faster just increase the EF value.
Adding the gears with my script is quite simple. Just add/remove/modify the entries in chassis.forwardGears and chassis.reverseGears with the right values. You may need to modify other engine properties for fine tuning, but getting the gears right is the most important thing.
-
thanks again! will have a tinker and see what i can come up with! will shout you back here if i need any advice! ;)