<?xml version="1.0" standalone="yes" ?> 
<scenario>
<difficulty value="4"/>
<players>
	<player control="human" faction="romans" team="1"/>
	<player control="cpu"  faction="romans" team="1"/>
	<player control="cpu" faction="persian" team="3"/>
	<player control="cpu-ultra" faction="persian" team="3"/>
</players>
<map value="four_rivers"/>
<tileset value="forest"/>
<tech-tree value="ultrapack_v1"/>
	<default-resources value="true"/>	
	<default-units value="false"/>
	<default-victory-conditions value="true"/>
	<scripts>
		<startup>

			--buddy units
			for i=1, 1 do
				createUnit('forum', 1, startLocation(1))
			end

			for i=1, 1 do
				createUnit('guard_tower', 1, startLocation(1))
			end

			for i=1, 1 do
				createUnit('training_camp', 0, startLocation(0))
			end

			for i=1, 2 do
				createUnit('archer', 1, startLocation(1))
			end

			for i=1, 1 do
				createUnit('general', 1, startLocation(1))
			end

			for i=1, 8 do
				createUnit('spearman', 1, startLocation(1))
			end

			--create buddy attackers
			for i=1, 3 do
				createUnit('swordsman', 1, startLocation(1))
				givePositionCommand(lastCreatedUnit(), 'attack', startLocation(3))	
			end
			
			--player units
			for i=1, 6 do
				createUnit('spearman', 0, startLocation(0))
			end	
			for i=1, 1 do
				createUnit('general', 0, startLocation(0))
			end

			for i=1, 1 do
				createUnit('forum', 0, startLocation(0))
			end
			for i=1, 3 do
				createUnit('slave', 0, startLocation(0))
			end
	
			for i=1, 1 do
				createUnit('archer', 0, startLocation(0))
			end

			for i=1, 1 do
				createUnit('guard_tower', 0, startLocation(0))
			end
			for i=1, 1 do
				createUnit('cow', 0, startLocation(0))
			end

			--create enemy attackers
			for i=1, 5 do
				createUnit('stickfighter', 3, startLocation(3))
				givePositionCommand(lastCreatedUnit(), 'attack', startLocation(0))	
			end

			for i=1, 1 do
				createUnit('stickfighter', 3, startLocation(2))
				givePositionCommand(lastCreatedUnit(), 'attack', startLocation(0))	
			end

			for i=1, 3 do
				createUnit('stickfighter', 3, startLocation(2))
				givePositionCommand(lastCreatedUnit(), 'attack', startLocation(3))	
			end

			for i=1, 6 do
				createUnit('swordman', 3, startLocation(3))
				givePositionCommand(lastCreatedUnit(), 'attack', startLocation(1))	
			end

			for i=1, 3 do
				createUnit('fakir', 3, startLocation(3))
				givePositionCommand(lastCreatedUnit(), 'attack', startLocation(0))	
			end

			for i=1, 2 do
				createUnit('princess', 3, startLocation(2))
				givePositionCommand(lastCreatedUnit(), 'attack', startLocation(0))	
			end

			for i=1, 5 do
				createUnit('princess', 3, startLocation(2))
				givePositionCommand(lastCreatedUnit(), 'attack', startLocation(3))	
			end

			for i=1, 2 do
				createUnit('princess', 3, startLocation(2))
				givePositionCommand(lastCreatedUnit(), 'attack', startLocation(1))	
			end

			--enemy units village
			createUnit('snake_basket', 3, startLocation(3))
			createUnit('palace', 3, startLocation(3))
			createUnit('palace', 3, startLocation(2))
			createUnit('worker', 3, startLocation(3))
			createUnit('worker', 3, startLocation(2))
			createUnit('worker', 3, startLocation(3))
			createUnit('worker', 3, startLocation(3))
			createUnit('stickfighter', 3, startLocation(3))
			createUnit('fakir', 3, startLocation(2))
			createUnit('fakir', 3, startLocation(2))
			createUnit('fakir', 3, startLocation(3))
			createUnit('house', 3, startLocation(3))
			createUnit('fakir', 3, startLocation(3))
			createUnit('princess', 3, startLocation(3))
			createUnit('snake_basket', 3, startLocation(3))
			createUnit('snake_basket', 3, startLocation(3))
			createUnit('snake_basket', 3, startLocation(3))
			createUnit('sheep', 3, startLocation(3))
		</startup>	
	</scripts>		
</scenario>
