• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

[SOLVED] XML patch "did not apply"

ThunderSn1per

New member
Hi all,

I've got this very basic XML patch for loot.xml

<config>
<setattribute xpath="/loot/lootgroup[@name='groupQuestRewardSkillMagazinesAll01']" name="count">2</setattribute>
<set xpath="/loot/lootgroup[@name='groupQuestRewardSkillMagazinesAll01']/item/property[@name='count']/@value">1</set>
</config>




I've tried adjusting them to every which was, that's why in this iteration I'm using setattribute for one and set for another.

Whatever I try to do, the console returns WRN XML patch for "loot.xml" from mod "XYZ" did not apply

I'm sort of unsure on why this is? Any help would be greatly appreciated!

 
Last edited by a moderator:
The top level node is lootcontainers, not loot. "did not apply" I believe typically means the xpath is not a valid path, because of a typo, or missing a node level.

 
Back
Top