Results 1 to 5 of 5

Thread: General guards

Hybrid View

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

    Default General guards

    Is there anyway to create some sort of if loop, like the way you did the leadership group, so that if the character is a legatus, he gets the regular general guard whereas if he's a tribune, he only has roman equites as his guard?

  2. #2
    Greve Af Göteborg's Avatar Protector Domesticus
    Join Date
    Oct 2007
    Location
    Sweden
    Posts
    4,558

    Default Re: General guards

    Don't think it's possible to make a script that changes a generals bodyguard, I could be wrong though.

  3. #3
    Geleco's Avatar Domesticus
    Join Date
    Feb 2008
    Location
    Earth
    Posts
    2,219

    Default Re: General guards

    You can increase the size of the guard with traits, but not change the unit itself as far as I know.


  4. #4

    Default Re: General guards

    you can do it by creating a new general unit!

    open the EDU (export_descr_unit.txt) located in your Rome - Total War data folder and search for "roman generals guard cavalry early"! duplicate the whole and change the line "soldier roman_generals_cavalry_prae_mariana" into "roman_equites"

    it should be look like this...
    type roman legatus guard cavalry early
    dictionary roman_generals_guard_cavalry_early ; Roman General
    category cavalry
    class heavy
    voice_type General_1
    soldier roman_equites, 12, 0, 3
    mount generals horse
    mount_effect elephant -8, camel -4
    attributes sea_faring, hide_forest, general_unit, very_hardy, frighten_foot, power_charge
    formation 1.5, 4, 3, 6, 5, square
    stat_health 1, 4
    stat_pri 28, 34, no, 0, 0, melee, blade, piercing, spear, 0 ,0.7
    stat_pri_attr ap,spear, spear_bonus_12
    stat_sec 26, 12, no, 0, 0, melee, blade, slashing, sword, 0 ,0.5
    stat_sec_attr area
    stat_pri_armour 12, 35, 5, metal
    stat_sec_armour 6, 18, flesh
    stat_heat 2
    stat_ground 0, 0, -14, 0
    stat_mental 35, disciplined, highly_trained
    stat_charge_dist 80
    stat_fire_delay -350000
    stat_food 60, 300
    stat_cost 1, 1100, 430, 100, 100, 160
    ownership roman

    the red text are the soldiers type used for this unit and the blue stands for how much soldiers carried with this group. i recommend you to change also the "
    stat_pri", "stat_pri_attr", "stat_sec", "stat_sec_attr", "stat_pri_armour" and "stat_sec_armour" to slightly same as the regular equites (perhaps a little bit better).

    so the final result should be look like this.
    type roman legatus guard cavalry early
    dictionary roman_generals_guard_cavalry_early ; Roman General
    category cavalry
    class heavy
    voice_type General_1
    soldier roman_equites, 12, 0, 3
    mount generals horse
    mount_effect elephant -8, camel -4
    attributes sea_faring, hide_forest, general_unit, very_hardy, frighten_foot, power_charge
    formation 1.5, 4, 3, 6, 5, square
    stat_health 1, 4
    stat_pri 22, 32, no, 0, 0, melee, blade, piercing, spear, 0 ,0.7
    stat_pri_attr ap,light_spear,spear_bonus_6
    stat_sec 22, 10, no, 0, 0, melee, blade, slashing, sword, 0 ,0.5
    stat_sec_attr area
    stat_pri_armour 10, 32, 4, metal
    stat_sec_armour 5, 15, flesh
    stat_heat 2
    stat_ground 0, 0, -14, 0
    stat_mental 28, disciplined, highly_trained
    stat_charge_dist 80
    stat_fire_delay -350000
    stat_food 60, 300
    stat_cost 1, 950, 380, 60, 60, 220
    ownership roman
    but that's your choice!

    now you have to make them available for recruitment via EDB (export_descr_buildings.txt)
    search in the EDB for this line "recruit "roman generals guard cavalry early" 0 requires factions { roman, } and not marian_reforms"! duplicate this line and change the new one into "
    recruit "roman legatus guard cavalry early" 0 requires factions { roman, } and not marian_reforms"! you have to search for that line twice, because there are more than 1 in the EDB.

    save the EDU and EDB and
    now you have a legatus cavalry beside the normal generals available! ... start a new game... and have pfun
    The night was so black, as we planned to attack!

    2D Artwork - Coder

  5. #5
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: General guards

    Yes, but as has been pointed out many times before, this has nothing to do with traits, since you can't link traits to the unit of the character acquiring them.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

Posting Permissions

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