Hi all - I'm trying to make my first-ever mod. Essentially, I'm just trying to make Steel Arrows and Steel Bolts work with the Penetrator perk. I followed a tutorial, thought I understood, apparently I didn't since it doesn't seem to work. I yoinked the attributes from other AP ammo and adapted the values (EntityPenetrationCount's tag to Archery and a higher value for dTargetPenetration). Like those other ammo types, I'm trying to add the new two attributes into the effect_group as I see it working for the other ammo.
My items.xml file is pretty short, and reads thus:
<penetratarchery>
<!-- Steel Arrows gain Penetration -->
<append xpath="/items/item[@name='ammoArrowSteelAP']/effect_group">
<passive_effect name="EntityPenetrationCount" operation="base_set" value="1" tags="perkArchery"/>
<display_value name="dTargetPenetration" value="2"/>
</append>
<!-- Steel Bolts gain Penetration -->
<append xpath="/items/item[@name='ammoCrossbowBoltSteelAP']/effect_group">
<passive_effect name="EntityPenetrationCount" operation="base_set" value="1" tags="perkArchery"/>
<display_value name="dTargetPenetration" value="2"/>
</append>
<set xpath="progression/perks/perk[@name='perkPenetrator']/effect_group/passive_effect[@name=EntityPenetrationCount]/@tags">"perkDeadEye,perkArchery"</set>
</penetratarchery>
However when I pop into a Creative world, my Steel Arrows aren't penetrating zombies. Any help for a newbie?
My items.xml file is pretty short, and reads thus:
<penetratarchery>
<!-- Steel Arrows gain Penetration -->
<append xpath="/items/item[@name='ammoArrowSteelAP']/effect_group">
<passive_effect name="EntityPenetrationCount" operation="base_set" value="1" tags="perkArchery"/>
<display_value name="dTargetPenetration" value="2"/>
</append>
<!-- Steel Bolts gain Penetration -->
<append xpath="/items/item[@name='ammoCrossbowBoltSteelAP']/effect_group">
<passive_effect name="EntityPenetrationCount" operation="base_set" value="1" tags="perkArchery"/>
<display_value name="dTargetPenetration" value="2"/>
</append>
<set xpath="progression/perks/perk[@name='perkPenetrator']/effect_group/passive_effect[@name=EntityPenetrationCount]/@tags">"perkDeadEye,perkArchery"</set>
</penetratarchery>
However when I pop into a Creative world, my Steel Arrows aren't penetrating zombies. Any help for a newbie?
Last edited by a moderator: