;; 右侧骑兵
begin_block 10
unit_type cavalry 1.0
block_formation line
block_relative_pos 6 1.0 -1.0
inter_unit_spacing 0.2
priority 0.5
end_block
;; 更多右侧骑兵
begin_block 11
unit_type cavalry 1.0
block_formation line
block_relative_pos 10 -1 -3.0
inter_unit_spacing 0.2
priority 0.5
end_block
begin_dummy_block 12
spans 0 1 2 3 4 5 6 7 8 9 10 11
end_dummy_block
;; 阵后将军
begin_block 13
min_units 1
max_units 1
unit_type general_unit 1.0
unit_density close
block_formation line
block_relative_pos 12 0.0 -1.0
inter_unit_spacing 0.2
priority 1.0
end_block
end_formation
begin_formation ai_roman_line
;;; purpose flags
attack
ai_priority 0.9
;; First line of infantry
begin_block 0
min_units 3
unit_type light_pilum_infantry 0.9
unit_type heavy_pilum_infantry 0.7
unit_type heavy infantry 0.0
unit_type infantry 0.0
unit_density close
max_unit_width -20
block_formation line
block_relative_pos 0 0.0 -20.0
inter_unit_spacing 10.0
priority 1.0
end_block
;; second line of infantry
begin_block 1
min_units 3
unit_type heavy_pilum_infantry 1.0
unit_type light_pilum_infantry 0.1
unit_type heavy infantry 0.0
unit_type infantry 0.0
unit_density close
max_unit_width 20
block_formation line
block_relative_pos 0 0.0 -6.0
inter_unit_spacing 10.0
priority 1.0
end_block
;; 3rd line of infantry
begin_block 2
max_units 4
unit_type light infantry 0.6
unit_type heavy infantry 0.6
unit_type spearmen 0.5
block_formation line
block_relative_pos 1 0.0 -6.0
inter_unit_spacing 0.2
priority 1.0
end_block
;; Archers behind
begin_block 3
unit_type ranged_missile_infantry 1.0
unit_type light infantry 0.4
unit_type heavy infantry 0.4
unit_type spearmen 0.8
unit_type non_phalanx_spear 1.0
unit_type any 0.0001
block_formation line
block_relative_pos 2 0.0 -6.0
inter_unit_spacing 0.2
priority 1.0
end_block
begin_dummy_block 4
spans 0 1 2 3
end_dummy_block
; Screen of missile inf
begin_block 5
max_units 3
unit_type missile infantry 0.5
unit_type elephants 1.0
unit_type heavy_chariots 1.0
unit_density close
block_formation line
block_relative_pos 4 0.0 -6.0
inter_unit_spacing 0.2
priority 1.0
end_block
;; artillery and handlers at the back
begin_block 6
unit_type handler 1.0
unit_type siege 1.0
;unit_type any 0.01
block_formation line
block_relative_pos 4 0.0 -20.0
inter_unit_spacing 10.0
priority 0.5
end_block
;; cavalry on the flanks and back a bit
;; left flank cav
begin_block 7
unit_type cavalry 1.0
block_formation line
block_relative_pos 4 -1.0 -20.0
inter_unit_spacing 0.2
priority 0.5
end_block
;; left flank cav(more)
begin_block 8
unit_type cavalry 1.0
block_formation line
block_relative_pos 7 1 -3.0
inter_unit_spacing 0.2
priority 0.5
end_block
;; right_flank cav
begin_block 10
unit_type cavalry 1.0
block_formation line
block_relative_pos 6 1.0 -1.0
inter_unit_spacing 0.2
priority 0.5
end_block
;; 更多右侧骑兵
begin_block 11
unit_type cavalry 1.0
block_formation line
block_relative_pos 10 -1 -3.0
inter_unit_spacing 0.2
priority 0.5
end_block
begin_dummy_block 12
spans 0 1 2 3 4 5 6 7 8 9 10 11
end_dummy_block
;; 阵后将军
begin_block 13
min_units 1
max_units 1
unit_type general_unit 1.0
unit_density close
block_formation line
block_relative_pos 12 0.0 -1.0
inter_unit_spacing 0.2
priority 1.0
end_block
end_formation
begin_formation ai_roman_line
;;; purpose flags
attack
ai_priority 0.9
;; First line of infantry
begin_block 0
min_units 3
unit_type light_pilum_infantry 0.9
unit_type heavy_pilum_infantry 0.7
unit_type heavy infantry 0.0
unit_type infantry 0.0
unit_density close
max_unit_width -20
block_formation line
block_relative_pos 0 0.0 -20.0
inter_unit_spacing 10.0
priority 1.0
end_block
;; second line of infantry
begin_block 1
min_units 3
unit_type heavy_pilum_infantry 1.0
unit_type light_pilum_infantry 0.1
unit_type heavy infantry 0.0
unit_type infantry 0.0
unit_density close
max_unit_width 20
block_formation line
block_relative_pos 0 0.0 -6.0
inter_unit_spacing 10.0
priority 1.0
end_block
;; 3rd line of infantry
begin_block 2
max_units 4
unit_type light infantry 0.6
unit_type heavy infantry 0.6
unit_type spearmen 0.5
block_formation line
block_relative_pos 1 0.0 -6.0
inter_unit_spacing 0.2
priority 1.0
end_block
;; Archers behind
begin_block 3
unit_type ranged_missile_infantry 1.0
unit_type light infantry 0.4
unit_type heavy infantry 0.4
unit_type spearmen 0.8
unit_type non_phalanx_spear 1.0
unit_type any 0.0001
block_formation line
block_relative_pos 2 0.0 -6.0
inter_unit_spacing 0.2
priority 1.0
end_block
begin_dummy_block 4
spans 0 1 2 3
end_dummy_block
; Screen of missile inf
begin_block 5
max_units 3
unit_type missile infantry 0.5
unit_type elephants 1.0
unit_type heavy_chariots 1.0
unit_density close
block_formation line
block_relative_pos 4 0.0 -6.0
inter_unit_spacing 0.2
priority 1.0
end_block
;; artillery and handlers at the back
begin_block 6
unit_type handler 1.0
unit_type siege 1.0
;unit_type any 0.01
block_formation line
block_relative_pos 4 0.0 -20.0
inter_unit_spacing 10.0
priority 0.5
end_block
;; cavalry on the flanks and back a bit
;; left flank cav
begin_block 7
unit_type cavalry 1.0
block_formation line
block_relative_pos 4 -1.0 -20.0
inter_unit_spacing 0.2
priority 0.5
end_block
;; left flank cav(more)
begin_block 8
unit_type cavalry 1.0
block_formation line
block_relative_pos 7 1 -3.0
inter_unit_spacing 0.2
priority 0.5
end_block
;; right_flank cav