Ive been trying to add units to rebel settlements but I cant get it to work.
create_unit "Roma" "koxsalotoi" 1 1 1, does not work for example. Do the settlement or units have "secret" names i should be using instead?
Ive been trying to add units to rebel settlements but I cant get it to work.
create_unit "Roma" "koxsalotoi" 1 1 1, does not work for example. Do the settlement or units have "secret" names i should be using instead?
None of the units have single-word names, their internal names are three or four words long.
The correct one for Celtic skirmishers, for example, is "celtic infantry koxsalatoi". What you'd need is:
You need to check the EDU to get all the units' internal names.Code:create_unit Roma "celtic infantry koxsalatoi" 1 0 0 0
create_unit "town name" "unit name" 1 1 1 1
cheat. Please note that if town has more than 1 words in its name, you must use _ to separate those words. And for real unit names go to export_descr_unit.txt file in m2tw/mods/eb2/data folder.
example:
create_unit "Sparte" "celtic infantry iaosatae" 1 1 1 1
cheat creates unit of celtic slingers in Sparta.