Page 1 of 1
Modding Units
Posted: Wed Feb 03, 2016 10:53 pm
by lionel1957
In version 2.2.5 with Morning Sun, if I want to mode only units---do I mode the units.csv file or the units.txt file, or both?
If I do mode those files, do I leave them in their current folder--or do I mode those files in the mydocuments/mygames etc. folder?
If I can get a simple step by step how to mode units, that is what I need.
Thank you
RE: Modding Units
Posted: Thu Feb 04, 2016 7:23 am
by Erik2
You can probably use the Battle Of Britain mod as a template. There are a few extra units in there.
Create a My games ... Mods/your_mod folder.
Create a Data folder in your_mod folder.
Move a copy of the units.csv file there.
If you only want to mod an existing unit, open the units.csv file in a spreadsheet. I use Open Office.
If you want to add new units you also need to create a Language folder in the your_mod folder.
Duplicate an existing unit in the units.csv and use this as a template. Change the number to something unique xxxx and edit other suitable fields. Keep it simple at first.
Copy the english_2.txt file from the default game installation, rename it english_mod.txt.
Add a line unit_xxxx = Your Equipment (example unit_2064 = Fairey Swordfish I) in the language file. This is the name displayed in the editor and the game.
Hope this helps
Erik
RE: Modding Units
Posted: Thu Feb 04, 2016 10:54 pm
by lionel1957
Erik,
Thank you for the information. I will try this tonight.