Results 1 to 2 of 2

Thread: Recruitable Dismounted Generals for KGCM

  1. #1
    the Leper King's Avatar Libertus
    Join Date
    Jan 2013
    Location
    California
    Posts
    89

    Default Recruitable Dismounted Generals for KGCM

    Ever wanted to have your General fight with your men on the walls during an epic Siege? Now you can!

    Using the beautiful Kingdoms Grand Campaign Mod as a base, I'll explain how you can do this EASILY.

    Step 1: Go to your Data/unit_models/battle_models. In the Battle_Models file, search for this unit, "dismounted_mercenary_knights". You'll see that "Merc" is currently the only owner. Add ownership of this unit to whatever faction you desire. I added Sicily (6 sicily) as owners but choose who you want. The number 6 is for the letter count in the word Sicily. It should look like this:

    28 dismounted_mercenary_knights
    1
    3
    73 unit_models/_Units/EN_Pplate_Plate/dismounted_mercenary_knights_lod0.mesh 121
    73 unit_models/_Units/EN_Pplate_Plate/dismounted_mercenary_knights_lod1.mesh 1225
    73 unit_models/_Units/EN_Pplate_Plate/dismounted_mercenary_knights_lod2.mesh 6400
    2
    4 merc
    72 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_mercs.texture
    73 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_normal.texture
    57 unit_sprites/merc_Dismounted_Mercenary_Knights_sprite.spr
    6 sicily
    72 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_mercs.texture
    73 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_normal.texture
    57 unit_sprites/merc_Dismounted_Mercenary_Knights_sprite.spr
    2
    4 merc
    64 unit_models/AttachmentSets/Final Special Heads_merc_diff.texture
    64 unit_models/AttachmentSets/Final Special Heads_merc_norm.texture
    0
    6 sicily
    64 unit_models/AttachmentSets/Final Special Heads_merc_diff.texture
    64 unit_models/AttachmentSets/Final Special Heads_merc_norm.texture
    0

    Step 2: Go to your Data/export_descr_unit. In the export_descr_unit file, add the following line somewhere near the bottom of the file:

    type Dismounted Mercenary Knights
    dictionary Dismounted_Mercenary_Knights ; Dismounted Mercenary Knights
    category infantry
    class heavy
    voice_type Heavy
    accent Mediterranean
    banner faction main_infantry
    banner holy crusade
    soldier Dismounted_Mercenary_Knights, 48, 0, 1.2
    attributes sea_faring, hide_forest, very_hardy, can_withdraw, general_unit
    formation 1.2, 1.2, 2.4, 2.4, 4, square
    stat_health 1, 0
    stat_pri 13, 3, 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 9, 8, 6, metal
    ;stat_armour_ex 9, 0, 0, 0, 8, 6, 6, metal
    stat_sec_armour 0, 0, flesh
    stat_heat 6
    stat_ground 1, -2, 3, 2
    stat_mental 12, disciplined, highly_trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 640, 270, 90, 70, 640, 4, 160
    armour_ug_levels 5
    armour_ug_models Dismounted_Mercenary_Knights
    ownership sicily
    ;unit_info 13, 0, 23


    Again, the ownership line should be adjusted to whatever faction you want.

    Step 3: Go to Data/export_descr_buildings. In the export_descr_buildings file, add the following line to whatever building tree you want:

    recruit_pool "Dismounted Mercenary Knights" 1 0.05 1 0 requires factions { sicily, }


    Change the faction from Sicily to whatever you want.


    Step 4: Go to the main Medivel II TotalWar data/ui/unit_info/merc folder. In the Merc folder, find and copy this file: dismounted_mercenary_knights_info. Paste this file to the KGCM/data/ui/unit_info/"Any faction folder you want". Step 5: Go to the main Medivel II TotalWar data/ui/units/mercs folder. In the Mercs folder, find and copy this file: #dismounted_mercenary_knights. Paste this file to the KGCM/data/ui/units/"Any faction folder you want".


    And your done!

    Let me know if you need help.
    Attached Thumbnails Attached Thumbnails General on the Statmap.jpg   General on the battlefield.jpg  

  2. #2
    the Leper King's Avatar Libertus
    Join Date
    Jan 2013
    Location
    California
    Posts
    89

    Default Re: Recruitable Dismounted Generals for KGCM

    Other things you should know:
    I used the Dismounted Mercenary Knights as a base for this General but you could do this with any dismounted unit. I just prefer the look of this particular unit model.

    Also, in the export_descr_unit file, I suggest that you add it to the bottom of the file. If you add it really high up (above the first General unit for your faction), it might cause all of your Faction's Generals to have this dismounted unit. The way I did it, the unit will only appear when you recruit them from a building. It also doesn't interfere with the original recruitable mounted unit from the Kingdoms Grand Campaign Mod.

    I've attached a screenshot to show the recruitable Dismounted General, recruitable Mounted General, and some random Adopted General to show that neither type is affected.
    Attached Thumbnails Attached Thumbnails Three types of Generals.jpg  

Posting Permissions

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