Jump to content
  • 0

Modify Values in an XML file via Lua?


Ydnac2110

Question

Posted

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

Posted

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.

Posted
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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.