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?
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?
Don't think it's possible to make a script that changes a generals bodyguard, I could be wrong though.
You can increase the size of the guard with traits, but not change the unit itself as far as I know.
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.
but that's your choice!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
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
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