Freelancer Community Network
Reminder: Internet Explorer 6 or below are NOT supported.
HomeHome
ForumForum
WikiWiki
DownloadsDownloads
ForgeForge
Multiplayer Connection Tutorial
Collapse/Expand Random Image
Collapse/Expand Login
Username:

Password:

Remember me



Lost Password?

Register now!
Collapse/Expand Chat
Collapse/Expand Who's Online
44 user(s) are online (26 user(s) are browsing Forum)

Members: 0
Guests: 44

more...
Collapse/Expand Donations
Monthly costs: -30€
Income (ads): +5€
Donations (last month): +10€

Current balance: -300€
(last updated 11/2017)

Please make a donation if you want to help keeping The-Starport online:

Bitcoin address:
Thanks!
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 85 users playing Freelancer on 36 servers.
November. 17, 2017

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post



formulas for movement system & damage
Just popping in
Joined:
2009/8/10 15:59
Group:
Registered Users
Posts: 5
Offline
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?

Posted on: 2012/8/5 22:17
HD-Freelancer
Top
Re: formulas for movement system & damage
Quite a regular
Joined:
2009/7/16 5:43
From Germany
Group:
Registered Users
Posts: 163
Offline
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 aswell

for steering & stuff like that -> http://forums.seriouszone.com/showthread.php?t=55250

greetz,

Posted on: 2012/8/6 1:12
Top
Re: formulas for movement system & damage
Just popping in
Joined:
2009/8/10 15:59
Group:
Registered Users
Posts: 5
Offline
Thank you very much. This helps me a lot!

Posted on: 2012/8/6 10:30
HD-Freelancer
Top
Re: formulas for movement system & damage
Quite a regular
Joined:
2009/7/16 5:43
From Germany
Group:
Registered Users
Posts: 163
Offline


Quote:
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

Posted on: 2012/8/6 15:18
Top
Re: formulas for movement system & damage
Home away from home
Joined:
2010/3/14 18:10
From Germany
Group:
Registered Users
Senior Members
Posts: 1526
Offline
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.

Posted on: 2012/10/7 18:08
Top