How are ship speeds calculated?

The place to discuss scripting and game modifications for X4: Foundations.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

Max Bain
Posts: 1463
Joined: Wed, 27. Jun 18, 19:05
x3ap

How are ship speeds calculated?

Post by Max Bain »

How exactly can I calculate the forward top speed (normal, travel and boost). I see that each ship has its own forward value and then the engines have values for forward as well.
For example:

ship_tel_m_bomber_01

forward: 8.72
mass: 28.434

engine_arg_l_allround_01_mk1

forward: 5083
Travel: 25
Boost: 2

I guess that Travel and Boost values are just multiplyers on the normal max speed value, but how do I get the max speed value for combat? I am sure that it is NOT 5083 + 8.72. Is it something depending on mass?

I have no clue...
XR Ship Pack (adds several ships from XR) Link
Weapon Pack (adds several new weapons) Link
Economy Overhaul (expands the X4 economy with many new buildings) Link
X4 Editor (view stats of objects and make your own mod within a few clicks) Link
User avatar
euclid
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 13493
Joined: Sun, 15. Feb 04, 20:12
x4

Re: How are ship speeds calculated?

Post by euclid »

Hi Max Bain :-)

acceleration = thrust/ mass. speed = thrust / drag

Cheers Euclid
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786
HighVelocity
Posts: 189
Joined: Mon, 22. Dec 03, 17:15
x3ap

Re: How are ship speeds calculated?

Post by HighVelocity »

But I think the storage is also calculated.

I cahnged my player ship to 500.000 Storage (eklipse) for testing things and gave myself about 400.000 anything (save-edit). The first velocity was about 600 and with full load only about 20 (twenty). I dropped all cargo and speed was again 600.
That means: where i can alter the mass of the ware ? If i set them all to zero it should work .... I dont think its the volume, but maybe ......

Good old X3: you only changed one textline and it worked and now every change need about 100 try and error methods .......
but of course with alle the nice modders you learn always more, but sadly a year passes very quickly.

hv
sh1pman
Posts: 604
Joined: Wed, 10. Aug 16, 13:28
x4

Re: How are ship speeds calculated?

Post by sh1pman »

euclid wrote: Fri, 21. Dec 18, 15:10 Hi Max Bain :-)

acceleration = thrust/ mass. speed = thrust / drag

Cheers Euclid
Why is there drag in vacuum?
Kamuchi_
Posts: 174
Joined: Fri, 7. Dec 18, 05:04
x4

Re: How are ship speeds calculated?

Post by Kamuchi_ »

sh1pman wrote: Tue, 25. Dec 18, 22:46
euclid wrote: Fri, 21. Dec 18, 15:10 Hi Max Bain :-)

acceleration = thrust/ mass. speed = thrust / drag

Cheers Euclid
Why is there drag in vacuum?
Space magic dust, never heard of it? :lol:

Return to “X4: Foundations - Scripts and Modding”