Results 1 to 5 of 5

Thread: Problem with EDB

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Problem with EDB

    I've added a new unit for middle eastern factions (Muslim Swordsmen). I replaced the Dismounted Sipahi Lancers's spear with sword. It works very well in custom battles but when I try to add it to the export_descr_buildings file the game immediately crashes.

  2. #2

    Default Re: Problem with EDB

    We'll need more detail than that if we are to help you. What exactly did you do, all the steps?

  3. #3

    Default Re: Problem with EDB

    EDU:
    type Muslim_Swordsmen
    dictionary Muslim_Swordsmen ; Muslim_Swordsmen
    category infantry
    class heavy
    voice_type Heavy
    banner faction main_infantry
    banner holy crusade
    soldier Muslim_Swordsmen, 48, 0, 1.2
    attributes sea_faring, hide_forest, hardy, can_withdraw
    formation 1.2, 1.2, 2.4, 2.4, 3, square
    stat_health 1, 0
    stat_pri 13, 4, no, 0, 0, melee, melee_blade, piercing, sword, 25, 1
    ;stat_pri_ex 0, 0, 0
    stat_pri_attr no
    stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 25, 1
    ;stat_sec_ex 0, 0, 0
    stat_sec_attr no
    stat_pri_armour 5, 8, 6, metal
    ;stat_armour_ex 5, 7, 8, 0, 4, 6, 6, metal
    stat_sec_armour 0, 0, flesh
    stat_heat 1
    stat_ground 1, 1, 0, -1
    stat_mental 9, normal, trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 630, 175, 90, 70, 630, 4, 150
    armour_ug_levels 2, 3, 4
    armour_ug_models Muslim_Swordsmen, Muslim_Swordsmen_ug1, Muslim_Swordsmen_ug2
    ownership turks, egypt
    era 1 turks, egypt
    era 2 turks, egypt
    ;unit_info 13, 0, 19
    I edited the modeldb, export_units file too and it works perfectly in battles. but when I add this line:
    recruit_pool "Muslim Swordsmen" 1 0.4 3 0 requires factions { turks, egypt, } I can't launch the game.
    Last edited by Pikeman1; August 30, 2007 at 05:30 PM.

  4. #4
    alpaca's Avatar Harbinger of saliva
    Join Date
    Sep 2005
    Location
    Germany
    Posts
    4,811

    Default Re: Problem with EDB

    Yeah because your unit is called Muslim_Swordsmen with an underscore, not a space.

    No thing is everything. Every thing is nothing.

  5. #5

    Default Re: Problem with EDB


    THANK YOU!

Posting Permissions

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