Jump to content

Mod Help


Drayton3591

Recommended Posts

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

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>

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...