Results 1 to 2 of 2

Thread: How to add units?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    mrb628's Avatar Laetus
    Join Date
    Dec 2009
    Location
    Colorado Springs, Colorado
    Posts
    16

    Default How to add units?

    battle_models.db How do I create a completely new unit (in a mod)? I found some files in the modfolder that are very cool but not used. I would like to use these units in my game, so how do I tell the game that with models.db? I used to know how to add units for RTW but this models.db file is baffling...I already have the EDU file done, now what?

    Here is the EDU entry for one:

    Spoiler Alert, click show to read: 
    type Guards of Minas Ithil
    dictionary Guards_of_Minas_Ithil ; Guards of Minas Ithil, Exceptional, Dunedain
    category infantry ; Elite
    class heavy
    voice_type Heavy
    banner faction main_infantry
    banner holy crusade
    soldier minas_ithil, 60, 0, 1.5
    officer gondor_captain_early_flag
    mount_effect elephant -4
    attributes sea_faring, hide_forest, very_hardy, can_withdraw, free_upkeep_unit, command
    formation 1.2, 1.2, 2.4, 2.4, 4, square, schiltrom
    stat_health 2, 1
    stat_pri 14, 8, no, 0, 0, melee, melee_blade, slashing, sword, 15,
    stat_pri_attr ap
    stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 0, 1
    stat_sec_attr no
    stat_pri_armour 14, 9, 6, metal ; full plate
    stat_sec_armour 0, 0, flesh
    stat_heat 5
    stat_ground 1, -2, -1, -3
    stat_mental 19, disciplined, highly_trained, lock_morale
    stat_charge_dist 15
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 2000, 540, 75, 75, 2000, 4, 100
    armour_ug_levels 5
    armour_ug_models minas_ithil
    ownership sicily
    era 0 sicily
    era 1 sicily
    era 2 sicily
    recruit_priority_offset 144


    as well as the names of relevant files for one of the units

    Spoiler Alert, click show to read: 
    minas_ithil_lod0.mesh
    minas_ithil.texture
    minas_ithil_norm.texture


    Here are the unit cards for all three:
    Last edited by mrb628; December 07, 2009 at 09:33 AM.

  2. #2
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: How to add units?

    Check the tutorial section for "How to add a unit" and related tutorials:

    Index of Tutorials, Guides, and Modding Tools










Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •