// mvm_redcorp_normal

#base	robot_giant.pop
#base	robot_standard.pop


WaveSchedule
{
	StartingCurrency	650
	RespawnWaveTime 6
	CanBotsAttackWhileInSpawnRoom	no
	
	Mission
	{
		Objective	DestroySentries
		Where spawnbot
		BeginAtWave 1
		RunForThisManyWaves 6
		CooldownTime	30	
		DesiredCount	1
		
		TFBot
		{
			Template T_TFBot_SentryBuster
		}
	}
	
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave 2
		RunForThisManyWaves 3
		InitialCooldown 60
		CooldownTime	60
		DesiredCount	2
		
		TFBot
		{
			Template T_TFBot_Sniper
		}
	}
	
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave 4
		RunForThisManyWaves 4
		InitialCooldown 60
		CooldownTime	60
		DesiredCount	4
		
		TFBot
		{
			Template T_TFBot_Sniper
		}
	}
	
	//Wave1 //400credits
	
	Wave
	{
		Checkpoint Yes
		
		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		
		WaveSpawn
		{
			Name	wave1a
			TotalCurrency	250
			TotalCount 30
			MaxActive  10
			SpawnCount 5
			WaitBeforeStarting  0
			WaitBetweenSpawns   10
			Where	spawnbot
			
				TFBot
				{
					Template	T_TFBot_Scout_Melee
				}
		}
		WaveSpawn
		{
			
				Name	wave2a
				WaitForAllDead wave1a
				TotalCurrency	150
				TotalCount	20
				MaxActive	7
				SpawnCount	7
				WaitBeforeStarting	5
				WaitBetweenSpawns	15
				Where   spawnbot
			
				TFBot
				{
					Class	 Soldier
					Skill	 Easy
				}
		}
	}
	
	Wave //600Credits
	{
		Checkpoint Yes
		
		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		
		WaveSpawn
		{
			Name	wave2a
			TotalCurrency 200
			TotalCount	50
			MaxActive	10
			SpawnCount  10
			WaitBeforeStarting  0
			WaitBetweenSpawns	15
			Where spawnbot
			
			RandomChoice
			{
				TFBot
				{
					Template T_TFBot_Sniper_Huntsman
				}
				TFBot
				{
					Template T_TFBot_Scout_Melee
				}
			}
		}
		
		WaveSpawn
		{
			Name wave2b
			WaitForAllDead wave2a
			TotalCurrency 300
			TotalCount 20
			MaxActive  10
			SpawnCount 6
			WaitBeforeStarting	0
			WaitBetweenSpawns	15
			Where spawnbot
			
			RandomChoice
			{
				TFBot
				{
					Class Demoman
					Skill Easy
				}
				TFBot
				{
					Class Heavy
					Skill Easy
				}
			}
		}
	}
	
	Wave //750credits
	{
		Checkpoint Yes
		
		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		
		WaveSpawn
		{
			Name wave3a
			TotalCurrency 200
			TotalCount	20
			MaxActive 	10
			SpawnCount	6
			WaitBeforeStarting 0
			WaitBetweenSpawns  20
			Where spawnbot
			
			RandomChoice
			{
				TFBot
				{
				 Template T_TFBot_ScorchShot
				}
				
				TFBot
				{
				 Template T_TFBot_ScorchShot_FastShot
				}
			}
		}
		
		WaveSpawn
		{
			Name wave3b
			WaitForAllDead wave3a
			TotalCurrency 300
			TotalCount 2
			MaxActive 2
			SpawnCount 1
			WaitBeforeStarting 0
			WaitBetweenSpawns  30
			Where spawnbot
			
			TFBot
			{
				Template T_TFBot_Giant_Scout
			}
		}
		
		WaveSpawn
		{
			Name wave3c
			WaitForAllDead wave3a
			TotalCurrency 250
			TotalCount 30
			MaxActive 16
			SpawnCount 8
			WaitBeforeStarting 0
			WaitBetweenSpawns  20
			Where spawnbot
			
			TFBot
			{
				Template T_TFBot_Heavyweapons_Shotgun
			}
		}
	
		
    }				
	
	Wave //800credits
	{
	Checkpoint Yes
		
		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		
		WaveSpawn
		{
			Name wave4a
			TotalCurrency 400
			TotalCount 8
			MaxActive 8
			SpawnCount 4
			WaitBeforeStarting 0
			WaitBetweenSpawns 30
			Where spawnbot
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_DemoMan_PrinceTavish
					
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickUber
					Tag bot_squad_member
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickUber
					Tag bot_squad_member
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickUber
					Tag bot_squad_member
				}
			}
		}
		
		WaveSpawn
		{
			Name wave4b
			TotalCurrency 150
			TotalCount 30
			MaxActive 15
			SpawnCount 7
			WaitBeforeStarting 30
			WaitBetweenSpawns 20
			Where spawnbot
			
			TFBot
			{
				Template T_TFBot_Pyro
			}
		}
		
		WaveSpawn
		{
			Name wave4c
			WaitForAllDead wave4a
			TotalCurrency 150
			TotalCount 30
			MaxActive 10
			SpawnCount 5
			WaitBeforeStarting 0
			WaitBetweenSpawns 15
			Where spawnbot
			
			TFBot
			{
				Template T_TFBot_Sniper_Huntsman
			}
		}
			
		WaveSpawn
		{
			Name wave4d
			WaitForAllDead wave4b
			TotalCurrency 100
			TotalCount 20
			MaxActive 12
			SpawnCount 6
			WaitBeforeStarting 10
			WaitBetweenSpawns 15
			Where spawnbot
			
			TFBot
			{
				Template T_TFBot_Scout_Bonk
			}
		}
	}
}