1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Duplicate storage between SQL/XML?

Discussion in 'Mod Creation Help' started by Zeronix, Jan 29, 2018.

  1. Zeronix

    Zeronix Chieftain

    Joined:
    Jan 21, 2018
    Messages:
    12
    Gender:
    Male
    So I'm new to modding and I realized that the game stores data in two ways: an SQL called DebugGameplay.sql and in XML files in the Assets/Gameplay folder. E.g. global parameters are stored both in an SQL table called GlobalParameters and in a GlobalParameters.xml file.

    How do these two interact? Which one does the game use, and which one should I modify if I want to make a mod?
     
  2. Gedemon

    Gedemon Modder Moderator

    Joined:
    Oct 4, 2004
    Messages:
    7,824
    Location:
    France
    The base game info from the xml files are loaded in memory and copied in the sqlite debug DB.

    In mods we can use xml or sql syntax to update this data.
     

Share This Page