Quote:
Originally Posted by Strabo
That's the program I've been waiting for so long. Thanks a lot for this wonder. Now I need only one thing: how can I add my own units from mods? Should I just enter stats in .csv file, or should I put them in unitlists? What do numbers in unitlists files mean, and do I need to put custom pretenders in goddefinition.txt?
|
To get an unit generated you need to add it to the suitable unit list:
# Alae Legionaire
663 3.2 0 1.3
Unit ID: 663
Power: 3.2 (should be 1-5)
Cap only: no (0 for no, 1 for yes)
Militia modifier: 1.3 (30% more units for PD/Start army if this unit is chosen)
You can however just write 663 3.2 0 which resets militia modifier to 1 (same as 663 3.2 0 1) or you can just write 663 3.2 which resets militia modifier to 1 and cap only to 0 (same as 663 3.2 0 1).
Adding it to the .csv is a good idea but not absolutely required for non-mages. However if you don't add the info some things will be minorly screwed up since the mod won't know if your unit is suitable for stealth leading or if your unit should only be given to nations with stealthy leaders etc.
EDIT: Actually as of right now you should replace some existing unit from .csv when adding since it reads only the lines currently there. There are tons of units the mod doesn't use though, like anything with gcost 0.
The stats the program reads from .csv are (might forget something): ID, name, weapon names, leadership, undead leadership, magical leadership, magic paths (including holy), amphibian, flying, stealthy, magic being, undead and demon.
goddefinition.txt is read to the mod as it is, so any line you add there will be in the mod as an exact copy. Currently you cannot add more pretenders without removing any due to the hard coded limit of 69 different pretenders. If you however want to add a new one just remove one of the gods in the .txt and replace it with your definition. It can be copied from the mod (without #restrictedgod command probably) or you can just #newmonster and #copyspr and #copystats like goddefinition.txt does for the vanilla pretenders.