WARNO
Warno Realism Improved
 This topic has been pinned, so it's probably important
Der Shredder  [developer] Jun 19 @ 6:02am
How to make your own version of this mod
To generate this mod on your PC, you need to run a Python script. You do not need programming skills to do so, only when you plan to do extensive changes to the code.

Requirements to run the script:
1. Install Python on your PC. I recommend Python version 3.8 - 3.12, newer versions may not work.

2. Install Python NDF Parser (https://github.com/Ulibos/ndf-parse). There are instructions on the Github page how to do so.

3. Go to your SteamLibrary\steamapps\common\WARNO\Mods Folder. Generate two new mods using CreateNewMod.bat, named "vanilladata" and "YourModname".

4. Set up a new folder, and copy the script files from my Dropbox https://www.dropbox.com/scl/fo/s5dycwvfew2cd9fn1a6z5/AN17fIoZzC8ruKGbqh9Y_B8?rlkey=251xo4n23vde6780liiewpf8s&st=q0jwa5ze&dl=0 into it. Since Steam flags this links as dangerous, you have to manually copy paste it into your browser.

5. Copy the files "COMPANIES", "PLATOONS" and "UNITS" into "YourModname"\GameData\Localisation\YourModName. Overwrite the existing files there.

6. Open the file Main.py with a text/code editor. I recommend using Visual Studio Code without the Python extension for this. Main.py controls which game files are edited, and where your Warno mod folders are stored.

7. Change the file paths at the top of the file to point at the two mods you generated. Then go to the "# Enable Scripts" section and set all variables, except "DamageStairTypeEvolutionOverRangeDescriptor" to "True". This will generate the full mod.

8. Open the windows command prompt and navigate to the folder where you downloaded the script files to. Run the script with this command "Python Main.py". Now the mod edits will be applied to the files in the "YourModName" mod that you created.

9. Open the "YourModName" folder and run GenerateMod.bat. Now the mod is generated and you can activate it in the ingame mod menu.
The generated mod is stored in "C:\Users\"YourUserName"\Saved Games\EugenSystems\WARNO\mod". Make sure to delete it before you use the GenerateMod.bat a second time.
Last edited by Der Shredder; Jul 13 @ 6:29am