AI War 2:Earlier Than Earlier Alpha Modding Instructions
How To Mod Existing Unit Stats
Our example case here will be "Contrary to the developers, I do not agree that losing is fun. I will therefore cheat out the wazoo and make my Ark massively more powerful."
First, find your game directory and go to GameData/Configuration/ , then open the GameEntity directory.
Right-click KDL_Ships_PlayerStructures.xml and open it with whatever editor you like to use for xml (notepad, or your platform's equivalent, will do for initial experimenting).
Here's what the Ark looks like in xml. Change balance_strength_multiplier from 20 to, say, 2000, and save the file.
Now start the game (if it's already loaded, press Ctrl+F10 to reload all external stuff) and give it a whirl. You should find dying much harder to achieve.
How To Mod External C# Code
Our example case here will be "Make the Basic Turretry pattern spread its turrets out a lot more."
Zero'th, you will need to have some working understanding of C#. You can proceed without it, but try to understand what you're looking at before you actually change something.
First, you will need something that can edit C# (and preferably open a .sln or .csproj file). For windows, I suggest Visual Studio 2015 community edition ( https://www.visualstudio.com/post-download-vs/?sku=community , though perhaps that now serves a later version) since that's what we used. For mac/linux I suggest MonoDevelop ( http://www.monodevelop.com/ ), not because I think it's the best but because it's the only one I've tried that works on mac/linux.
First, find your game directory and go to AIWarExternalCode/, then open AIWarExternalCode.sln .
In the IDE, open BuildPatterns/BasicTurretry.cs .
Look around to understand it, and then go down to the marked line. The operative number is the "100" in FInt.FromParts( 0, 100 ), which simply means "0.1" in our fixed-int math. You could change that to, for example, 500 to get 0.5 and spread the turrets out a lot more.
So make the change and build the solution. You will get an error about it not finding "MonoBuild_Single.bat" but don't worry about it; it's a holdover from our environment that you don't need (currently) for just the external code. We'll excise the error message later.
Now copy AIWarExternalCode/bin/Debug/AIWarExternalCode.dll to GameData/ModdableLogicDLLs/ .
Then start or restart the game application (Ctrl+F10 should work for this, but does not yet) and try the build pattern. Much roomier! ... Incidentally, much easier for the AI to destroy piecemeal. Hmm...
How To Mod Graphics/Music/Sound
This will require using the Unity Editor and a unity project we provide, but that project isn't ready yet. Sorry!