Ships with moveable engines

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

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

Post Reply
unheardof
Posts: 18
Joined: Tue, 18. May 21, 22:48
x4

Ships with moveable engines

Post by unheardof » Thu, 18. Nov 21, 03:01

hello all just figured id post this since some might find it useful its something i figured out while i was playing around modding the teladi falcon fighter
i wanted to add a 2nd pair of engines to it which i did but hated how the engines moved when using your thrusters going in reverse or taking off or landing so after alittle trial and error i found what code needed removed from the xml file to stop this here is the code you want to look for and ill mark the line needing removed you will need to do this for both rotator_r and rotator_l
just a fun fact if you add rotation y and/or z the engines do some wild things 8)
welp happy modding everyone and hope this gives a hit or helps someone out

<connection name="Connection28" tags="part ">
<offset>
<position x="11.80701" y="-0.4220744" z="1.46078"/>
</offset>
<restrictions>
<restriction type="rotation_x"/> <-- (you need to remove this line right here)
</restrictions>
<parts>
<part name="rotator_r">
<lods>
<lod index="0">
<materials>
<material id="1" ref="generic.generic_p1_hulltexture"/>
<material id="2" ref="generic.generic_p1_fx"/>
</materials>
</lod>
<lod index="1">
<materials>
<material id="1" ref="generic.generic_p1_hulltexture"/>
<material id="2" ref="generic.generic_p1_fx"/>
</materials>
</lod>
<lod index="2">
<materials>
<material id="1" ref="generic.generic_p1_hulltexture"/>
<material id="2" ref="generic.generic_p1_fx"/>
</materials>
</lod>
<lod index="3">
<materials>
<material id="1" ref="generic.generic_p1_hulltexture"/>
<material id="2" ref="generic.generic_p1_fx"/>
</materials>
</lod>
</lods>
<size>
<max x="2.50165" y="1.268053" z="4.194097"/>
<center x="2.403605" y="3.082359E-02" z="0.6558607"/>
</size>
<trailemitters>
<emitter name="trail_ship_s_01" type="trail_ship_s_01">
<offset>
<position x="1.517809" y="-0.6986502" z="-9.740829"/>
</offset>
</emitter>
</trailemitters>
</part>
</parts>
<waypoints/>
</connection>

Manawydn
Posts: 270
Joined: Sun, 26. Jan 20, 06:54
x4

Re: Ships with moveable engines

Post by Manawydn » Sat, 20. Nov 21, 00:06

That's pretty cool! I don't really like how the moveable engines on Teladi/Argon ships are so twitchy. Looks/feels way out of place and unrealistic. I do appreciate what they were attempting, but in effect it was not a pretty sight.

Post Reply

Return to “X4: Foundations - Scripts and Modding”