Formulas for movement system & damage
-
Hi,
I’m curious if anybody knows how the Freelancer engine calculates speed, mass, acceleration and so on for the movement system.
Does anybody know?Sure, the sourcecode has never been released but maybe it can be seen in one of the different ini files which I haven’t found yet?
And what about the damage calculation?
I always have the feeling that it is just based on the number of parts.
So a damage of 100 would be multiplied by X (0.something) and then multiplied by the partnumber of the ship.
Is this correct? -
about engine speeds -> look at engine_equip.ini
the maximum (normal) speed is = max_force/(angular_drag + 1).
the speed backward is = maximum normal speed * reverse_fraction
acceleration = cruise_charge_time (in seconds)the maximun cruise speed is a little bit tricky.
it can be managed via the power plant @ ur ship & the power usage of ur engine.
(afaik hhc-mod has it @ li_cruiser & or_osiris)
you can use m0tah’s multispeed plugin if u r lazy aswellfor steering & stuff like that -> http://forums.seriouszone.com/showthread.php?t=55250
greetz,
-
you can use m0tah’s multispeed plugin if u r lazy aswell
ah just made a little typo. (it just was kinda late in the night)
What i meant to say is: m0tah’s multicruise plugin located ->here<- or @ the 88flak mod -
In fact I wrote a little application to calculate precisely the values you want… you should be able to find it in the tools section. it makes it also unnecessary to make any excel tables or manual calculations. and it is perhaps WIP, if there is any interest in improvement.