The guard mode depends on what is written in the descr_formations_ai.txt in the "default_melee_state" line.
For example, if you want that your missile unit to be in guard mode you need to add default_melee_state line:
; Screen of missile inf
begin_block 0
not_general
unit_type missile infantry 1.0
default_melee_state fire_at_will_and_defend
unit_density close
block_formation line
block_relative_pos 0 0.0 -15.0
inter_unit_spacing 6.0
priority 1.0
end_block
if you want it to skirmish you add:
; Screen of missile inf
begin_block 0
not_general
unit_type missile infantry 1.0
default_melee_state fire_at_will_and_skirmish
unit_density close
block_formation line
block_relative_pos 0 0.0 -15.0
inter_unit_spacing 6.0
priority 1.0
end_block
For hoplites to stay in guard mod you add this line:
default_melee_state defend
The only problem is you must do it for every unit in the formation!!!
Bookmarks