Prefab::vehicle Engine parameters

gugus

14-04-2007 08:09:01

Hello.
Can somebody explain me the engine parameters in .ogreode files?
For exemple,i want a car who have a good acceleration when she is beetween 0and 30 km/h but when it goes faster than 30,it will start to accelerate less , another one beetween 30 and 60...

I am asking that beceause i am trying to add gear in prefab.

luis

15-04-2007 11:06:34

With the tag "redline" you set the 'final' speed. with the 'torquecurve' you set acceleration.

The torquecurve should do something like you want to do, each point in the curve should give you the corresponding torque for a corresponding RPM, but it doesnt work, at leat for me....
No matter what torquecurve you set, only the first will be used, and you have to put at least two values or the parser will interpret as there is no torquecurve.

For example, a low acceleration and high final velocity:

<engine redline="100.0" brake="17.5">
<torquecurve value="0.75" />
<torquecurve value="0.75" />
</engine>

gugus

15-04-2007 14:11:10

Hello
You are right , it doesn't work.It looks like it is not yet implemented...