Log in

View Full Version : Creating units



*Belisarius*
04-09-2006, 20:15
One question, all. How do I create a new unit in EB (or RTW, is there any difference anyway?). Cause I added a new unit, (First Cohort to be exact) copying all the info about an imperial cohort from export_descr_unit.txt to the end of the same file, only adding command to it's attributes. I changed the "type" thing and did the same with the "dictionary" line so now it looks like this :

;282
type roman legionary cohort ii first
dictionary roman_legionary_cohort_ii_first ; Cohortes Imperatoria Prima

(Is the Prima thing right anyway?)
Then I added the unit in descr_model_battle.txt, copying the imp. cohort info the same way I did in export_descr_unit. I changed the first two lines (first one should be comment...Right?) :
; Roman infantry - Cohors Imperatoria Prima

type roman_infantry_cohorsimperatoria_first

And the soldier thing in export_descr_unit was changed to this thing the type above. Now what?

Sorry for the noob questions, they should probably be in another topic but I don't want to waste precisious space on my account.

P.P.S. Oh, and I added the unit in the roman barracks right next to the imperial cohort. I again copied the info and changed names and stuff...What next?

QwertyMIDX
04-09-2006, 20:26
It should actually work already, just without a name and with no unit card.

You have to create an Export_Unit entry for it (the file is in the text folder) and give it a unit card (you can use the same one as the regular cohort if you want, just go into the Roman UI folder and copy the unit card from the regular cohort and then change the name to the dictionary name of your new unit.

*Belisarius*
04-15-2006, 08:47
Thanks, but I didn't get the part with the Roman UI folder...What's that supposed to be? :dizzy2: