Adding units to different factions
If, for example, one wished to add a unit from one faction to another. How would one go about it?
I searched and found some info. However, not being very used to mucking about in the game files I stumble on EDU, EDB; what are they? Abbrevations of some sort, but looking I found nothing obvious, or rather, what looked obvious was not something I wanted to play about with...
Re: Adding units to different factions
EDU = export_descr_unit.txt
EDB = export_descr_buildings.txt
Both are found in the Data folder.
Re: Adding units to different factions
If you want to change the EDU and you use the trivial script, be sure to change the right EDU in the "EB\sp game edu backup" folder.
XSamatan
Re: Adding units to different factions
DMB = descr_model_battle.txt
This file lists models and the textures assigned to each.
EDB = export_descr_buildings.txt
This file lists buildings, with construction time, costs and upgrades, but most importantly what the buildings provide, such as trade income, happiness bonus and most importantly for you, troop recruitment.
EDU = export_descr_units.txt
This file lists the units with stats, voicetype and which factions gain access to it.
Re: Adding units to different factions
thanks.
Now, let us assume I am dense, or at least an amateur (in this I am both). If, for example, I wished to add Kinsmen Cavalry from AS to Epeiros and KH or Rhomphaiaoi to Sweboz and Gaul, how would I do it?
Re: Adding units to different factions
- Take a look at EDU. What's the internal name of kinsmen cavalry? Note it and add "thrace, greek_cities" in the ownership line
- Open DMB, search for kinsmen cavalry. What does the entry for thrace and greek_cities say? If it's there, the slot is used for another unit. If not, copy the romans_julii line twice for textures and twice for sprites. Change romans_julii with thrace and greek_cities.
- Open EDB. Look for kinsmen cavalry, and copy all the lines for it (from only ONE barracks type). Now place the cursor on top and search for an Epeirote or KH unit that's accessible from the same kind of barracks that you wish Kinsmen to be accessible from. Paste your Seleukid lines into the new barracks (Epeiros and KH share theirs) and change "{romans_julii, }" with "{thrace, greek_cities, }".
- Now search another time for the unit with that you have found your new space for kinsmen. This time it will direct you to the barracks tier above. Repeat step #3.
- Take a look at export_units.txt (in folder "text") and look for kinsmen cavalry. Change the entry to a nice story of your liking (This is optional).
- Now go the folders "EB/Data/UI/Units" and ".../Unit Info". Copy the respective .tgas over from romans_julii to thrace and greek_cities (this is optional as well, but I find peasant cards to be not satisfying).
Edit: I just noticed that "eastern cavalry persian heavy" uses the merc slot. That's good news for you because it means that you only have to carry out steps 1, 3, 4 and 5.
Re: Adding units to different factions
Thank you, will try this before starting my next campaign.
Re: Adding units to different factions
Quote:
Originally Posted by
Macilrille
Thank you, will try this before starting my next campaign.
:dizzy2:
Sorry I read your answer but somehow didn't get the content... You don't have to start a new campaign. This is all save-game compatible. Cheerio.
Re: Adding units to different factions
I'm sorry to necro this, but I have I related problem.
I used the advice in this thread to try and add some KH and Saka units to the Baktrian roster.
To test if I added them succesfully, I made all units I've added available in the first regional MIC in Baktra. I built it, and although all added units were listed in the building description, but I couldn't actually recruit them.
What did I do wrong?
EDIT: Nevermind, I foolishly edited the multiplayer EDU instead of the singleplayer one. It works now.