Results 1 to 3 of 3

Thread: Creating units

  1. #1

    Question Creating units

    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?

  2. #2
    EB Token Radical Member QwertyMIDX's Avatar
    Join Date
    Jan 2005
    Location
    Providence, Rhode Island
    Posts
    5,898

    Default Re: Creating units

    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.
    History is for the future not the past. The dead don't read.


    Operam et vitam do Europae Barbarorum.

    History does not repeat itself. The historians repeat one another. - Max Beerbohm

  3. #3

    Exclamation Re: Creating units

    Thanks, but I didn't get the part with the Roman UI folder...What's that supposed to be?

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