In a mod that i have played there was a unit that never routed no matter what. I have got rid of that mod now and i want to try and edit a file to make a unit do the same and not rout.
what file do i edit to all this?
In a mod that i have played there was a unit that never routed no matter what. I have got rid of that mod now and i want to try and edit a file to make a unit do the same and not rout.
what file do i edit to all this?
- 3D Workshop
- Need A FrontPage Announcement?
- Join the TWC Facebook Page!
- Under the patronage of StealthFox
Open RomeFolder/Data/export_descr_unit.txt
Search for your unit. For example:
Change the number of stat_mental to 99, and it should never rout.PHP Code:type greek levy pikemen
dictionary greek_levy_pikemen ; Levy Pikemen
category infantry
class spearmen
voice_type Light_1
soldier greek_levy_pikeman, 60, 0, 0.35
mount_effect horse +2, chariot +2, camel +2, elephant +2
attributes sea_faring, hide_forest, can_sap
formation 1, 1, 0.7, 1, 10, square, phalanx
stat_health 1, 0
stat_pri 4, 0, no, 0, 0, melee, blade, piercing, spear, 40 ,0.72
stat_pri_attr spear, spear_bonus_12, long_pike
stat_sec 6, 1, no, 0, 0, melee, simple, piercing, sword, 0 ,0.65
stat_sec_attr no
stat_pri_armour 4, 9, 4, leather
stat_sec_armour 0, 0, flesh
stat_heat 1
stat_ground 0, 0, -1, 0
stat_mental 10, disciplined, highly_trained
stat_charge_dist 2
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 350, 150, 40, 50, 350
ownership macedon, seleucid
Last edited by Primo; July 25, 2011 at 10:43 AM.
ahh thats brilliant, thanks for a great quick reply +rep![]()
- 3D Workshop
- Need A FrontPage Announcement?
- Join the TWC Facebook Page!
- Under the patronage of StealthFox