<?xml version="1.0" standalone="yes" ?> 
<scenario>
<difficulty value="2"/>
<players>
	<player control="human" faction="romans" team="1"/>
	<player control="cpu"  faction="romans" team="1"/>
	<player control="cpu" faction="barbarians" team="3"/>
	<player control="cpu" faction="barbarians" 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>
			--disable AI
			disableAi(0)
			disableAi(1)
			disableAi(2)

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

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

			for i=1, 15 do
				createUnit('spearman', 0, startLocation(2))
			end

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

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

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

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

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

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

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

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

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

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

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

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

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


			--create enemy attackers
			for i=1, 4 do
				createUnit('sheilded_spearman', 3, startLocation(3))
				givePositionCommand(lastCreatedUnit(), 'attack', startLocation(2))	
			end

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

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

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

			--enemy units village
			createUnit('bonfire', 3, startLocation(3))
			createUnit('fortress', 3, startLocation(3))
			createUnit('worker', 3, startLocation(3))
			createUnit('worker', 3, startLocation(3))
			createUnit('worker', 3, startLocation(3))
			createUnit('worker', 3, startLocation(3))
			createUnit('worker', 3, startLocation(3))
			createUnit('worker', 3, startLocation(3))
			createUnit('worker', 3, startLocation(3))
			createUnit('hunting_tent', 3, startLocation(3))
			createUnit('battering_ram', 3, startLocation(3))
			createUnit('hunting_tent', 3, startLocation(3))
			createUnit('hunting_tent', 3, startLocation(3))
			createUnit('boar', 3, startLocation(3))
			createUnit('boar', 3, startLocation(3))
			createUnit('boar', 3, startLocation(3))
			createUnit('farm', 3, startLocation(3))
			createUnit('farm', 3, startLocation(3))
			createUnit('farm', 3, startLocation(3))
			createUnit('battleaxe_man', 3, startLocation(3))
			createUnit('battleaxe_man', 3, startLocation(3))
			createUnit('fire_launcher', 3, startLocation(3))

		</startup>	
	</scripts>		
</scenario>
