Ydnac2110 Posted August 1, 2023 Posted August 1, 2023 Does anyone know how I can look for and change values from an XML file? I'm pretty good with Lua, I just don't know how to use GameGuardian Trying to make a script for Shadow Fight 2, I just want tips on how I can utilize values from an XML file and change them via GameGuardian. perks.xml moves.xml
kiynox Posted August 1, 2023 Posted August 1, 2023 [ @Ydnac2110 ] --- I assume that you're trying to modify .xml files inside shared_prefs. Welp, you can also apply it to anything in general. I suggest to follow this tutorial: https://www.youtube.com/watch?v=QQAMkPY5udo&ab_channel=Mr.DragonStar ---
Ydnac2110 Posted August 1, 2023 Author Posted August 1, 2023 I checked it out, the thing is, if you look inside the XML files, it uses a different structure than an average one, eg: <Template Na="NotTitan"> <Conditions> <ModExists Na="MOD_TITAN" Not="1"/> </Conditions> </Template> I don't quite know how to change the values on this.
BadCase Posted August 2, 2023 Posted August 2, 2023 19 hours ago, Ydnac2110 said: I checked it out, the thing is, if you look inside the XML files, it uses a different structure than an average one, eg: <Template Na="NotTitan"> <Conditions> <ModExists Na="MOD_TITAN" Not="1"/> </Conditions> </Template> I don't quite know how to change the values on this. If you know what you want to edit values to but just not how to do it in lua send more details on exactly what value you want to edit using lua
Question
Ydnac2110
Does anyone know how I can look for and change values from an XML file? I'm pretty good with Lua, I just don't know how to use GameGuardian
Trying to make a script for Shadow Fight 2, I just want tips on how I can utilize values from an XML file and change them via GameGuardian.
perks.xml moves.xml
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.