I've been trying to get rid of the "box" visual that represents the docking bay of the Skunk. I'm making a Triath player ship which is very sleek, and the box is bigger than any part I can hide it in:
Here's a screenshot of what I mean:

Adding code to the unit_player_ship.xml to remove the drone bay and re-adding one directly underneath it with a reference to a transparent dds image did not work:
Here's the code:
Code: Select all
<remove sel="/components/component[@name='unit_player_ship']/connections/connection[@name='Connection01']">
</remove>
<add sel="/components/component[@name='unit_player_ship']/connections">
<connection name="Connection01" tags="part ">
<offset>
<position x="0" y="5.1" z="-28"/>
<rotation yaw="0" pitch="0" roll="0"/>
</offset>
<parts>
<part name="part_player_drone_lb">
<lods>
<lod index="0">
<materials>
<material id="1" ref="dummy.transparent"/>
</materials>
</lod>
</lods>
<size>
<max x="3.148481" y="2.100149" z="5.843072"/>
<center x="0" y="0" z="-0.1108739"/>
</size>
</part>
</parts>
<waypoints/>
</connection>
<connection name="Con_launchpos" tags="launchpos " parent="part_player_drone_lb">
<offset>
<position x="9.411871E-04" y="-2.649278E-02" z="3.557141"/>
<quaternion qx="-0" qy="-1" qz="-0" qw="7.54979E-08"/>
</offset>
</connection>
<connection name="Con_todock" tags="todock " parent="part_player_drone_lb">
<offset>
<position x="3.038025E-02" y="2.48057E-03" z="-39.83282"/>
<quaternion qx="7.022142E-09" qy="1.306566E-07" qz="-0.7071068" qw="0.7071068"/>
</offset>
</connection>
<connection name="Connection_component" tags="component dock_xs ">
<offset/>
</connection>
</add>
I know this is the right one, because I can move the box's offset position (xyz) in the code above. However referencing it to a different material from the library (like dummy.transparent instead of player.player_trims) does not seem to work.
Anyone any ideas, cause I really want to get rid of this box, but keep the drone bay spawn point for obvious reasons.
removing the Connection01 entirely removes the box, but also the drone bay, so that's not really an option.
Thanks