Code: Select all
File: bullet_gen_turret_m_gatling_01_mk1_macro.xml
Code:
<properties>
<ammunition value="15" reload="1" />
<bullet speed="2040" lifetime="1.3" amount="1" barrelamount="2" icon="weapon_gatling_mk1" timediff="0.018" angle="0.18" maxhits="2" ricochet="0.01" restitution="0.3" scale="0" attach="0" />
<reload rate="10" />
<damage value="16" repair="0" />
<other stuff>
</properties>
Code: Select all
<damage value="48" shield="8" repair="0" />
Code: Select all
File: bullet_arg_m_ion_mk1_macro.xml
Code:
<properties>
<bullet speed="2496" lifetime="1.85" amount="1" barrelamount="1" icon="weapon_ion_mk1" timediff="0.013" angle="0.13" maxhits="1" ricochet="0" scale="0" attach="0" />
<heat value="190" />
<reload rate="3" />
<damage value="15" shield="228" repair="0" />
<other stuff>
</properties>
Code: Select all
<replace sel="//properties/damage/@shield">8</replace>
and
<add sel="//properties/damage/@shield">8</add>
My only guess so far is that I need to replace the entire <damage> line.. but I'm not too sure how to do that..

This is my xml structure for Bolt Repeaters right now, it's the same for all the gatling bullet files, besides the obvious differences.
Code: Select all
File: bullet_gen_turret_m_gatling_01_mk1_macro.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<!--Exported by: Markus (192.168.3.123) at 04.02.2019_11-21-09-->
<diff>
<replace sel="//properties/damage/@value">48</replace>
<add sel="//properties/damage/@shield">8</add>
</diff>
<!--Original (Altered Reference from previous attempt, not Vanilla)
<macros>
<macro name="bullet_gen_turret_m_gatling_01_mk1_macro" class="bullet">
<component ref="bullet_gen_s_gatling_01_mk1" />
<properties>
<ammunition value="15" reload="1" />
<bullet speed="2040" lifetime="1.3" amount="1" barrelamount="2" icon="weapon_gatling_mk1" timediff="0.018" angle="0.18" maxhits="2" ricochet="0.01" restitution="0.3" scale="0" attach="0" />
<reload rate="10" />
<damage value="48" shield="8" repair="0" />
<effects>
<impact ref="impact_gen_s_gatling_01_mk1" />
<launch ref="muzzle_gen_s_gatling_01_mk1" />
</effects>
<weapon system="turret_shortrange" />
</properties>
</macro>
</macros>
-->