[Question] How to increase Travel engine speed?

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

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

Post Reply
JPB101673
Posts: 14
Joined: Mon, 19. Apr 21, 21:30
x4

[Question] How to increase Travel engine speed?

Post by JPB101673 » Tue, 28. Jun 22, 16:53

I've been looking in the engines, components files etc, and can't find the value for increasing the top speed of the travel engines. Could someone please explain, thanks in advance.

User avatar
alexalsp
Posts: 1823
Joined: Fri, 18. Jul 14, 05:28
x4

Re: [Question] How to increase Travel engine speed?

Post by alexalsp » Tue, 28. Jun 22, 17:54

assets\props\Engines\macros\

and DLC

JPB101673
Posts: 14
Joined: Mon, 19. Apr 21, 21:30
x4

Re: [Question] How to increase Travel engine speed?

Post by JPB101673 » Tue, 28. Jun 22, 18:26

I figured it was the Engines file, however which value needs to be increased? As an example, here is the string for the Teran all around engine for travel. <travel charge="20" thrust="33" attack="15" release="1.5" />
is it one of those values? And/or which needs to be changed? Thanks again.

User avatar
alexalsp
Posts: 1823
Joined: Fri, 18. Jul 14, 05:28
x4

Re: [Question] How to increase Travel engine speed?

Post by alexalsp » Tue, 28. Jun 22, 22:25

In x4 it's a little different than in Rebirth.

Look in folders

assets\units\size_l\macros\

xl | l | m | s

parameter

Code: Select all

      <physics mass="780.498">
        <inertia pitch="372.804" yaw="372.804" roll="298.243" />
        <drag forward="196.1" reverse="784.399" horizontal="111.722" vertical="111.722" pitch="223.1" yaw="223.1" roll="223.1" />
      </physics>
try to change

Code: Select all

forward / reverse 
Example

ship_arg_l_miner_solid_01_b_macro.xml

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<diff>
<replace sel="//properties/physics/@forward">300</replace>
<replace sel="//properties/physics/@reverse">1000</replace>
</diff>
Substitute the values you need.
Last edited by alexalsp on Tue, 28. Jun 22, 23:39, edited 2 times in total.

Dr Reed
Posts: 76
Joined: Fri, 30. Nov 18, 00:05
x4

Re: [Question] How to increase Travel engine speed?

Post by Dr Reed » Tue, 28. Jun 22, 22:44

JPB101673 wrote:
Tue, 28. Jun 22, 18:26
<travel charge="20" thrust="33" attack="15" release="1.5" />
is it one of those values? And/or which needs to be changed? Thanks again.
For adjusting the travel drive speed yes.



travel charge="##" is how long it takes for the engine to spool up and activate the travel drive.

thrust="##" is the engine power and this ties in with, as alexalsp pointed out, the physics section of each individual ship and adjusting the drag of the ship also effects the top speed of the travel drive.

attack="##" is the acceleration of the engine for it to reach top speed in travel mode.

release="##" is the deceleration of the engine when you drop out of travel speed.

JPB101673
Posts: 14
Joined: Mon, 19. Apr 21, 21:30
x4

Re: [Question] How to increase Travel engine speed?

Post by JPB101673 » Wed, 29. Jun 22, 08:17

@alexalsp, @Dr Reed, thank both of you. I was able to figure it out now with your explanations. I appreciate the two of you.

Post Reply

Return to “X4: Foundations - Scripts and Modding”