Results 1 to 2 of 2

Thread: If I wanted to make peasants into pikemen, can I do it through text-editing only?

Hybrid View

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

    Default If I wanted to make peasants into pikemen, can I do it through text-editing only?

    I tried giving the peasants Scots_Pike_Militia for the soldier type in the edu and the armour ug models, but it they are still peasants in battle. What else am I supposed to be editing?

    EDIT: Resolved. Turns out I had to add in that io file thing in the preferences.
    Last edited by sumaznguy; July 18, 2009 at 03:06 PM.

  2. #2

    Default Re: If I wanted to make peasants into pikemen, can I do it through text-editing only?

    It's a very pesky job but fairly easy with a little patience my friend.
    Firstly you can't make peasants unit into a pike unit by just EDU file. You need to edit the unit entirely which is a very lengthy procedure instead you can copy the scots_pike_militia contents and rename it peasants files and then edit your EDU file or simply go to
    data\unit_models\battle_models.modeldb file there you find this

    8 peasants
    1 4
    55 unit_models/_Units/EN_Peasant_Padded/peasants_lod0.mesh 121
    55 unit_models/_Units/EN_Peasant_Padded/peasants_lod1.mesh 900
    55 unit_models/_Units/EN_Peasant_Padded/peasants_lod2.mesh 2500
    55 unit_models/_Units/EN_Peasant_Padded/peasants_lod3.mesh 6400

    then rename the contents under 8 peasants in this manner
    8 peasants
    1 4
    65 unit_models/_Units/EN_Peasant_Padded/scots_pike_militia_lod0.mesh 121
    65 unit_models/_Units/EN_Peasant_Padded/scots_pike_militia_lod1.mesh 900
    65 unit_models/_Units/EN_Peasant_Padded/scots_pike_militia_lod2.mesh 2500
    65 unit_models/_Units/EN_Peasant_Padded/scots_pike_militia_lod3.mesh 6400

    now go to the EDU.txt file and edit the entire stats of peasants to this

    type Peasants
    dictionary Peasants ; Peasants
    category infantry
    class spearmen
    voice_type Light
    banner faction main_spear
    banner holy crusade
    soldier Scots_Pike_Militia, 60, 0, 1
    attributes sea_faring, hide_forest, can_withdraw, free_upkeep_unit, pike
    formation 1.2, 1.2, 2.4, 2.4, 8, square, phalanx
    stat_health 1, 0
    stat_pri 7, 2, no, 0, 0, melee, melee_blade, piercing, spear, 25, 1
    ;stat_pri_ex 0, 0, 0
    stat_pri_attr spear, long_pike, spear_bonus_8
    stat_sec 6, 1, no, 0, 0, melee, melee_blade, piercing, sword, 25, 1
    ;stat_sec_ex 0, 0, 0
    stat_sec_attr no
    stat_pri_armour 0, 1, 0, flesh
    ;stat_armour_ex 0, 4, 5, 0, 1, 0, 0, flesh
    stat_sec_armour 0, 0, flesh
    stat_heat 2
    stat_ground 1, -2, 3, 2
    stat_mental 3, normal, trained
    stat_charge_dist 40
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 150, 125, 75, 60, 150, 4, 30
    armour_ug_levels 0, 1, 2
    armour_ug_models Peasants, Peasants
    ownership scotland, slave
    era 1 scotland
    era 2 scotland

    Then it should work A Ok. Happy Moddin'

Posting Permissions

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