JSON Mods: Modify Sentinel

From Astrea Wiki
Jump to navigation Jump to search
  • After creating a mod, go to the mod folder and find the folder called "SentinelsModifications";
  • Now you need to create a JSON file for each sentinel that you wanna modify and put the JSON files in the folder "SentinelsModifications";
  • Create a new JSON file. Here is a JSON file with the structure for modifying a sentinel Sentinel Modification JSON File Example;
  • Change the name to the name of the sentinel that you want to modify;
    "SentinelName" : "Solar Plexus"
  • Sentinels have 5 levels, therefore you will need to set the data for each level, on the "SentinelLevels" field of the example there are already the 5 levels, just need to modify them. Each level has the fields "MaxCorruption", "DieName" and "SentinelStartingEffects";
        "SentinelLevels": [
            {
                "MaxCorruption" : "1",
                "DieName": "AdaptedCourierLevel1",
                "SentinelStartingEffects" : [
                    {
                        "EffectName" : "AutoTurret",
                        "EffectAmount" : "3"
                    },
                    {
                        "EffectName" : "Discharge",
                        "EffectAmount" : "1"
                    },
                    {
                        "EffectName" : "Safeguard",
                        "EffectAmount" : "2"
                    }
                ]
            },
            {
                "MaxCorruption" : "3",
                "DieName": "AdaptedCourierLevel2",
                "SentinelStartingEffects" : [ ]
            },
            {
            },
            {
                "SentinelStartingEffects" : [
                    {
                        "EffectName" : "AutoTurret",
                        "EffectAmount" : "11"
                    }
                ]
            },
            {
                "MaxCorruption" : "10"
            }
        ]
    
    • Change the "EffectName" and "EffectAmount" of each starting effect. Here is a list of effects that are available to be used as an effect on sentinels Sentinel Moddable Effects List;
                  "SentinelStartingEffects" : [
                      {
                          "EffectName" : "AutoTurret",
                          "EffectAmount" : "3"
                      }
                  ]
      
      • If the sentinel has no starting effect leave it empty like this:
                    "SentinelStartingEffects" : [ ]
        
    • In case you just want to modify some specific fields, just need to remove the fields that you are not modifying from that level. For instance if you only want to change the "MaxCorruption" field, you would dele "DieName" and "SentinelStartingEffects" from that level;
              {
                  "MaxCorruption" : "10"
              },
      
    • Another example would be you only want to change the "SentinelStartingEffects" field, you would dele "DieName" and "MaxCorruption" from that level;
              {
                  "SentinelStartingEffects" : [
                      {
                          "EffectName" : "AutoTurret",
                          "EffectAmount" : "11"
                      }
                  ]
              },
      
    • In case there is a specific level that you don't want to modify anything, just leave it empty;
              {
              },
      
    • If you want to modify the dice of the sentinel use Modify Die or change the "DieName" to another sentinel dice, for isntance in the example the level 1 die of Solar Plexus has been changed to Adapted Courier Level 1 die;
      • Note: The JSON files for the sentinel dice modified should be placed on the "DiceModifications" folder;
  • After creating all the JSON files that you want, restart Astrea, go to the Compendium and all sentinels that have been modified will have a text "(Custom)" added to its name.


Go Back to Mods page: Mods