Station Rotation axis

The place to discuss scripting and game modifications for X Rebirth.

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

Reaperxvii
Posts: 357
Joined: Thu, 29. May 14, 19:03
x3ap

Station Rotation axis

Post by Reaperxvii »

How does the game determine how a station is rotated upon starting the construction script? As it seems to be based upon what angle the CV comes in from, though I could be wrong.

Is there a way to rotate a station after its built through editing the save files or another file?
"We are the middle children of History. Born too late to explore the earth, born to early to explore the stars."

"Time is the fire in which we burn"

Reaper's Mod Index
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Post by UniTrader »

rotation is defined by the Buildspot afaik, CV just adjusts its position to it

i am sure it can be readjusted in the savegame, look for entries similiar to this:

Code: Select all

				<offset>
					<position x="1250.921" y="-123.8594" z="-6118.713"/>
					<quaternion qx="1.152023E-07" qy="0.7071068" qz="1.152023E-07" qw="-0.7071067"/>
				</offset>
note that instead of the complicated quaternion a <rotation yaw="0" pitch="0" roll="0"/> can also be used (values are degrees here)
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)

Return to “X Rebirth - Scripts and Modding”