DESCR Formations

download DESCR Formations

If you can't read please download the document

description

MEDIEVAL CODES

Transcript of DESCR Formations

;; This file describes the unit group formation templates, any number of group formations can be specified; these templates are used to give a group of units a formation, the units available in the group may not; totally fit the template in which case a best-fit is determined when the formation is created;; Formation block positions can either be specified with a relative normalised (x,z) or they can be specified; relative to another formation block (when specifying in this manner rotation CANNOT be given); a formation must be described entirely in one method or the other;; Dummy blocks can be specified when positioning blocks relatively. They do not contain units but encompass other; blocks, blocks can then be positioned relative to dummy blocks. When specifying multiple rows of troops each row; should be encased in a dummy block and the row behind should be position relative to this. This will avoid intersecting; blocks which would occur if the block that the rear row was positioned relative to had no units assigned to it.;; formationthe name given to this formation template;; BLOCK SPEC;; begin_block begin a formation block; end_blockend a formation block;; begin_dummy_block begin a dummy block; spans specify the blocks it will span; end_dummy_block end dummy block;; unit_typespecifies units that can be allocated to the block;either : -;any;general_unit; if either unit class or priority is not present then the missing field can be anything;the priority dictates the order of assigning different unit types;a priority of zero means that type will only ever be assigned to this block;to fulfill block minimums; default_melee_state the melee state that will be assigned to units;in the formation; unit_formation the formation the units within this block will be in (wedge, square, ...); unit_density either loose or close; block_formation the formation to organise the block into (square, column, line); normalised_pos (x,z) position relative to the center of the template (in normalised coords); normalised_rot rotation in degress relative to the orientation of the template; block_relative_pos b x z (x,z) position (in metres) relative to formation block b; inter_unit_spacing distance to space units (in metres) ; prioritydictates the order in which units are assigned to the block;****************************************************************;The simplest formation. The units are lined up in a single line;****************************************************************begin_formation simple_linegeneral_order Group_Formation_Single_Line;;; Only one slot main slotbegin_block 0unit_type any 1.0block_formation lineblock_relative_pos 0 0.0 0.0inter_unit_spacing 0.0priority 1.0end_blockend_formation;****************************************************************; A single line, but with the units ordered with heavy infantry in the centre; lighter infantry on the flanks, and cavalry on the wings;****************************************************************begin_formation ordered_single_linegeneral_order Group_Formation_Sorted_Line;; centre blockbegin_block 0min_units 1 not_generalunit_type heavy infantry1.0unit_type spearmen infantry 1.0unit_type light infantry0.8; unit_type skirmish infantry 0.6unit_type any0.0block_formation lineblock_relative_pos 0 0.0 0.0inter_unit_spacing 0.0priority 1.0end_block;; right of centrebegin_block 1 not_generalunit_type missile infantry1.0unit_type light infantry1.0unit_type skirmish infantry 1.0block_formation lineblock_relative_pos 0 2.0 0.0inter_unit_spacing 0.0priority 0.9end_block;; left of centrebegin_block 2 not_generalunit_type missile infantry1.0unit_type light infantry1.0unit_type skirmish infantry 1.0block_formation lineblock_relative_pos 0 -2.0 0.0inter_unit_spacing 0.0priority 0.9end_block;; right wingbegin_block 3 not_generalunit_type cavalry1.0unit_density closeblock_formation lineblock_relative_pos 1 2.0 0.0inter_unit_spacing 0.0priority 0.9end_block;; left wingbegin_block 4 not_generalunit_type cavalry1.0unit_density closeblock_formation lineblock_relative_pos 2 -2.0 0.0inter_unit_spacing 0.0priority 0.9end_block;; put the artillery and handlers behind everyonebegin_dummy_block 5spans 0 1 2 3 4end_dummy_block ;; General behind main lines begin_block 6 unit_type general_unit 1.0 max_unit_width 25 block_formation line block_relative_pos 5 0.0 -4.0 inter_unit_spacing 1.0 priority 1.0 end_block ;; put the artillery and handlers behind everyone begin_block 7 unit_type handler 1.0 unit_type siege 1.0 block_formation line block_relative_pos 6 -5.0 -10.0 inter_unit_spacing 1.0 priority 0.5 end_block begin_block 8 unit_type handler 1.0 unit_type siege 1.0 block_formation line block_relative_pos 6 5.0 -10.0 inter_unit_spacing 1.0 priority 0.5 end_blockend_formation;****************************************************************;Units are lined up in two lines, but the lines are not sorted;****************************************************************begin_formation simple_double_linegeneral_order Group_Formation_Double_Line;; front linebegin_block 0min_units 1max_units 8unit_type any1.0block_formation lineblock_relative_pos 0 0.0 0.0inter_unit_spacing 0.0priority 1.0end_block;; rear linebegin_block 1unit_type any1.0block_formation lineblock_relative_pos 0 0.0 -15.0inter_unit_spacing 0.0priority 1.0end_blockend_formation;****************************************************************; Double Line. ; Non missile infantry in front; Missile troops and general behind; Melee Cavalry split between wings;****************************************************************begin_formation ordered_double_linegeneral_order Group_Formation_Sorted_Double_Line;; front blockbegin_block 0 not_generalunit_type heavy infantry1.0unit_type light infantry1.0; unit_type skirmish infantry 1.0unit_type spearmen infantry 1.0;; unit_type artillery1.0block_formation lineblock_relative_pos 0 0.0 0.0inter_unit_spacing 0.0priority 1.0end_block;; rear blockbegin_block 1 not_generalunit_type missile infantry1.0unit_type skirmish infantry 1.0block_formation lineblock_relative_pos 0 0.0 -15.0inter_unit_spacing 0.5priority 1.0end_block;; dummy blockbegin_dummy_block 2spans 0 1end_dummy_block;; right wing cavalrybegin_block 3not_generalunit_type heavy cavalry1.0unit_type spearmen cavalry1.0unit_type light cavalry1.0unit_type skirmish cavalry1.0unit_type missile cavalry1.0block_formation lineblock_relative_pos 2 10.0 0.0inter_unit_spacing 0.5priority 1.0end_block;; left wing cavalrybegin_block 4not_generalunit_type heavy cavalry1.0unit_type spearmen cavalry1.0unit_type light cavalry1.0unit_type skirmish cavalry1.0unit_type missile cavalry1.0block_formation lineblock_relative_pos 2 -10.0 0.0inter_unit_spacing 0.5priority 1.0end_block;; put the artillery and handlers behind everyonebegin_dummy_block 5spans 0 1 2 3 4end_dummy_block ;; General behind main lines begin_block 6 unit_type general_unit 1.0 max_unit_width 25 block_formation line block_relative_pos 5 0.0 -4.0 inter_unit_spacing 1.0 priority 1.0 end_block ;; put the artillery and handlers behind everyone begin_block 7 unit_type handler 1.0 unit_type siege 1.0 block_formation line block_relative_pos 6 -5.0 -10.0 inter_unit_spacing 1.0 priority 0.5 end_block begin_block 8 unit_type handler 1.0 unit_type siege 1.0 block_formation line block_relative_pos 6 5.0 -10.0 inter_unit_spacing 1.0 priority 0.5 end_blockend_formation;****************************************************************; Triple Line. ; Missile Infantry; Non Missile Infantry; Cavalry;****************************************************************begin_formation ordered_triple_line_1general_order Group_Formation_Missile_First_3_lines;; front blockbegin_block 0 not_generalunit_type missile infantry0.9unit_type skirmish infantry 1.0default_melee_state fire_at_will_and_skirmishblock_formation lineblock_relative_pos 0 0.0 0.0inter_unit_spacing 0.0priority 1.0end_block;; middle blockbegin_block 1 not_generalunit_type heavy infantry1.0unit_type light infantry1.0; unit_type skirmish infantry 1.0unit_type spearmen infantry 1.0block_formation lineblock_relative_pos 0 0.0 -15.0inter_unit_spacing 0.0priority 1.0end_block;; rear blockbegin_block 2 not_generalunit_type cavalry1.0block_formation lineblock_relative_pos 1 0.0 -15.0inter_unit_spacing 0.0priority 0.8end_block;; put the artillery and handlers behind everyonebegin_dummy_block 3spans 0 1 2end_dummy_block ;; General behind main lines begin_block 4 unit_type general_unit 1.0 max_unit_width 25 block_formation line block_relative_pos 3 0.0 -4.0 inter_unit_spacing 1.0 priority 1.0 end_block ;; put the artillery and handlers behind everyone begin_block 5 unit_type handler 1.0 unit_type siege 1.0 block_formation line block_relative_pos 4 -5.0 -10.0 inter_unit_spacing 1.0 priority 0.5 end_block begin_block 6 unit_type handler 1.0 unit_type siege 1.0 block_formation line block_relative_pos 4 5.0 -10.0 inter_unit_spacing 1.0 priority 0.5 end_blockend_formation;****************************************************************; Triple Line. ; Non Missile Infantry; Missile troops; Non Missile Cavalry;****************************************************************begin_formation ordered_triple_line_2general_order Group_Formation_Infantry_First_3_Lines;; front blockbegin_block 0 not_generalunit_type heavy infantry1.0unit_type light infantry1.0; unit_type skirmish infantry1.0unit_type spearmen infantry1.0block_formation lineblock_relative_pos 0 0.0 0.0inter_unit_spacing 0.0priority 1.0end_block;; middle blockbegin_block 1 not_generalunit_type missile infantry1.0unit_type skirmish infantry1.0unit_type missile cavalry1.0block_formation lineblock_relative_pos 0 0.0 -15.0inter_unit_spacing 0.0priority 1.0end_block;; rear blockbegin_block 2 not_generalunit_type heavy cavalry1.0unit_type light cavalry1.0unit_type skirmish cavalry1.0unit_type spearmen cavalry1.0block_formation lineblock_relative_pos 1 0.0 -15.0inter_unit_spacing 0.0priority 0.8end_block;; put the artillery and handlers behind everyonebegin_dummy_block 3spans 0 1 2end_dummy_block ;; General behind main lines begin_block 4 unit_type general_unit 1.0 max_unit_width 25 block_formation line block_relative_pos 3 0.0 -4.0 inter_unit_spacing 1.0 priority 1.0 end_block ;; put the artillery and handlers behind everyone begin_block 5 unit_type handler 1.0 unit_type siege 1.0 block_formation line block_relative_pos 4 -5.0 -10.0 inter_unit_spacing 1.0 priority 0.5 end_block begin_block 6 unit_type handler 1.0 unit_type siege 1.0 block_formation line block_relative_pos 4 5.0 -10.0 inter_unit_spacing 1.0 priority 0.5 end_blockend_formation;****************************************************************; Triple Line. ; Cavalry; Missile Infantry; Non Missile Infantry;****************************************************************begin_formation ordered_triple_line_3general_order Group_Formation_Cavalry_First_3_Lines;; front blockbegin_block 0 not_generalunit_type cavalry 1.0block_formation lineblock_relative_pos 0 0.0 0.0inter_unit_spacing 0.0priority 1.0end_block;; middle blockbegin_block 1 not_generalunit_type skirmish infantry1.0unit_type missile infantry1.0block_formation lineblock_relative_pos 0 0.0 -15.0inter_unit_spacing 0.0priority 1.0end_block;; rear blockbegin_block 2 not_generalunit_type heavy infantry1.0unit_type light infantry1.0; unit_type skirmish infantry1.0unit_type spearmen infantry1.0block_formation lineblock_relative_pos 1 0.0 -15.0inter_unit_spacing 0.0priority 0.8end_block;; put the artillery and handlers behind everyonebegin_dummy_block 3spans 0 1 2end_dummy_block ;; General behind main lines begin_block 4 unit_type general_unit 1.0 max_unit_width 25 block_formation line block_relative_pos 3 0.0 -4.0 inter_unit_spacing 1.0 priority 1.0 end_block ;; put the artillery and handlers behind everyone begin_block 5 unit_type handler 1.0 unit_type siege 1.0 block_formation line block_relative_pos 4 -5.0 -10.0 inter_unit_spacing 1.0 priority 0.5 end_block begin_block 6 unit_type handler 1.0 unit_type siege 1.0 block_formation line block_relative_pos 4 5.0 -10.0 inter_unit_spacing 1.0 priority 0.5 end_blockend_formation;****************************************************************; Column; One unit wide; Missile Cavalry; Non Missile Cavalry; Missile Infantry; Non Missile Infantry;****************************************************************begin_formation columngeneral_order Group_Formation_Column;; front blockbegin_block 0unit_type missile cavalry1.0block_formation columnblock_relative_pos 0 0.0 0.0inter_unit_spacing 1.5priority 0.9end_block;; middle blockbegin_block 1unit_type heavy cavalry1.0unit_type light cavalry1.0unit_type skirmish cavalry1.0unit_type spearmen cavalry1.0block_formation columnblock_relative_pos 0 0.0 -5.0inter_unit_spacing 1.5priority 0.9end_block;; missile blockbegin_block 2unit_type skirmish infantry1.0unit_type missile infantry1.0unit_type general_unit1.0block_formation columnblock_relative_pos 1 0.0 -5.0inter_unit_spacing 1.5priority 1.0end_block;; rear blockbegin_block 3unit_type heavy infantry1.0unit_type light infantry1.0; unit_type skirmish infantry1.0unit_type spearmen infantry1.0block_formation columnblock_relative_pos 2 0.0 -5.0inter_unit_spacing 1.5priority 1.0end_block;; put the artillery and handlers behind everyonebegin_dummy_block 4spans 0 1 2 3end_dummy_blockbegin_block 5unit_type handler1.0unit_type siege1.0block_formation lineblock_relative_pos 4 0.0 -5.0inter_unit_spacing 0.5priority 1.0end_blockend_formation;****************************************************************; Formation used when multiply selected units get moved;****************************************************************begin_formation unit_selection; row 0begin_block 0max_units 5unit_type any 1.0unit_density closeblock_formation lineblock_relative_pos 0 0.0 0.0inter_unit_spacing 0.0priority 1.0end_block; row 1begin_block 1max_units 5unit_type any 1.0unit_density closeblock_formation lineblock_relative_pos 0 0.0 -1.0inter_unit_spacing 0.0priority 0.0end_block; row 2begin_block 2max_units 5unit_type any 1.0unit_density closeblock_formation lineblock_relative_pos 1 0.0 -1.0inter_unit_spacing 0.0priority 0.0end_block; row 3begin_block 3unit_type any 1.0unit_density closeblock_formation lineblock_relative_pos 1 0.0 -1.0; block_relative_pos 2 0.0 -1.0 IRREGULARinter_unit_spacing 0.0priority 0.0end_blockend_formation;****************************************************************; Formation used by Germanicu5 script;****************************************************************begin_formation ai_wall_assault wall_assault_force ai_priority 1 ;;; artillery in front begin_dummy_block 0 spacer 0.0 0.0 20 5 end_dummy_block ;; infantry covering artillery begin_block 1 max_units 1 not_general unit_type spearmen infantry 1.4 unit_type phalanx 1.3 unit_type heavy infantry 1.2 unit_type light infantry 1.1 unit_density close min_unit_width 35 max_unit_width 65 block_formation line block_relative_pos 0 0.0 -0.1 inter_unit_spacing 0.0 priority 1.0 end_block ;;;;; next 3 blocks aren't used ;;; rams at the centre begin_block 2 max_units 2 unit_type carrying_siege_engine ram 1.7 unit_density close block_formation line block_relative_pos 1 0.0 -5.0 inter_unit_spacing 10.0 priority 1.0 end_block ;; other engines left side begin_block 3 max_units 1 unit_type carrying_siege_engine ladder 1.6 unit_type carrying_siege_engine tower 1.6 unit_density close block_formation line block_relative_pos 2 -15.0 0.0 inter_unit_spacing 5.0 priority 1.0 end_block ;; other engines right side begin_block 4 max_units 1 unit_type carrying_siege_engine ladder 1.6 unit_type carrying_siege_engine tower 1.6 unit_density close block_formation line block_relative_pos 2 15.0 0.0 inter_unit_spacing 5.0 priority 1.0 end_block begin_dummy_block 5 spans 0 1 end_dummy_block ;; infantry behind 1 begin_block 6 max_units 4 not_general unit_type heavy infantry 1.0 unit_type spearmen infantry 0.9 unit_type light infantry 0.8 unit_density close min_unit_width 15 max_unit_width 25 block_formation line block_relative_pos 5 0.0 -50.0 inter_unit_spacing 7.5 priority 0.9 end_block ;; infantry behind 2 begin_block 7 max_units 4 unit_type heavy infantry 1.0 unit_type spearmen infantry 0.9 unit_type light infantry 0.8 unit_type missile infantry 0.7 unit_type skirmish infantry 0.6 unit_density close min_unit_width 15 max_unit_width 25 block_formation line block_relative_pos 6 0.0 -10.0 inter_unit_spacing 7.5 priority 0.8 end_block ;; infantry behind 3 begin_block 8 max_units 4 unit_type heavy infantry 1.0 unit_type spearmen infantry 0.9 unit_type light infantry 0.8 unit_type missile infantry 0.7 unit_type skirmish infantry 0.6 unit_density close min_unit_width 15 max_unit_width 25 block_formation line block_relative_pos 7 0.0 -10.0 inter_unit_spacing 7.5 priority 0.7 end_block begin_dummy_block 9 spans 6 7 8 end_dummy_block ;;; other rams on both sides begin_block 10 ;max_units 0 unit_type carrying_siege_engine ram 1.6 unit_density close block_formation column block_relative_pos 6 -7.5 0.0 inter_unit_spacing 1.0 priority 1.0 end_block begin_block 11 ;max_units 0 unit_type carrying_siege_engine ram 1.6 unit_density close block_formation column block_relative_pos 6 7.5 0.0 inter_unit_spacing 1.0 priority 1.0 end_block begin_dummy_block 12 spans 9 10 11 end_dummy_block ;; missile left 1 begin_block 13 max_units 3 unit_type missile infantry 1.0 unit_type skirmish infantry 0.9 unit_density close min_unit_width 30 max_unit_width 40 block_formation column block_relative_pos 10 -7.5 -15.0 inter_unit_spacing 5.0 priority 1.0 end_block ;; missile right 1 begin_block 14 max_units 3 unit_type missile infantry 1.0 unit_type skirmish infantry 0.9 unit_density close min_unit_width 30 max_unit_width 40 block_formation column block_relative_pos 11 7.5 -15.0 inter_unit_spacing 5.0 priority 1.0 end_block ;; missile left 2 begin_block 15 max_units 3 unit_type missile infantry 1.0 unit_type skirmish infantry 0.9 unit_density close min_unit_width 30 max_unit_width 40 block_formation column block_relative_pos 13 -7.5 0.0 inter_unit_spacing 5.0 priority 0.9 end_block ;; missile right 2 begin_block 16 max_units 3 unit_type missile infantry 1.0 unit_type skirmish infantry 0.9 unit_density close min_unit_width 30 max_unit_width 40 block_formation column block_relative_pos 14 7.5 0.0 inter_unit_spacing 5.0 priority 0.9 end_block begin_dummy_block 17 spans 12 13 14 15 16 end_dummy_block ;;; other infantry behind begin_block 18 max_units 10 unit_type heavy infantry 1.0 unit_type light infantry 0.9 unit_type spearmen infantry 0.8 unit_type missile infantry 0.7 unit_type skirmish infantry 0.6 unit_density closemin_unit_width 25max_unit_width 25 block_formation line block_relative_pos 17 0.0 -1.0 inter_unit_spacing 7.5 priority 0.3 end_block begin_dummy_block 19 spans 9 18 end_dummy_block begin_block 20 min_units 1 max_units 1 unit_type general_unit 1.0 unit_density close block_formation line block_relative_pos 19 0 -70.0 inter_unit_spacing 20.0 priority 1.0 end_block ;;; cavalry on both sides begin_block 21 unit_type heavy cavalry 1.0 unit_type light cavalry 0.9 unit_type missile cavalry 0.8 unit_type skirmish cavalry 0.7 unit_type any 0.1min_unit_width 12max_unit_width 16 ;unit_density close block_formation line block_relative_pos 20 -10.0 10.0 inter_unit_spacing 5.0 priority 0.2 end_block begin_block 22 unit_type heavy cavalry 1.0 unit_type light cavalry 0.9 unit_type missile cavalry 0.8 unit_type skirmish cavalry 0.7 unit_type any 0.1 ;unit_density close min_unit_width 12 max_unit_width 16 block_formation line block_relative_pos 20 10.0 10.0 inter_unit_spacing 5.0 priority 0.2 end_block ;; other engines left side begin_block 23 unit_type carrying_siege_engine ladder 1.6 unit_type carrying_siege_engine tower 1.6 unit_density close block_formation line block_relative_pos 3 -80.0 0.0 inter_unit_spacing 20.0 priority 1.0 end_block ;; other engines right side begin_block 24 unit_type carrying_siege_engine ladder 1.6 unit_type carrying_siege_engine tower 1.6 unit_density close block_formation line block_relative_pos 4 80.0 0.0 inter_unit_spacing 20.0 priority 1.0 end_blockend_formation;############################################################begin_formation ai_infantry_protecting ;;; purpose flagsattack defend anti_cavalry ai_priority 1.0 begin_block 0 max_units 2 unit_type phalanx 1.0 unit_type spearmen 0.9 unit_type heavy infantry 0.8 unit_type light infantry 0.7 ;unit_formation square, phalanx, schiltrom ;;default_melee_state defend unit_density close min_unit_width 15 max_unit_width 20 block_formation line block_relative_pos 0 0.0 0 inter_unit_spacing 0.0 priority 0.9 end_block begin_block 1 max_units 1 unit_type phalanx 1.0 unit_type spearmen 0.9 unit_type heavy infantry 0.8 unit_type light infantry 0.7 ;unit_formation square, phalanx, schiltrom ;;default_melee_state defend unit_density close min_unit_width 15 max_unit_width 20 block_formation line block_relative_pos 0 -1.0 0.0 inter_unit_spacing 0.0 priority 0.8 end_block begin_block 2 max_units 1 unit_type phalanx 1.0 unit_type spearmen 0.9 unit_type heavy infantry 0.8 unit_type light infantry 0.7 ;unit_formation square, phalanx, schiltrom ;;default_melee_state defend unit_density close min_unit_width 15 max_unit_width 20 block_formation line block_relative_pos 0 1.0 0.0 inter_unit_spacing 0.0 priority 0.8 end_block begin_block 3 max_units 1 unit_type phalanx 1.0 unit_type spearmen 0.9 unit_type heavy infantry 0.8 unit_type light infantry 0.7 ;unit_formation square, phalanx, schiltrom ;;default_melee_state defend unit_density close min_unit_width 15 max_unit_width 20 block_formation line block_relative_pos 1 -1.0 0.0 inter_unit_spacing 0.0 priority 0.7 end_block begin_block 4 max_units 1 unit_type phalanx 1.0 unit_type spearmen 0.9 unit_type heavy infantry 0.8 unit_type light infantry 0.7 ;unit_formation square, phalanx, schiltrom ;;default_melee_state defend unit_density close min_unit_width 15 max_unit_width 20 block_formation line block_relative_pos 2 1.0 0.0 inter_unit_spacing 0.0 priority 0.7 end_block begin_dummy_block 5 spans 0 1 2 3 4 end_dummy_block ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; missile units behind begin_block 6 max_units 4 unit_type skirmish infantry 1.0 unit_type missile infantry 0.9 ;unit_formation square, phalanx, schiltrom unit_density close min_unit_width 15 max_unit_width 25 block_formation line block_relative_pos 5 0.0 -5.0 inter_unit_spacing 0.5 priority 1.0 end_block begin_block 7 max_units 4 unit_type skirmish infantry 1.0 unit_type missile infantry 0.9 ;unit_formation square, phalanx, schiltrom unit_density close min_unit_width 15 max_unit_width 25 block_formation line block_relative_pos 6 0.0 -2.0 inter_unit_spacing 0.5 priority 0.9 end_block begin_dummy_block 8 spans 5 6 7 end_dummy_block ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; missile units behind begin_block 9 max_units 4 unit_type skirmish infantry 1.0 unit_type missile infantry 0.9 ;unit_formation square, phalanx, schiltrom unit_density close min_unit_width 15 max_unit_width 25 block_formation line block_relative_pos 8 0.0 -2.0 inter_unit_spacing 0.5 priority 0.9 end_block begin_block 10 max_units 4 unit_type skirmish infantry 1.0 unit_type missile infantry 0.9 ;unit_formation square, phalanx, schiltrom unit_density close min_unit_width 15 max_unit_width 25 block_formation line block_relative_pos 9 0.0 -2.0 inter_unit_spacing 0.5 priority 0.9 end_block begin_block 11 max_units 4 unit_type skirmish infantry 1.0 unit_type missile infantry 0.9 ;unit_formation square, phalanx, schiltrom unit_density close min_unit_width 15 max_unit_width 25 block_formation line block_relative_pos 10 0.0 -2.0 inter_unit_spacing 0.5 priority 0.8 end_block begin_dummy_block 12 spans 8 9 10 11 end_dummy_block ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; cavalry begin_block 13 max_units 2 unit_type heavy cavalry 1.0 unit_type spearmen cavalry 0.9 unit_type skirmish cavalry 0.8 unit_type light cavalry 0.7 ;default_melee_state fire_at_will_and_skirmish unit_density close ;min_unit_width 15 ;max_unit_width 15 block_formation line block_relative_pos 12 0.0 -2.0 inter_unit_spacing 2 priority 1.0 end_block ;;; special general block begin_block 14 min_units 1 max_units 1 unit_type general_unit 1.0 unit_density close min_unit_width 15 max_unit_width 25 block_formation line block_relative_pos 13 0 -2.0 inter_unit_spacing 10.0 priority 1.1 end_block begin_block 15 max_units 2 unit_type phalanx 1.0 unit_type spearmen 0.9 unit_type heavy infantry 0.8 unit_type light infantry 0.7 ;unit_formation square, phalanx, schiltrom ;;default_melee_state defend unit_density close min_unit_width 15 max_unit_width 20 block_formation line block_relative_pos 14 0.0 -2.0 inter_unit_spacing 0.0 priority 0.6 end_block begin_dummy_block 16 spans 12 13 14 15 end_dummy_block ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; infantry on flanks begin_block 17 max_units 4 unit_type phalanx 1.0 unit_type spearmen 0.9 unit_type heavy infantry 0.8 unit_type light infantry 0.7 ;unit_formation square, phalanx, schiltrom unit_density close min_unit_width 10 max_unit_width 15 block_formation column block_relative_pos 16 -1.0 0.0 inter_unit_spacing 2.0 priority 0.5 end_block begin_block 18 max_units 4 unit_type phalanx 1.0 unit_type spearmen 0.9 unit_type heavy infantry 0.8 unit_type light infantry 0.7 ;unit_formation square, phalanx, schiltrom unit_density close min_unit_width 10 max_unit_width 15 block_formation column block_relative_pos 16 1.0 0.0 inter_unit_spacing 2.0 priority 0.5 end_block begin_dummy_block 19 spans 16 17 18 end_dummy_block begin_block 20 max_units 4 unit_type heavy cavalry 1.0 unit_type spearmen cavalry 0.9 unit_type skirmish cavalry 0.8 unit_type light cavalry 0.7 unit_type missile cavalry 0.6 ;default_melee_state fire_at_will_and_skirmish unit_density close ;min_unit_width 15 ;max_unit_width 15 block_formation line block_relative_pos 19 0.0 -2.0 inter_unit_spacing 2 priority 0.9 end_block begin_block 21 max_units 4 unit_type heavy cavalry 1.0 unit_type spearmen cavalry 0.9 unit_type skirmish cavalry 0.8 unit_type light cavalry 0.7 unit_type missile cavalry 0.6 ;default_melee_state fire_at_will_and_skirmish unit_density close ;min_unit_width 15 ;max_unit_width 15 block_formation line block_relative_pos 20 0.0 -2.0 inter_unit_spacing 2 priority 0.8 end_block begin_block 22 max_units 4 unit_type heavy cavalry 1.0 unit_type spearmen cavalry 0.9 unit_type skirmish cavalry 0.8 unit_type light cavalry 0.7 unit_type missile cavalry 0.6 ;default_melee_state fire_at_will_and_skirmish unit_density close ;min_unit_width 15 ;max_unit_width 15 block_formation line block_relative_pos 21 0.0 -2.0 inter_unit_spacing 2 priority 0.7 end_block begin_block 23 max_units 4 unit_type heavy cavalry 1.0 unit_type spearmen cavalry 0.9 unit_type skirmish cavalry 0.8 unit_type light cavalry 0.7 unit_type missile cavalry 0.6 ;default_melee_state fire_at_will_and_skirmish unit_density close ;min_unit_width 15 ;max_unit_width 15 block_formation line block_relative_pos 22 0.0 -2.0 inter_unit_spacing 2 priority 0.6 end_block begin_block 24 max_units 4 unit_type heavy cavalry 1.0 unit_type spearmen cavalry 0.9 unit_type skirmish cavalry 0.8 unit_type light cavalry 0.7 unit_type missile cavalry 0.6 ;default_melee_state fire_at_will_and_skirmish unit_density close ;min_unit_width 15 ;max_unit_width 15 block_formation line block_relative_pos 23 0.0 -2.0 inter_unit_spacing 2 priority 0.5 end_block begin_dummy_block 25 spans 19 20 21 22 23 24 end_dummy_block ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; missile cavalry begin_block 26 max_units 4 unit_type missile cavalry 1.0 ;default_melee_state fire_at_will_and_skirmish unit_density close ;min_unit_width 15 ;max_unit_width 15 block_formation column block_relative_pos 25 -10.0 0.0 inter_unit_spacing 5.0 priority 1.0 end_block begin_block 27 max_units 4 unit_type missile cavalry 1.0 ;default_melee_state fire_at_will_and_skirmish unit_density close ;min_unit_width 15 ;max_unit_width 15 block_formation column block_relative_pos 25 10.0 0.0 inter_unit_spacing 5.0 priority 1.0 end_block ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; put the artillery and handlers behind everyone begin_block 28 unit_type handler 1.0 unit_type siege 1.0 block_formation line block_relative_pos 25 0.0 -2.0 inter_unit_spacing 5.0 priority 1.0 end_block begin_block 29 max_units 4 unit_type phalanx 1.0 unit_type spearmen 0.9 unit_type heavy infantry 0.8 unit_type light infantry 0.7unit_type any 0.1 ;unit_formation square, phalanx, schiltrom unit_density close min_unit_width 15 max_unit_width 20 block_formation line block_relative_pos 28 0.0 -2.0 inter_unit_spacing 1.0 priority 0.1 end_block main_line 5end_formation