I have started some pretty simple modding to taylor the game to what I feel fits and will hopefully improve my experience...
I have gotten stuck with a couple of things and I hope someone can help (note this is patched to 1.2)...
Trying to add phalanx ability to the Triarii:
type roman triarii
dictionary roman_triarii ; Triarii
category infantry
class spearmen
voice_type Medium_1
soldier roman_triarii, 40, 0, 1
officer roman_early_centurion
officer roman_early_standard
mount_effect horse +4, chariot +4, camel +4
attributes sea_faring, hide_forest, can_sap
formation 1, 1, 2, 2, 3, square, phalanx
stat_health 1, 0
stat_pri 7, 7, no, 0, 0, melee, simple, piercing, spear, 25 ,0.73
stat_pri_attr spear
stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
stat_sec_attr no
stat_pri_armour 7, 5, 5, metal
stat_sec_armour 0, 0, flesh
stat_heat 4
stat_ground 2, 0, 0, 0
stat_mental 10, disciplined, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 500, 210, 50, 80, 500
ownership romans julii,romans brutii,romans scipii,romans senate
This appear to work deploying the unt on screen in phalanx formation, but as soon as they get into a fight I get CTDs...
And for removing the ability from Pharoh's Guards:
type egyptian elite guards
dictionary egyptian_elite_guards ; Pharaoh's Guards
category infantry
class spearmen
voice_type Heavy_1
soldier egyptian_elite_guards_new, 40, 0, 1
officer egyptian_standard
attributes sea_faring, hide_forest, can_sap, hardy
formation 1, 1, 2, 2, 5, square
stat_health 1, 0
stat_pri 12, 8, no, 0, 0, melee, simple, piercing, spear, 25 ,1
stat_pri_attr no
stat_sec 10, 4, no, 0, 0, melee, simple, piercing, sword, 25 ,1
stat_sec_attr no
stat_pri_armour 7, 7, 0, metal
stat_sec_armour 0, 0, flesh
stat_heat 1
stat_ground 2, 2, -2, -2
stat_mental 10, disciplined, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 2, 620, 330, 70, 100, 620
ownership egypt
They are rendered correctly with normal spears and move okay. When they charge they switch to their swords and once in the fight swtich back to spears which appears to frequently cause another CTD...
This represent the two threads of thought I was having, one was to beef up most spear units with the phalanx ability and the other is to restrict it to the Helenic cultures (and reduce it's use for the Egyptains)...
Anyone encountered this before (or am I missing something hugely obvious)??
Bookmarks