Zagan
Refugee
I'm currently trying to make a modlet that will set the value of Hidden to False in an xml file. The problem is it works when I start a new game, however when I leave and come back it's Hidden again.
I have tried set xpath and append xpath with many variations to get to the path of the
/property[@name=Hidden]/@value">false</set> or append but after dozens (and I mean dozens) of different ways to get there it just does not consistently work every time I re-enter the game in SP or on my server.
Sure, I can just manually edit the xml file and it will work for me everytime. But I want to make this stupid thing work as a modlet because now it's become an obsession and it's driving me crazy. I can be found for days sitting here screaming "IT SHOULD WORK!, WHY DOES IT NOT WORK???"
So if any of you modding wizards think you can help me end this madness so I can complete this modlet and release it I would very much appreciate it. It's my first one and it will be cool when it works. It should work right? I'm just trying to change 1 stupid word...1 word, 1 word, that's all, just 1 word....
I have tried set xpath and append xpath with many variations to get to the path of the
/property[@name=Hidden]/@value">false</set> or append but after dozens (and I mean dozens) of different ways to get there it just does not consistently work every time I re-enter the game in SP or on my server.
Sure, I can just manually edit the xml file and it will work for me everytime. But I want to make this stupid thing work as a modlet because now it's become an obsession and it's driving me crazy. I can be found for days sitting here screaming "IT SHOULD WORK!, WHY DOES IT NOT WORK???"
So if any of you modding wizards think you can help me end this madness so I can complete this modlet and release it I would very much appreciate it. It's my first one and it will be cool when it works. It should work right? I'm just trying to change 1 stupid word...1 word, 1 word, that's all, just 1 word....