[MOD] SKUNK OVERHAUL - Player Ships:Hayabusa / Triath Gladius - GOG/STEAM

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

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

Post Reply
Koritnaciino
Posts: 319
Joined: Sun, 26. Feb 06, 10:57
x4

Post by Koritnaciino » Wed, 26. Apr 17, 23:35

Maybe you can rework to keep cockpit on standard position and move all other parts? This mode have a chance to be very popular :) Looks realy nice .. and do not make skunk to much overpowered like others similar mods.

dertien
Posts: 274
Joined: Tue, 22. Feb 05, 13:27
x2

Post by dertien » Sun, 30. Apr 17, 13:21

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...

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>
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.

dertien
Posts: 274
Joined: Tue, 22. Feb 05, 13:27
x2

Post by dertien » Mon, 1. May 17, 17:49

Gladius now works on STEAM.

Link on first page.

Post Reply

Return to “X Rebirth - Scripts and Modding”