maybe somebody can give me hint what is going wrong in my mod.
For my easy start with X4 Modding I decided to start with something simple (I thought), a Mod that allows you to put Race-Shields on Xenon F Fighter und B Corvette.en.
I was starting with the Xenon F Fighter, the code in the Xml looks like this:
Code: Select all
<diff>
<replace sel="//components/component/connections/connection[@name='con_shield_01']">
<connection name="con_shield_01" tags="small shield unhittable standard ">
<offset>
<position x="0" y="02.881412" z="-5.03478" />
</offset>
</connection>
</replace>
<replace sel="//components/component/connections/connection[@name='con_shield_02']">
<connection name="con_shield_02" tags="small shield unhittable standard ">
<offset>
<position x="-2" y="0.881412" z="-3" />
</offset>
</connection>
</replace>
</diff>

But the same code in the "ship_xen_m_corvette_01.xml" does absolutly nothing, but it should!

Did risk nothing and even use the tags from the paranid corvette, should be fitting.
But always the same: In the shipdock it shows no equipable shields!

Code: Select all
<diff>
<replace sel="//components/component/connections/connection[@name='con_shield_01']">
<connection name="con_shield_01" tags="medium shield unhittable platformcollision standard ">
<offset>
<position x="0.05442733" y="16.931137" z="-9.58473" />
</offset>
</connection>
</replace>
</diff>

<shield macro="shield_xen_m_virtual_01_mk1_macro" path="../con_shield_01" optional="1" />
Could this be the reason why this this accepts only exnon shields an nothing else?
I am already sitting on this problem for some time, would be could if someone could give me some directions of whats going wrong here.
Greeting, Christian