I have tried to do it anyway, in hope that at some point I will be able to push that subject forward, but I am stuck now.
I have edited file ship_par_s_trans_container_01.xml by adding turret:
Code: Select all
<connection name="con_turret_01" tags="turret standard medium hittable">
<offset>
<position x="1.679909E-02" y="2.246185" z="3.0"/>
</offset>
</connection>
<connection name="con_turret_02" tags="turret medium standard component hittable">
<offset>
<position x="1.679909E-02" y="2.246185" z="-12.0"/>
</offset>
</connection>
Then, I thought, that maybe it depends on ship size or type so I have edited ship_par_s_trans_container_01_macro.xml :
Code: Select all
<diff>
<replace sel="//macros/macro/@class">ship_m</replace>
<replace sel="//macros/macro/properties/ship/@type">scavenger</replace>
<replace sel="//macros/macro/properties/purpose/@primary">fight</replace>
</diff>
Result: s fighter is 'properly' categorized as medium ship, scavenger in-game - so edit works - but still no luck with turrets.
I would appreciate any help with making it work.