Results 1 to 9 of 9

Thread: Adding units to different factions

  1. #1
    Member Member Macilrille's Avatar
    Join Date
    Sep 2006
    Location
    Aarhus, Denmark
    Posts
    1,592

    Default 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...
    'For months Augustus let hair and beard grow and occasionally banged his head against the walls whilst shouting; "Quinctillius Varus, give me my legions back"' -Sueton, Augustus.

    "Deliver us oh God, from the fury of the Norsemen", French prayer, 9th century.
    Ask gi'r klask! ask-vikingekampgruppe.dk

    Balloon count: 13

  2. #2
    That's "Chopper" to you, bub. Member DaciaJC's Avatar
    Join Date
    Feb 2009
    Location
    Lower Peninsula, Michigan
    Posts
    652

    Default Re: Adding units to different factions

    EDU = export_descr_unit.txt
    EDB = export_descr_buildings.txt

    Both are found in the Data folder.
    + =

    3x for this, this, and this

  3. #3
    EB Support Guy Senior Member XSamatan's Avatar
    Join Date
    Mar 2008
    Posts
    1,820

    Default 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

    1.2 fixes - Updated regularly. Latest news from 2009-02-01.
    EB FAQ --- Tech help important thread list --- Frequent issues and solutions

  4. #4
    Abou's nemesis Member Krusader's Avatar
    Join Date
    Oct 2004
    Location
    Kjøllefjord, Norway
    Posts
    5,723

    Default 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.
    Last edited by Krusader; 10-07-2009 at 20:34.
    "Debating with someone on the Internet is like mudwrestling with a pig. You get filthy and the pig loves it"
    Shooting down abou's Seleukid ideas since 2007!

  5. #5
    Member Member Macilrille's Avatar
    Join Date
    Sep 2006
    Location
    Aarhus, Denmark
    Posts
    1,592

    Default 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?
    'For months Augustus let hair and beard grow and occasionally banged his head against the walls whilst shouting; "Quinctillius Varus, give me my legions back"' -Sueton, Augustus.

    "Deliver us oh God, from the fury of the Norsemen", French prayer, 9th century.
    Ask gi'r klask! ask-vikingekampgruppe.dk

    Balloon count: 13

  6. #6
    Βασιλευς και Αυτοκρατωρ Αρχης Member Centurio Nixalsverdrus's Avatar
    Join Date
    Jan 2007
    Location
    Γερμανια Ελευθερα
    Posts
    2,321

    Default Re: Adding units to different factions

    1. Take a look at EDU. What's the internal name of kinsmen cavalry? Note it and add "thrace, greek_cities" in the ownership line
    2. 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.
    3. 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, }".
    4. 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.
    5. 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).
    6. 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.
    Last edited by Centurio Nixalsverdrus; 10-08-2009 at 18:18.

  7. #7
    Member Member Macilrille's Avatar
    Join Date
    Sep 2006
    Location
    Aarhus, Denmark
    Posts
    1,592

    Default Re: Adding units to different factions

    Thank you, will try this before starting my next campaign.
    'For months Augustus let hair and beard grow and occasionally banged his head against the walls whilst shouting; "Quinctillius Varus, give me my legions back"' -Sueton, Augustus.

    "Deliver us oh God, from the fury of the Norsemen", French prayer, 9th century.
    Ask gi'r klask! ask-vikingekampgruppe.dk

    Balloon count: 13

  8. #8
    Βασιλευς και Αυτοκρατωρ Αρχης Member Centurio Nixalsverdrus's Avatar
    Join Date
    Jan 2007
    Location
    Γερμανια Ελευθερα
    Posts
    2,321

    Default Re: Adding units to different factions

    Quote Originally Posted by Macilrille View Post
    Thank you, will try this before starting my next campaign.

    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.

  9. #9

    Default 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.
    Last edited by podoh; 01-21-2010 at 15:31.
    Read my AAR:
    The Ferghana Chronicles

    (please?)



    -count: a lot from Arthur, king of the Britons for some modding help.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO