File itself is working, because this main gun has 42km range. I can check this values in encyclopedia as well.
But damagecurves... they do nothing.
I already tried different values. From 0 to 1000.
I guess something wrong with this "add". Or with synrtax. Or some additional bullet property is missed. Or it should be registered somewhere as bullet with curves.
Running with "debug" gives me 0 errors for this file.
My script looks like following:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<diff>
<replace sel="//bullet/@speed">4200</replace>
<replace sel="//bullet/@lifetime">10</replace>
<add sel="//properties/bullet">
<damagecurves>
<time>
<point position="0" value="1" />
<point position="0.1" value="0.01" />
<point position="1" value="0.001" />
</time>
<distance>
<point position="0" value="1" />
<point position="0.1" value="0.01" />
<point position="1" value="0.001" />
</distance>
</damagecurves>
</add>
</diff>
I tries to do replace for Erlking turrets. Without success too.
I've beed in discord, I've been at reddit.