For Mod Authors: Compatibility

If you are a mod author, did you know you can edit other mod's INI files from within your mod?

In this case, it's a great way to automate compatibility.



Step 1 - Find the Equipment Table in XComGrimyLootMod.ini

C:\Program Files (x86)\Steam\steamapps\workshop\content\268500\650277509\Config

this will let you know what arrays there are to edit.



Step 2 - Add XComGrimyLoodMod.ini to YOUR mod

An empty XComGrimyLootMod.ini, not a copy form my folder.



Step 3 - Add the template names to the appropriate arrays

I'll do a quick example with the katana pack:

Note that only the lowest tier item is required, the rest will be handled automatically.



[GrimyLootMod.GrimyLoot_Research]

.Sword_T1 = Sword_CV

.Sword_T1 = Katana_CV

.Sword_T1 = Wakizashi_CV



This can also be done with upgrades, sidearms, armor, etc, if you have a mod that adds any new versions of those.



Step 4 - Add Schematic Names

You only need to do step 4 if your mod adds new schematics that don't use X2Item_DefaultSchematic's upgradeitem function (Which you should do)



If this is the case, add the name of your schematic to the Schematic_Names array



Step 5 - You're done

Yeap, that's all there is to it. Your mod will now automatically be compatible with my loot mod without needing to hassle either of our mod users... or them hassling us ;)