![how to mod xcom 2 how to mod xcom 2](https://i.ytimg.com/vi/xyqoBhsAdN4/maxresdefault.jpg)
This is achieved by a button which the mod overlays in the game. What this mod does is that it evacuates all your troops in a single click. This is a simple mod, which should have been already present in the game.
![how to mod xcom 2 how to mod xcom 2](https://www.gamersdecide.com/sites/default/files/content-images/news/2016/09/29/10-best-xcom-2-mods-you-should-be-using-right-now/xcom2sw.jpg)
Now that we have confirmed the mod operates as intended, we are ready to publish it.Evac All is another mod which sets out to make your life in XCOM 2 easier.
HOW TO MOD XCOM 2 CODE
Here is the script code from the template defining the properties we want to see on the weapon: The ExampleWeapon mod adds a new weapon that is available from the beginning of the game, so to test it we will launch a single player campaign and equip a soldier with the new weapon. Verify that the mod is operating correctly in the game. Hitting play will launch XCOM2 with the ExampleWeapon mod enabled.
HOW TO MOD XCOM 2 MODS
Local, or stand-alone mods will have their relative path in the description field. The launcher will enumerate all mods that are subscribed or installed by the user. Select the “ExampleWeapon” mod and hit Play. This will build the mod, and then start the XCOM 2 launcher. The XCOM2 SDK provides a mechanism to do this through the DEBUG menu.Ĭlick the Start Debugging menu option under the DEBUG menu to begin the testing process. Testing While developing a mod, it is recommended to test the mod out locally before making it available on steam workshop.