[MOD] SKUNK OVERHAUL - Player Ships:Hayabusa / Triath Gladius - GOG/STEAM
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
-
- Posts: 319
- Joined: Sun, 26. Feb 06, 10:57
EDIT:
technical connotation:
After looking for some time why one game did and the other did not react to the changes in XYZ coordinates, I was able to trace the problem to 1 line that was not required before:
the file: assets\units\player\unit_player_ship.xml needed a little extra line.
So going from this code which still works on GOG versions of the game...
to this code; adding the quaternion found in the original file and making sure every other reference was removed as well did the trick.
Probably what I think makes the views behave differently on identical games is that the 3d mesh orientation with the export is not identical for both games, since both xml files were.
Here is a tool that shows quaternions and helps you with the 'facing' issues.
http://quaternions.online/
Anyways, link for the Gladius is up on the steam workshop.
Enjoy.
technical connotation:
After looking for some time why one game did and the other did not react to the changes in XYZ coordinates, I was able to trace the problem to 1 line that was not required before:
the file: assets\units\player\unit_player_ship.xml needed a little extra line.
So going from this code which still works on GOG versions of the game...
Code: Select all
<add sel="/components/component[@name='unit_player_ship']/connections/connection[@name='cockpit']/offset">
<position x="7" y="8.2" z="-13"/>
</add>
to this code; adding the quaternion found in the original file and making sure every other reference was removed as well did the trick.
Code: Select all
<remove sel="/components/component[@name='unit_player_ship']/connections/connection[@name='cockpit']/offset/position"></remove>
<remove sel="/components/component[@name='unit_player_ship']/connections/connection[@name='cockpit']/offset/quaternion"></remove>
<add sel="/components/component[@name='unit_player_ship']/connections/connection[@name='cockpit']/offset">
<position x="7" y="8.2" z="-13"/>
<quaternion qx="0.5" qy="-0.5" qz="-0.5" qw="-0.5"/>
</add>
Here is a tool that shows quaternions and helps you with the 'facing' issues.
http://quaternions.online/
Anyways, link for the Gladius is up on the steam workshop.
Enjoy.