Getting it to work may take a while. The easiest way to get them to work (and only savegame compatible way) is to just change an existing unit. I would suggest using the Eastern Auxilia unit slot and just changing it. It is extremely hard for the Romans to get to the Imperial Era, so you won't have to worry about conflict even if the Romans are still around.
Copy and save a copy of any altered files in case of errors.
You'll need to put the file in the "...eb/data/models_unit/textures/roman/" folder. Then go into the descr_model_battle text and find the section for the Eastern Auxilia. Add a line under the entry under the others like it that says:
Code:
texture romans_scipii, eb/data/models_unit/textures/roman/ebroman_infantry_eastern_auxilia_forgus_macedon.tga
Then copy the "seleucid" line for the sprites and paste the copy just below it, changing where is says "seleucid," to "romans_scipii,". That should do it for the DMB.
Then go to the export_descr_units.txt and find the entry for the "roman_infantry_eastern_auxilia". Alter the stats to whatever you want, but they will be pretty appropriate for the unit unless you want it to be elite. You may want to alter the number of men per unit, though. But, what you have come here to do is alter the ownership line. Alter it so it says:
Code:
ownership seleucid, romans_scipii
Recruitment is much more complex and is in the export_descr_buildings.txt. The easiest way to add recruitment is to find a unit with similar recruitment ranges you want in the RecruitmentViewer and then find that unit in the EDB (such as the Hai Nizagamartik). Then copy the recruitment lines you find for you faction in the EDB. Paste them (I find in a different text file works best) and then alter them so that the unit name is of the unit you are adding ("roman infantry eastern auxilia"). Then go back to the EDB, find your factional barracks (I'm not sure but I think it is barracks "H1"), then scroll down to the fourth block of code under that barracks tree and add your altered code. Add the code to the next (fifth) block of code as well.
Finally, go to the text folder and unit file and alter the texts for the "Eastern Auxilia" to whatever you want the name and details to be.
That should put the unit in. I'm sure I missed something so feel free to ask any questions.
MAA
Bookmarks