Not sure exactly how this file works, but I found this in 'descr_formations'

Where does this file get used, and would it apply to custom battles AND campaign action?


Code:
;****************************************************************
; Triple Line. 
; Missile Infantry
; Non Missile Infantry
; Cavalry
;****************************************************************


begin_formation ordered_triple_line_1

	general_order Group_Formation_Missile_First_3_lines

	;; front block
	begin_block 0
		unit_type					missile infantry	1.0
		default_melee_state			fire_at_will_and_skirmish
		block_formation				line
		block_relative_pos			0 0.0 0.0
		inter_unit_spacing			2.0
		priority					1.0
	end_block

	;; middle block
	begin_block 1
		unit_type					heavy infantry		1.0
		unit_type					light infantry		1.0
		unit_type					skirmish infantry	1.0
		unit_type					spearmen infantry	1.0
		block_formation				line
		block_relative_pos			0 0.0 -15.0
		inter_unit_spacing			2.0
		priority					1.0
	end_block

	;; rear block
	begin_block 2
		unit_type					cavalry		1.0
		block_formation				line
		block_relative_pos			1 0.0 -15.0
		inter_unit_spacing			2.0
		priority					0.8
	end_block
	
	;; put the artillery and handlers behind everyone
	begin_dummy_block 3
		spans 0 1 2
	end_dummy_block

	begin_block 4
		unit_type					handler				1.0
		unit_type					siege				1.0
		block_formation				line
		block_relative_pos			3 0.0 -15.0
		inter_unit_spacing			3.0
		priority					1.0
	end_block		

end_formation
Not sure what value does what exactly, or when this formation is used, but I presume if I removed the 'and skirmish' the troops would melee like I want them too.