#base robot_giant.pop
#base robot_standard.pop

WaveSchedule
{
StartingCurrency 2000
RespawnWaveTime 10
CanBotsAttackWhileInSpawnRoom no

	Mission // sentry buster
	{
		Objective DestroySentries

		InitialCooldown 20
		Where spawnbot
		BeginAtWave 1
		RunForThisManyWaves 9

		CooldownTime 40            

            TFBot
			{
				Template T_TFBot_SentryBuster
            }
	}
	Mission // Spy - wave 2
	{
		Objective Spy  

		InitialCooldown 25
		Where spawnbot_mission_spy
		BeginAtWave 2
		RunForThisManyWaves 1
		CooldownTime 15
		DesiredCount 5

		TFBot
		{
			Class Spy
			Skill Expert
			Name Spy
		}
	}	
	Mission // Spy - wave 7
	{
		Objective Spy  

		InitialCooldown 20
		Where spawnbot_mission_spy
		BeginAtWave 7
		RunForThisManyWaves 1
		CooldownTime 10
		DesiredCount 4

		TFBot
		{
			Class Spy
			Skill Expert
			Name Spy
		}
	}	
	Mission // Sniper - wave 7
	{
		Objective Sniper

		InitialCooldown 30
		Where spawnbot_mission_sniper
		BeginAtWave 7
		RunForThisManyWaves 1
		CooldownTime 15
		DesiredCount 3

		TFBot
		{
			Class Sniper
			Skill Expert
			Name Sniper
			MaxVisionRange 3000
		}
	}
	Mission // Engineer - wave 7
	{
		Objective Engineer  

		InitialCooldown 40
		Where spawnbot
		BeginAtWave 7
		RunForThisManyWaves 1
		CooldownTime 20
		DesiredCount 2

		TFBot
		{
			Template T_TFBot_Engineer_Sentry_Teleporter
		}
	}	
	Mission // Engineer - wave 8
	{
		Objective Engineer  

		InitialCooldown 60
		Where spawnbot
		BeginAtWave 8
		RunForThisManyWaves 1
		CooldownTime 20
		DesiredCount 3

		TFBot
		{
			Template T_TFBot_Engineer_Sentry_Teleporter
		}
	}	
	Mission // Engineer - wave 9
	{
		Objective Engineer  

		InitialCooldown 30
		Where spawnbot
		BeginAtWave 9
		RunForThisManyWaves 1
		CooldownTime 30
		DesiredCount 4

		TFBot
		{
			Template T_TFBot_Engineer_Sentry_Teleporter
		}
	}	
	
//////////////////////////////////////////////////////////

Wave ///// WAVE 1 - DPS Test
{
StartWaveOutput
{
Target wave_start_relay
Action Trigger
}
DoneOutput
{
Target wave_finished_relay
Action trigger
}
WaitWhenDone 65
Checkpoint Yes




WaveSpawn
{
Where spawnbot
TotalCount 50
MaxActive 20
spawnCount 10
WaitBeforeStarting 0
WaitBetweenSpawns 15
TotalCurrency 500

TFBot
{
Template T_TFBot_Heavyweapons_Fist
Skill Expert
}
}
		WaveSpawn // Tank
		{
			
			TotalCount 1
			WaitBeforeStarting 45
			WaitBetweenSpawns 0
			TotalCurrency 500
			
			FirstSpawnOutput                                                                                                                                                            
			{
				 Target boss_spawn_relay                                            
				 Action Trigger                         
			}

			Tank
			{
				Health 30000
				Speed 75
				Name "tankboss"
				Skin 1
				StartingPathTrackNode "boss_path_1"

				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
}

Wave ///// WAVE 2 - Multi-tasking
{
StartWaveOutput
{
Target wave_start_relay
Action Trigger
}
DoneOutput
{
Target wave_finished_relay
Action trigger
}
WaitWhenDone 65
Checkpoint Yes


WaveSpawn
{
Where spawnbot
TotalCount 20
MaxActive 10
spawnCount 1
WaitBeforeStarting 0
WaitBetweenSpawns 5
TotalCurrency 1000

TFBot
{
Template T_TFBot_Giant_Scout
Skill Expert
}
}

		WaveSpawn // Tank
		{
			
			TotalCount 4
			WaitBeforeStarting 15
			WaitBetweenSpawns 25
			TotalCurrency 200
			
			FirstSpawnOutput                                                                                                                                                            
			{
				 Target boss_spawn_relay                                            
				 Action Trigger                         
			}

			Tank
			{
				Health 20000
				Speed 75
				Name "tankboss"
				Skin 1
				StartingPathTrackNode "boss_path_1"

				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
}

Wave ///// WAVE 3 - Short range enemies
{
StartWaveOutput
{
Target wave_start_relay
Action Trigger
}
DoneOutput
{
Target wave_finished_relay
Action trigger
}
WaitWhenDone 65
Checkpoint Yes




WaveSpawn
{
Name "wave03a"
Where spawnbot
TotalCount 20
MaxActive 10
spawnCount 5
WaitBeforeStarting 0
WaitBetweenSpawns 2
TotalCurrency 200

TFBot
{
Template T_TFBot_Demoman_Knight
Skill Expert
}
}


WaveSpawn
{
Name "wave03a"
Where spawnbot
TotalCount 20
MaxActive 10
spawnCount 5
WaitBeforeStarting 1
WaitBetweenSpawns 2
TotalCurrency 200

TFBot
{
Class Pyro
Skill Expert
}
}






		WaveSpawn 
		{	
			WaitForAllSpawned "wave03a"
			
			Where spawnbot
			TotalCount 24
			MaxActive 12
			SpawnCount 6
			WaitBeforeStarting 0
			WaitBetweenSpawns 6
			TotalCurrency 480
			
			Squad 
			{
				TFBot
				{
					Template T_TFBot_Giant_DemoMan_PrinceTavish
					Skill Expert
				}
				TFBot
				{
					Template T_TFBot_Demoman_Knight
					Skill Expert
				}
				TFBot
				{
					Template T_TFBot_Demoman_Knight
					Skill Expert
				}
				TFBot
				{
					Template T_TFBot_Demoman_Knight
					Skill Expert
				}
				TFBot
				{
					Template T_TFBot_Demoman_Knight
					Skill Expert
				}
				TFBot
				{
					Template T_TFBot_Demoman_Knight
					Skill Expert
				}
			}
		}




		WaveSpawn 
		{	
			WaitForAllSpawned "wave03a"
			
			Where spawnbot
			TotalCount 24
			MaxActive 12
			SpawnCount 6
			WaitBeforeStarting 0
			WaitBetweenSpawns 6
			TotalCurrency 480
			
			Squad 
			{
				TFBot
				{
					Template T_TFBot_Giant_Pyro
					Skill Expert
				}
				TFBot
				{
					Class Pyro
					Skill Expert
				}
				TFBot
				{
					Class Pyro
					Skill Expert
				}
				TFBot
				{
					Class Pyro
					Skill Expert
				}
				TFBot
				{
					Class Pyro
					Skill Expert
				}
				TFBot
				{
					Class Pyro
					Skill Expert
				}
			}
		}
}


/////////////////////////////////////////////////////////////////////////////

Wave ///// WAVE 4 - Uber town
{
StartWaveOutput
{
Target wave_start_relay
Action Trigger
}
DoneOutput
{
Target wave_finished_relay
Action trigger
}
WaitWhenDone 65
Checkpoint Yes









WaveSpawn
{
Name "wave04a"
Where spawnbot
TotalCount 100
MaxActive 10
spawnCount 10
WaitBeforeStarting 0
WaitBetweenSpawns 2
TotalCurrency 500

Squad
{
TFBot
{
Class Heavyweapons
Skill Expert
}
TFBot
{
Template T_TFBot_Medic
Skill Expert
}
}
}


WaveSpawn
{
WaitForAllSpawned "wave04a"

Name "wave04b"
Where spawnbot
TotalCount 100
MaxActive 10
spawnCount 10
WaitBeforeStarting 0
WaitBetweenSpawns 2
TotalCurrency 500

Squad
{
TFBot
{
Class Soldier
Skill Expert
}
TFBot
{
Template T_TFBot_Medic_BigHeal
Skill Expert
}
}
}

WaveSpawn
{
WaitForAllSpawned "wave04b"

Name "wave04c"
Where spawnbot
TotalCount 50
MaxActive 20
spawnCount 10
WaitBeforeStarting 0
WaitBetweenSpawns 2
TotalCurrency 500

TFBot
{
Template T_TFBot_Scout_Bonk
Skill Expert
}
}




}

/////////////////////////////////////////////////////////////////////////////

Wave ///// WAVE 5 - Crit city
{
StartWaveOutput
{
Target wave_start_relay
Action Trigger
}
DoneOutput
{
Target wave_finished_relay
Action trigger
}
WaitWhenDone 65
Checkpoint Yes










WaveSpawn
{
Name "wave05a"
Where spawnbot
TotalCount 40
MaxActive 20
spawnCount 20
WaitBeforeStarting 0
WaitBetweenSpawns 1
TotalCurrency 400

TFBot
{
Class Demoman
Skill Expert
Attributes "AlwaysCrit"
}
}

WaveSpawn
{
WaitForAllSpawned "wave05a"

Name "wave05b"
Where spawnbot
TotalCount 40
MaxActive 20
spawnCount 20
WaitBeforeStarting 0
WaitBetweenSpawns 1
TotalCurrency 400

TFBot
{
Class pyro
Skill Expert
Attributes "AlwaysCrit"
}
}


WaveSpawn
{
WaitForAllSpawned "wave05b"

Name "wave05c"
Where spawnbot
TotalCount 40
MaxActive 20
spawnCount 20
WaitBeforeStarting 0
WaitBetweenSpawns 1
TotalCurrency 400

TFBot
{
Class Soldier
Skill Expert
Attributes "AlwaysCrit"
}
}


WaveSpawn
{
WaitForAllSpawned "wave05c"

Name "wave05d"
Where spawnbot
TotalCount 40
MaxActive 20
spawnCount 20
WaitBeforeStarting 0
WaitBetweenSpawns 1
TotalCurrency 400

TFBot
{
Class Heavyweapons
Skill Expert
Attributes "AlwaysCrit"
}
}



WaveSpawn
{
WaitForAllSpawned "wave05d"

Name "wave05e"
Where spawnbot
TotalCount 80
MaxActive 20
spawnCount 20
WaitBeforeStarting 0
WaitBetweenSpawns 1
TotalCurrency 800

Squad
{
TFBot
{
Class Heavyweapons
Skill Expert
Attributes "AlwaysCrit"
}
TFBot
{
Class Soldier
Skill Expert
Attributes "AlwaysCrit"
}
TFBot
{
Class pyro
Skill Expert
Attributes "AlwaysCrit"
}
TFBot
{
Class Demoman
Skill Expert
Attributes "AlwaysCrit"
}
TFBot
{
Class Scout
Skill Expert
Attributes "AlwaysCrit"
}
}
}


}










/////////////////////////////////////////////////////////////////////////////

Wave ///// WAVE 6 - DPS Test - round 2
{
StartWaveOutput
{
Target wave_start_relay
Action Trigger
}
DoneOutput
{
Target wave_finished_relay
Action trigger
}
WaitWhenDone 65
Checkpoint Yes










WaveSpawn
{
Where spawnbot
TotalCount 16
MaxActive 5
spawnCount 1
WaitBeforeStarting 20
WaitBetweenSpawns 5
TotalCurrency 400

TFBot
{
Template T_TFBot_Giant_Heavyweapons
Skill Expert
}
}





WaveSpawn
{
Where spawnbot
TotalCount 100
MaxActive 15
spawnCount 1
WaitBeforeStarting 0
WaitBetweenSpawns 0.5
TotalCurrency 500

TFBot
{
Template T_TFBot_Heavyweapons_Fist
Skill Expert
}
}




		WaveSpawn // Tank
		{
			
			TotalCount 6
			WaitBeforeStarting 0
			WaitBetweenSpawns 15
			TotalCurrency 200
			
			FirstSpawnOutput                                                                                                                                                            
			{
				 Target boss_spawn_relay                                            
				 Action Trigger                         
			}

			Tank
			{
				Health 30000
				Speed 75
				Name "tankboss"
				Skin 1
				StartingPathTrackNode "boss_path_1"

				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}




}

/////////////////////////////////////////////////////////////////////////////

Wave ///// WAVE 7 - More Multi-tasking
{
StartWaveOutput
{
Target wave_start_relay
Action Trigger
}
DoneOutput
{
Target wave_finished_relay
Action trigger
}
WaitWhenDone 65
Checkpoint Yes



WaveSpawn
{
Where spawnbot
TotalCount 20
MaxActive 2
spawnCount 1
WaitBeforeStarting 0
WaitBetweenSpawns 5
TotalCurrency 400

TFBot
{
Template T_TFBot_Giant_Scout_FAN
Skill Expert
}
}



WaveSpawn
{
Where spawnbot
TotalCount 20
MaxActive 2
spawnCount 1
WaitBeforeStarting 2.5
WaitBetweenSpawns 5
TotalCurrency 400

TFBot
{
Template T_TFBot_Giant_Scout_Baseball
Skill Expert
}
}




WaveSpawn
{
Where spawnbot
TotalCount 40
MaxActive 4
spawnCount 4
WaitBeforeStarting 2.5
WaitBetweenSpawns 15
TotalCurrency 400

TFBot
{
Class Pyro
Skill Expert
}
}


WaveSpawn
{
Where spawnbot
TotalCount 20
MaxActive 4
spawnCount 2
WaitBeforeStarting 8
WaitBetweenSpawns 10
TotalCurrency 400

Squad
{
TFBot
{
Template T_TFBot_Giant_Soldier
Skill Expert
}
TFBot
{
Template T_TFBot_Giant_Medic
Skill Expert
}
}
}











		WaveSpawn // Tank
		{
			
			TotalCount 4
			WaitBeforeStarting 15
			WaitBetweenSpawns 20
			TotalCurrency 200
			
			FirstSpawnOutput                                                                                                                                                            
			{
				 Target boss_spawn_relay                                            
				 Action Trigger                         
			}

			Tank
			{
				Health 25000
				Speed 75
				Name "tankboss"
				Skin 1
				StartingPathTrackNode "boss_path_1"

				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
}

////////////////////////

Wave ///// WAVE 8 - Final Push before the bosses

{
StartWaveOutput
{
Target wave_start_relay
Action Trigger
}
DoneOutput
{
Target wave_finished_relay
Action trigger
}
WaitWhenDone 65
Checkpoint Yes



		WaveSpawn // Tank
		{
			
			TotalCount 1
			WaitBeforeStarting 15
			WaitBetweenSpawns 20
			TotalCurrency 400
			
			FirstSpawnOutput                                                                                                                                                            
			{
				 Target boss_spawn_relay                                            
				 Action Trigger                         
			}

			Tank
			{
				Health 50000
				Speed 75
				Name "tankboss"
				Skin 1
				StartingPathTrackNode "boss_path_1"

				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
WaveSpawn
{
Where spawnbot
TotalCount 28
MaxActive 8
spawnCount 2
WaitBeforeStarting 8
WaitBetweenSpawns 15
TotalCurrency 400

Squad
{
TFBot
{
Template T_TFBot_Giant_Heavyweapons
Skill Expert
Attributes "AlwaysCrit"
}
TFBot
{
Template T_TFBot_Giant_Medic
Skill Expert
}
}
}




WaveSpawn
{
Where spawnbot
TotalCount 24
MaxActive 4
spawnCount 2
WaitBeforeStarting 2.5
WaitBetweenSpawns 15
TotalCurrency 400
Squad
{
TFBot
{
Template T_TFBot_Sniper_Huntsman_Spammer
Skill Expert
Attributes "AlwaysCrit"
}
TFBot
{
Template T_TFBot_Giant_Medic
Skill Expert
}
}
}





WaveSpawn
{
Where spawnbot
TotalCount 32
MaxActive 5
spawnCount 1
WaitBeforeStarting 5
WaitBetweenSpawns 10
TotalCurrency 400

TFBot
{
Class medic
Skill Expert
}
}





}



/////////////////////////////////////////////////////

Wave ///// WAVE 9 - The Bosses

{
StartWaveOutput
{
Target wave_start_relay_boss
Action Trigger
}
DoneOutput
{
Target wave_finished_relay
Action trigger
}
WaitWhenDone 65
Checkpoint Yes





WaveSpawn
{
Where spawnbot
TotalCount 1
MaxActive 1
spawnCount 1
WaitBeforeStarting 0
WaitBetweenSpawns 0
TotalCurrency 0

TFBot
{
Template T_TFBot_Chief_Soldier
Skill Expert
Attributes "AlwaysCrit"
}
}


WaveSpawn
{
Where spawnbot
TotalCount 1
MaxActive 1
spawnCount 1
WaitBeforeStarting 20
WaitBetweenSpawns 0
TotalCurrency 0

TFBot
{
Template T_TFBot_Chief_Heavyweapons_HealOnKill
Skill Expert
Attributes "AlwaysCrit"
}
}



WaveSpawn
{
Where spawnbot
TotalCount 50
MaxActive 7
spawnCount 1
WaitBeforeStarting 12
WaitBetweenSpawns 5
TotalCurrency 0

Support 1

TFBot
{
Class Soldier
Skill Expert
Attributes "AlwaysCrit"
}
}



WaveSpawn
{
Where spawnbot
TotalCount 50
MaxActive 7
spawnCount 1
WaitBeforeStarting 8
WaitBetweenSpawns 5
TotalCurrency 0

Support 1

TFBot
{
Class Medic
Skill Expert
Attributes "AlwaysCrit"
}
}




}



}