I've been trying to find the files that govern how missile damage is calculated and I cannot find anything. I know how to change the explosion damage but I cannot change how the explosion works (splash damage range) or even changing its damage type.
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<!--Exported by: Matthias (192.168.3.104) at 21.11.2018_12-58-12-->
<macros>
<macro name="missile_dumbfire_light_mk1_macro" class="missile">
<component ref="missile_dumbfire_light_mk1" />
<properties>
<identification name="{20105,6004}" basename="{20105,6001}" description="{20105,6002}" />
<ammunition value="1" />
<missile amount="1" barrelamount="1" lifetime="12" range="9000" guided="0" icon="missile_dumbfire_mk1" tags="dumbfire" />
<explosiondamage value="2200" />
<reload time="1.5" />
<hull max="21" />
<effects>
<explosion ref="missile_explosion_light_01" />
<launch ref="missile_dumbfire_muzzle" />
</effects>
<weapon system="missile_dumbfire" />
<countermeasure resilience="1" />
<physics mass="0.27">
<inertia pitch="0.198" yaw="0.198" roll="0.099" />
<drag forward="0.054" reverse="0.216" horizontal="0.387" vertical="0.387" pitch="0.235" yaw="0.235" roll="0.117" />
</physics>
</properties>
<connections>
<connection ref="con_engine01">
<macro ref="engine_missile_dumbfire_mk1_macro" connection="ship" />
</connection>
</connections>
</macro>
</macros>
Code: Select all
<diff>
<replace sel="//macros/macro/properties/explosiondamage/@value">0</replace>
<add sel="//macros/macro/properties">
<damage value="3960">
</add>
</diff>