//Hyperion
//MvM Mannhill
//mvm_mannhill_a3_advanced1 
//v3

#base robot_giant.pop
#base robot_standard.pop

WaveSchedule
{
	StartingCurrency 800
	RespawnWaveTime 5
	CanBotsAttackWhileInSpawnRoom No
	Advanced 1
	
	Templates
	{
		T_TFBot_Heavyweapons_Natascha
		{
			Class Heavyweapons
			Name "Natascha Heavy"
			ClassIcon heavy_natascha
			Item "Natascha"
			Skill Expert
			WeaponRestrictions PrimaryOnly
		}
		T_TFBot_Heavyweapons_Deflector
		{
			Class Heavyweapons
			Name "Deflector Heavy"
			ClassIcon heavy_deflector
			Skill Expert
			Item "Deflector"
			WeaponRestrictions PrimaryOnly
			ItemAttributes
			{
				ItemName "Deflector"
				"attack projectiles" 1
			}
		}
		T_TFBot_Medic_Blast_Vaccinator
		{
			Name "Blast Vaccinator"
			Class Medic
			Skill Expert
			ClassIcon medic_blast
			WeaponRestrictions SecondaryOnly
			Item "The Vaccinator"
			Item "Medic Goggles"
			Attributes SpawnWithFullCharge
			Attributes VaccinatorBlast
			ItemAttributes
			{
				ItemName "The Vaccinator"
				"heal rate bonus" 5
				"medigun blast resist deployed" 2
				"medigun blast resist passive" 2
				"medigun charge is resists" 4
				"uber duration bonus" 200
				"ubercharge rate bonus" 200
			}
			CharacterAttributes
			{
				"bot medic uber health threshold" 500
				"move speed bonus"	10
			}
		}
		T_TFBot_Medic_Bullet_Vaccinator
		{
			Name "Bullet Vaccinator"
			Class Medic
			Skill Expert
			ClassIcon medic_bullet
			WeaponRestrictions SecondaryOnly
			Item "The Vaccinator"
			Item "Medic Goggles"
			Attributes SpawnWithFullCharge
			Attributes VaccinatorBullets
			ItemAttributes
			{
				ItemName "The Vaccinator"
				"heal rate bonus" 5
				"medigun bullet resist deployed" 2
				"medigun bullet resist passive" 2
				"medigun charge is resists" 3
				"uber duration bonus" 200
				"ubercharge rate bonus" 200
			}
			CharacterAttributes
			{
				"bot medic uber health threshold" 500
				"move speed bonus"	10
			}

		}
		T_TFBot_Medic_Fire_Vaccinator
		{
			Name "Fire Vaccinator"
			Class Medic
			Skill Expert
			ClassIcon medic_fire
			WeaponRestrictions SecondaryOnly
			Item "The Vaccinator"
			Item "Medic Goggles"
			Attributes SpawnWithFullCharge
			Attributes VaccinatorFire
			ItemAttributes
			{
				ItemName "The Vaccinator"
				"heal rate bonus" 5
				"medigun charge is resists" 5
				"medigun fire resist deployed" 2
				"medigun fire resist passive" 2
				"uber duration bonus" 200
				"ubercharge rate bonus" 200
			}
			CharacterAttributes
			{
				"bot medic uber health threshold" 500
				"move speed bonus"	10
			}
		}
		T_TFBot_Medic_Kritzkrieg
		{
			Name "Kritzkrieg Medic"
			Class Medic
			Skill Normal
			Health 200
			ClassIcon medic_kritz
			Item "The Kritzkrieg"
			Attributes AlwaysCrit
			Attributes SpawnWithFullCharge
			ItemAttributes
			{
				ItemName "The Kritzkrieg"
				"heal rate bonus" 5
				"uber duration bonus" 200
				"ubercharge rate bonus" 100
			}
			CharacterAttributes
			{
				"bot medic uber health threshold" 500
			}
		}
		T_TFBot_Medic_Shield
		{
			Name "Shield Medic"
			Class Medic
			Skill Normal
			ClassIcon medic_shield_qf
			WeaponRestrictions SecondaryOnly
			Item "The Quick-Fix"
			Attributes ProjectileShield
			Attributes SpawnWithFullCharge
			ItemAttributes
			{
				ItemName "The Quick-Fix"
				"generate rage on heal" 1
				"increase buff duration" 1.25
				"ubercharge rate penalty" 0
			}
			CharacterAttributes
			{
				"uber duration bonus" -7
			}
		}
		T_TFBot_Scout_Milk
		{
			Name "Milkman Scout"
			Class Scout
			Skill Expert
			ClassIcon scout_milk
			Item "Mad Milk"
			Item "The Milkman"
			WeaponRestrictions SecondaryOnly
			Attributes AlwaysFireWeapon
			ItemAttributes
			{
				ItemName "Mad Milk"
				"effect bar recharge rate increased" -1
				//"applies snare effect" 0.55
			}
		}
		T_TFBot_Scout_BFB
		{
			Name "Fast Boi"
			Class Scout
			Skill Expert
			ClassIcon scout_blaster
			Item "Baby Face's Blaster"
		}
		T_TFBot_Scout_FAN_Fast
		{
			Class Scout
			Skill Expert
			ClassIcon scout_fan
			Name "Force-A-Nature Scout"
			Item "The Fed-Fightin' Fedora"
			Item "The Bolt Boy"
			Item "The Force-a-Nature"
			Attributes AlwaysFireWeapon
			MaxVisionRange 500
			ItemAttributes
			{
				ItemName "The Force-a-Nature"
				"faster reload rate" 0.1
				"scattergun knockback mult" 1.5
				"damage bonus" 0.33		
			}
		}
		T_TFBot_Samurai_Jumping
		{
			Name "Samurai Demoman"
			Class Demoman
			Skill Expert
			Health 1200
			Scale 1.3
			ClassIcon demoknight_samurai
			AutoJumpMin 10
			AutoJumpMax 10
			WeaponRestrictions MeleeOnly
			Item "Demo Kabuto"
			Item "The Half-Zatoichi"
			Item "The Splendid Screen"
			Attributes AirChargeOnly
			Attributes AutoJump
			Attributes MiniBoss
			ItemAttributes
			{
				ItemName "The Half-Zatoichi"
				"damage bonus" 1.5
			}
			ItemAttributes
			{
				ItemName "The Splendid Screen"
				"Attack not cancel charge" 1
				"charge recharge rate increased" 7
				"charge time increased" 2
			}
			CharacterAttributes
			{
				"move speed bonus" 0.8
				"bot custom jump particle" 1
				"increased jump height" 2.3
			}
		}
		T_TFBot_Giant_Heavyweapons_Tomislav
		{
			Class Heavyweapons
			Name "Giant Heavy"
			ClassIcon heavy_tomislav_two
			Skill Expert
			Health 4000
			WeaponRestrictions PrimaryOnly
			MaxVisionRange 1500
			Attributes MiniBoss
			Item "Tomislav"
			ItemAttributes
			{
				ItemName "Tomislav"
				"damage bonus"	1.5
			}
			CharacterAttributes
			{
				"move speed bonus"	0.65
				"damage force reduction" 0.6
				"airblast vulnerability multiplier" 0.6
				"override footstep sound set" 2
			}
		}
		T_TFBot_Heavy_Giant_IronFist_Airblast
		{
			Class Heavyweapons
			Name "Giant Steel Gauntlet Pusher"
			ClassIcon heavy_steelfist
			Health 10000
			Scale 2
			WeaponRestrictions MeleeOnly	
			Attributes MiniBoss
			Attributes AlwaysCrit			
			Skill Expert
			Item "The carl"
			Item "Fists of Steel"
			ItemAttributes
			{
				ItemName "Fists of Steel"
				"damage causes airblast" 1
				"damage bonus" 5
			}
		}
		T_TFBot_Giant_Soldier_Railgun
		{
			Class Soldier
			Name "Giant Railgun Soldier"
			ClassIcon soldier_cowmangler
			Health 3800
			Skill Expert
			Item "The Cow Mangler 5000"
			WeaponRestrictions PrimaryOnly
			Attributes MiniBoss
			Attributes AlwaysCrit
			ItemAttributes
			{
				ItemName "The Cow Mangler 5000"
				"faster reload rate" -1.0
				"fire rate bonus" 0.1
				"clip size upgrade atomic" -3.0
				"Projectile speed increased" 10
				"damage penalty" 0.7
			}
			CharacterAttributes
			{
				"move speed bonus"	0.5
				"damage force reduction" 0.4
				"airblast vulnerability multiplier" 0.4
				"override footstep sound set" 3
			}
		}
	}

// MISSION: Sentry Buster
	Mission
	{
		Objective DestroySentries
		Where spawnbot
		CooldownTime 30
		
		TFBot
		{
			Template T_TFBot_SentryBuster
		}
	}
	Mission
	{
		Objective Spy
		
		Where spawnbot_mission_spy
		
		BeginAtWave	1
		RunForThisManyWaves 1
		CooldownTime 60
		InitialCooldown 30
		DesiredCount 2
		
		TFBot
		{
			Template T_TFBot_Spy
		}
	}
	Mission
	{
		Objective Sniper
		
		Where spawnbot_mission_sniper
		
		BeginAtWave 2
		RunForThisManyWaves 2
		CooldownTime 60
		InitialCooldown 15
		DesiredCount 2
		
		TFBot
		{
			Template T_TFBot_Sniper
		}
	}
	Mission
	{
		Objective Spy
		
		Where spawnbot_mission_spy
		
		BeginAtWave	5
		RunForThisManyWaves 6
		CooldownTime 60
		InitialCooldown 30
		DesiredCount 2
		
		TFBot
		{
			Template T_TFBot_Spy
		}
	}
	Mission
	{
		Objective Sniper
		
		Where spawnbot_mission_sniper
		
		BeginAtWave 6
		RunForThisManyWaves 1
		CooldownTime 60
		InitialCooldown 15
		DesiredCount 2
		
		TFBot
		{
			Template T_TFBot_Sniper
		}
	}
	
	Wave	//Wave 01 $600
	{
		WaitWhenDone 60
		Sound "Announcer.IncomingMob"
		Checkpoint Yes

		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		
		WaveSpawn
		{	
			Name "wave01_1a"
			Where spawnbot_middle
			
			TotalCount 40
			SpawnCount 8
			MaxActive 12
			WaitBetweenSpawns 15
			WaitBeforeStarting 0
			
			TotalCurrency 120
			
			TFBot
			{
				Template T_TFBot_Scout_Bonk
			}
		}
		
		WaveSpawn
		{	
			Name "wave01_1b"
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 40
			SpawnCount 2
			MaxActive 6
			WaitBetweenSpawns 10
			WaitBeforeStarting 0
			
			TotalCurrency 120
			
			Squad
			{
				TFBot
				{
					Class Soldier
					Skill Hard
				}
				TFBot
				{
					Class Pyro
					Skill Hard
					Attributes AlwaysFireWeapon
				}
			}
		}
		WaveSpawn
		{	
			Name "wave01_2"
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 16
			SpawnCount 4
			MaxActive 6
			WaitBetweenSpawns 30
			WaitBeforeStarting 60
			
			TotalCurrency 120
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Pyro
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickFix
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickFix
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickFix
				}
			}
		}
		WaveSpawn
		{	
			Name "wave01_3a"
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 32
			SpawnCount 4
			MaxActive 8
			WaitBetweenSpawns 20
			WaitForAllDead "wave01_1a"
			
			TotalCurrency 120
			
			RandomChoice
			{
				TFBot
				{
					Template T_TFBot_Demoman_Knight
				}
				TFBot
				{
					Template T_TFBot_ScorchShot
				}
				TFBot
				{
					Template T_TFBot_Scout_Sandman
				}
			}
		}
		
		WaveSpawn
		{	
			Name "wave01_3b"
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 4
			SpawnCount 2
			MaxActive 8
			WaitBetweenSpawns 15
			WaitBeforeStarting 15
			WaitForAllSpawned "wave01_2"
			
			TotalCurrency 120
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Soldier
				}
				TFBot
				{
					Template T_TFBot_Medic
				}
			}
		}
	}
	Wave	//Wave 02 $700
	{
		WaitWhenDone 60
		Checkpoint Yes

		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		
		WaveSpawn
		{	
			Name "wave02_1a"
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 20
			SpawnCount 4
			MaxActive 12
			WaitBetweenSpawns 35
			WaitBeforeStarting 0
			
			TotalCurrency 150
			
			TFBot
			{
				Template T_TFBot_Heavy_IronFist_Airblast
			}
		}
		WaveSpawn
		{	
			Name "wave02_1b"
			Where spawnbot_middle
			
			TotalCount 16
			SpawnCount 2
			MaxActive 5
			WaitBetweenSpawns 10
			WaitBeforeStarting 0
			
			TotalCurrency 100
			
			TFBot
			{
				Class Soldier
				Skill Expert
				Item "The Direct Hit"
				Name "Direct Hit Soldier"
				Attributes HoldFireUntilFullReload
				ItemAttributes
				{
					ItemName "The Direct Hit"
					"fire rate bonus" 0.2
					"Blast radius decreased" 0.3
					"damage penalty" 0.5
				}
			}
		}
		WaveSpawn
		{	
			Name "wave02_2"
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 8
			SpawnCount 2
			MaxActive 5
			WaitBetweenSpawns 20
			WaitBeforeStarting 60
			
			TotalCurrency 150
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Demoman
				}
				TFBot
				{
					Template T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{	
			Name "wave02_3a"
			Where spawnbot_left
			Where spawnbot_right
			Where spawnbot_middle
			
			TotalCount 32
			SpawnCount 8
			MaxActive 12
			WaitBetweenSpawns 10
			WaitBeforeStarting 20
			WaitForAllSpawned "wave02_2"
			
			TotalCurrency 50
			
			TFBot
			{
				Template T_TFBot_Scout_Melee
				Attributes AlwaysCrit
			}
		}
		WaveSpawn
		{	
			Name "wave02_3b"
			Where spawnbot_left
			Where spawnbot_right
			Where spawnbot_middle
			
			TotalCount 12
			SpawnCount 3
			MaxActive 6
			WaitBetweenSpawns 15
			WaitBeforeStarting 40
			WaitForAllSpawned "wave02_2"
			
			TotalCurrency 50
			
			Squad
			{
				TFBot
				{
					Class Heavyweapons
					Item "The Huo Long Heatmaker"
					Name "Hot Heavy"
					ClassIcon "heavy_heater"
					ItemAttributes
					{
						ItemName "The Huo Long Heatmaker"
						"damage penalty" 0.66
						"fire rate bonus" 1.5
					}
				}
				
				TFBot
				{
					Class Heavyweapons
					Item "The Huo Long Heatmaker"
					Name "Hot Heavy"
					ClassIcon "heavy_heater"
					ItemAttributes
					{
						ItemName "The Huo Long Heatmaker"
						"damage penalty" 0.66
						"fire rate bonus" 1.5
					}
				}
				
				TFBot
				{
					Template T_TFBot_Soldier_Extended_Battalion
				}
			}
		}
		WaveSpawn
		{	
			Name "wave02_4a"
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 2
			SpawnCount 2
			MaxActive 2
			WaitBetweenSpawns 0
			WaitBeforeStarting 0
			WaitForAllDead "wave02_3a"
			
			TotalCurrency 150
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Heavyweapons
				}
				TFBot
				{
					Template T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{	
			Name "wave02_4b"
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 10
			SpawnCount 2
			MaxActive 8
			WaitBetweenSpawns 5
			WaitBeforeStarting 0
			WaitForAllDead "wave02_3a"
			
			Support 1
			
			TotalCurrency 50
			
			TFBot
			{
				Template T_TFBot_ScorchShot_FastShot
				Attributes AlwaysFireWeapon
			}
		}
	}
	
	Wave	//Wave 03 800
	{
		WaitWhenDone 60
		Checkpoint Yes

		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		WaveSpawn
		{	
			Name "wave03_1a"	
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 32
			SpawnCount 5
			MaxActive 8
			WaitBetweenSpawns 14
			WaitBeforeStarting 0
			
			TotalCurrency 100
			
			TFBot
			{
				Template T_TFBot_Sniper_Huntsman
				Attributes AlwaysCrit
			}
		}
		WaveSpawn
		{	
			Name "wave03_1b"	
			Where spawnbot_middle
			
			TotalCount 32
			SpawnCount 1
			MaxActive 10
			WaitBetweenSpawns 2
			WaitBeforeStarting 0
			
			TotalCurrency 50
			
			TFBot
			{
				Template T_TFBot_Heavyweapons_Gnome
				Health 200
				Scale 0.65
				Skill Expert
			}
		}
		
		WaveSpawn
		{	
			Name "wave03_2a"	
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 15
			SpawnCount 1
			MaxActive 6
			WaitBetweenSpawns 10
			WaitBeforeStarting 0
			WaitForAllDead "wave03_1a"
			
			TotalCurrency 100
			
			TFBot
			{
				Template T_TFBot_Heavyweapons_Natascha
			}
		}
		
		WaveSpawn
		{	
			Name "wave03_2b"	
			Where spawnbot_mission_spy
			
			TotalCount 50
			SpawnCount 2
			MaxActive 16
			WaitBetweenSpawns 2
			WaitBeforeStarting 0
			WaitForAllDead "wave03_1a"
			
			TotalCurrency 100
			
			TFBot
			{
				Class Spy
				Skill Expert
				
				ItemAttributes
				{	
					ItemName "Knife"
					"fire rate bonus" 5
					"damage penalty" 0.50
				}
			}
		}
		WaveSpawn //NOTE add 0.7 movement speed penalty
		{	
			Name "wave03_2c"	
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 6
			SpawnCount 2
			MaxActive 3
			WaitBetweenSpawns 30
			WaitBeforeStarting 0
			WaitForAllDead "wave03_2b"
			
			TotalCurrency 100
			
			TFBot
			{
				Template T_TFBot_Samurai_Jumping
				CharacterAttributes
				{
					"move speed penalty" 0.7
				}
			}
		}
		WaveSpawn
		{	
			Name "wave03_3a"	
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 10
			SpawnCount 5
			MaxActive 10
			WaitBetweenSpawns 10
			WaitBeforeStarting 30
			WaitForAllDead "wave03_2a"
			WaitForAllDead "wave03_2b"
			
			TotalCurrency 70
			
			TFBot
			{
				Template T_TFBot_Scout_Shortstop
			}
		}
		WaveSpawn
		{	
			Name "wave03_3b"	
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 10
			SpawnCount 5
			MaxActive 10
			WaitBetweenSpawns 10
			WaitBeforeStarting 10
			WaitForAllSpawned "wave03_3a"
			
			TotalCurrency 70
			
			TFBot
			{
				Class Pyro
				Skill Hard
				Item "The Dragon's Fury"
				ClassIcon pyro_dragon_fury
				
				ItemAttributes
				{
					ItemName "The Dragon's Fury"
					"Projectile range increased" 2
				}
			}
		}
		WaveSpawn
		{	
			Name "wave03_3c"	
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 10
			SpawnCount 5
			MaxActive 10
			WaitBetweenSpawns 10
			WaitBeforeStarting 10
			WaitForAllSpawned "wave03_3b"
			
			TotalCurrency 70
			
			TFBot
			{
				Template T_TFBot_Demo_Burst
			}
		}
		WaveSpawn
		{	
			Name "wave03_3d"	
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 10
			SpawnCount 5
			MaxActive 10
			WaitBetweenSpawns 10
			WaitBeforeStarting 10
			WaitForAllSpawned "wave03_3c"
			
			TotalCurrency 70
			
			TFBot
			{
				Template T_TFBot_Soldier_RocketPush
			}
		}
		WaveSpawn
		{	
			Name "wave03_3e"	
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 10
			SpawnCount 5
			MaxActive 10
			WaitBetweenSpawns 10
			WaitBeforeStarting 10
			WaitForAllSpawned "wave03_3d"
			
			TotalCurrency 70
			
			TFBot
			{
				Template T_TFBot_Heavyweapons_Deflector
			}
		}
	}
	
	Wave	//Wave 04 $800
	{
		WaitWhenDone 60
		Checkpoint Yes

		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		WaveSpawn
		{	
			Name "wave04_1"	
			Where spawnbot_left
			Where spawnbot_right
			Where spawnbot_middle
			
			TotalCount 80
			SpawnCount 8
			MaxActive 12
			WaitBetweenSpawns 12
			WaitBeforeStarting 0
			
			TotalCurrency 100
			
			Squad
			{
				TFBot
				{
					Class Pyro
					Skill Expert
					Attributes AlwaysFireWeapon
				}
				TFBot
				{
					Template T_TFBot_Scout_Milk
				}
			}
		}
		
		WaveSpawn
		{	
			Name "wave04_2a"
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 8
			SpawnCount 1
			MaxActive 3
			WaitBetweenSpawns 15
			WaitBeforeStarting 10
			
			TotalCurrency 150
			
			RandomChoice
			{
				TFBot
				{
					Template T_TFBot_Giant_Scout
				}
				TFBot
				{
					Template T_TFBot_Giant_Scout_Fast
				}
				TFBot
				{
					Template T_TFBot_Giant_Scout_FAN
				}
				TFBot
				{
					Template T_TFBot_Giant_Scout_Baseball
				}
			}
		}
		WaveSpawn
		{
			Name "wave04_2b"
			TotalCount 1
			WaitBeforeStarting 60
			
			TotalCurrency 200

			FirstSpawnOutput                                                                                                                                                            
			{
				 Target boss_spawn_relay                                            
				 Action Trigger                         
			}

			Tank
			{
				Health 50000
				Speed 25
				Name "tankboss"
				StartingPathTrackNode "boss_path2_solo_1"

				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}			
		}
		
		WaveSpawn
		{	
			Name "wave04_3"
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 14
			SpawnCount 7
			MaxActive 8
			WaitBetweenSpawns 60
			WaitBeforeStarting 60
			
			TotalCurrency 150
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Heavyweapons_BrassBeast
					ClassIcon heavy_brassbeast
				}
				TFBot
				{
					Template T_TFBot_Medic_Blast_Vaccinator
				}
				TFBot
				{
					Template T_TFBot_Medic_Bullet_Vaccinator
				}
				TFBot
				{
					Template T_TFBot_Medic_Fire_Vaccinator
				}
				TFBot
				{
					Template T_TFBot_Medic_Blast_Vaccinator
				}
				TFBot
				{
					Template T_TFBot_Medic_Bullet_Vaccinator
				}
				TFBot
				{
					Template T_TFBot_Medic_Fire_Vaccinator
				}
			}
		}
		WaveSpawn
		{	
			Name "wave04_4"
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 20
			SpawnCount 4
			MaxActive 10
			WaitBetweenSpawns 10
			WaitBeforeStarting 0
			WaitForAllDead "wave04_2a"
			
			Support 1
			
			TotalCurrency 100
			
			RandomChoice
			{
				TFBot
				{
					Template T_TFBot_Soldier_RocketShotgun
				}
				TFBot
				{
					Template T_TFBot_Demo_Burst
				}
			}
		}
		WaveSpawn
		{	
			Name "wave04_4"
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 8
			SpawnCount 4
			MaxActive 8
			WaitBetweenSpawns 20
			WaitBeforeStarting 0
			WaitForAllDead "wave04_3"
			
			TotalCurrency 100
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Demo_RapidFire
				}
				TFBot
				{
					Template T_TFBot_Medic_SlowRecharge
				}
				TFBot
				{
					Template T_TFBot_Medic_SlowRecharge
				}
				TFBot
				{
					Template T_TFBot_Medic_SlowRecharge
				}
			}
		}
	}
	Wave	//Wave 05 $850
	{
		WaitWhenDone 60
		Checkpoint Yes

		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		WaveSpawn
		{	
			Name "wave05_1a"	
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 40
			SpawnCount 2
			MaxActive 7
			WaitBetweenSpawns 8
			WaitBeforeStarting 0
			
			TotalCurrency 100
			
			TFBot
			{
				Class Heavyweapons
				Name "Warrior Gauntlet"
				Skill Expert
				ClassIcon heavy_warrior
				Health 550
				Scale 1.2
				WeaponRestrictions MeleeOnly
				Attributes AlwaysCrit
				Item "Warrior's Spirit"
			}
		}
		WaveSpawn
		{	
			Name "wave05_1b"	
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 50
			SpawnCount 2
			MaxActive 5
			WaitBetweenSpawns 10
			WaitBeforeStarting 15
			
			TotalCurrency 150
			
			Support Limited
			
			RandomChoice
			{
				TFBot
				{
					Template T_TFBot_Soldier_Extended_Buff_Banner
				}
				TFBot
				{
					Template T_TFBot_Soldier_Extended_Concheror
				}
				TFBot
				{
					Template T_TFBot_Soldier_Extended_Battalion
				}
			}
		}
		WaveSpawn
		{	
			Name "wave05_2a"	
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 9
			SpawnCount 3
			MaxActive 4
			WaitBetweenSpawns 30
			WaitBeforeStarting 15
			
			TotalCurrency 150
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Soldier_Spammer_Reload
				}
				TFBot
				{
					Template T_TFBot_Medic_Kritzkrieg
				}
				TFBot
				{
					Template T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{	
			Name "wave05_2b"	
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 9
			SpawnCount 3
			MaxActive 4
			WaitBetweenSpawns 30
			WaitBeforeStarting 20
			WaitForAllSpawned "wave05_2a"
			
			TotalCurrency 150
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Pyro
					Item "The Dragon's Fury"
					ClassIcon pyro_dragon_fury
					
					ItemAttributes
					{
						ItemName "The Dragon's Fury"
						"Projectile range increased" 2
					}
				}
				TFBot
				{
					Template T_TFBot_Medic_Kritzkrieg
				}
				TFBot
				{
					Template T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{	
			Name "wave05_3a"	
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 72
			SpawnCount 4
			MaxActive 10
			WaitBetweenSpawns 10
			WaitBeforeStarting 8
			WaitForAllSpawned "wave05_1a"
			WaitForAllSpawned "wave05_1b"
			WaitForAllSpawned "wave05_2a"
			WaitForAllSpawned "wave05_2b"
			
			TotalCurrency 150
			
			RandomChoice
			{
				TFBot
				{
					Template T_TFBot_Demoman_Knight
					Attributes AlwaysCrit
				}
				TFBot
				{
					Template T_TFBot_Scout_BFB
				}
				TFBot
				{
					Template T_TFBot_Heavyweapons_Shotgun
				}
			}
		}
		WaveSpawn
		{	
			Name "wave05_3b"	
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 24
			SpawnCount 8
			MaxActive 10
			WaitBetweenSpawns 20
			WaitBeforeStarting 60
			WaitForAllSpawned "wave05_1a"
			WaitForAllSpawned "wave05_1b"
			WaitForAllSpawned "wave05_2a"
			WaitForAllSpawned "wave05_2b"
			
			TotalCurrency 150
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Heavyweapons_Tomislav
				}
				TFBot
				{
					Template T_TFBot_Medic
				}
				TFBot
				{
					Template T_TFBot_Medic
				}
				TFBot
				{
					Template T_TFBot_Medic_Kritzkrieg
				}
				TFBot
				{
					Template T_TFBot_Medic_Kritzkrieg
				}
				TFBot
				{
					Class Pyro
					Skill Expert
					Attributes AlwaysCrit
				}
				TFBot
				{
					Class Pyro
					Skill Expert
					Attributes AlwaysCrit
				}
				TFBot
				{
					Class Pyro
					Skill Expert
					Attributes AlwaysCrit
				}
			}
		}
	}
	Wave	//Wave 06 $1050
	{
		WaitWhenDone 60
		Checkpoint Yes

		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		
		WaveSpawn
		{	
			Name "wave06_1a"	
			Where spawnbot_middle
			
			TotalCount 24
			SpawnCount 3
			MaxActive 8
			WaitBetweenSpawns 10
			WaitBeforeStarting 0
			
			TotalCurrency 100
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Soldier_Extended_Battalion
				}
				TFBot
				{
					Template T_TFBot_Soldier_Extended_Battalion
					Attributes AlwaysCrit
				}
				TFBot
				{
					Template T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{	
			Name "wave06_1b"	
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 4
			SpawnCount 2
			MaxActive 3
			WaitBetweenSpawns 30
			WaitBeforeStarting 30
			
			TotalCurrency 100
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Heavyweapons_HealOnKill
				}
				TFBot
				{
					Template T_TFBot_Giant_Medic_Regen
				}
			}
		}
		WaveSpawn
		{
			Name "wave06_2a"
			TotalCount 3
			MaxActive 1
			WaitBetweenSpawns 30
			WaitBeforeStarting 45
			
			TotalCurrency 150

			FirstSpawnOutput                                                                                                                                                            
			{
				 Target boss_spawn_relay                                            
				 Action Trigger                         
			}

			Tank
			{
				Health 12000
				Speed 75
				Name "tankboss"
				StartingPathTrackNode "boss_path_1_dispenser"

				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}			
		}
		WaveSpawn
		{
			Name "wave06_2b"
			TotalCount 3
			MaxActive 1
			WaitBetweenSpawns 30
			WaitBeforeStarting 45
			
			TotalCurrency 150

			FirstSpawnOutput                                                                                                                                                            
			{
				 Target boss_spawn_relay                                            
				 Action Trigger                         
			}

			Tank
			{
				Health 12000
				Speed 75
				Name "tankboss"
				StartingPathTrackNode "boss_path2_1_dispenser"

				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}			
		}
		WaveSpawn
		{	
			Name "wave06_3a"
			Where spawnbot_left
			Where spawnbot_right
			Where spawnbot_middle
			
			TotalCount 12
			SpawnCount 2
			MaxActive 6
			WaitBetweenSpawns 20
			WaitBeforeStarting 5
			WaitForAllDead "wave06_1a"
			
			TotalCurrency 50
			
			TFBot
			{
				Template T_TFBot_Sniper_Huntsman_Spammer
				Attributes AlwaysCrit
			}
		}
		WaveSpawn
		{	
			Name "wave06_3b"
			Where spawnbot_middle
			
			TotalCount 20
			SpawnCount 2
			MaxActive 10
			WaitBetweenSpawns 6
			WaitBeforeStarting 20
			WaitForAllDead "wave06_1a"
			
			TotalCurrency 50
			
			TFBot
			{
				Template T_TFBot_Scout_FAN_Fast
			}
		}
		WaveSpawn
		{	
			Name "wave06_4a"
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 4
			SpawnCount 1
			MaxActive 2
			WaitBetweenSpawns 40
			WaitBeforeStarting 45
			WaitForAllSpawned "wave06_1b"
			
			TotalCurrency 150
			
			TFBot
			{
				Template T_TFBot_Giant_Demo_Burst
				Attributes AlwaysCrit
			}
		}
		WaveSpawn
		{	
			Name "wave06_4b"
			Where spawnbot_left
			Where spawnbot_right
			Where spawnbot_middle
			
			TotalCount 20
			SpawnCount 4
			MaxActive 10
			WaitBetweenSpawns 18
			WaitBeforeStarting 20
			WaitForAllSpawned "wave06_3a"
			WaitForAllSpawned "wave06_3b"
			
			TotalCurrency 150
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Heavyweapons_Deflector
				}
				TFBot
				{
					Template T_TFBot_Medic_Shield
				}
			}
		}
		WaveSpawn
		{	
			Name "wave06_5a"
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 24
			SpawnCount 3
			MaxActive 8
			WaitBetweenSpawns 10
			WaitBeforeStarting 10
			WaitForAllDead "wave06_3a"
			WaitForAllDead "wave06_3b"
			WaitForAllDead "wave06_4a"
			
			TotalCurrency 50
			
			TFBot
			{
				Template T_TFBot_Demo_Burst
				Attributes AlwaysCrit
			}
		}
		WaveSpawn
		{	
			Name "wave06_5b"
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 4
			SpawnCount 1
			MaxActive 4
			WaitBetweenSpawns 20
			WaitBeforeStarting 20
			WaitForAllDead "wave06_3a"
			WaitForAllDead "wave06_3b"
			WaitForAllDead "wave06_4a"
			
			TotalCurrency 100
			
			TFBot
			{
				Template T_TFBot_Giant_Soldier_Railgun
			}
		}
		WaveSpawn
		{	
			Name "wave06_5b"
			Where spawnbot_left
			Where spawnbot_right
			
			TotalCount 4
			SpawnCount 4
			MaxActive 4
			WaitBetweenSpawns 20
			WaitBeforeStarting 20
			WaitForAllSpawned "wave06_5a"
			
			TotalCurrency 0
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Heavy_Giant_IronFist_Airblast
				}
				TFBot
				{
					Template T_TFBot_Giant_Soldier
				}
				TFBot
				{
					Template T_TFBot_Giant_Pyro
				}
				TFBot
				{
					Template T_TFBot_Giant_Demoman
				}
			}
		}
	}
}