Results 1 to 11 of 11

Thread: Changing Generals Bodyguard

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Armaghost's Avatar Tiro
    Join Date
    Mar 2011
    Location
    Rohnert Park, CA
    Posts
    207

    Default Changing Generals Bodyguard

    Not sure whereI can ask this. But is there a way to change the High Elves bodyguard unit. I prefer Elronds BG unit over the Mounted Nobles a direction to where I can change this would be helpful

    Footmen > Horsemen imo
    If you rep me please leave a name so I know who to love.
    My first AAR. Check it out The march to Mordor: An Elf's Tale

  2. #2

    Default Re: Changing Generals Bodyguard

    Quote Originally Posted by Armaghost View Post
    Not sure whereI can ask this. But is there a way to change the High Elves bodyguard unit. I prefer Elronds BG unit over the Mounted Nobles a direction to where I can change this would be helpful

    Footmen > Horsemen imo
    That's pretty easy, I've done it myself without any special modding skills. Go to descr_strat file in the data\world\maps\campaign\imperial_campaign folder, scroll down until you find the general with the bodyguards you like. Copy the very first line of the units. For example:

    Spoiler Alert, click show to read: 
    character Elrond, named character, male, leader, age 50, x 185, y 250, portrait Elrond, hero_ability Righteousness_of_Faith ;imladris
    traits Elrond 1 , Factionleader 1 , GoodCommander 2 , NaturalMilitarySkill 1 , PublicFaith 2 , MathematicsSkill 1 , ReligionStarter 1 , GoodAttacker 1 , Just 2 , KindRuler 2 , BattleChivalry 2
    ancillaries vilya, leader_council, librarian, lord_imladris
    army
    unit Elf Spear_BG exp 1 armour 0 weapon_lvl 0
    unit Elf Archer exp 1 armour 0 weapon_lvl 0
    unit Elf Archer exp 0 armour 0 weapon_lvl 0
    unit Elf Archer2 exp 1 armour 0 weapon_lvl 0

    (you copy the line in bold)

    Then you go to the line with the general you want to change, e.g.:

    Spoiler Alert, click show to read: 
    character Elladan, named character, male, heir, age 22, x 60, y 252, portrait Elladan, battle_model elladan ;mithlond
    traits Elladan 1 , Factionheir 1 , LoyaltyStarter 1 , GoodCommander 1 , ReligionStarter 1 , Brave 1 , Loyal 1 , ChivalryLegacy 2
    ancillaries lord_mithlond
    army
    unit Elf Nobel Mount exp 0 armour 0 weapon_lvl 0
    unit Elf Archer exp 1 armour 0 weapon_lvl 0
    unit Elf Archer exp 0 armour 0 weapon_lvl 0

    and replace the first line with the line you copied. So it should look like this:

    Spoiler Alert, click show to read: 
    character Elladan, named character, male, heir, age 22, x 60, y 252, portrait Elladan, battle_model elladan ;mithlond
    traits Elladan 1 , Factionheir 1 , LoyaltyStarter 1 , GoodCommander 1 , ReligionStarter 1 , Brave 1 , Loyal 1 , ChivalryLegacy 2
    ancillaries lord_mithlond
    army
    unit Elf Spear_BG exp 1 armour 0 weapon_lvl 0
    unit Elf Archer exp 1 armour 0 weapon_lvl 0
    unit Elf Archer exp 0 armour 0 weapon_lvl 0

    Now Elladan has Elrond's bodyguards as his bodyguards (that doesn't remove Elrond's bodyguards though, they both have the same bodyguards). You can do this as many times you want with any general.
    Last edited by NickTheGreek3; May 11, 2011 at 02:19 AM.


  3. #3

    Default Re: Changing Generals Bodyguard

    would changing the stats..exp/armour/weapon_lvl in just this file ,also work ? what would the max values ,for each one, be ?


  4. #4
    Armaghost's Avatar Tiro
    Join Date
    Mar 2011
    Location
    Rohnert Park, CA
    Posts
    207

    Default Re: Changing Generals Bodyguard

    now how would I do it for all High Elf Generals (I.E Adopted, Coming of Age, Man of the Hour)


    also save game compatible yes or no?
    If you rep me please leave a name so I know who to love.
    My first AAR. Check it out The march to Mordor: An Elf's Tale

  5. #5

    Default Re: Changing Generals Bodyguard

    Quote Originally Posted by Armaghost View Post
    Nvm figured it out for all generals
    OK then!


  6. #6
    Armaghost's Avatar Tiro
    Join Date
    Mar 2011
    Location
    Rohnert Park, CA
    Posts
    207

    Default Re: Changing Generals Bodyguard

    Quote Originally Posted by NickTheGreek3 View Post
    Hmm... don't know about that. Descr_strat changes only the generals spawning at the beginning of the campaign. You should ask this to the - Official 'Ask Questions About TATW 1.0 - 2.1 Here' Thread -
    Also I think it's not save-compatible, though I could be wrong.

    EDIT:
    OK then!
    *puts on smart hat*

    In Export_descr_Unit in /data folder change the following:

    Spoiler Alert, click show to read: 
    type Elf Nobel Mount
    dictionary Elf_Nobel_Mount ; Elven Nobels
    category cavalry
    class heavy
    voice_type General
    banner faction main_cavalry
    banner holy crusade
    soldier Elf_Nobel_Mount, 12, 0, 1
    mount heavy horse
    mount_effect elephant -4, camel -4
    attributes sea_faring, hide_forest, hardy, can_withdraw, can_formed_charge, general_unit
    formation 2, 4.4, 3, 6, 2, square
    stat_health 1, 3
    stat_pri 9, 9, no, 0, 0, melee, melee_blade, piercing, spear, 25, 1
    stat_pri_attr no
    stat_sec 11, 4, no, 0, 0, melee, melee_blade, piercing, sword, 0, 1
    stat_sec_attr no
    stat_pri_armour 8, 6, 6, metal
    stat_sec_armour 0, 0, flesh
    stat_heat 6
    stat_ground -1, -1, -3, -2
    stat_mental 15, disciplined, highly_trained
    stat_charge_dist 45
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 2, 860, 250, 100, 100, 860, 2, 250
    armour_ug_levels 3, 4
    armour_ug_models Elf_Nobel_Mount, Elf_Nobel_Mount_upg
    ownership egypt
    era 0 egypt
    era 1 egypt
    era 2 egypt
    recruit_priority_offset 5


    in the attributes section remove the ', general_unit' and add it to another unit like say Elf Spear.

    Spoiler Alert, click show to read: 

    type Elf Spear
    dictionary Elf_Spear ; Eldar Spearmen
    category infantry
    class spearmen
    voice_type Heavy
    banner faction main_spear
    banner holy crusade
    soldier Elf_Spear, 48, 0, 1.2
    officer highel_captain_early_flag
    attributes sea_faring, hide_forest, very_hardy, can_withdraw, free_upkeep_unit, general_unit
    move_speed_mod 1.1
    formation 1.2, 1.2, 2.4, 2.4, 4, square, shield_wall
    stat_health 1, 3
    stat_pri 10, 5, no, 0, 0, melee, melee_blade, piercing, spear, 0, 1
    stat_pri_attr light_spear, spear_bonus_4
    stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 0, 1
    stat_sec_attr no
    stat_pri_armour 9, 6, 6, metal
    stat_sec_armour 0, 0, flesh
    stat_heat 6
    stat_ground 1, 0, 2, -1
    stat_mental 15, disciplined, highly_trained
    stat_charge_dist 15
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 2, 780, 310, 100, 100, 780, 2, 250
    armour_ug_levels 3, 4
    armour_ug_models Elf_Spear, Elf_Spear_upg
    ownership egypt
    era 0 egypt
    era 1 egypt
    era 2 egypt
    recruit_priority_offset 5


    make sure only 1 has ', general_unit' or your game gets all messed up .


    at least it seems to be that way :p
    Last edited by Armaghost; May 11, 2011 at 03:29 AM.
    If you rep me please leave a name so I know who to love.
    My first AAR. Check it out The march to Mordor: An Elf's Tale

  7. #7

    Default Re: Changing Generals Bodyguard

    Quote Originally Posted by Armaghost View Post
    *puts on smart hat*

    In Export_descr_Unit in /data folder change the following:

    Spoiler Alert, click show to read: 
    type Elf Nobel Mount
    dictionary Elf_Nobel_Mount ; Elven Nobels
    category cavalry
    class heavy
    voice_type General
    banner faction main_cavalry
    banner holy crusade
    soldier Elf_Nobel_Mount, 12, 0, 1
    mount heavy horse
    mount_effect elephant -4, camel -4
    attributes sea_faring, hide_forest, hardy, can_withdraw, can_formed_charge, general_unit
    formation 2, 4.4, 3, 6, 2, square
    stat_health 1, 3
    stat_pri 9, 9, no, 0, 0, melee, melee_blade, piercing, spear, 25, 1
    stat_pri_attr no
    stat_sec 11, 4, no, 0, 0, melee, melee_blade, piercing, sword, 0, 1
    stat_sec_attr no
    stat_pri_armour 8, 6, 6, metal
    stat_sec_armour 0, 0, flesh
    stat_heat 6
    stat_ground -1, -1, -3, -2
    stat_mental 15, disciplined, highly_trained
    stat_charge_dist 45
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 2, 860, 250, 100, 100, 860, 2, 250
    armour_ug_levels 3, 4
    armour_ug_models Elf_Nobel_Mount, Elf_Nobel_Mount_upg
    ownership egypt
    era 0 egypt
    era 1 egypt
    era 2 egypt
    recruit_priority_offset 5


    in the attributes section remove the ', general_unit' and add it to another unit like say Elf Spear.

    Spoiler Alert, click show to read: 

    type Elf Spear
    dictionary Elf_Spear ; Eldar Spearmen
    category infantry
    class spearmen
    voice_type Heavy
    banner faction main_spear
    banner holy crusade
    soldier Elf_Spear, 48, 0, 1.2
    officer highel_captain_early_flag
    attributes sea_faring, hide_forest, very_hardy, can_withdraw, free_upkeep_unit, general_unit
    move_speed_mod 1.1
    formation 1.2, 1.2, 2.4, 2.4, 4, square, shield_wall
    stat_health 1, 3
    stat_pri 10, 5, no, 0, 0, melee, melee_blade, piercing, spear, 0, 1
    stat_pri_attr light_spear, spear_bonus_4
    stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 0, 1
    stat_sec_attr no
    stat_pri_armour 9, 6, 6, metal
    stat_sec_armour 0, 0, flesh
    stat_heat 6
    stat_ground 1, 0, 2, -1
    stat_mental 15, disciplined, highly_trained
    stat_charge_dist 15
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 2, 780, 310, 100, 100, 780, 2, 250
    armour_ug_levels 3, 4
    armour_ug_models Elf_Spear, Elf_Spear_upg
    ownership egypt
    era 0 egypt
    era 1 egypt
    era 2 egypt
    recruit_priority_offset 5


    make sure only 1 has ', general_unit' or your game gets all messed up .
    Hey! Give me back my hat!

    Yeah, thanks for the info, although I prefer to have mounted generals instead of dismounted (they are far too slow).
    I've actually tried this while installing Taro's submod, in which many generals had dismounted bodyguards. I've tried to change that and also add some more buildings to my undeveloped towns. Result: whenever I pressed the start camapign button, all my settlements have gone rebel, the "victory conditions failed" window popped up and the game went back to the starting menu! There goes my first attempt to modding!
    Fortunately I kept the original files as backup and it worked the second time (though I'm not doing this again! )


  8. #8

    Default Re: Changing Generals Bodyguard

    Quote Originally Posted by Noobas View Post
    would changing the stats..exp/armour/weapon_lvl in just this file ,also work ? what would the max values ,for each one, be ?
    If you want to add e.g. more experience to a bodyguard unit, you can do it from here. If you want to change some non-bodyguard unit, you can change it modifying the export_descr_unit file found in the data folder.


  9. #9
    Armaghost's Avatar Tiro
    Join Date
    Mar 2011
    Location
    Rohnert Park, CA
    Posts
    207

    Default Re: Changing Generals Bodyguard

    Nvm figured it out for all generals
    If you rep me please leave a name so I know who to love.
    My first AAR. Check it out The march to Mordor: An Elf's Tale

  10. #10
    MasterBigAb's Avatar Valar Morghulis
    Moderator Emeritus Content Emeritus

    Join Date
    May 2009
    Location
    Vaes Dothrak
    Posts
    10,771

    Default Re: Changing Generals Bodyguard

    Is it just me or have we had like hundrets of threads asking how to chage a bodyguard already ?!

    Anwsered & Closed

Posting Permissions

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