• Mods are now organized as resources. Use the Mods link above to browse for or submit a mod, tool, or prefab.

    The TFP Official Modding Forum Policy establishes the rules and guidelines for mod creators and mod users.

Need Help Modding perkPackMule

rowanbol

Refugee
I keep getting an error "Xpath exception: Expression must evaluate to a node-set"

Code:
<configs>
	<set xpath ="/progression/perks/perk/[@name='perkPackMule']/effect_group/passive_effect[@name='CarryCapacity']/@value">4,9,15,22,30</set>
</configs>
What am i doing wrong?

 
I keep getting an error "Xpath exception: Expression must evaluate to a node-set"

Code:
<configs>
	<set xpath ="/progression/perks/perk/[@name='perkPackMule']/effect_group/passive_effect[@name='CarryCapacity']/@value">4,9,15,22,30</set>
</configs>
What am i doing wrong?
You are forgetting to tell the xml what the original value is that you want to change see example below

Code:
<configs>

<set xpath="/progression/perks/perk[@name='perkPackMule']/effect_group/passive_effect[@name='CarryCapacity'][@value=3,6,10,14,18']/@value">4,9,15,22,30</set>

</configs>
 
Back
Top