Script code, if it overrides script that shipped with the game can be used to make a radically different XCOM game.
How much damage does it do? Which upgrades can it use? What tech level does it require? Does it need to be built or is it available from the start? How much will it cost? Data templates just scratch the surface for what can be added using script. In our example weapon mod, the script code defines a data template which is the gameplay data describing how the new weapon works. Script Code: Script code is the most powerful type of mod content.Mod ComponentsMods for XCOM2 are composed of many different types of data that combine to form changes to the XCOM 2 base game.