#base robot_giant.pop
#base robot_standard.pop
#base robot_gatebot.pop
#base robot_click.pop
#base robot_click_giant.pop
#base robot_click_gatebot.pop
#base robot_gatebot_modular.pop
#base ex_upgrade_click.pop
#base robot_click_sig.pop
WaveSchedule
{
	StartingCurrency	800
	RespawnWaveTime	3
	RobotLimit	32
	CanBotsAttackWhileInSpawnRoom	no
	Mission
	{
		Objective	DestroySentries
		Where	spawnbot
		BeginAtWave	1
		RunForThisManyWaves	7
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	1
		TFBot
		{
			Template	T_TFBot_SentryBuster
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	1
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper_Sydney_Sleeper
		}
	}
	Mission
	{
		Objective	Spy
		Where	spawnbot_mission_spy
		BeginAtWave	1
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Spy
		}
	}
	//WAVE1 800 Total:800
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_ironman_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	W1_A
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Scout_Wrap
			}
		}
		WaveSpawn
		{
			Name	W1_B
			WaitForAllDead	W1_A
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Scout_Wrap
				tag default
			}
		}
		WaveSpawn
		{
			Name	W1_C
			WaitForAllDead	W1_B
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Scout_Wrap
				tag flanker
			}
		}
		WaveSpawn
		{
			Name	W1_D
			WaitForAllDead	W1_C
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Scout_Wrap
				tag flanker
				tag focus
			}
		}
		WaveSpawn
		{
			Name	W1_f
			WaitForAllDead	W1_D
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_Delivery
					Health	11
					tag focus
				}
			}
		}
		WaveSpawn
		{
			Name	W1_f
			WaitForAllDead	W1_D
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_Delivery
					Health	11
					tag focus
				}
			}
		}
		WaveSpawn
		{
			Name	W1_f
			WaitForAllDead	W1_D
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_Delivery
					Health	11
					tag focus
				}
			}
		}
	}
	Mission
	{
		Objective	Engineer
		Where	spawnbot
		BeginAtWave	2
		RunForThisManyWaves	1
		InitialCooldown	25
		CooldownTime	40
		DesiredCount	1
		TFBot
		{
			Template	T_TFBot_Engineer_Sentry_Teleporter
			TeleportWhere spawnbot
			TeleportWhere spawnbot_side
			TeleportWhere spawnbot_invasion
		}
	}
	//WAVE2 800+1400 Total:2200
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_ironman_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	W2_SUPPORT
			TotalCurrency	100
			TotalCount	40
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	10
			WaitBetweenSpawns	10
			Where	spawnbot_invasion
			Support	1
			TFBot
			{
				Template	T_TFBot_Demo_Paintrain
			}
		}
		WaveSpawn
		{
			Name	W2_A
			TotalCurrency	200
			TotalCount	6
			MaxActive	6
			SpawnCount	6
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot_side 
			Squad
			{
				TFBot
				{
					Template	 T_TFBot_Giant_Soldier_Stun
					AddTemplate	GatebotSoldier_Giant
					Attributes	AlwaysCrit
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic
					Tag bot_giant
					Tag	"bot_squad_member"
				}
				TFBot
				{
					Template	 T_TFBot_Heavy_Brassbeast
					Tag	"bot_squad_member"
					AddTemplate	GatebotHeavy
				}
				TFBot
				{
					Template	 T_TFBot_Heavy_Brassbeast
					Tag	"bot_squad_member"
					AddTemplate	GatebotHeavy
				}
				TFBot
				{
					Template	 T_TFBot_Heavy_Brassbeast
					Tag	"bot_squad_member"
					AddTemplate	GatebotHeavy
				}
				TFBot
				{
					Template	 T_TFBot_Heavy_Brassbeast
					Tag	"bot_squad_member"
					AddTemplate	GatebotHeavy
				}
			}
		}
		WaveSpawn
		{
			Name	W2_A
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	20
			WaitBetweenSpawns	0
			Where	spawnbot_side 
			Squad
			{
				TFBot
				{
					Template	 T_TFBot_Giant_Soldier_Stun
					Tag bot_giant
					Attributes	AlwaysCrit
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic
					Tag bot_giant
					Tag	"bot_squad_member"
				}
			}
		}
		WaveSpawn
		{
			Name	W2_A
			TotalCurrency	250
			TotalCount	48
			MaxActive	16
			SpawnCount	8
			WaitBeforeStarting	10
			WaitBetweenSpawns	10
			Where	spawnbot
			RandomChoice
			{
				TFBot
				{
					Class	Pyro
					Skill	Expert
					Attributes	AlwaysCrit
					Attributes 	AlwaysFireWeapon
				}
				TFBot
				{
					Template	 T_TFBot_Sniper_Huntsman_Spammer_Normal
				}
			}
		}
		WaveSpawn
		{
			Name	W2_A
			TotalCurrency	200
			TotalCount	6
			MaxActive	6
			SpawnCount	6
			WaitBeforeStarting	40
			WaitBetweenSpawns	0
			Where	spawnbot 
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Stun
					AddTemplate	GatebotSoldier_Giant
					Attributes	AlwaysCrit
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic
					Tag bot_giant
					Tag	"bot_squad_member"
				}
				TFBot
				{
					Template	 T_TFBot_Heavy_Brassbeast
					Tag	"bot_squad_member"
					AddTemplate	GatebotHeavy
				}
				TFBot
				{
					Template	 T_TFBot_Heavy_Brassbeast
					Tag	"bot_squad_member"
					AddTemplate	GatebotHeavy
				}
				TFBot
				{
					Template	 T_TFBot_Heavy_Brassbeast
					Tag	"bot_squad_member"
					AddTemplate	GatebotHeavy
				}
				TFBot
				{
					Template	 T_TFBot_Heavy_Brassbeast
					Tag	"bot_squad_member"
					AddTemplate	GatebotHeavy
				}
			}
		}
		WaveSpawn
		{
			Name	W2_A
			TotalCurrency	250
			TotalCount	5
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	4
			WaitBetweenSpawns	16
			Where	spawnbot_side
			TFBot
			{
				Template	T_TFBot_Giant_Scout_FAN
				Tag bot_giant
			}
		}
		WaveSpawn
		{
			Name	W2_B
			WaitForAllDead	W2_A
			TotalCurrency	100
			TotalCount	4
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	25
			Where	spawnbot_side 
			Squad
			{
				TFBot
				{
					Template	 T_TFBot_Giant_Soldier_Stun
					Attributes	AlwaysCrit
					Tag bot_giant
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic
					Tag	"bot_squad_member"
					Tag bot_giant
				}
			}
		}
		WaveSpawn
		{
			Name	W2_B1
			WaitForAllDead	W2_A
			TotalCurrency	300
			TotalCount	30
			MaxActive	15
			SpawnCount	5
			WaitBeforeStarting	5
			WaitBetweenSpawns	8
			Where	spawnbot_invasion
			TFBot
			{
				Template	T_TFBot_Demo_Burst
				Tag nav_prefer_flank_2
				Tag nav_prefer_flank_3
				AddTemplate	GatebotDemoman
			}
		}
		WaveSpawn
		{
			Name	W2_B
			WaitForAllDead	W2_B1
			TotalCurrency	300
			TotalCount	20
			MaxActive	10
			SpawnCount	10
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot_invasion
			TFBot
			{
				Template	 T_TFBot_Heavy_Brassbeast
			}
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	3
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper_Explosive
		}
	}
	//WAVE3 800+1400+1800 Total:4000
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_ironman_relay
			Action	Trigger
		}
		InitWaveOutput
		{
			Target bignet
			Action RunScriptCode
			Param
			"IncludeScript(`tankextensions_main`, getroottable())
			IncludeScript(`tankextensions/gatetank`, getroottable())"
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	W3_ENGI
			TotalCurrency	100
			TotalCount	12
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	12
			WaitBetweenSpawns	16
			Where	spawnbot_invasion
			Support 1
			TFBot
			{
				Template	T_TFBot_Engineer_Sentry_Tele_Battle
				TeleportWhere spawnbot
				TeleportWhere spawnbot_side
				TeleportWhere spawnbot_invasion
			}
		}
		WaveSpawn
		{
			Name	W3_A
			TotalCurrency	100
			TotalCount	6
			MaxActive	4
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	6
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Giant_Heavy_Shotgun_Healonkill
				SpawnTemplate "powerup_logic_hastebuff_recipient"
				AddTemplate	GatebotHeavy_Giant
				Tag nav_prefer_main_1
			}
		}
		WaveSpawn
		{
			Name	W3_A
			TotalCurrency	100
			TotalCount	6
			MaxActive	4
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	6
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Giant_Heavy_Shotgun_Healonkill
				Tag bot_giant
				SpawnTemplate "powerup_logic_hastebuff_recipient"
			}
		}
		WaveSpawn
		{
			Name	W3_A
			TotalCurrency	100
			TotalCount	16
			MaxActive	8
			SpawnCount	2
			WaitBeforeStarting	2
			WaitBetweenSpawns	4
			Where	spawnbot
			Support Limited
			TFBot
			{
				Template	T_TFBot_Soldier_Hastebuff
			}
		}
		WaveSpawn
		{
			Name	W3_A
			TotalCurrency	100
			TotalCount	12
			MaxActive	6
			SpawnCount	2
			WaitBeforeStarting	8
			WaitBetweenSpawns	6
			Where	spawnbot_side 
			TFBot
			{
				Template	T_TFBot_Demoman_Samurai
				SpawnTemplate "powerup_logic_hastebuff_recipient"
				AddTemplate GatebotDemoman
			}
		}
		WaveSpawn
		{
			Name	W3_SUPPORT
			WaitForAllDead	W3_A
			TotalCurrency	100
			TotalCount	12
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	4
			WaitBetweenSpawns	4
			Where	spawnbot_invasion
			Support 1
			TFBot
			{
				Template	T_TFBot_Soldier_Hastebuff
			}
		}
		WaveSpawn
		{
			Name	W3_SUPPORT
			WaitForAllDead	W3_A
			TotalCurrency	100
			TotalCount	20
			MaxActive	4
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	4
			Where	spawnbot_invasion
			Support 1
			TFBot
			{
				Template	T_TFBot_Heavy_IronFist_Airblast 
				SpawnTemplate "powerup_logic_hastebuff_recipient"
			}
		}
		WaveSpawn
		{
			Name	W3_GATETANK
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	15
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target boss_spawn_relay
				Action Trigger
			}
			Tank
			{
				Health	25000
				Name 	"tankboss$model|models/bots/boss_bot/boss_tank_gatebot.mdl"
				Speed	75
				StartingPathTrackNode	tank_boss_path_1
				OnKilledOutput
				{
					Target	boss_tank_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	W3_TANK
			WaitForAllDead	W3_A	
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	45
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target boss_spawn_relay
				Action Trigger
			}
			Tank
			{
				Health	20000
				Name 	"tank"
				Speed	75
				StartingPathTrackNode	tank_path_1
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	W3_B
			WaitForAllDead	W3_A	
			TotalCurrency	100
			TotalCount	6
			MaxActive	3
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	15
			Where	spawnbot_side
			TFBot
			{
				Template	T_TFBot_Giant_Heavy_Shotgun_Healonkill
				SpawnTemplate "powerup_logic_hastebuff_recipient"
				AddTemplate	GatebotHeavy_Giant
			}
		}
		WaveSpawn
		{
			Name	W3_B
			WaitForAllDead	W3_A	
			TotalCurrency	100
			TotalCount	12
			MaxActive	6
			SpawnCount	2
			WaitBeforeStarting	5
			WaitBetweenSpawns	15
			Where	spawnbot_side
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavy_Shotgun_Healonkill
					SpawnTemplate "powerup_logic_hastebuff_recipient"
					AddTemplate	GatebotHeavy_Giant
					Tag bot_giant
				}
				TFBot
				{
					Template	T_TFBot_Medic_Shield_Quickfix
					SpawnTemplate "powerup_logic_hastebuff_recipient"
					Tag	"bot_squad_member"
				}
			}
		}
		WaveSpawn
		{
			Name	W3_B
			WaitForAllDead	W3_A	
			TotalCurrency	100
			TotalCount	32
			MaxActive	12
			SpawnCount	4
			WaitBeforeStarting	6
			WaitBetweenSpawns	6
			Where	spawnbot_invasion
			TFBot
			{
				Template	T_TFBot_Sniper_Carbin
				SpawnTemplate "powerup_logic_hastebuff_recipient"
				Tag nav_prefer_flank_4
				Tag nav_prefer_flank_5
			}
		}
		WaveSpawn
		{
			Name	W3_B
			WaitForAllDead	W3_A	
			TotalCurrency	100
			TotalCount	12
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	6
			WaitBetweenSpawns	8
			Where	spawnbot_invasion
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Sniper_Carbin
					SpawnTemplate "powerup_logic_hastebuff_recipient"
				}
				TFBot
				{
					Template	T_TFBot_Medic_Kritzkrieg
					SpawnTemplate "powerup_logic_hastebuff_recipient"
					Tag	"bot_squad_member"
				}
			}
		}
		WaveSpawn
		{
			Name	W3_C
			WaitForAllSpawned	W3_B	
			TotalCurrency	200
			TotalCount	24
			MaxActive	16
			SpawnCount	8
			WaitBeforeStarting	18
			WaitBetweenSpawns	12
			Where	spawnbot_side
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavy_Shotgun_Healonkill
					SpawnTemplate "powerup_logic_hastebuff_recipient"
					Tag bot_giant
				}
				TFBot
				{
					Template	T_TFBot_Medic_Kritzkrieg
					SpawnTemplate "powerup_logic_hastebuff_recipient"
					Tag	"bot_squad_member"
				}
				TFBot
				{
					Template	T_TFBot_Medic_Kritzkrieg
					SpawnTemplate "powerup_logic_hastebuff_recipient"
					Tag	"bot_squad_member"
				}
				TFBot
				{
					Template	T_TFBot_Medic_Shield_Quickfix
					SpawnTemplate "powerup_logic_hastebuff_recipient"
					Tag	"bot_squad_member"
				}
			}
		}
	}
	Mission
	{
		Objective	Spy
		Where	spawnbot_mission_spy
		BeginAtWave	4
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Spy_Ninja
		}
	}
	Mission
	{
		Objective	Engineer
		Where	spawnbot
		BeginAtWave	4
		RunForThisManyWaves	1
		InitialCooldown	35
		CooldownTime	45
		DesiredCount	1
		TFBot
		{
			Template	T_TFBot_Engineer_Sentry_Teleporter_FastBuild 
			TeleportWhere spawnbot
			TeleportWhere spawnbot_side
			TeleportWhere spawnbot_invasion
		}
	}
	//WAVE4 800+1400+1800+1400 Total:5400
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_ironman_relay
			Action	Trigger
		}
		InitWaveOutput
		{
			Target bignet
			Action RunScriptCode
			Param
			"IncludeScript(`tankextensions_main`, getroottable())
			IncludeScript(`tankextensions/gatetank`, getroottable())"
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	W4_TANK	
			TotalCurrency	150
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target boss_spawn_relay
				Action Trigger
			}
			Tank
			{
				Health	28000
				Name 	"tank"
				Speed	75
				StartingPathTrackNode	tank_path_1
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	W4_GATETANK
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	20
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target boss_spawn_relay
				Action Trigger
			}
			Tank
			{
				Health	25000
				Name 	"tankboss$model|models/bots/boss_bot/boss_tank_gatebot.mdl"
				Speed	75
				StartingPathTrackNode	tank_boss_path_1
				OnKilledOutput
				{
					Target	boss_tank_dead_addbomb1_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	W4_SUPPORT1
			TotalCurrency	100
			TotalCount	20
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	5
			WaitBetweenSpawns	25
			Where	spawnbot
			Support	1
			TFBot
			{
				Template	T_TFBot_Giant_Demo_Loch_Shield_Type2
				AddTemplate	GatebotDemoman_Giant
				Tag nav_prefer_flank_2
				Tag nav_prefer_flank_3
				Tag nav_prefer_flank_4
				Tag nav_prefer_flank_5
			}
		}
		WaveSpawn
		{
			Name	W4_SUPPORT1
			TotalCurrency	100
			TotalCount	20
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	30
			WaitBetweenSpawns	45
			Where	spawnbot_invasion
			Support	1
			TFBot
			{
				Template	T_TFBot_Giant_Scout_Baseball_Marker
				Tag bot_giant
			}
		}
		WaveSpawn
		{
			Name	W4_SUPPORT2
			TotalCurrency	100
			TotalCount	20
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	30
			WaitBetweenSpawns	30
			Where	spawnbot_side
			Support	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavy_Tomislav
					Tag bot_giant
				}
				TFBot
				{
					Template	T_TFBot_Medic_Blinking
					Tag "bot_squad_member"
				}
			}
		}
		WaveSpawn
		{
			Name	W4_A1
			TotalCurrency	100
			TotalCount	30
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	25
			WaitBetweenSpawns	8
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Scout_FAN_Pusher
				AddTemplate	GatebotScout
			}
		}
		WaveSpawn
		{
			Name	W4_A
			WaitForAllSpawned	W4_A1
			TotalCurrency	100
			TotalCount	25
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	12
			WaitBetweenSpawns	8
			Where	spawnbot_side
			TFBot
			{
				Template	T_TFBot_Sniper_Huntsman_Hyper_Penetration
				AddTemplate	GatebotSniper
			}
		}
		WaveSpawn
		{
			Name	W4_A
			TotalCurrency	100
			TotalCount	32
			MaxActive	12
			SpawnCount	4
			WaitBeforeStarting	10
			WaitBetweenSpawns	10
			Where	spawnbot_side
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Heavy_Deflector_Flame
					AddTemplate	GatebotHeavy
                }
				TFBot
				{
					Template	T_TFBot_Medic_Quickheal
					Tag "bot_squad_member"
				}
				TFBot
				{
					Template	T_TFBot_Soldier_Burst
					Tag "bot_squad_member"
					AddTemplate	GatebotSoldier
                }
				TFBot
				{
					Template	T_TFBot_Soldier_Burst
					Tag "bot_squad_member"
					AddTemplate	GatebotSoldier
                }
			}
		}
		WaveSpawn
		{
			Name	W4_SUPPORT3
			WaitForAllSpawned	W4_A
			TotalCurrency	100
			TotalCount	20
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	30
			WaitBetweenSpawns	30
			Where	spawnbot_side
			Support	1
			TFBot
			{
				Template	T_TFBot_Giant_Pyro_Heal
				Tag bot_giant
			}
		}
		WaveSpawn
		{
			Name	W4_GATETANK
			WaitForAllSpawned	W4_A
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target boss_spawn_relay
				Action Trigger
			}
			Tank
			{
				Health	25000
				Name 	"tankboss$model|models/bots/boss_bot/boss_tank_gatebot.mdl"
				Speed	75
				StartingPathTrackNode	tank_boss_path_1
				OnKilledOutput
				{
					Target	boss_tank_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	W4_B
			WaitForAllDead	W4_A
			TotalCurrency	200
			TotalCount	32
			MaxActive	12
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	6
			Where	spawnbot_invasion
			TFBot
			{
				Template	T_TFBot_Pyro_Crit
			}
		}
		WaveSpawn
		{
			Name	W4_TANK	
			WaitForAllSpawned	W4_B
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target boss_spawn_relay
				Action Trigger
			}
			Tank
			{
				Health	20000
				Name 	"tank"
				Speed	75
				StartingPathTrackNode	tank_path_1
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	W4_C
			WaitForAllDead	W4_B
			TotalCurrency	100
			TotalCount	20
			MaxActive	15
			SpawnCount	5
			WaitBeforeStarting	0
			WaitBetweenSpawns	5
			Where	spawnbot_invasion
			TFBot
			{
				Template	T_TFBot_Scout_Blaster_Hyper
			}
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	5
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper_Fullauto
		}
	}
	//WAVE5 800+1400+1800+1400+1400 Total:6800
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_ironman_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	W5_ENGI
			TotalCurrency	100
			TotalCount	20
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	10
			WaitBetweenSpawns	10
			Where	spawnbot_invasion 
			Support	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Engineer_Sentry_Tele_Battle_Armored
					TeleportWhere spawnbot
					TeleportWhere spawnbot_side
					TeleportWhere spawnbot_invasion
					Attributes	AlwaysCrit
				}
				TFBot
				{
					Template	T_TFBot_Medic
					Tag	"bot_squad_member"
				}
			}
		}
		WaveSpawn
		{
			Name	W5_SUPPORT1
			TotalCurrency	100
			TotalCount	20
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	15
			WaitBetweenSpawns	10
			Where	spawnbot_invasion 
			Support	1
			TFBot
			{
				Template	T_TFBot_Scout_Jumping_Sandman_Armored
			}
		}
		WaveSpawn
		{
			Name	W5_A
			TotalCurrency	100
			TotalCount	4
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	30
			Where	spawnbot_side
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Pyro_Dragon_Hyper
					Tag bot_giant
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Shield_Kritzkrieg_Extended
					Tag bot_giant
					Tag "bot_squad_member"
				}
			}
		}
		WaveSpawn
		{
			Name	W5_BOSS
			TotalCurrency	250
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			Where	spawnbot_boss
			FirstSpawnOutput
			{
				Target boss_dead_addbomb1_stay
				Action Trigger
			}
			TFBot
			{
				Class Scout
				Name "Cheif Healing Pistol Scout"
				ClassIcon scout_pocketpistol_heal_lite_giant
				Skill Expert
				Health 60000
				WeaponRestrictions	SecondaryOnly
				Attributes MiniBoss
				Attributes UseBossHealthBar
				Item	"pretty boy's pocket pistol"
				Item	"the fed-fightin' fedora"
				Item	"dillinger's duffel"
				ItemAttributes
				{
					ItemName	"pretty boy's pocket pistol"
					"faster reload rate"	-0.8
					"heal on hit for rapidfire"	150
					"damage bonus"	3.0
					"heal on kill"	5000
				}
				CharacterAttributes
				{
					"damage force reduction" 0.7
					"airblast vulnerability multiplier" 0.7
					"airblast vertical vulnerability multiplier" 0.1			
					"override footstep sound set" 5
					"health regen"	40
					"rage giving scale" 0.1
					"move speed bonus"	0.75
				}
				AddTemplate	GatebotScout_Giant
			}
		}
		WaveSpawn
		{
			Name	W5_A
			TotalCurrency	50
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	20
			WaitBetweenSpawns	0
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavy_Deflector_Pusher
					AddTemplate	GatebotHeavy_Giant
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Uber_Extended
					Tag bot_giant
					Tag "bot_squad_member"
				}
			}
		}
		WaveSpawn
		{
			Name	W5_A
			TotalCurrency	150
			TotalCount	40
			MaxActive	16
			SpawnCount	8
			WaitBeforeStarting	10
			WaitBetweenSpawns	10
			Where	spawnbot_invasion
			TFBot
			{
				Template	T_TFBot_Demo_Scatter_Hyper
				AddTemplate	GatebotDemoman
				Tag nav_prefer_main_1
				Tag nav_prefer_main_6
			}
		}
		WaveSpawn
		{
			Name	W5_B1
			WaitForAllSpawned	W5_A
			TotalCurrency	100
			TotalCount	30
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	15
			WaitBetweenSpawns	10
			Where	spawnbot_invasion
			FirstSpawnOutput
			{
				Target boss_dead_addbomb2_stay
				Action Trigger
			}
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Soldier_PowerShot
					AddTemplate	GatebotSoldier
				}
				TFBot
				{
					Template	T_TFBot_Medic_Shield_Quickheal_Extended
					Tag "bot_squad_member"
				}
				TFBot
				{
					Template	T_TFBot_Soldier_PowerShot
					AddTemplate	GatebotSoldier
					Tag "bot_squad_member"
				}
				TFBot
				{
					Template	T_TFBot_Soldier_PowerShot
					AddTemplate	GatebotSoldier
					Tag "bot_squad_member"
				}
				TFBot
				{
					Template	T_TFBot_Soldier_PowerShot
					AddTemplate	GatebotSoldier
					Tag "bot_squad_member"
				}
			}
		}
		WaveSpawn
		{
			Name	W5_SUPPORT2
			WaitForAllDead	W5_A
			TotalCurrency	150
			TotalCount	40
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	8
			WaitBetweenSpawns	8
			Where	spawnbot_invasion 
			Support	1
			TFBot
			{
				Template	T_TFBot_Heavy_Crit
			}
		}
		WaveSpawn
		{
			Name	W5_SUPPORT3
			WaitForAllSpawned	W5_B1
			TotalCurrency	100
			TotalCount	40
			MaxActive	12
			SpawnCount	4
			WaitBeforeStarting	12
			WaitBetweenSpawns	8
			Where	spawnbot_invasion 
			Support	1
			TFBot
			{
				Template	T_TFBot_Heavy_Crit
			}
		}
		WaveSpawn
		{
			Name	W5_B
			WaitForAllDead	W5_A
			TotalCurrency	100
			TotalCount	6
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	50
			Where	spawnbot_side
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavy_Deflector_Pusher
					Tag bot_giant
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Uber_Extended
					Tag "bot_squad_member"
					Tag bot_giant
				}
			}
		}
		WaveSpawn
		{
			Name	W5_B
			WaitForAllDead	W5_A
			TotalCurrency	100
			TotalCount	4
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	25
			WaitBetweenSpawns	50
			Where	spawnbot_side
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Pyro_Dragon_Hyper
					AddTemplate	GatebotPyro
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Shield_Kritzkrieg_Extended
					Tag bot_giant
					Tag "bot_squad_member"
				}
			}
		}
	}
	Mission
	{
		Objective	Spy
		Where	spawnbot_mission_spy
		BeginAtWave	6
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Spy_Hyper
		}
	}
	Mission
	{
		Objective	Engineer
		Where	spawnbot
		BeginAtWave	6
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	40
		DesiredCount	1
		TFBot
		{
			Template	T_TFBot_Engineer_Sentry_Teleporter_Hyper
			TeleportWhere spawnbot
			TeleportWhere spawnbot_side
			TeleportWhere spawnbot_invasion
		}
	}
	//WAVE6 800+1400+1800+1400+1400+1300 Total:8100
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_ironman_relay
			Action	Trigger
		}
		InitWaveOutput
		{
			Target bignet
			Action RunScriptCode
			Param
			"IncludeScript(`tankextensions_main`, getroottable())
			IncludeScript(`tankextensions/gatetank`, getroottable())"
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	W6_SUPPORT
			TotalCurrency	100
			TotalCount	20
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	12
			WaitBetweenSpawns	12
			Where	spawnbot_invasion
			Support	1
			TFBot
			{
				Template	T_TFBot_Heavy_Juggernaut
			}
		}
		WaveSpawn
		{
			Name	W6_A
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot_side
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Tankbuster
					AddTemplate	GatebotSoldier_Giant
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Armored
					Tag bot_giant
					Tag	"bot_squad_member"
				}
			}
		}
		WaveSpawn
		{
			Name	W6_GATETANK
			TotalCurrency	150
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target boss_spawn_relay
				Action Trigger
			}
			Tank
			{
				Health	40000
				Name 	"tankboss$model|models/bots/boss_bot/boss_tank_gatebot.mdl"
				Speed	75
				StartingPathTrackNode	tank_boss_path_1
				OnKilledOutput
				{
					Target	boss_tank_dead_addbomb1_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	W6_A
			TotalCurrency	150
			TotalCount	20
			MaxActive	12
			SpawnCount	4
			WaitBeforeStarting	12
			WaitBetweenSpawns	6
			Where	spawnbot_side
			TFBot
			{
				Template	T_TFBot_Heavy_Shotgun_Burst_Hyper
				Attributes	AlwaysCrit
				Tag nav_prefer_flank_2
				Tag nav_prefer_flank_3
				Tag nav_prefer_flank_4
				Tag nav_prefer_flank_5
			}
		}
		WaveSpawn
		{
			Name	W6_A
			TotalCurrency	100
			TotalCount	4
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	16
			WaitBetweenSpawns	16
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Giant_Scout_Hyper
				AddTemplate	GatebotScout_Giant
			}
		}
		WaveSpawn
		{
			Name	W6_B
			WaitForAllDead	W6_A
			TotalCurrency	200
			TotalCount	18
			MaxActive	6
			SpawnCount	6
			WaitBeforeStarting	5
			WaitBetweenSpawns	30
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Tankbuster
					Tag bot_giant
				}
				TFBot
				{
					Template	T_TFBot_Medic_Armored
					Tag	"bot_squad_member"
				}
				TFBot
				{
					Template	T_TFBot_Medic_Armored
					Tag	"bot_squad_member"
				}
				TFBot
				{
					Template	T_TFBot_Medic_Armored
					Tag	"bot_squad_member"
				}
				TFBot
				{
					Template	T_TFBot_Medic_Armored
					Tag	"bot_squad_member"
				}
				TFBot
				{
					Template	T_TFBot_Medic_Armored
					Tag	"bot_squad_member"
				}
			}
		}
		WaveSpawn
		{
			Name	W6_TANK	
			WaitForAllDead	W6_A
			TotalCurrency	150
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	30
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target boss_spawn_relay
				Action Trigger
			}
			Tank
			{
				Health	30000
				Name 	"tank"
				Speed	75
				StartingPathTrackNode	tank_path_1
				OnKilledOutput
				{
					Target	boss_dead_addbomb2_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	W6_B
			WaitForAllDead	W6_A
			TotalCurrency	100
			TotalCount	8
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	20
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Giant_Scout_Hyper_Bonk
				Tag bot_giant
			}
		}
		WaveSpawn
		{
			Name	W6_B
			WaitForAllDead	W6_A
			TotalCurrency	100
			TotalCount	8
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	10
			WaitBetweenSpawns	20
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Giant_Scout_Hyper
				AddTemplate	GatebotScout_Giant
			}
		}
		WaveSpawn
		{
			Name	W6_B
			WaitForAllDead	W6_A
			TotalCurrency	150
			TotalCount	45
			MaxActive	15
			SpawnCount	5
			WaitBeforeStarting	0
			WaitBetweenSpawns	12
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Sniper_Huntsman_Hyper_Homing
				AddTemplate	GatebotSniper
			}
		}
		WaveSpawn
		{
			Name	W6_C
			WaitForAllSpawned	W6_B
			TotalCurrency	100
			TotalCount	30
			MaxActive	20
			SpawnCount	10
			WaitBeforeStarting	15
			WaitBetweenSpawns	10
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Demoknight_Hyper
				Attributes	AlwaysCrit
			}
		}
		WaveSpawn
		{
			Name	W6_C
			WaitForAllDead	W6_B
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			Where	spawnbot_side
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Tankbuster
					AddTemplate	GatebotSoldier_Giant
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Armored
					Tag bot_giant
					Tag	"bot_squad_member"
				}
			}
		}
		WaveSpawn
		{
			Name	W6_C
			WaitForAllSpawned	W6_B
			TotalCurrency	100
			TotalCount	4
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	15
			WaitBetweenSpawns	5
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Giant_Scout_Hyper_Bonk
				Tag bot_giant
			}
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	7
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Class Sniper
			Skill Expert
		}
	}
	Mission
	{
		Objective	Spy
		Where	spawnbot_mission_spy
		BeginAtWave	7
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Class Spy
			Skill Expert
		}
	}
	//WAVE7 800+1400+1800+1400+1400+1300+1600 Total:9700
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		InitWaveOutput
		{
			Target bignet
			Action RunScriptCode
			Param
			"IncludeScript(`tankextensions_main`, getroottable())
			IncludeScript(`tankextensions/gatetank`, getroottable())"
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	W7_SHOW
			WaitForAllDead	W7_SHOW
			TotalCurrency	0
			TotalCount	9
			MaxActive	9
			SpawnCount	9
			WaitBeforeStarting	500
			WaitBetweenSpawns	500
			Where	spawnbot
			Support	1
			Squad
			{
				TFBot
				{
					Class Scout
					ClassIcon scout
				}
				TFBot
				{
					Class Scout
					ClassIcon soldier
				}
				TFBot
				{
					Class Scout
					ClassIcon pyro
				}
				TFBot
				{
					Class Scout
					ClassIcon demo
				}
				TFBot
				{
					Class Scout
					ClassIcon heavy
				}
				TFBot
				{
					Class engineer
				}
				TFBot
				{
					Class Scout
					ClassIcon medic
				}
				TFBot
				{
					Class Scout
					ClassIcon sniper
				}
				TFBot
				{
					Class Scout
					ClassIcon spy
				}
				
			}
		}
		WaveSpawn
		{
			Name	W7_ATTACK
			TotalCurrency	200
			TotalCount	18
			MaxActive	18
			SpawnCount	9
			WaitBeforeStarting	0
			WaitBetweenSpawns	8
			Where	spawnbot_invasion
			Support	Limited
			RandomChoice
			{
				TFBot
				{
					Class Scout
					Skill Expert
				}
				TFBot
				{
					Class	Soldier
					Skill	Expert
				}
				TFBot
				{
					Class	Pyro
					Skill	Expert
				}
				TFBot
				{
					Class	HeavyWeapons
					Skill	Expert
				}
				TFBot
				{
					Class	Demoman
					Skill	Expert
				}
				TFBot
				{
					Class Sniper
					Name "Bowman"
					Skill Expert
					WeaponRestrictions PrimaryOnly
					Item "The Huntsman"
				}
				TFBot
				{
					Class Scout
					Skill Expert
				}
				TFBot
				{
					Class	Soldier
					Skill	Expert
				}
				TFBot
				{
					Class	Pyro
					Skill	Expert
				}
				TFBot
				{
					Class	HeavyWeapons
					Skill	Expert
				}
				TFBot
				{
					Class	Demoman
					Skill	Expert
				}
				TFBot
				{
					Class Sniper
					Name "Bowman"
					Skill Expert
					WeaponRestrictions PrimaryOnly
					Item "The Huntsman"
				}
			}
		}
		WaveSpawn
		{
			Name	W7_GATETANK
			TotalCurrency	150
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target boss_spawn_relay
				Action Trigger
			}
			Tank
			{
				Health	50000
				Name	"tankboss$model|models/bots/boss_bot/boss_tank_gatebot.mdl"
				Speed	75
				StartingPathTrackNode	tank_boss_path_1
				OnKilledOutput
				{
					Target	boss_tank_dead_addbomb1_stay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	W7_GATETANK
			TotalCurrency	150
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	40
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target boss_spawn_relay
				Action Trigger
			}
			Tank
			{
				Health	30000
				Name 	"tank"
				Speed	75
				StartingPathTrackNode	tank_path_1
				OnKilledOutput
				{
					Target	boss_dead_addbomb2_stay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	W7_SUPPORT1
			WaitForAllDead	W7_ATTACK
			TotalCurrency	200
			TotalCount	100
			MaxActive	16
			SpawnCount	4
			WaitBeforeStarting	6
			WaitBetweenSpawns	10
			Where	spawnbot_invasion
			Support	1
			RandomChoice
			{
				TFBot
				{
					Class Scout
					Skill Expert
					AddTemplate	GatebotScout
					Tag nav_prefer_main_5
					Tag nav_prefer_main_6
				}
				TFBot
				{
					Class	Soldier
					Skill	Expert
					AddTemplate	GatebotSoldier
					Attributes HoldFireUntilFullReload
					Tag nav_prefer_main_5
					Tag nav_prefer_main_6
				}
				TFBot
				{
					Class	Pyro
					Skill	Expert
					AddTemplate	GatebotPyro
					Tag nav_prefer_main_5
					Tag nav_prefer_main_6
				}
				TFBot
				{
					Class	HeavyWeapons
					Skill	Expert
					AddTemplate	GatebotHeavy
					Tag nav_prefer_main_5
					Tag nav_prefer_main_6
				}
				TFBot
				{
					Class	HeavyWeapons
					Skill	Expert
					AddTemplate	GatebotHeavy
					Tag nav_prefer_flank_4
					Tag nav_prefer_flank_5
				}
				TFBot
				{
					Class	Demoman
					Skill	Expert
					AddTemplate	GatebotDemoman
					Attributes HoldFireUntilFullReload
					Tag nav_prefer_flank_4
					Tag nav_prefer_flank_5
				}
				TFBot
				{
					Class Sniper
					Name "Bowman"
					Skill Expert
					WeaponRestrictions PrimaryOnly
					Item "The Huntsman"
					AddTemplate	 GatebotSniper
					Tag nav_prefer_flank_4
					Tag nav_prefer_flank_5
				}
				TFBot
				{
					Class Scout
					Skill Expert
					AddTemplate	GatebotScout
					Tag nav_prefer_main_5
					Tag nav_prefer_main_6
				}
				TFBot
				{
					Class	Soldier
					Skill	Expert
					AddTemplate	GatebotSoldier
					Attributes HoldFireUntilFullReload
					Tag nav_prefer_main_5
					Tag nav_prefer_main_6
				}
				TFBot
				{
					Class	Pyro
					Skill	Expert
					AddTemplate	GatebotPyro
					Tag nav_prefer_main_5
					Tag nav_prefer_main_6
				}
				TFBot
				{
					Class	HeavyWeapons
					Skill	Expert
					AddTemplate	GatebotHeavy
					Tag nav_prefer_main_5
					Tag nav_prefer_main_6
				}
				TFBot
				{
					Class	HeavyWeapons
					Skill	Expert
					AddTemplate	GatebotHeavy
					Tag nav_prefer_flank_4
					Tag nav_prefer_flank_5
				}
				TFBot
				{
					Class	Demoman
					Skill	Expert
					AddTemplate	GatebotDemoman
					Attributes HoldFireUntilFullReload
					Tag nav_prefer_flank_4
					Tag nav_prefer_flank_5
				}
				TFBot
				{
					Class Sniper
					Name "Bowman"
					Skill Expert
					WeaponRestrictions PrimaryOnly
					Item "The Huntsman"
					AddTemplate	 GatebotSniper
					Tag nav_prefer_flank_4
					Tag nav_prefer_flank_5
				}
			}
		}
		WaveSpawn
		{
			Name	W7_SUPPORT2
			WaitForAllDead	W7_ATTACK
			TotalCurrency	200
			TotalCount	40
			MaxActive	6
			SpawnCount	2
			WaitBeforeStarting	20
			WaitBetweenSpawns	10
			Where	spawnbot_invasion
			Support	1
			RandomChoice
			{
				Squad
				{
					TFBot
					{
						Class	Soldier
						Skill	Expert
						Attributes HoldFireUntilFullReload
						Tag nav_prefer_main_5
						Tag nav_prefer_main_6
					}
					TFBot
					{
						Template	T_TFBot_Medic_BigHeal
						Tag	"bot_squad_member"
					}
				}
				Squad
				{
					TFBot
					{
						Class	Pyro
						Skill	Expert
						Tag nav_prefer_main_5
						Tag nav_prefer_main_6
					}
					TFBot
					{
						Template	T_TFBot_Medic_BigHeal
						Tag	"bot_squad_member"
					}
				}
				Squad
				{
					TFBot
					{
						Class	Demoman
						Skill	Expert
						Attributes HoldFireUntilFullReload
						Tag nav_prefer_main_5
						Tag nav_prefer_main_6
					}
					TFBot
					{
						Template	T_TFBot_Medic_BigHeal
						Tag	"bot_squad_member"
					}
				}
				Squad
				{
					TFBot
					{
						Class	HeavyWeapons
						Skill	Expert
						Tag nav_prefer_main_5
						Tag nav_prefer_main_6
					}
					TFBot
					{
						Template	T_TFBot_Medic_BigHeal
						Tag	"bot_squad_member"
					}
				}
				Squad
				{
					TFBot
					{
						Class Sniper
						Name "Bowman"
						Skill Expert
						WeaponRestrictions PrimaryOnly
						Item "The Huntsman"
						Tag nav_prefer_main_5
						Tag nav_prefer_main_6
					}
					TFBot
					{
						Template	T_TFBot_Medic_BigHeal
						Tag	"bot_squad_member"
					}
				}
			}
		}
		WaveSpawn
		{
			Name	W7_SUPPORT3
			WaitForAllDead	W7_ATTACK
			TotalCurrency	0
			TotalCount	20
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	12
			WaitBetweenSpawns	12
			Where	spawnbot_invasion
			Support	1
			TFBot
			{
				Class Engineer
				Name Engineer
				Skill Expert
				Health 500
				CharacterAttributes
				{
					"cannot pick up intelligence" 1 
				}
				TeleportWhere spawnbot
				TeleportWhere spawnbot_side
				TeleportWhere spawnbot_invasion
			}
		}
		WaveSpawn
		{
			Name	W7_A
			WaitForAllDead	W7_ATTACK
			TotalCurrency	50
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			Where	spawnbot_invasion
			TFBot
			{
				Class Soldier
				Name "Giant Hyper Buff Soldier"
				ClassIcon soldier_buff_hyper
				Health 4200
				Skill Expert
				WeaponRestrictions PrimaryOnly
				Attributes MiniBoss
				Attributes HoldFireUntilFullReload
				Attributes SpawnWithFullCharge
				Item "Hyper Buff"
				Tag bot_giant
				CharacterAttributes
				{
					"damage force reduction" 0.4
					"airblast vulnerability multiplier" 0.4
					"override footstep sound set" 3
					"increase buff duration"	9.0
					"deploy time increased" 0.5
					"move speed bonus"	0.5
				}
			}
		}
		WaveSpawn
		{
			Name	W7_A
			WaitForAllDead	W7_ATTACK
			TotalCurrency	50
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	15
			WaitBetweenSpawns	0
			Where	spawnbot_invasion
			TFBot
			{
				Class Soldier
				Name "Giant Hyper Conch Soldier"
				ClassIcon soldier_conch_hyper
				Health 4200
				Skill Expert
				WeaponRestrictions PrimaryOnly
				Attributes MiniBoss
				Attributes HoldFireUntilFullReload
				Attributes SpawnWithFullCharge
				Item "Hyper Conch"
				Tag bot_giant
				CharacterAttributes
				{
					"damage force reduction" 0.4
					"airblast vulnerability multiplier" 0.4
					"override footstep sound set" 3
					"increase buff duration"	9.0
					"deploy time increased" 0.5
					"move speed bonus"	0.5
				}
			}
		}
		WaveSpawn
		{
			Name	W7_A
			WaitForAllDead	W7_ATTACK
			TotalCurrency	50
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	20
			WaitBetweenSpawns	0
			Where	spawnbot_invasion
			TFBot
			{
				Class Soldier
				Name "Giant Hyper Backup Soldier"
				ClassIcon soldier_backup_hyper
				Health 4200
				Skill Expert
				WeaponRestrictions PrimaryOnly
				Attributes MiniBoss
				Attributes HoldFireUntilFullReload
				Attributes SpawnWithFullCharge
				Item "Hyper Backup"
				Tag bot_giant
				CharacterAttributes
				{
					"damage force reduction" 0.4
					"airblast vulnerability multiplier" 0.4
					"override footstep sound set" 3
					"increase buff duration"	9.0
					"deploy time increased" 0.5
					"move speed bonus"	0.5
				}
			}
		}
		WaveSpawn
		{
			Name	W7_TANK
			WaitForAllDead	W7_A		
			TotalCurrency	150
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	50
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target boss_spawn_relay
				Action Trigger
			}
			Tank
			{
				Health	45000
				Name 	"tank"
				Speed	75
				StartingPathTrackNode	tank_path_1
				OnKilledOutput
				{
					Target	boss_dead_addbomb2_stay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	W7_B
			WaitForAllDead	W7_A		
			TotalCurrency	50
			TotalCount	4
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	4
			WaitBetweenSpawns	26
			Where	spawnbot_invasion
			TFBot
			{
				Class Soldier
				Name "Giant Hyper Buff Soldier"
				ClassIcon soldier_buff_hyper
				Health 4200
				Skill Expert
				WeaponRestrictions PrimaryOnly
				Attributes MiniBoss
				Attributes HoldFireUntilFullReload
				Attributes SpawnWithFullCharge
				Item "Hyper Buff"
				Tag bot_giant
				CharacterAttributes
				{
					"damage force reduction" 0.4
					"airblast vulnerability multiplier" 0.4
					"override footstep sound set" 3
					"increase buff duration"	9.0
					"deploy time increased" 0.5
					"move speed bonus"	0.5
				}
			}
		}
		WaveSpawn
		{
			Name	W7_B
			WaitForAllDead	W7_A		
			TotalCurrency	50
			TotalCount	4
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	12
			WaitBetweenSpawns	26
			Where	spawnbot_invasion
			TFBot
			{
				Class Soldier
				Name "Giant Hyper Conch Soldier"
				ClassIcon soldier_conch_hyper
				Health 4200
				Skill Expert
				WeaponRestrictions PrimaryOnly
				Attributes MiniBoss
				Attributes HoldFireUntilFullReload
				Attributes SpawnWithFullCharge
				Item "Hyper Conch"
				Tag bot_giant
				CharacterAttributes
				{
					"damage force reduction" 0.4
					"airblast vulnerability multiplier" 0.4
					"override footstep sound set" 3
					"increase buff duration"	9.0
					"deploy time increased" 0.5
					"move speed bonus"	0.5
				}
			}
		}
		WaveSpawn
		{
			Name	W7_B
			WaitForAllDead	W7_A		
			TotalCurrency	50
			TotalCount	4
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	20
			WaitBetweenSpawns	26
			Where	spawnbot_invasion
			TFBot
			{
				Class Soldier
				Name "Giant Hyper Backup Soldier"
				ClassIcon soldier_backup_hyper
				Health 4200
				Skill Expert
				WeaponRestrictions PrimaryOnly
				Attributes MiniBoss
				Attributes HoldFireUntilFullReload
				Attributes SpawnWithFullCharge
				Item "Hyper Backup"
				Tag bot_giant
				CharacterAttributes
				{
					"damage force reduction" 0.4
					"airblast vulnerability multiplier" 0.4
					"override footstep sound set" 3
					"increase buff duration"	9.0
					"deploy time increased" 0.5
					"move speed bonus"	0.5
				}
			}
		}
		WaveSpawn
		{
			Name	W7_C
			WaitForAllDead	W7_B		
			TotalCurrency	50
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns	20
			Where	spawnbot
			TFBot
			{
				Class Soldier
				Name "Giant Hyper Buff Soldier"
				ClassIcon soldier_buff_hyper
				Health 4200
				Skill Expert
				WeaponRestrictions PrimaryOnly
				Attributes MiniBoss
				Attributes HoldFireUntilFullReload
				Attributes SpawnWithFullCharge
				Item "Hyper Buff"
				Tag bot_giant
				CharacterAttributes
				{
					"damage force reduction" 0.4
					"airblast vulnerability multiplier" 0.4
					"override footstep sound set" 3
					"increase buff duration"	9.0
					"deploy time increased" 0.5
					"move speed bonus"	0.5
				}
			}
		}
		WaveSpawn
		{
			Name	W7_C
			WaitForAllDead	W7_B		
			TotalCurrency	50
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns	20
			Where	spawnbot
			TFBot
			{
				Class Soldier
				Name "Giant Hyper Conch Soldier"
				ClassIcon soldier_conch_hyper
				Health 4200
				Skill Expert
				WeaponRestrictions PrimaryOnly
				Attributes MiniBoss
				Attributes HoldFireUntilFullReload
				Attributes SpawnWithFullCharge
				Item "Hyper Conch"
				Tag bot_giant
				CharacterAttributes
				{
					"damage force reduction" 0.4
					"airblast vulnerability multiplier" 0.4
					"override footstep sound set" 3
					"increase buff duration"	9.0
					"deploy time increased" 0.5
					"move speed bonus"	0.5
				}
			}
		}
		WaveSpawn
		{
			Name	W7_C
			WaitForAllDead	W7_B		
			TotalCurrency	50
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns	20
			Where	spawnbot
			TFBot
			{
				Class Soldier
				Name "Giant Hyper Backup Soldier"
				ClassIcon soldier_backup_hyper
				Health 4200
				Skill Expert
				WeaponRestrictions PrimaryOnly
				Attributes MiniBoss
				Attributes HoldFireUntilFullReload
				Attributes SpawnWithFullCharge
				Item "Hyper Backup"
				Tag bot_giant
				CharacterAttributes
				{
					"damage force reduction" 0.4
					"airblast vulnerability multiplier" 0.4
					"override footstep sound set" 3
					"increase buff duration"	9.0
					"deploy time increased" 0.5
					"move speed bonus"	0.5
				}
			}
		}
		WaveSpawn
		{
			Name	W7_LAST_TANK
			WaitForAllSpawned	W7_B		
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	12
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target boss_spawn_relay
				Action Trigger
			}
			Tank
			{
				Health	40000
				Name 	"tank"
				Speed	75
				Skin	1
				StartingPathTrackNode	tank_path_1
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
	}
}