//Advanced Coconut Beach by A+drew
//Thematic by Bazooks

#base robot_giant.pop
#base robot_standard.pop
#base robot_andrew.pop

population
{
	StartingCurrency	800
	RespawnWaveTime	4
	CanBotsAttackWhileInSpawnRoom	no
	Mission
	{
		Objective	DestroySentries
		Where	spawnbot
		BeginAtWave	1
		RunForThisManyWaves	7
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	1
		TFBot
		{
			Template	T_TFBot_SentryBuster
		}
	}
	Mission
	{
		Objective	Spy
		Where	spawnbot_mission_spy
		BeginAtWave	3
		RunForThisManyWaves	3
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Spy
		}
	}
	Mission
	{
		Objective	Spy
		Where	spawnbot_mission_spy
		BeginAtWave	7
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	5
		TFBot
		{
			Template	T_TFBot_Spy
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	gimmick1
			Where	spawnbot
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
                                ClassIcon scout_bonk_nys_giant
					Name	"Super Bonk Scout"
					Template	T_TFBot_Giant_Scout_Bonk
					Item	"the holy mackerel"
					Item	"bonk boy"
                                        Tag noflank
                                        ItemAttributes
		                        {
			                        ItemName	"Bonk! Atomic Punch"
			                        "effect bar recharge rate increased"	0.75
		                        }
					CharacterAttributes
					{
						"move speed bonus"	2
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w1a
			Where	spawnbot
			TotalCurrency	100
			TotalCount	6
			MaxActive	3
			SpawnCount	3
			WaitBeforeStarting	5
			WaitBetweenSpawns	5
			WaitForAllDead	gimmick1
			Squad
			{
				TFBot
				{
                                ClassIcon pyro_dragon_fury_swordstone
                                        Name "Giant Dragon's Fury Pyro"
					Template	T_TFBot_Giant_Pyro
                                        Item "The Dragon's Fury"
					Tag noflank
					Tag nostairflank
					Tag norampflank
                                        ItemAttributes
					{
						ItemName	"The Dragon's Fury"
						"airblast disabled"	1
					}
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
					Tag bot_squad_member
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
					Tag bot_squad_member
				}
			}
		}
		WaveSpawn
		{
			Name	w1b
			Where	spawnbot
			TotalCurrency	200
			TotalCount	4
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	9
			WaitBetweenSpawns	9
			WaitForAllSpawned	w1a
			Squad
			{
				TFBot
				{
                                ClassIcon scout_backscatter2_lite
					Name	"Giant Back Scatter Scout"
					Template	T_TFBot_Giant_Scout
                                        Item "The Back Scatter"
					Tag noflank
					Tag nostairflank
					Tag norampflank
				}
			}
		}
		WaveSpawn
		{
			Name	w1c
			TotalCurrency	138
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	10
			WaitForAllSpawned	w1b
			FirstSpawnOutput                                                                                                                                                            
			{
		                Target boss_spawn_relay                                            
		                Action Trigger                      
			}
			Tank
			{
				Health	25000
				Name	Tank
				Speed	75
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	w1a
			Where	spawnbot_invasion
			TotalCurrency	60
			TotalCount	42
			MaxActive	6
			SpawnCount	3
			WaitBeforeStarting	0
			WaitBetweenSpawns	2
			WaitForAllDead	gimmick1
			Squad
			{
				TFBot
				{
                                ClassIcon sniper_carbine
					WeaponRestrictions	SecondaryOnly
					Health	125
					Skill	Expert
					Name	"Carbine Sniper"
					Class	Sniper
					Item	"the cleaner's carbine"
                                        Tag noflank
				}
			}
		}
		WaveSpawn
		{
			Name	w1b
			Where	spawnbot
			Where	spawnbot_left
			TotalCurrency	32
			TotalCount	32
			MaxActive	8
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	2
			WaitForAllDead	w1a
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Heavyweapons_Heavyweight_Champ_Fast
                                        Tag noflank
				}
			}
		}
		WaveSpawn
		{
			Name	w1b
			Where	spawnbot_invasion
			TotalCurrency	20
			TotalCount	20
			MaxActive	5
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	2
			WaitForAllDead	w1a
			Squad
			{
				TFBot
				{
					Health	200
					Skill	Normal
					Name	Soldier
					Class	Soldier
                                        Tag noflank
				}
			}
		}
		WaveSpawn
		{
			Name	w1c
			Where	spawnbot_invasion
			TotalCurrency	25
			TotalCount	12
			MaxActive	4
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	3
			WaitForAllDead	w1b
			Support	1
			Squad
			{
				TFBot
				{
                                ClassIcon scout_bonk_nys
                                        WeaponRestrictions PrimaryOnly
                                        Name "Bonk Scout"
					Template	T_TFBot_Scout_Bonk
				}
			}
		}
                WaveSpawn
		{
			Name	w1c
			Where	spawnbot_invasion
			TotalCurrency	25
			TotalCount	12
			MaxActive	4
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	3
			WaitForAllDead	w1b
			Support	1
			Squad
			{
				TFBot
				{
                                ClassIcon scout_cola_nys
                                        WeaponRestrictions PrimaryOnly
					Health	125
					Skill	Normal
					Name	"Cola Scout"
					Class	Scout
					Item	"crit-a-cola"
					Item	"Bonk Helm"
                                        ItemAttributes
		                        {
			                        ItemName	"crit-a-cola"
			                        "effect bar recharge rate increased"	.01
		                        }
                                        ItemAttributes
		                        {
			                        ItemName	"Bonk Helm"
			                        "set item tint rgb" 8208497
		                        }
				}
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	w2a
			Where	spawnbot
			TotalCurrency	150
			TotalCount	3
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	3
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_RapidFire
					Tag noflank
					Tag nostairflank
					Tag norampflank
				}
			}
		}
		WaveSpawn
		{
			Name	w2b
			Where	spawnbot
			TotalCurrency	150
			TotalCount	4
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	5
			WaitBetweenSpawns	5
			WaitForAllDead	w2a
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons_Shotgun
                                        Tag noflank
					Tag nostairflank
					Tag norampflank
				}
				TFBot
				{
					Template	T_TFBot_Giant_Soldier
                                        Tag noflank
					Tag nostairflank
					Tag norampflank
				}
				
			}
		}
		WaveSpawn
		{
			Name	w2c
			Where	spawnbot
			TotalCurrency	160
			TotalCount	6
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	8
			WaitBetweenSpawns	10
			WaitForAllSpawned	w2b
			Squad
			{
				TFBot
				{
                                ClassIcon sniper_jarate_bushwacka
					WeaponRestrictions	MeleeOnly
					Health	3300
					Skill	Expert
					Name	"Giant Jarate Bushwacka Sniper"
					Class	Sniper
					Attributes	MiniBoss
                                        Tag noflank
					Tag nostairflank
					Tag norampflank
					Item	"jarate"
					Item	"the bushwacka"
                                        ItemAttributes
			                {
				        	ItemName "jarate"
				        	"Is_Passive_Weapon" 1
						"effect bar recharge rate increased"	.05
						"fire rate penalty"	2
                                        }
                                        CharacterAttributes
                                        {
                                                "override footstep sound set"	3
                                        	"move speed bonus" 0.5
               					"damage force reduction" 0.35
                				"airblast vulnerability multiplier" 0.35
               				        "head scale" 0.7
           				}
			        }
			}
		}
		WaveSpawn
		{
			Name	w2a
			Where	spawnbot_invasion
			TotalCurrency	24
			TotalCount      35
			MaxActive	7
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	1
			Squad
			{
				TFBot
				{
					Class Demoman
					Name "Demoknight"
					ClassIcon demoknight
					Skill Expert
                       		 	Attributes	"AlwaysCrit"
					Item "The Chargin' Targe"
					Item "The Eyelander"
					Tag noflank
					WeaponRestrictions MeleeOnly
				}
			}
		}
		WaveSpawn
		{
			Name	w2a
			Where	spawnbot
			TotalCurrency	20
			TotalCount	30
			MaxActive	6
			SpawnCount	3
			WaitBeforeStarting	0
			WaitBetweenSpawns	2
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Scout_FAN
					Tag noflank
				}
			}
		}
		WaveSpawn
		{
			Name	w2a
			Where	spawnbot
			TotalCurrency	34
			TotalCount	8
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	4
			Squad
			{
				TFBot
				{
                                ClassIcon heavy_steelfist_nys
					Template	T_TFBot_Heavyweapons_Fist
					Tag nav_prefer_flank_right
				}
			}
		}
		WaveSpawn
		{
			Name	w2b
			Where	spawnbot
			Where	spawnbot_left
			TotalCurrency	32
			TotalCount	32
			MaxActive	6
			SpawnCount	3
			WaitBeforeStarting	0
			WaitBetweenSpawns	2
			WaitForAllDead	w2a
			RandomChoice
			{
				TFBot
				{
					WeaponRestrictions	PrimaryOnly
					Health	175
					Skill	Normal
					Name	Pyro
					Class	Pyro
					Tag nostairflank
					Tag norampflank
				}
				TFBot
				{
					WeaponRestrictions	PrimaryOnly
					Health	175
					Skill	Easy
					Name	Pyro
					Class	Pyro
					Tag nostairflank
					Tag norampflank
				}
			}
		}
		WaveSpawn
		{
			Name	w2c
			Where	spawnbot
			TotalCurrency	30
			TotalCount	30
			MaxActive	8
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	2
			WaitForAllDead	w2b
			Squad
			{
				TFBot
				{
					Health	300
					Skill	Normal
					Name	Heavy
					Class	HeavyWeapons
					Tag nostairflank
					Tag norampflank
				}
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	w3a
			Where	spawnbot
			TotalCurrency	200
			TotalCount	3
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons_Deflector
					Tag noflank
					Tag nostairflank
					Tag norampflank
				}
			}
		}
		WaveSpawn
		{
			Name	w3b
			Where	spawnbot
			TotalCurrency	150
			TotalCount	3
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	7
			WaitBetweenSpawns	3
			WaitForAllSpawned	w3a
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Spammer_Reload
					Tag noflank
					Tag nostairflank
					Tag norampflank
				}
			}
		}
		WaveSpawn
		{
			Name	w3c
			Where	spawnbot
			TotalCurrency	200
			TotalCount	3
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	7
			WaitBetweenSpawns	3
			WaitForAllSpawned	w3b
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Burst
					Tag noflank
					Tag nostairflank
					Tag norampflank
				}
			}
		}
		WaveSpawn
		{
			Name	w3a
			Where	spawnbot_invasion
			TotalCurrency	63
			TotalCount	42
			MaxActive	6
			SpawnCount	3
			WaitBeforeStarting	2
			WaitBetweenSpawns	3
			RandomChoice
			{
				TFBot
				{
				ClassIcon scout_batsaber_nys
					Class Scout
					Name "Deathsaber Scout"
					Skill Expert
					WeaponRestrictions MeleeOnly
                                        Item    "Batsaber"
                                        Item	"death racer's helmet"
                                        ItemAttributes
			                {
				        	ItemName "Batsaber"
                                                "damage bonus" 1.75
				        	"set item tint RGB"	8208497
			                }
                                        ItemAttributes
			                {
				        	ItemName "death racer's helmet"
				        	"set item tint RGB"	8208497
			                }
				}
				TFBot
				{
				ClassIcon scout_batsaber_nys
					Class Scout
					Name "Deathsaber Scout"
					Skill Expert
					WeaponRestrictions MeleeOnly
                                        Item    "Batsaber"
                                        Item	"death racer's helmet"
                                        ItemAttributes
			                {
				        	ItemName "Batsaber"
                                                "damage bonus" 1.75
				        	"set item tint RGB"	8208497
			                }
                                        ItemAttributes
			                {
				        	ItemName "death racer's helmet"
				        	"set item tint RGB"	8208497
			                }
				}
				TFBot
				{
				ClassIcon scout_batsaber_nys
					Class Scout
                                        Health 750
					Name "Deathsaber Scout"
					Skill Expert
                                        Scale 1.3
					WeaponRestrictions MeleeOnly
                                        Item    "Batsaber"
                                        Item	"death racer's helmet"
                                        ItemAttributes
			                {
				        	ItemName "Batsaber"
                                                "damage bonus" 1.75
				        	"set item tint RGB"	8208497
			                }
                                        ItemAttributes
			                {
				        	ItemName "death racer's helmet"
				        	"set item tint RGB"	8208497
			                }
				}
			}
		}
		WaveSpawn
		{
			Name	w3b
			Where	spawnbot
			TotalCurrency	50
			TotalCount	27
			MaxActive	9
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	1
			WaitForAllDead	w3a
			Squad
			{
				TFBot
				{
				ClassIcon sniper_bow_bleed
                                        Name "Bleeding Bowman"
					Template	T_TFBot_Sniper_Huntsman
                                        Tag noflank
					Item	"voodoo juju"
                                        ItemAttributes
                                        {
						Itemname	"voodoo juju"
                                                "attach particle effect"	43
                                        }
                                        CharacterAttributes
					{
						"bleeding duration"	5
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w3b
			Where	spawnbot_mid
			TotalCurrency	36
			TotalCount	21
			MaxActive	7
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	2
			WaitForAllDead	w3a
			Squad
			{
				TFBot
				{
                                ClassIcon pyro_homewrecker_lite
					WeaponRestrictions	MeleeOnly
					Health	750
                                        Scale   1.3
					Skill	Expert
					Name	"Homewrecker Pyro"
					Class	Pyro
                                        Tag nav_prefer_flank_high_left
					Item	"the homewrecker"
					Item	"handyman's handle"
				}
			}
		}
		WaveSpawn
		{
			Name	w3c
			Where	spawnbot_invasion
			TotalCurrency	51
			TotalCount	48
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	3
			WaitBetweenSpawns	3
			WaitForAllDead	w3b
			Squad
			{
				TFBot
				{
                                ClassIcon scout_winger_lite
					WeaponRestrictions	SecondaryOnly
					Health	125
					Skill	Expert
					Name	"Winger Scout"
					Class	Scout
					Item	"the winger"
					Item	"the virtual viewfinder"
				}
			}
		}
		WaveSpawn
		{
			Name	Support
			Where	spawnbot_invasion
			TotalCurrency	0
			TotalCount	999
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	10
			WaitBetweenSpawns	10
			Support	1
			RandomSpawn	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Scout_Sandman_FastCharge
					Tag nostairflank
					Tag norampflank
				}
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	w4a
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
                        FirstSpawnOutput                                                                                                                                                            
	                {
		                Target boss_spawn_relay                                            
		                Action Trigger                         
	                }
			Tank
			{
				Health	30000
				Name	Tank
				Speed	75
				StartingPathTrackNode	boss_path_short_1
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	w4a
			Where	spawnbot_left
			TotalCurrency	100
			TotalCount	4
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns	5
			Squad
			{
				TFBot
				{
					Health	6000
					Name	"Heavy Armored Sandman Scout"
					Template	T_TFBot_Giant_Scout_Baseball_Armored
					Tag noflank
					Tag nostairflank
					Tag norampflank
					Item	"courtly cuirass"
					Item	"squire's sabatons"
					CharacterAttributes
					{
						"move speed penalty"	0.45
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w4b
			Where	spawnbot
			TotalCurrency	100
			TotalCount	6
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	3
			WaitBetweenSpawns	2
			WaitForAllDead	w4a
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Extended_Buff_Banner
					Tag noflank
					Tag nostairflank
					Tag norampflank
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
					Tag bot_squad_member
				}
			}
		}
		WaveSpawn
		{
			Name	w4c
			Where	spawnbot
			TotalCurrency	100
			TotalCount	8
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	3
			WaitForAllDead	w4b
			Squad
			{
				TFBot
				{
				ClassIcon heavy_deflector_healonkill
                                        Name "Giant Hok Deflector Heavy"
					Template	T_TFBot_Giant_Heavyweapons_Deflector
					Attributes AlwaysCrit
					Attributes UseBossHealthBar
					Tag noflank
					Tag nostairflank
					Tag norampflank
					CharacterAttributes
					{
						"heal on kill" 2500
					}
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
					Tag bot_squad_member
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
					Tag bot_squad_member
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
					Tag bot_squad_member
				}
			}
		}
		WaveSpawn
		{
			Name	w4c
			TotalCurrency	184
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			WaitForAllSpawned	w4b
                        FirstSpawnOutput                                                                                                                                                            
	                {
		                Target boss_spawn_relay                                            
		                Action Trigger                         
	                }
			Tank
			{
				Health	35000
				Name	Tank
				Speed	75
				StartingPathTrackNode	boss_path_1
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	w4a
			Where	spawnbot_invasion
			TotalCurrency	40
			TotalCount	40
			MaxActive	8
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	2
			RandomChoice
			{
				TFBot
				{
					ClassIcon demo_sticky_daan
		        		WeaponRestrictions	SecondaryOnly
					Health	175
					Skill	Normal
					Name	"Sticky Bomber Demo"
					Class	Demoman
                       		 	Attributes	"AlwaysCrit"
					Item	"tf_weapon_grenadelauncher"
					Item	"tf_weapon_pipebomblauncher"
					Item	"tf_weapon_bottle"
					Item	"demoman hallmark"
                        		ItemAttributes
					{
			        		ItemName "TF_WEAPON_GRENADELAUNCHER"
			        		"is_passive_weapon" 1
			        		"override projectile type" 15
					}
					ItemAttributes
					{
			        		ItemName "TF_WEAPON_PIPEBOMBLAUNCHER"
                                		"damage bonus" 1.2
		        		}
				}
				TFBot
				{
					ClassIcon demo_sticky_daan
		        		WeaponRestrictions	SecondaryOnly
					Health	175
					Skill	Expert
					Name	"Sticky Bomber Demo"
					Class	Demoman
                       		 	Attributes	"AlwaysCrit"
					Item	"tf_weapon_grenadelauncher"
					Item	"tf_weapon_pipebomblauncher"
					Item	"tf_weapon_bottle"
					Item	"demoman hallmark"
                        		ItemAttributes
					{
			        		ItemName "TF_WEAPON_GRENADELAUNCHER"
			        		"is_passive_weapon" 1
			        		"override projectile type" 15
					}
					ItemAttributes
					{
			        		ItemName "TF_WEAPON_PIPEBOMBLAUNCHER"
                                		"damage bonus" 1.2
		        		}
				}
			}
		}
                WaveSpawn
		{
			Name	w4b
			Where	spawnbot
			TotalCurrency	28
			TotalCount	30
			MaxActive	8
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	2
			WaitForAllDead	w4a
			Squad
			{
				TFBot
				{
					WeaponRestrictions	PrimaryOnly
					Health	175
					Skill	Expert
					Name	Pyro
					Class	Pyro
					Attributes	"AlwaysFireWeapon"
					Tag noflank
					Tag nostairflank
					Tag norampflank
				}
				TFBot
				{
					Template	T_TFBot_Sniper_Huntsman
                                        Skill Expert
					Tag noflank
					Tag nostairflank
					Tag norampflank
				}
			}
		}
		WaveSpawn
		{
			Name	w4b
			Where	spawnbot_left
			TotalCurrency	48
			TotalCount	28
			MaxActive	7
			SpawnCount	1
			WaitBeforeStarting	3
			WaitBetweenSpawns	1
			WaitForAllDead	w4a
			Squad
			{
				TFBot
				{
					Health	300
					Skill	Normal
					Name	Heavy
					Class	HeavyWeapons
					Tag nostairflank
					Tag norampflank
				}
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	w5a
			Where	spawnbot
			TotalCurrency	100
			TotalCount	9
			MaxActive	3
			SpawnCount	3
			WaitBeforeStarting	4
			WaitBetweenSpawns	3
			Squad
			{
				TFBot
				{
                                ClassIcon pyro_dragon_fury_swordstone_giant
					WeaponRestrictions	PrimaryOnly
					Health  3000
					Skill	Expert
					Name	"Giant Dragon's Fury Pyro"
					Class	Pyro
			                Attributes      "MiniBoss"
					Tag noflank
					Tag nostairflank
					Tag norampflank
					Item	"The Dragon's Fury"
                                        ItemAttributes
					{
						ItemName	"The Dragon's Fury"
						"airblast disabled"	1
					}
					CharacterAttributes
					{
						"move speed bonus"	0.5
						"damage force reduction" 0.6
						"airblast vulnerability multiplier" 0.6
						"override footstep sound set" 6
					}
				}
				TFBot
				{
					Template	T_TFBot_Medic_Bullet_Vac_Andrew
					Tag bot_squad_member
				}
				TFBot
				{
					Template	T_TFBot_Medic_Kritz_Andrew
					Tag bot_squad_member
				}
			}
		}
		WaveSpawn
		{
			Name	w5b
			Where	spawnbot
			TotalCurrency	150
			TotalCount	4
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	7
			WaitBetweenSpawns	5
			WaitForAllDead	w5a
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Spammer
					Tag noflank
					Tag nostairflank
					Tag norampflank
				}
				TFBot
				{
					Name "Giant Frontier Justice Engineer"
					ClassIcon engineer_frontier_justice_nys
                   			Health  3300
                    			Class Engineer
                    			Skill Expert
                    			BehaviorModifiers Push		
                    			WeaponRestrictions PrimaryOnly
                    			Attributes HoldFireUntilFullReload
					Attributes Aggressive
                    			Attributes MiniBoss
					Tag noflank
					Tag nostairflank
					Tag norampflank
                    			Item  "the frontier justice"
                    			ItemAttributes
                    			{
                    			        ItemName  "the frontier justice"
                  			        "fire rate bonus with reduced health" 0.3
                        			"critboost on kill" 5
                    			}
                    			CharacterAttributes
                    			{
                                                "head scale" 0.679
                        			"move speed bonus" 0.5
                        			"damage force reduction" 0.6
                        			"airblast vulnerability multiplier" 0.6
						"override footstep sound set" 7
                    			}
                                }
			}
		}
		WaveSpawn
		{
			Name	w5c
			Where	spawnbot_left
			TotalCurrency	134
			TotalCount	4
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	7
			WaitBetweenSpawns	7
			WaitForAllDead	w5b
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons
					Tag noflank
					Tag nostairflank
					Tag norampflank
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Regen
                    			Tag bot_squad_member
				}
			}
		}
		WaveSpawn
		{
			Name	w5a
			Where	spawnbot
			TotalCurrency	48
			TotalCount	24
			MaxActive	4
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	1
			Squad
			{
				TFBot
				{
                                ClassIcon soldier_directhit_lite
                                        Name "Direct Hit Soldier"
					Class Soldier
                                        Skill Hard
                                        Item "The Direct Hit"
					Tag nostairflank
					Tag norampflank        
				}
			}
		}
		WaveSpawn
		{
			Name	w5a
			Where	spawnbot_invasion
			TotalCurrency	60
			TotalCount	27
			MaxActive	6
			SpawnCount	2
			WaitBeforeStarting	4
			WaitBetweenSpawns	2
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Heavyweapons_Shotgun
					Attributes	"AlwaysCrit"
					Tag noflank
				}
			}
		}
		WaveSpawn
		{
			Name	w5b
			Where	spawnbot
			TotalCurrency	32
			TotalCount	32
			MaxActive	6
			SpawnCount	3
			WaitBeforeStarting	0
			WaitBetweenSpawns	2
			WaitForAllDead	w5a
			Squad
			{
				TFBot
				{
                                ClassIcon pyro_dragon_fury_swordstone
					WeaponRestrictions	PrimaryOnly
					Health	175
					Skill	Hard
					Name	"Dragon's Fury Pyro"
					Class	Pyro
					Attributes	"AlwaysCrit"
					Tag nostairflank
					Tag norampflank
					Item	"The Dragon's Fury"
                                        ItemAttributes
					{
						ItemName	"The Dragon's Fury"
						"airblast disabled"	1
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w5c
			Where	spawnbot
			TotalCurrency	40
			TotalCount	22
			MaxActive	6
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	1
			WaitForAllDead	w5b
			Squad
			{
				TFBot
				{
                                ClassIcon sniper_jarate_bushwacka
					WeaponRestrictions	MeleeOnly
					Health	125
					Skill	Expert
					Name	"Jarate Bushwacka Sniper"
					Class	Sniper
			                BehaviorModifiers Push
                    			Tag noflank
					Item	"jarate"
					Item	"the bushwacka"
                                        ItemAttributes
			                {
				        	ItemName "jarate"
				        	"Is_Passive_Weapon" 1
						"effect bar recharge rate increased"	.05
						"fire rate penalty"	2
                                        }
			        }
			}
		}
		WaveSpawn
		{
			Name	w5c
			Where	spawnbot_invasion
			TotalCurrency	36
			TotalCount	18
			MaxActive	6
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	2
			WaitForAllDead	w5b
			Squad
			{
				TFBot
				{
					Name	"Demoman"
					Template	T_TFBot_Demoman
                                        Skill Normal
                                        Attributes	"AlwaysCrit"
					Tag nostairflank
					Tag norampflank
				}
			}
		}
		WaveSpawn
		{
			Name	Support
			Where	spawnbot_invasion
			TotalCurrency	0
			TotalCount	999
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	20
			WaitBetweenSpawns	10
			Support	1
			RandomSpawn	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Sniper_Huntsman
                    			Tag noflank
				}
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	w6a
			Where	spawnbot
			TotalCurrency	125
			TotalCount	4
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	5
			WaitBetweenSpawns	7
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Spammer
					Tag noflank
					Tag nostairflank
					Tag norampflank
				}
				TFBot
				{
					ClassIcon	medic_kritz
					Health	4500
					Name	"Giant Kritz Medic"
					Class	Medic
					Skill	Expert
					WeaponRestrictions	SecondaryOnly
					Attributes	"SpawnWithFullCharge"
                    			Attributes      "MiniBoss"
                                        Tag  bot_squad_member
					ItemAttributes
					{
						ItemName "The Kritzkrieg"
						"ubercharge rate bonus"	100
						"uber duration bonus"	200 
						"heal rate bonus"		200
					}
					CharacterAttributes
					{
						"move speed bonus"					0.5
						"bot medic uber health threshold"	5000
						"damage force reduction"			0.5
						"airblast vulnerability multiplier"	0.5
					}
					Item	"the kritzkrieg"
				}
			}
		}
		WaveSpawn
		{
			Name	w6b
			Where	spawnbot
			TotalCurrency	168
			TotalCount	6
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	2
			WaitBetweenSpawns	0
			WaitForAllDead	w6a
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Burst
					Tag noflank
					Tag nostairflank
					Tag norampflank
				}
				TFBot
				{
					Template	T_TFBot_Medic
                                        Tag  bot_squad_member
				}
			}
		}
		WaveSpawn
		{
			Name	w6d
			TotalCurrency	150
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			WaitForAllSpawned	w6b
			FirstSpawnOutput                                                                                                                                                            
			{
				 Target tank_uber_start_relay                                            
				 Action trigger                         
			}
			Tank
			{
				Health	20000
				Name	tankboss_uber
				Speed	75
                                Skin 1
                                StartingPathTrackNode    "boss_path_1"
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
                WaveSpawn
                {
                	Name    w6uber
            		WaitForAllSpawned  w6d
            		Support 1
            		TotalCount    1
            		MaxActive    1
            		SpawnCount    1
            		WaitBeforeStarting    50
           		WaitBetweenSpawns    20000
            		Where    spawnbot_hidden
            		FirstSpawnOutput
            		{
               			Target tank_uber_stop_relay
                		Action trigger
            		}
        	}
		WaveSpawn
		{
			Name	w6c2
			Where	spawnbot
			TotalCurrency	100
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			WaitBeforeStarting	7
			WaitBetweenSpawns	0
			WaitForAllSpawned	w6b
			Squad
			{
				TFBot
				{
                                ClassIcon soldier_banner_trio
					Template	T_TFBot_Giant_Soldier_Extended_Buff_Banner
					Tag noflank
					Tag nostairflank
					Tag norampflank
				}
				TFBot
				{
                                ClassIcon soldier_banner_trio
					Template	T_TFBot_Giant_Soldier_Extended_Concheror
					Tag noflank
					Tag nostairflank
					Tag norampflank
				}
				TFBot
				{
                                ClassIcon soldier_banner_trio
					Template	T_TFBot_Giant_Soldier_Extended_Battalion
					Tag noflank
					Tag nostairflank
					Tag norampflank
				}
                        }
                }
		WaveSpawn
		{
			Name	w6c3
			Where	spawnbot
			TotalCurrency	50
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			WaitForAllDead	w6c2
			Squad
			{
				TFBot
				{
                                ClassIcon soldier_banner_trio
					Template	T_TFBot_Giant_Soldier_Extended_Buff_Banner
					Tag noflank
					Tag nostairflank
					Tag norampflank
				}
				TFBot
				{
                                ClassIcon soldier_banner_trio
					Template	T_TFBot_Giant_Soldier_Extended_Concheror
					Tag noflank
					Tag nostairflank
					Tag norampflank
				}
				TFBot
				{
                                ClassIcon soldier_banner_trio
					Template	T_TFBot_Giant_Soldier_Extended_Battalion
					Tag noflank
					Tag nostairflank
					Tag norampflank
				}
                        }
                }
                WaveSpawn
		{
			Name	w6c
			Where	spawnbot_invasion
			TotalCurrency	0
			TotalCount	999
			MaxActive	9
			SpawnCount	3
			WaitBeforeStarting	10
			WaitBetweenSpawns	3
			WaitForAllDead	w6b
                        Support 1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Heavyweapons_Shotgun
                                        Tag  noflank
				}
                        }
                }
		WaveSpawn
		{
			Name	w6a
			Where	spawnbot_invasion
			TotalCurrency	36
			TotalCount	45
			MaxActive	9
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	1
			RandomChoice
			{
				TFBot
				{
                                ClassIcon heavy_deflector_healonkill
					Health	300
					Skill	Expert
					Name	"Regen Deflector Heavy"
					Class	HeavyWeapons
			                Item	"deflector"
			                Item	"the u-clank-a"
                                        ItemAttributes
			                {
				                ItemName "Deflector"
				                "attack projectiles" 1	
			                }
                                        ItemAttributes
			                {
				                ItemName "the u-clank-a"
				                "set item tint RGB" 16711935
			                }
					CharacterAttributes
					{
						"health regen"	25
					}
				}
                                TFBot
				{
                                ClassIcon heavy_deflector_healonkill
					Health	300
					Skill	Normal
					Name	"Regen Deflector Heavy"
					Class	HeavyWeapons
			                Item	"deflector"
			                Item	"the u-clank-a"
                                        ItemAttributes
			                {
				                ItemName "Deflector"
				                "attack projectiles" 1	
			                }
                                        ItemAttributes
			                {
				                ItemName "the u-clank-a"
				                "set item tint RGB" 16711935
			                }
					CharacterAttributes
					{
						"health regen"	25
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w6b
			Where	spawnbot_invasion
			TotalCurrency	30
			TotalCount	20
			MaxActive	4
			SpawnCount	1
			WaitBeforeStarting	3
			WaitBetweenSpawns	1
			WaitForAllDead	w6a
			Squad
			{
				TFBot
				{
					WeaponRestrictions	PrimaryOnly
					Health	200
					Skill	Hard	
					Name	"Soldier"
					Class	Soldier
					Attributes	"AlwaysCrit"
					Tag nostairflank
					Tag norampflank
				}
			}
		}
		WaveSpawn
		{
			Name	w6b
			Where	spawnbot_invasion
			TotalCurrency	30
			TotalCount	20
			MaxActive	5
			SpawnCount	1
			WaitBeforeStarting	6
			WaitBetweenSpawns	1
			WaitForAllDead	w6a
			Squad
			{
				TFBot
				{
					Skill	Hard
					Name	"Demoman"
					Template	T_TFBot_Demoman
					Attributes	"AlwaysCrit"
					Tag noflank
					Tag nostairflank
					Tag norampflank
				}
			}
		}
		WaveSpawn
		{
			Name	w6b
			Where	spawnbot
			TotalCurrency	36
			TotalCount	12
			MaxActive	3
			SpawnCount	3
			WaitBeforeStarting	5
			WaitBetweenSpawns	4
			WaitForAllDead	w6a
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Scout_Shortstop
                                        Tag  noflank
				}
			}
		}
	}
}