Zagan
Refugee
I made a modlet and I tried using set xpath and then append xpath but both times it worked when I started a new game. But when I went back into the game it didn't work. Is there some reason this would happen?
I'm basically trying to change a paint that is set to hidden to not be. I can edit the xml manually and it works so I'm confused why it's not working with a modlet. Can anyone show me an example of what will work everytime I load a game and will work on a dedicated server?
I'm trying to get this code to work.
I'm basically trying to change a paint that is set to hidden to not be. I can edit the xml manually and it works so I'm confused why it's not working with a modlet. Can anyone show me an example of what will work everytime I load a game and will work on a dedicated server?
I'm trying to get this code to work.
Code:
<Configs>
<append xpath="/painting">
<paint id="138" name="txName_Drywall_orange">
<property name="TextureId" value="430"/>
<property name="Group" value="txGroupPainted"/>
<property name="PaintCost" value="1" />
<property name="Hidden" value="false" />
</paint>
<paint id="148" name="txName_Tarpaper">
<property name="TextureId" value="571"/>
<property name="Group" value="txGroupWood"/>
<property name="PaintCost" value="3" />
<property name="Hidden" value="false" />
</paint>
</append>
</Configs>
Last edited by a moderator: