; Custom battle script generated by Romans Battle Editor

battle		THE_SIEGE_OF_SPARTA
playable
	seleucid
end
nonplayable
	greek_cities
end


start_date	-272 summer
end_date	-272 summer


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; >>>> start of factions section <<<<

faction	seleucid
character	Pyrrhus of_Epirus, named character, command 0, influence 0, management 0, subterfuge 0, age 30, , x 131, y 70 

army
unit		greek general's guard cavalry early				soldiers 15 exp 5 armour 2 weapon_lvl 2
unit		greek onager				soldiers 34 exp 0 armour 0 weapon_lvl 0
unit		greek onager				soldiers 34 exp 0 armour 0 weapon_lvl 0
unit		greek pikemen				soldiers 80 exp 4 armour 1 weapon_lvl 1
unit		greek pikemen				soldiers 80 exp 4 armour 1 weapon_lvl 1
unit		greek pikemen				soldiers 80 exp 4 armour 1 weapon_lvl 1
unit		greek peltast				soldiers 80 exp 4 armour 0 weapon_lvl 1
unit		greek royal cavalry				soldiers 30 exp 4 armour 1 weapon_lvl 1
unit		greek hoplite militia				soldiers 80 exp 4 armour 0 weapon_lvl 1
unit		merc rhodian slingers				soldiers 80 exp 4 armour 0 weapon_lvl 1
unit		greek elephant small				soldiers 8 exp 5 armour 0 weapon_lvl 0
unit		greek pikemen				soldiers 80 exp 4 armour 1 weapon_lvl 1
unit		greek archer				soldiers 60 exp 4 armour 0 weapon_lvl 1
unit		greek levy pikemen				soldiers 60 exp 3 armour 0 weapon_lvl 1
unit		greek levy pikemen				soldiers 80 exp 3 armour 0 weapon_lvl 1
unit		greek levy pikemen				soldiers 80 exp 3 armour 0 weapon_lvl 1
unit		greek levy pikemen				soldiers 80 exp 3 armour 0 weapon_lvl 1
unit		merc rhodian slingers				soldiers 80 exp 3 armour 0 weapon_lvl 1
unit		greek elephant cataphract				soldiers 30 exp 5 armour 1 weapon_lvl 0
sieging	


faction	greek_cities
settlement
{
	level city
	tile 131 70

	year_founded 0
	fortification none greek, walls 0 towers 0 gates 0 gate_defences 0
	population 4000
	settlement_tax 84
	battle_pos 96.000 666.561 160.000	rotation_180	0
	plan_set default_set
	faction_creator macedon
	building
	{
		type academic academy
		creator greek_cities
	}
	building
	{
		type barracks muster_field
		creator greek_cities
	}
	building
	{
		type market trader
		creator greek_cities
	}
	building
	{
		type temple_of_victory temple_of_victory_large_temple
		creator greek_cities
	}
	building
	{
		type core_building governors_palace
		creator greek_cities
	}
	building
	{
		type smith smiths_workshop
		creator greek_cities
	}
	building
	{
		type theatres odeon
		creator greek_cities
	}
	building
	{
		type equestrian cavalry_barracks
		creator greek_cities
	}
	building
	{
		type missiles catapult_range
		creator greek_cities
	}
	building
	{
		type health baths
		creator greek_cities
	}
}
character	Leonidas of_Sparta, named character, command 0, influence 0, management 0, subterfuge 0, age 30, , x 131, y 70 

army
unit		greek general's guard cavalry				soldiers 20 exp 7 armour 3 weapon_lvl 3
unit		greek hoplite militia				soldiers 60 exp 2 armour 0 weapon_lvl 0
unit		greek hoplite spartan				soldiers 60 exp 2 armour 0 weapon_lvl 1
unit		greek hoplite spartan				soldiers 60 exp 2 armour 0 weapon_lvl 1
unit		greek hoplite spartan				soldiers 60 exp 2 armour 0 weapon_lvl 1
unit		greek hoplite spartan				soldiers 60 exp 2 armour 0 weapon_lvl 1
unit		greek hoplite spartan				soldiers 60 exp 2 armour 0 weapon_lvl 1
unit		greek hoplite spartan				soldiers 60 exp 2 armour 0 weapon_lvl 1
unit		greek heavy peltast				soldiers 80 exp 2 armour 0 weapon_lvl 0
unit		greek peasant				soldiers 80 exp 6 armour 0 weapon_lvl 0
unit		greek peltast				soldiers 80 exp 5 armour 0 weapon_lvl 0
unit		greek peltast				soldiers 80 exp 5 armour 0 weapon_lvl 1
unit		greek peltast				soldiers 80 exp 5 armour 0 weapon_lvl 1
unit		greek heavy peltast				soldiers 80 exp 4 armour 0 weapon_lvl 1

character	Aegon of_Sparta, named character, command 0, influence 0, management 0, subterfuge 0, age 25, , x 131, y 70 

army
unit		greek general's guard cavalry				soldiers 10 exp 4 armour 2 weapon_lvl 2
unit		greek hoplite spartan				soldiers 60 exp 3 armour 2 weapon_lvl 1
unit		greek hoplite spartan				soldiers 60 exp 3 armour 2 weapon_lvl 1
unit		greek hoplite spartan				soldiers 80 exp 3 armour 2 weapon_lvl 1
unit		greek hoplite spartan				soldiers 60 exp 3 armour 2 weapon_lvl 1
unit		greek hoplite militia				soldiers 80 exp 3 armour 0 weapon_lvl 0
unit		greek hoplite militia				soldiers 80 exp 3 armour 0 weapon_lvl 0

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; >>>> start of battle section <<<<

battle	131, 70
variable_weather_and_time ( day_time 8.00, year_day 100, duration	0, weather_seed	3 )

home_faction	greek_cities
alliance	greek_cities, defending
alliance	seleucid, attacking

army	seleucid, 0, no_withdraw, supporting_armies 0

deployment_area_point	834.734, 776.906
deployment_area_point	783.781, -323.499
deployment_area_point	501.852, -334.034
deployment_area_point	501.840, 796.426

unit			0, 656.425, 608.355, -170, formation_type square, formation_width 60			;general
unit			1, 689.515, 670.170, -170, formation_type square, formation_width 5				;onager
unit			2, 685.490, 651.334, -170, formation_type square, formation_width 5				;onager
unit			3, 633.655, 652.057, -170, formation_type square, formation_width 10			;PIKE
unit			4, 633.902, 684.368, -170, formation_type square, formation_width 10			;PIKE
unit			5, 633.269, 667.317, -170, formation_type square, formation_width 10			;PIKE
unit			6, 620.260, 704.742, -170, formation_type square, formation_width 10			;Peltast
unit			7, 661.600, 630.841, -170, formation_type square, formation_width 20			;Cavalry
unit			8, 673.983, 631.021, -170, formation_type square, formation_width 10			;Hoplites
unit			9, 692.490, 688.373, -170, formation_type square, formation_width 10			;Slingers
unit			10, 669.124, 659.391, -171, formation_type square, formation_width 40			;Elephants
unit			11, 632.121, 633.314, -179, formation_type square, formation_width 10			;pikemen
unit			12, 616.821, 634.846, -177, formation_type square, formation_width 10			;archer
unit			13, 633.045, 749.179, -167, formation_type square, formation_width 10			;levy pikemen
unit			14, 633.293, 734.788, -167, formation_type square, formation_width 10			;levy pikemen
unit			15, 633.554, 701.990, -172, formation_type square, formation_width 10			;levy pikemen
unit			16, 633.384, 719.415, -168, formation_type square, formation_width 10			;levy pikemen
unit			17, 617.652, 666.481, -177, formation_type square, formation_width 12			;slingers
unit			18, 671.870, 691.246, -176, formation_type square, formation_width 46			;elephants


army	greek_cities, 0, no_withdraw, supporting_armies 0

deployment_area_point	-266.783, 458.505
deployment_area_point	456.033, 460.255
deployment_area_point	457.516, -77.129
deployment_area_point	-270.666, -75.660

unit			0, 46.905, 123.939, 90, formation_type square, formation_width 20
unit			1, -36.419, 433.220, 5, formation_type square, formation_width 10
unit			2, 54.310, 102.865, 90, formation_type phalanx, formation_width 10
unit			3, 54.027, 78.101, 90, formation_type phalanx, formation_width 10
unit			4, 416.662, 326.047, 90, formation_type phalanx, formation_width 10
unit			5, 413.107, 196.726, 90, formation_type phalanx, formation_width 10
unit			6, 116.682, -69.176, 178, formation_type phalanx, formation_width 10
unit			7, 139.858, 450.775, 5, formation_type phalanx, formation_width 10
unit			8, 116.933, -58.300, -178, formation_type square, formation_width 10
unit			9, -176.347, 149.185, -90, formation_type horde, formation_width 13
unit			10, 45.846, 102.083, 90, formation_type square, formation_width 40
unit			11, 408.505, 324.269, 90, formation_type square, formation_width 10
unit			12, 403.796, 196.663, 90, formation_type square, formation_width 10
unit			13, 139.531, 439.363, -1, formation_type square, formation_width 10


army	greek_cities, 1, no_withdraw, supporting_armies 0


deployment_area_point	827.777, -787.315
deployment_area_point	818.725, -332.621
deployment_area_point	-562.489, -382.870
deployment_area_point	-579.294, -822.961

unit			0, 368.939, -569.326, 49, formation_type square, formation_width 15
unit			1, 357.876, -575.786, 56, formation_type square, formation_width 10
unit			2, 350.410, -565.984, 53, formation_type square, formation_width 10
unit			3, 337.180, -591.009, 52, formation_type square, formation_width 10
unit			4, 330.761, -581.500, 54, formation_type square, formation_width 10
unit			5, 348.761, -582.387, 53, formation_type square, formation_width 10
unit			6, 340.916, -573.150, 50, formation_type square, formation_width 10


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; >>>> start of objectives scripting section <<<<

objectives

alliance 0
condition destroy_or_rout_enemy

alliance 1
condition destroy_or_rout_enemy
condition capture_major_settlement Sparta 

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; >>>> start of army scripting section <<<<

script
Siege_of_Sparta_Battle_Script.txt