Jump to content
  • 0

Modify Values in an XML file via Lua?


Ydnac2110
 Share

Question

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

Edited by Ydnac2110
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

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.

Link to comment
Share on other sites

  • 0
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

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
 Share

×
×
  • 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.