This is a port of Pavonis Interactive's Long War 2 (LW2) overhaul mod for XCOM 2 to the War of the Chosen (WOTC) expansion and update it for WOTC's new features.
If you just want to install and play the mod, check out our wiki page that explains exactly how to do that.
If you would like to contribute to translations for LWOTC, then check out the wiki page that explains how it works.
If you want to contribute changes to code or assets, then you will need to build the mod so that you can test them. Before you can do that, you need to set some things up:
-
Make sure you have the WOTC SDK
full_content
branch installed - see the xcom2mods wiki for details on how to do that (plus lots of other useful information) -
Fork this repository and then clone your fork locally, which you can do via Git for Windows (a command-line tool), GitHub Desktop, or some other git client tool
-
Once you have cloned the repository, you may need to pull the code for the embedded highlander. If the X2WOTCCommunityHighlander directory is empty, then use the command line from the project's root directory (the one containing this README.md):
> git submodule update --init
or whatever is the equivalent with the git client tool you are using.
-
Download the LWOTC media assets (video, graphics and sound) from this Dropbox link and unpack the resulting zip file into this project's LongWarOfTheChosen directory.
-
Set up the following environment variables:
XCOM2SDKPATH
— typically <path to Steam>\steamapps\common\XCOM 2 War Of The Chosen SDKXCOM2GAMEPATH
— typically <path to Steam>\steamapps\common\XCOM 2\XCom2-WarOfTheChosen Don't put these paths in quotes.
-
Open a new command prompt after setting those environment variables and run the following from the LWOTC project directory:
> build-lwotc.bat -config release
-
You should also build the Community Highlander, which you can do by opening the solution file in X2WOTCCommunityHighlander in Mod Buddy and using that to build the project, or you can open the LWOTC project directory in VS Code and use the "Terminal > Run Task..." menu option and select "Build CHL (final release)" and then "Build DLC2 CHL" once the previous task has finished.
Once the highlander and LWOTC are built, you will be able to select them as local mods in Alternative Mod Launcher and run Long War of the Chosen.
Contributions are welcome. If you just want to raise issues, please do so on GitHub, preferably including a save file if possible.
If you wish to contribute to development — and this project will rely heavily on such contributions — then please look through the issues and if you want tackle one, just leave a comment along the lines of "I'll take this one". If you find you can't complete the issue in a reasonable time, please add another comment that says you're relinquishing the issue.
All contributions are welcome, but bug fixes are extremely welcome!
- Track Two, who has provided a huge amount of advice and insight that saved me lots of time and ensured certain bugs got fixed at all.
- The folks behind X2WOTCCommunityHighlander.
- All the folks in XCOM 2 modders' Discord who have answered my questions.
- All the authors of the mods that are integrated into this port:
- robojumper's Squad Select
- Detailed Soldier List
- The Long War 2 team for producing the mod in the first place!