what file do i have to edit to make a general last longer in battle? because my enemy generals die so quickly and it takes the fun out cause they all start running
-___-
what file do i have to edit to make a general last longer in battle? because my enemy generals die so quickly and it takes the fun out cause they all start running
-___-
Last edited by KSI Crusader 7x; June 30, 2010 at 08:04 AM.
KSI Senior Director
export_descr_unit.txt is the file you need. Increase the stat_health, or increase stat_pri_armour 5, 5, 6, metal. You will of course have to do this for every bodyguard unit, or you will unbalance the game.
type NE Bodyguard
dictionary NE_Bodyguard ; General's Bodyguard
category cavalry
class heavy
voice_type General
banner faction main_cavalry
banner holy crusade_cavalry
soldier NE_Bodyguard, 16, 0, 1
mount barded horse
mount_effect elephant -4, camel -4
attributes sea_faring, hide_forest, can_withdraw, general_unit
formation 2, 4.4, 3, 6, 2, square
stat_health 2, 0
stat_pri 11, 7, no, 0, 0, melee, melee_blade, piercing, spear, 25, 1
;stat_pri_ex 0, 0, 0
stat_pri_attr no
stat_sec 12, 3, no, 0, 0, melee, melee_blade, piercing, sword, 25, 1
;stat_sec_ex 0, 0, 0
stat_sec_attr no
stat_pri_armour 5, 5, 6, metal
im talking about the general himself not the bodyguard unless they use the same stats![]()
KSI Senior Director
The file export_descr_character_traits.txt is the only other I know of.
You could also increase the stat_mental to give an extra boost to the bodyguard unit, this example might come in useful
Stat_mental 15, disciplined, highly_trained
The downside is that they will probably fight to the death.
Last edited by Moon; June 30, 2010 at 01:24 PM.
Yes, there are traits and ancs already that give bonuses to general's hp, you could set something up so that if the general is commanded by the ai, he gets a trait that gives him so many hitpoints as a bonus. About the running away thing, Cannonfodder is right, changing the stat_morale would make them less likely to run away.
Matt
Proud member of the Patria Libera team.
Use traits to boost the general's hitpoints. You can give up to 5 hitpoints to generals in traits according to the docudemons.