Drayton3591 Posted December 25, 2021 Share Posted December 25, 2021 I am trying to create a mod for myself that changes the starting radius of the buried supplies quest but its not working, can anyone help <configs> <append xpath="/quests"> <quest id="tier1_buried_supplies" > <property name="default_radius" value="3" /> </quest> </append> <append xpath="/quests"> <quest id="tier2_buried_supplies" > <property name="default_radius" value="3" /> </quest> </append> <append xpath="/quests"> <quest id="tier3_buried_supplies" > <property name="default_radius" value="3" /> </quest> </append> </configs> I put that but does not work, I got the structure from a mod maker but could not get that mod maker to work properly so kind of guessed how it should be. What am I doing wrong, surprised there is not a mod out there that does this already. Thanks for you help Link to comment Share on other sites More sharing options...
BFT2020 Posted December 25, 2021 Share Posted December 25, 2021 Your syntax is not correct. Append is adding those lines (and it is not adding in the right location). What you want is set <set xpath="/quests/quest[@id='tier1_buried_supplies']/objective[@type='TreasureChest']/property[@name='default_radius']/@value">3</set> 1 Link to comment Share on other sites More sharing options...
BFT2020 Posted December 25, 2021 Share Posted December 25, 2021 This is a good thread on explaining xpath for 7D2D 1 Link to comment Share on other sites More sharing options...
Drayton3591 Posted December 25, 2021 Author Share Posted December 25, 2021 Thanks for the help Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now