Would be very grateful if someone could tell me what i need to do to change the missle attack of certain units, such as longbowmen, gunners, crossbows etc.
I think it is in the export_descr_unit section but do not know what to change.
Would be very grateful if someone could tell me what i need to do to change the missle attack of certain units, such as longbowmen, gunners, crossbows etc.
I think it is in the export_descr_unit section but do not know what to change.
Last edited by CodOfDuty; April 29, 2008 at 11:34 AM.
say if you wanted to change it for longbowmen it would be:
type Longbowmen
dictionary Longbowmen ; Longbowmen
category infantry
class missile
voice_type Light
banner faction main_missile
banner holy crusade
soldier Longbowmen, 48, 0, 0.8
attributes sea_faring, hide_forest, can_withdraw, free_upkeep_unit, stakes, stakes
formation 1.2, 1.2, 2.4, 2.4, 4, square
stat_health 1, 0
stat_pri 5, 1, quality_bodkin_arrow, 190, 24, missile, missile_mechanical, piercing, none, 0, 1
stat_pri_attr ap
stat_sec 1, 1, no, 0, 0, melee, melee_blade, blunt, mace, 0, 1
stat_sec_attr ap
stat_pri_armour 0, 3, 2, flesh
stat_sec_armour 0, 0, flesh
stat_heat 4
stat_ground 1, -1, 2, 1
stat_mental 6, normal, untrained
stat_charge_dist 15
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 460, 190, 65, 50, 460, 4, 140
armour_ug_levels 0, 1, 2
armour_ug_models Longbowmen, Longbowmen_ug1, Longbowmen_ug2
ownership england, slave
era 1 england
era 2 england
recruit_priority_offset 5
This line, longbow's current ranged attack is 5 so change that to what you want to change there ranged attack:
stat_pri 5, 1, quality_bodkin_arrow, 190, 24, missile, missile_mechanical, piercing, none, 0, 1
and yes it is in the export_descr_unit file
Soylent Green is people!!!
Hello, here is a example of where to look...I highlighted the line and the number that you need to change. Also, Chimraeira has a mod that does just this. Check it out...it' very nice.
type Longbowmen
dictionary Longbowmen ; Longbowmen
category infantry
class missile
voice_type Light
banner faction main_missile
banner holy crusade
soldier Longbowmen, 48, 0, 0.8
attributes sea_faring, hide_forest, can_withdraw, free_upkeep_unit, stakes, stakes
formation 1.2, 1.2, 2.4, 2.4, 4, square
stat_health 1, 0
stat_pri 5, 1, quality_bodkin_arrow, 190, 24, missile, missile_mechanical, piercing, none, 0, 1
stat_pri_attr ap
stat_sec 1, 1, no, 0, 0, melee, melee_blade, blunt, mace, 0, 1
stat_sec_attr ap
stat_pri_armour 0, 3, 2, flesh
stat_sec_armour 0, 0, flesh
stat_heat 4
stat_ground 1, -1, 2, 1
stat_mental 6, normal, untrained
stat_charge_dist 15
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 460, 190, 65, 50, 460, 4, 140
armour_ug_levels 0, 1, 2
armour_ug_models Longbowmen, Longbowmen_ug1, Longbowmen_ug2
ownership england, slave
era 1 england
era 2 england
recruit_priority_offset 5
LOL...very fast Bacon!
"Nothing is more destructive than the charge of artillery on a crowd."Napoleon Bonaparte
yep yep their both right and for further notice the top of that file has all the info you need to know if you want to make further changes
what exactly does stat_food do?
edit: nevermind, must be upkeep. Sounds silly for some reason though.
Last edited by userfri3ndly; April 30, 2008 at 11:40 AM.