//Crass Crescendo
//An Advanced mission for the map Scrapyard by botrot. https://steamcommunity.com/id/BotRot

//Wave 1: $700; Wave 2: $750; Wave 3: $800; Wave 4: $750; Wave 5: $700; Wave 6: $700; Wave 7: $800; Wave 8: $1000
//Total Mission Money (including starting money): $5300; $5900 with bonus from A+ rating

#base robot_giant.pop
#base robot_standard.pop

WaveSchedule
{
	//Initial Money  $500
	StartingCurrency	500
	RespawnWaveTime	3
	CanBotsAttackWhileInSpawnRoom	no
	Advanced 1
	
	//Custom Bot Templates
	Templates
	{
		//Offense Classes
		T_TFBot_Pyro_Fury
		{
			Name "Dragon's Fury Pyro"
			Class Pyro
			Skill Normal
			MaxVisionRange	1000
			ClassIcon pyro_dragon_fury_swordstone
			Item "the dragon's fury"
			WeaponRestrictions PrimaryOnly
		}
		T_TFBot_Giant_Pyro_DragonHeal
		{
			ClassIcon 	pyro_dragon_fury_heal_on_hit
			Name "Giant Heal-on-Hit Fury Pyro"
			Health  3300
			Class Pyro
			Skill Expert
			MaxVisionRange	1000
			Item "the dragon's fury"
			WeaponRestrictions PrimaryOnly
			Attributes  MiniBoss
			CharacterAttributes
			{
				"move speed bonus"	0.5
				"damage force reduction" 0.6
				"airblast vulnerability multiplier" 0.6
				"override footstep sound set" 6
			}
			ItemAttributes
			{
				ItemName "The Dragon's Fury"
				"heal on hit for rapidfire" 300
			}
		}
		
		//Defense Classes
		T_TFBot_Giant_Demoman_Sticky
		{
			Name  "Giant Rapid Sticky Demoman"
			Class Demoman
			Skill Expert
			Health 3300
			Classicon demo_sticky_spammer_daan
			WeaponRestrictions SecondaryOnly
			Attributes MiniBoss
			ItemAttributes
			{
				ItemName tf_weapon_grenadelauncher
				"is_passive_weapon" 1
				"override projectile type" 27
				"faster reload rate" -0.8
			}
			ItemAttributes
			{
				ItemName "TF_WEAPON_PIPEBOMBLAUNCHER"
				"stickybomb charge rate" 0.001
				"max pipebombs decreased" -7
				"Projectile range increased" 0.5
				"fire rate bonus" 0.75
				"faster reload rate" -0.8
			}
			CharacterAttributes
			{
				"move speed bonus" 0.5
				"damage force reduction" 0.5
				"airblast vulnerability multiplier" 0.5
				"override footstep sound set" 4
			}
		}
		T_TFBot_Demoknight_Skullcutter
		{
			ClassIcon	demoknight_skullcutter_lite
			Name	"Skullcutter Demoknight"
			Health  650
			Class	Demoman
			Skill	Expert
			WeaponRestrictions	MeleeOnly
			Scale 1.3
			Item "The Bootlegger"
			Item "The Tide Turner"
			Item	"the scotsman's skullcutter"
			Item	"the dark age defender"
			Item    "the glasgow great helm"
			ItemAttributes
			{
				ItemName "The Tide Turner"
				"Attack not cancel charge" 1
				"lose demo charge on damage when charging" 0
			}
		}
		T_TFBot_Giant_Heavyweapons_RapidFire
		{
			Class Heavyweapons
			Name   "Giant Rapid Fire Heavy"
			ClassIcon heavy_spammer
			Skill Expert
			Health 5000
			WeaponRestrictions PrimaryOnly
			MaxVisionRange 1200
			Attributes MiniBoss
			Item  "Upgradeable tf_weapon_minigun"
			ItemAttributes
			{
				ItemName "Upgradeable TF_WEAPON_MINIGUN"
				"fire rate bonus" 0.6
			}
			CharacterAttributes
			{
				"move speed bonus"	0.5
				"damage force reduction" 0.3
				"airblast vulnerability multiplier" 0.3
				"override footstep sound set" 2
			}
		}
		
		//Support Classes
		T_TFBot_Medic_Kritz
		{
			Class Medic
			Name "Kritz Medic"
			Skill Expert
			ClassIcon medic_kritz
			WeaponRestrictions SecondaryOnly
			Attributes SpawnWithFullCharge
			Attributes IgnoreEnemies
			Item  "the kritzkrieg"
			Item "Titanium Tyrolean"
			ItemAttributes
			{
				ItemName "The Kritzkrieg"
				"ubercharge rate bonus" 999
				"uber duration bonus" 999
			}
			CharacterAttributes
			{
				"heal rate bonus" 2
				"bot medic uber health threshold" 999			
			}
		}
		T_TFBot_Giant_Medic_Kritz
		{
			Class Medic
			Name "Giant Kritzkrieg Medic"
			ClassIcon medic_kritz
			Skill Expert
			Health 4500
			Attributes SpawnWithFullCharge
			Attributes MiniBoss
			Item "The Crusader's Crossbow"
			Item "The Kritzkrieg"
			Item "Platinum Pickelhaube"
			ItemAttributes
			{
				ItemName "The Crusader's Crossbow"
				"clip size upgrade atomic" 2
				"auto fires when full" 1
				"auto fires full clip" 1
				"fire rate bonus" 0.25
				"faster reload rate" 0.25
			}
			ItemAttributes
			{
				ItemName "The Kritzkrieg"
				"ubercharge rate bonus" 999
				"uber duration bonus" 999
			}
			CharacterAttributes
			{
				"bot medic uber health threshold" 9999
				"move speed bonus"	0.5
				"damage force reduction" 0.6
				"airblast vulnerability multiplier" 0.6
				"heal rate bonus" 200			
			}
		}
		T_TFBot_Sniper_Silent
		{
			Name	"Urban Professional Sniper"
			Class	Sniper
			Skill	Hard
			MaxVisionRange 2500
			Item	"the hitman's heatmaker"
			Item    "Liquidator's Lid"
			Item "the shahanshah"
			ItemAttributes
			{
				ItemName	"the shahanshah"
				"dmg bonus while half dead" 2
				"dmg penalty while half alive" 0.5
			}
			ItemAttributes
			{
				ItemName	"the hitman's heatmaker"
				"sniper fires tracer HIDDEN" 1
				"lunchbox adds minicrits" 3
				"damage penalty on bodyshot" 1
				"sniper charge per sec" 1.25
				"silent killer" 1
			}
		}
	}
	
	
	//Support Robot Missions
	Mission
	{
		Objective	DestroySentries
		Where spawnbot_mission_sentrybuster
		BeginAtWave	1
		RunForThisManyWaves	8
		InitialCooldown	30
		CooldownTime	35
		DesiredCount	1
		TFBot
		{
			Template	T_TFBot_SentryBuster
			Attributes	DisableDodge
			CharacterAttributes
			{
				"damage force reduction" 0.1
				"airblast vulnerability multiplier" 0.1
                "airblast vertical vulnerability multiplier" 0.1
			}
		}
	}
	Mission
	{
		Objective	Spy
		Where spawnbot_mission_spy
		BeginAtWave 1
		RunForThisManyWaves	1
		InitialCooldown 30
		CooldownTime	25
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Spy
			Skill Easy  //will use Knife to stab players at front
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	2
		RunForThisManyWaves	1
		InitialCooldown	40
		CooldownTime	60
		DesiredCount	2
		TFBot
		{
			Template T_TFBot_Sniper_Silent
		}
	}
	Mission
	{
		Objective	Spy
		Where spawnbot_mission_spy
		BeginAtWave	4
		RunForThisManyWaves	1
		InitialCooldown 25
		CooldownTime	45
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Spy
			Skill Easy  //will use Knife to stab players at front
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	4
		RunForThisManyWaves	1
		InitialCooldown	70
		CooldownTime	40
		DesiredCount	2
		TFBot
		{
			Template T_TFBot_Sniper_Silent
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	7
		RunForThisManyWaves	1
		InitialCooldown	70
		CooldownTime	50
		DesiredCount	2
		TFBot
		{
			Template T_TFBot_Sniper_Silent
		}
	}
	Mission
	{
		Objective	Spy
		Where spawnbot_mission_spy
		BeginAtWave	8
		RunForThisManyWaves	1
		InitialCooldown 40
		CooldownTime	50
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Spy
			Skill Easy  //will use Knife to stab players at front
		}
	}

	//Wave 1
	//Total Money: $700, $800 with bonus from A+ rating
	Wave
	{
		StartWaveOutput
		{
			Target	wave_start_classic_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	wave1a
			TotalCurrency	50
			TotalCount	7
			MaxActive	7
			SpawnCount	1
			WaitBeforeStarting	0
			Where	spawnbot
			TFBot
			{
				ClassIcon demo_loch_nys
				Name	"Loch-n-Load Demoman"
				Class	Demoman
				Skill	Normal
				Item    "the loch-n-load"
			}
		}
		WaveSpawn
		{
			Name	wave1a
			TotalCurrency	100
			TotalCount	28
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	5
			WaitBetweenSpawns	2
			Where	spawnbot
			TFBot
			{
				Class Pyro
				Name  "Backburner Pyro"
				Skill Easy
				Item  "the backburner"
				ClassIcon pyro_backburner_nys
			}
		}
		WaveSpawn
		{
			Name	wave1a2
			TotalCurrency	100
			TotalCount	4
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns	10
			Where   spawnbot_left
			TFBot
			{
				Template T_TFBot_Scout_Shortstop
				Skill Hard
			}
		}
		WaveSpawn
		{
			Name	wave1a
			TotalCurrency	50
			TotalCount	21
			MaxActive	7
			SpawnCount	7
			WaitBeforeStarting	12
			WaitBetweenSpawns	0
			Where	spawnbot
			Where   spawnbot_left
			TFBot
			{
				ClassIcon demo_loch_nys
				Name	"Loch-n-Load Demoman"
				Class	Demoman
				Skill	Normal
				Item    "the loch-n-load"
			}
		}
		WaveSpawn
		{
			Name	wave1b
			WaitForAllSpawned  wave1a
			TotalCurrency	50
			TotalCount	24
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	10
			WaitBetweenSpawns	3
			Where	spawnbot
			Where   spawnbot_right
			TFBot
			{
				Template T_TFBot_Sniper_Huntsman
			}
		}
		WaveSpawn
        {
            Name	wave1b
			WaitForAllSpawned  wave1a
			TotalCurrency	50
			TotalCount	12
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns   11
			Where   spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon demo_loch_nys
					Name	"Loch-n-Load Demoman"
					Class	Demoman
					Skill	Normal
					Item    "the loch-n-load"
				}
				TFBot
				{
					Template T_TFBot_Medic
					Skill Expert
				}
			}
		}
		WaveSpawn
		{
			Name	wave1b
			WaitForAllSpawned  wave1a
			TotalCurrency	100
			TotalCount	6
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	10
			WaitBetweenSpawns	12
			Where   spawnbot
			TFBot
			{
				Template T_TFBot_Demoknight_Skullcutter
			}
		}
		WaveSpawn
		{
			Name	wave1b2
			WaitForAllSpawned  wave1b
			TotalCurrency	200
			TotalCount	14
			MaxActive	14
			SpawnCount	7
			WaitBeforeStarting	8
			WaitBetweenSpawns	0.5
			Where	spawnbot
			TFBot
			{
				ClassIcon soldier_backup
				Name	"Battalion's Backup Soldier"
				Class	Soldier
				Skill	Hard
				Attributes SpawnWithFullCharge
				Attributes HoldFireUntilFullReload
				Item    "the black box"
				Item "The Battalion's Backup"
				CharacterAttributes
				{
					"deploy time increased" 0.5
					"increase buff duration" 2
				}
			}
		}
	}
	//Wave 2
	//Total Money: $750, $850 with bonus from A+ rating
	Wave
	{
		StartWaveOutput
		{
			Target	wave_start_classic_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
        {
            Name	wave2a
			TotalCurrency	100
			TotalCount	8
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns   25
			Where   spawnbot
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Demoman_Sticky
				}
				TFBot
				{
					Name "Heater Heavy"
					Class Heavy
					Skill Easy
					ClassIcon heavy_heater
					Item "The Huo Long Heatmaker"
					MaxVisionRange 1200
				}
				TFBot
				{
					Name "Heater Heavy"
					Class Heavy
					Skill Easy
					ClassIcon heavy_heater
					Item "The Huo Long Heatmaker"
					MaxVisionRange 1200
				}
				TFBot
				{
					Name "Heater Heavy"
					Class Heavy
					Skill Easy
					ClassIcon heavy_heater
					Item "The Huo Long Heatmaker"
					MaxVisionRange 1200
				}
			}
		}
		WaveSpawn
        {
            Name	wave2a
			TotalCurrency	50
			TotalCount	24
			MaxActive	6
			SpawnCount	6
			WaitBeforeStarting	5
			WaitBetweenSpawns   5
			Where   spawnbot_right
			TFBot
			{
				Class	Scout
				Skill	Easy
				Item    "the back scatter"
				Name "Back Scatter Scout"
				MaxVisionRange 750
			}
		}
		WaveSpawn
        {
            Name	wave2a2
			WaitForAllSpawned wave2a
			TotalCurrency	50
			TotalCount	10
			MaxActive	10
			SpawnCount	1
			WaitBeforeStarting	12
			WaitBetweenSpawns   0.5
			Where   spawnbot_left
			TFBot
			{
				Class	Scout
				Skill	Easy
				Item    "the back scatter"
				Name "Back Scatter Scout"
				MaxVisionRange 750

			}
		}
		WaveSpawn
        {
            Name	wave2b
			WaitForAllSpawned  wave2a2
			TotalCurrency	100
			TotalCount	20
			MaxActive	6
			SpawnCount	2
			WaitBeforeStarting	8
			WaitBetweenSpawns   1
			Where   spawnbot
			Where   spawnbot_left
			TFBot
			{
				Name "Heater Heavy"
				Class Heavy
				Skill Easy
				ClassIcon heavy_heater
				Item "The Huo Long Heatmaker"
				MaxVisionRange 1200
			}
		}
		WaveSpawn
        {
            Name	wave2b
			WaitForAllSpawned  wave2a2
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	5
			Where   spawnbot
			TFBot
			{
				ClassIcon demo_spammer_package
				Template T_TFBot_Giant_Demoman
			}
		}
		WaveSpawn
		{
		 	Name	wave2b
			WaitForAllSpawned  wave2a2
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns   2
			Where	spawnbot_left
			TFBot
			{
				Template T_TFBot_Giant_Pyro
				ItemAttributes
				{
					ItemName "tf_weapon_flamethrower"
					"lunchbox adds minicrits" 2
				}
			}
		}
		WaveSpawn
        {
            Name	wave2b
			WaitForAllSpawned  wave2a2
			TotalCurrency	50
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			WaitBeforeStarting	30
			Where   spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon demo_spammer_package
					Template T_TFBot_Giant_Demoman
				}
				TFBot
				{
					Name "Heater Heavy"
					Class Heavy
					Skill Easy
					ClassIcon heavy_heater
					Item "The Huo Long Heatmaker"
					MaxVisionRange 1200
				}
				TFBot
				{
					Name "Heater Heavy"
					Class Heavy
					Skill Easy
					ClassIcon heavy_heater
					Item "The Huo Long Heatmaker"
					MaxVisionRange 1200
				}
			}
		}
		WaveSpawn
        {
            Name	wave2b
			WaitForAllSpawned  wave2a2
			TotalCurrency	150
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			WaitBeforeStarting	35
			Where   spawnbot_right
			Squad
			{
				TFBot
				{
					ClassIcon demo_spammer_package
					Template T_TFBot_Giant_Demoman
				}
				TFBot
				{
					Name "Heater Heavy"
					Class Heavy
					Skill Easy
					ClassIcon heavy_heater
					Item "The Huo Long Heatmaker"
					MaxVisionRange 1200
				}
				TFBot
				{
					Name "Heater Heavy"
					Class Heavy
					Skill Easy
					ClassIcon heavy_heater
					Item "The Huo Long Heatmaker"
					MaxVisionRange 1200
				}
			}
		}
		WaveSpawn
        {
            Name	wave2support
			TotalCurrency	100
			TotalCount	30
			MaxActive	6
			SpawnCount	2
			WaitBeforeStarting	2
			WaitBetweenSpawns   3
			Where   spawnbot
			Where   spawnbot_left
			Support 1
			Squad
			{
				TFBot
				{
					Class Heavyweapons
					Name "Mini Steel Gauntlet"
					Skill Hard
					ClassIcon heavy_steelfist_nys
					WeaponRestrictions MeleeOnly
					Item "Fists of Steel"
				}
				TFBot
				{
					Template	T_TFBot_Medic_Kritz
				}
			}
		}


	}
	//Wave 3
	//Total Money: $800, $900 with bonus from A+ rating
	Wave
	{
		StartWaveOutput
		{
			Target	wave_start_classic_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	wave3a
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting 0
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Giant_Scout
				MaxVisionRange  1200
				Item  "Upgradeable tf_weapon_scattergun"
				ItemAttributes
				{
					ItemName	"Upgradeable tf_weapon_scattergun"
					"faster reload rate" -0.8
					"fire rate penalty" 1.15
				}
			}
		}
		WaveSpawn
		{
			Name	wave3a
			TotalCurrency	100
			TotalCount	28
			MaxActive	8
			SpawnCount	2
			WaitBeforeStarting	3
			WaitBetweenSpawns	1
			Where	spawnbot
			Where   spawnbot_right
			TFBot
			{
				Class Soldier
				Skill Normal
				Item "The Original"
			}
		}
		WaveSpawn
		{
			Name	wave3a
			TotalCurrency	100
			TotalCount	8
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	5
			WaitBetweenSpawns	7
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Class Soldier
					Skill Normal
					Item "The Original"
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickUber
					Name  "Quick Uber Medic"
					Skill Expert
					Item   "Prussian Pickelhaube"
				}
			}
		}
		WaveSpawn
		{
			Name	wave3a2
			TotalCurrency	50
			TotalCount	4
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	12
			WaitBetweenSpawns	14
			Where	spawnbot_right
			TFBot
			{
				Template	T_TFBot_Sniper_Huntsman_Spammer
				Name  "Rapid Fire Bowman"
				ClassIcon  sniper_bow_multi
			}
		}
		WaveSpawn
		{
			Name	wave3b
			WaitForAllSpawned wave3a
			TotalCurrency	100
			TotalCount	8
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	5
			WaitBetweenSpawns   18
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Soldier_Spammer
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickUber
					Name  "Quick Uber Medic"
					Skill Expert
					Item   "Prussian Pickelhaube"
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickUber
					Name  "Quick Uber Medic"
					Skill Expert
					Item   "Prussian Pickelhaube"
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickUber
					Name  "Quick Uber Medic"
					Skill Expert
					Item   "Prussian Pickelhaube"
				}
			}
		}
		WaveSpawn
		{
			Name	wave3b
			WaitForAllSpawned wave3a
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting 25
			Where	spawnbot_left
			TFBot
			{
				Template T_TFBot_Giant_Soldier_Spammer
			}
		}
		WaveSpawn
		{
			Name	wave3c
			WaitForAllDead wave3b
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	1
			Tank
			{
				Health	20000
				Name	tankboss
				Speed	75
				StartingPathTrackNode	"tank_path_a_1"
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	wave3cscouts
			WaitForAllDead wave3b
			TotalCurrency	50
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting 20
			WaitBetweenSpawns  15
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Giant_Scout
				MaxVisionRange  1200
				Item  "Upgradeable tf_weapon_scattergun"
				ItemAttributes
				{
					ItemName	"Upgradeable tf_weapon_scattergun"
					"faster reload rate" -0.8
					"fire rate penalty" 1.15
				}
			}
		}
		WaveSpawn
		{
			Name	wave3cscouts2
			WaitForAllSpawned wave3cscouts
			TotalCurrency	50
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting 15
			Where	spawnbot_left
			TFBot
			{
				Template	T_TFBot_Giant_Scout
				MaxVisionRange  1200
				Item  "Upgradeable tf_weapon_scattergun"
				ItemAttributes
				{
					ItemName	"Upgradeable tf_weapon_scattergun"
					"faster reload rate" -0.8
					"fire rate penalty" 1.15
				}
			}
		}

		WaveSpawn
		{
			Name	wave3support
			WaitForAllSpawned wave3a
			TotalCurrency	100
			TotalCount	20
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting 0
			Where	spawnbot_left
			Where   spawnbot_right
			Support 1
			RandomChoice
			{
				TFBot
				{
					ClassIcon  sniper_jarate
					Name	"Jarate Master"
					Class	Sniper
					Skill	Expert
					WeaponRestrictions	SecondaryOnly
					Attributes AlwaysFireWeapon
					Item	"jarate"
					Item	"desert marauder"
					ItemAttributes
					{
						ItemName	"jarate"
						"effect bar recharge rate increased"	0.1
						"fire rate penalty" 1.2
					}
					CharacterAttributes
					{
						"deploy time increased"	0.5
					}
				}
				TFBot
				{
					Class	Scout
					Skill	Easy
					MaxVisionRange 750
				}
				TFBot
				{
					Class	Scout
					Skill	Easy
					MaxVisionRange 750
				}
			}
		}
		WaveSpawn
		{
			Name	wave3support
			WaitForAllSpawned wave3b
			TotalCurrency	50
			TotalCount	30
			MaxActive	5
			SpawnCount	5
			WaitBeforeStarting	15
			WaitBetweenSpawns	10
			Where	spawnbot
			Where	spawnbot_right
			Support 1
			TFBot
			{
				ClassIcon  soldier_mangler_v2
				Name 	"Soldier Grord-bot"
				Class	Soldier
				Skill	Normal
				WeaponRestrictions	PrimaryOnly
				Item "the cow mangler 5000"
				Item "lord cockswain's pith helmet"
				Item "lord cockswain's novelty mutton chops and pipe"
				Tag flank
			}
		}

	}
	//Wave 4
	//Total Money: $750, $850 with bonus from A+ rating
	Wave
	{
		StartWaveOutput
		{
			Target	wave_start_classic_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	wave4a
			TotalCurrency	100
			TotalCount	8
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	25
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Class Soldier
					Name "Giant Burst Fire Soldier" // Bigrock Burst Fire without double damage and crits
					ClassIcon soldier_burstfire
					Health 4200
					Skill Expert
					WeaponRestrictions PrimaryOnly
					Attributes MiniBoss
					Attributes HoldFireUntilFullReload
					ItemAttributes
					{
						ItemName "TF_WEAPON_ROCKETLAUNCHER"
						"faster reload rate" 0.4
						"fire rate bonus" 0.2
						"clip size upgrade atomic" 5.0
						"Projectile speed increased" 0.9
					}
					CharacterAttributes
					{
						"move speed bonus"	0.5
						"damage force reduction" 0.4
						"airblast vulnerability multiplier" 0.4
						"override footstep sound set" 3
					}
				}
				TFBot
				{
					Template T_TFBot_Medic_Kritz
				}
				TFBot
				{
					Template T_TFBot_Medic_Kritz
				}
				TFBot
				{
					Template T_TFBot_Medic_Kritz
				}
			}
		}
		WaveSpawn
		{
			Name	wave4a
			TotalCurrency	100
			TotalCount	28
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	1
			WaitBetweenSpawns	2
			Where   spawnbot_left
			TFBot
			{
				Template T_TFBot_Scout_Bonk
				Name "Bonk Scout"
			}
		}
		WaveSpawn
		{
			Name	wave4a
			TotalCurrency	100
			TotalCount	15
			MaxActive	6
			SpawnCount	3
			WaitBeforeStarting	5
			WaitBetweenSpawns	1
			Where	spawnbot
			TFBot
			{
				Class Heavyweapons
				Name "Heavy"
				Skill Easy
				MaxVisionRange 1200
			}
		}
		WaveSpawn
		{
			Name	wave4b
			WaitForAllSpawned wave4a
			TotalCurrency	100
			TotalCount	30
			MaxActive	12
			SpawnCount	6
			WaitBeforeStarting	8
			WaitBetweenSpawns	2
			Where   spawnbot_right
			Where	spawnbot_left
			TFBot
			{
				Class Soldier
				Skill Hard
				Item "the direct hit"
				ClassIcon soldier_directhit_lite
				Name "Direct Hit Soldier"
			}
		}
		WaveSpawn
		{
			Name	wave4b
			WaitForAllSpawned wave4a
			TotalCurrency	100
			TotalCount	9
			MaxActive	6
			SpawnCount	3
			WaitBeforeStarting	13
			WaitBetweenSpawns	8
			Where	spawnbot_right
			TFBot
			{
				Template T_TFBot_Demoknight_Skullcutter
				Attributes AlwaysCrit
			}
		}
		WaveSpawn
		{
			Name	wave4b2
			WaitForAllDead wave4a
			TotalCurrency	150
			TotalCount	5
			MaxActive	5
			SpawnCount	5
			WaitBeforeStarting	22
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Heavyweapons_RapidFire
				}
				TFBot
				{
					Template T_TFBot_Medic_Kritz
				}
				TFBot
				{
					Template T_TFBot_Medic_Kritz
				}
				TFBot
				{
					Template T_TFBot_Medic_Kritz
				}
				TFBot
				{
					Template T_TFBot_Medic_Kritz
				}
			}
		}
		WaveSpawn
		{
			Name	wave4b3
			WaitForAllSpawned wave4b2
			TotalCurrency	50
			TotalCount	8
			MaxActive	8
			SpawnCount	1
			WaitBeforeStarting	11
			WaitBetweenSpawns   0.5
			Where	spawnbot_left
			TFBot
			{
				Class Heavyweapons
				Name "Heavy"
				Skill Easy
				MaxVisionRange 1200
			}
		}
		WaveSpawn
		{
			Name	wave4b3
			WaitForAllSpawned wave4b2
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	11
			WaitBetweenSpawns   0.5
			Where	spawnbot_left
			TFBot
			{
				Class Soldier
					Name "Giant Burst Fire Soldier" // Bigrock Burst Fire without double damage and crits
					ClassIcon soldier_burstfire
					Health 4200
					Skill Expert
					WeaponRestrictions PrimaryOnly
					Attributes MiniBoss
					Attributes HoldFireUntilFullReload
					ItemAttributes
					{
						ItemName "TF_WEAPON_ROCKETLAUNCHER"
						"faster reload rate" 0.4
						"fire rate bonus" 0.2
						"clip size upgrade atomic" 5.0
						"Projectile speed increased" 0.9
					}
					CharacterAttributes
					{
						"move speed bonus"	0.5
						"damage force reduction" 0.4
						"airblast vulnerability multiplier" 0.4
						"override footstep sound set" 3
					}
			}
		}
		

	}
	//Wave 5
	//Total Money: $700, $800 with bonus from A+ rating
	Wave
	{
		StartWaveOutput
		{
			Target	wave_start_classic_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	wave5a
			TotalCurrency	100
			TotalCount	5
			MaxActive	5
			SpawnCount	5
			WaitBeforeStarting	0
			WaitBetweenSpawns   1
			Where	spawnbot
			TFBot
			{
				Class Demoman
				Skill Normal
				Name "Extended Backup Demoman"
				ClassIcon demo_backup_lite
				Item "The Battalion's Backup"
				Attributes SpawnWithFullCharge
				Attributes HoldFireUntilFullReload
				CharacterAttributes
				{
					"increase buff duration"	9.0
					"deploy time increased"	0.5
				}
			}
		}
		WaveSpawn
		{
			Name	wave5a
			TotalCurrency	100
			TotalCount	20
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	1
			WaitBetweenSpawns   1
			Where	spawnbot
			Where   spawnbot_left
			TFBot
			{
				Class Demoman
				Skill Normal
				Name "Extended Backup Demoman"
				ClassIcon demo_backup_lite
				Item "The Battalion's Backup"
				Attributes SpawnWithFullCharge
				Attributes HoldFireUntilFullReload
				CharacterAttributes
				{
					"increase buff duration"	9.0
					"deploy time increased"	0.5
				}
			}
		}
		WaveSpawn
		{
			Name	wave5a
			TotalCurrency	100
			TotalCount	25
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	3
			WaitBetweenSpawns   1
			Where	spawnbot
			Where   spawnbot_left
			TFBot
			{
				Class Demoman
				Skill Normal
				Name "Extended Buff Demoman"
				ClassIcon demo_buff_lite
				Item "The Buff Banner"
				Attributes SpawnWithFullCharge
				Attributes HoldFireUntilFullReload
				Tag flank
				CharacterAttributes
				{
					"increase buff duration"	9.0
					"deploy time increased"	0.5
				}
			}
		}
		WaveSpawn
        {
            Name	wave5a2
            TotalCurrency	100
            TotalCount	2
            MaxActive	2
            SpawnCount	2
			WaitBeforeStarting  25
            Where	spawnbot
            TFBot
			{
				Template T_TFBot_Giant_Pyro_DragonHeal
			}
        }
		WaveSpawn
        {
            Name	wave5b
			WaitForAllSpawned wave5a
            TotalCurrency	50
            TotalCount	24
            MaxActive	8
            SpawnCount	2
			WaitBeforeStarting  8
			WaitBetweenSpawns   1
            Where	spawnbot
			Where	spawnbot_right
            TFBot
			{
				Name "Deflector Heavy"
				Class Heavyweapons
				Skill Hard
				MaxVisionRange 1200
				ClassIcon heavy_deflector
				ItemAttributes
				{
					ItemName	"deflector"
					"attack projectiles"	1
				}
				Item	"deflector"
				Item	"the u-clank-a"
			}
        }
		WaveSpawn
        {
            Name	wave5b
			WaitForAllDead wave5a2
            TotalCurrency	50
            TotalCount	4
            MaxActive	4
            SpawnCount	1
			WaitBeforeStarting  7
			WaitBetweenSpawns   13
			Where   spawnbot_left
            Where	spawnbot_right
            TFBot
			{
				Template T_TFBot_Giant_Demoman_Sticky
			}
        }
		WaveSpawn
        {
			Name	wave5b
			WaitForAllSpawned wave5a
			TotalCurrency	100
			TotalCount	3
			MaxActive	3
			SpawnCount 	3
			WaitBeforeStarting	18
			Where	spawnbot
			Squad
			{
				TFBot
                {
                  	Template T_TFBot_Giant_Pyro_DragonHeal
                }
                TFBot
                {
					Class Demoman
					Skill Normal
					Name "Extended Backup Demoman"
					ClassIcon demo_backup_lite
					Item "The Battalion's Backup"
					Attributes SpawnWithFullCharge
					Attributes HoldFireUntilFullReload
					CharacterAttributes
					{
						"increase buff duration"	9.0
						"deploy time increased"	0.5
					}
                }
				TFBot
                {
					Class Demoman
					Skill Normal
					Name "Extended Backup Demoman"
					ClassIcon demo_backup_lite
					Item "The Battalion's Backup"
					Attributes SpawnWithFullCharge
					Attributes HoldFireUntilFullReload
					CharacterAttributes
					{
						"increase buff duration"	9.0
						"deploy time increased"	0.5
					}
                }
			}
		}
		WaveSpawn
        {
			Name	wave5c
			WaitForAllSpawned  wave5b
			TotalCurrency	50
			TotalCount	2
			MaxActive	2
			SpawnCount  2
			WaitBeforeStarting	10
			Where	spawnbot
			Squad
			{
				TFBot
                {
                  	Class Heavyweapons
					Name "Giant Burst Shotgun Heavy"
					ClassIcon heavy_shotgun_burst_lite
					Skill Expert
					Health 5000
					WeaponRestrictions SecondaryOnly
					MaxVisionRange 1200
					Attributes MiniBoss
					ItemAttributes
					{
						ItemName "TF_WEAPON_SHOTGUN_HWG"
						"fire rate bonus"       0.2
						"auto fires full clip"  1
						"auto fires when full"  1
						"bullets per shot bonus" 1.2
						"faster reload rate" 0.4
						"killstreak tier" 1
					}
					CharacterAttributes
					{
						"move speed bonus"	0.7
						"damage force reduction" 0.3
						"airblast vulnerability multiplier" 0.3
						"override footstep sound set" 2
					}
                }
				TFBot
                {
					Template T_TFBot_Giant_Medic_Kritz
                }
			}
		}
		WaveSpawn
        {
            Name	wave5spies
			WaitForAllSpawned wave5c
            TotalCurrency	0
            TotalCount	5
            MaxActive	5
            SpawnCount	5
            Where	spawnbot_mission_spy
            WaitBeforeStarting 10
			Support Limited
            TFBot
			{
				Template T_TFBot_Spy
				Skill Easy
				Attributes IgnoreFlag
			}
        }
		WaveSpawn
		{
			Name	wave5support
			TotalCurrency	50
			TotalCount	30
			MaxActive	5
			SpawnCount	5
			WaitBeforeStarting	25
			WaitBetweenSpawns	12
			Where	spawnbot
			Where   spawnbot_left
			Support 1
			TFBot
			{
				Name	"Samurai Demoknight"
				Class	Demoman
				Skill	Hard
				WeaponRestrictions	MeleeOnly
				ClassIcon demoknight_samurai
				Item	"ali baba's wee booties"
				Item	"The Tide Turner"
				Item    "The Half-Zatoichi"
				Item    "Demo Kabuto"
				Item    "The Menpo"
				ItemAttributes
				{
					ItemName	"The Tide Turner"
					"attack not cancel charge"	1
				}
			}
		}
	}
	//Wave 6
	//Total Money: $700, $800 with bonus from A+ rating
	Wave
	{
		StartWaveOutput
		{
			Target	wave_start_classic_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	wave6a
			TotalCurrency	150
			TotalCount	8
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns   25
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Heavyweapons_Deflector
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickUber
					Name  "Quick Uber Medic"
					Skill Expert
					Item   "Prussian Pickelhaube"
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickUber
					Name  "Quick Uber Medic"
					Skill Expert
					Item   "Prussian Pickelhaube"
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickUber
					Name  "Quick Uber Medic"
					Skill Expert
					Item   "Prussian Pickelhaube"
				}
			}
		}
		WaveSpawn
		{
			Name	wave6a2
			TotalCurrency	100
			TotalCount	60
			MaxActive	15
			SpawnCount	5
			WaitBeforeStarting	3
			WaitBetweenSpawns   1
			Where   spawnbot_left
			Where	spawnbot_right
			TFBot
			{
				Class Sniper
				Name "Penetrating Bowman"
				Skill Expert
				ClassIcon sniper_bow_penetrate
				WeaponRestrictions PrimaryOnly
				Item "The Huntsman"
				Item "The Cozy Camper"
				ItemAttributes
				{
					ItemName	"the huntsman"
					"projectile penetration" 1
					"damage penalty" 0.5
				}
			}
		}
		WaveSpawn
		{
			Name	wave6a3
			WaitForAllSpawned wave6a
			TotalCurrency	100
			TotalCount	4
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	5
			WaitBetweenSpawns   22
			Where	spawnbot_right
			TFBot
			{
				Class Scout
				Name "Giant Force-a-Nature Scout"
				ClassIcon scout_fan_giant
				Item "The Force-a-Nature"
				Health 1600
				Attributes MiniBoss
				Skill Expert
				MaxVisionRange 1200
				CharacterAttributes
				{
					"damage force reduction" 0.7
					"airblast vulnerability multiplier" 0.7
					"override footstep sound set" 5
				}
			}
		}
		WaveSpawn
		{
			Name	wave6b
			WaitForAllDead wave6a
			TotalCurrency	100
			TotalCount	6
			MaxActive	3
			SpawnCount	2
			WaitBeforeStarting	5
			WaitBetweenSpawns   18
			Where	spawnbot_left
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Soldier
					Attributes AlwaysCrit
				}
				TFBot
				{
					Template T_TFBot_Giant_Medic_Regen
                    Name "Giant Regen Medic"
					Attributes IgnoreEnemies
				}
			}
		}
		WaveSpawn
		{
			Name	wave6b
			WaitForAllDead wave6a
			TotalCurrency	100
			TotalCount	4
			MaxActive	4
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns   13
			Where	spawnbot_right
			TFBot
			{
				Template T_TFBot_Giant_Demo_Burst
				Name "Giant Burst Fire Demoman"
			}
		}
		WaveSpawn
		{
			Name	wave6b2
			WaitForAllSpawned wave6b
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	10
			Where	spawnbot_right
			TFBot
			{
				Class Scout
				Name "Giant Force-a-Nature Scout"
				ClassIcon scout_fan_giant
				Item "The Force-a-Nature"
				Health 1600
				Attributes MiniBoss
				Skill Expert
				MaxVisionRange 1200
				CharacterAttributes
				{
					"damage force reduction" 0.7
					"airblast vulnerability multiplier" 0.7
					"override footstep sound set" 5
				}
			}
		}
		WaveSpawn
		{
			Name	wave6support
			TotalCurrency	50
			TotalCount	10
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	10
			WaitBetweenSpawns	8
			Where	spawnbot
			Where  	spawnbot_right
			Support 1
			TFBot
			{
				ClassIcon  sniper_jarate
				Name	"Jarate Master"
				Class	Sniper
				Skill	Expert
				WeaponRestrictions	SecondaryOnly
				Attributes AlwaysFireWeapon
				Item	"jarate"
				Item	"desert marauder"
				ItemAttributes
				{
					ItemName	"jarate"
					"effect bar recharge rate increased"	0.1
					"fire rate penalty" 1.2
				}
				CharacterAttributes
				{
					"deploy time increased"	0.5
				}
			}
		}
		WaveSpawn
		{
			Name	wave6support2
			WaitForAllSpawned wave6a2
			TotalCurrency	50
			TotalCount	40
			MaxActive	8
			SpawnCount	8
			WaitBeforeStarting	10
			WaitBetweenSpawns	8
			Where	spawnbot
			Where  	spawnbot_right
			Support 1
			TFBot
			{
				ClassIcon soldier_bison
				Name 	"Bison Soldier"
				Class	Soldier
				Skill	Hard
				WeaponRestrictions SecondaryOnly
				Item "the righteous bison"
				Item "lord cockswain's pith helmet"
				Tag flank
				Item "lord cockswain's novelty mutton chops and pipe"
				ItemAttributes
				{
					ItemName "the righteous bison"
					"faster reload rate" 0.6
				}
			}
		}


	}
	//Wave 7
	//Total Money: $800, $900 with bonus from A+ rating
	Wave
	{
		StartWaveOutput
		{
			Target	wave_start_classic_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}

		WaveSpawn
		{
			Name	wave7a
			TotalCurrency	150
			TotalCount	45
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	0
			WaitBetweenSpawns   3
			Where   spawnbot
			TFBot
			{
				Class Scout
				Skill Normal
				ClassIcon 	scout_conch_lite
				Name "Extended Conch Scout"
				Item	"The Concheror"
				MaxVisionRange 750
				Attributes SpawnWithFullCharge
				CharacterAttributes
				{
					"increase buff duration"	9.0
					"deploy time increased"	0.5
				}
			}
		}
		WaveSpawn
		{
			Name	wave7a
			TotalCurrency	100
			TotalCount	16
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	2
			WaitBetweenSpawns   5
			Where	spawnbot
			Where   spawnbot_right
			Squad
			{
				TFBot
				{
					Template T_TFBot_Heavyweapons_Fist
					Attributes AlwaysCrit
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickUber
					Name  "Quick Uber Medic"
					Skill Expert
					Item   "Prussian Pickelhaube"
				}
			}
		}
		WaveSpawn
		{
			Name	wave7a
			TotalCurrency	100
			TotalCount	4
			MaxActive	4
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns   15
			Where	spawnbot_right
			TFBot
			{
				Template T_TFBot_Giant_Soldier_Spammer
			}
		}
		WaveSpawn
		{
			Name	wave7a
			TotalCurrency	100
			TotalCount	3
			MaxActive	3
			SpawnCount	1
			WaitBeforeStarting	30
			WaitBetweenSpawns   15
			Where	spawnbot_left
			TFBot
			{
				Template T_TFBot_Giant_Soldier_Spammer
			}
		}
		WaveSpawn
		{
			Name	wave7b1
			WaitForAllSpawned wave7a
			TotalCurrency	100
			TotalCount	20
			MaxActive	10
			SpawnCount	2
			WaitBeforeStarting	10
			WaitBetweenSpawns   1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Class Demoman
					Skill Hard
					Item "The Iron Bomber"
					Attributes AlwaysCrit
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickUber
					Name  "Quick Uber Medic"
					Skill Expert
					Item   "Prussian Pickelhaube"
				}
			}
		}
		WaveSpawn
		{
			Name	wave7b
			WaitForAllSpawned wave7a
			TotalCurrency	100
			TotalCount	20
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	13
			WaitBetweenSpawns   2
			Where	spawnbot
			Where   spawnbot_right
			TFBot
			{
				Class Heavyweapons
				Name "Heavy"
				Skill Normal
				MaxVisionRange 1200
			}
		}
		WaveSpawn
        {
			Name	wave7c
			WaitForAllSpawned  wave7b1
			TotalCurrency	100
			TotalCount	3
			MaxActive	3
			SpawnCount  3
			WaitBeforeStarting	0
			Where	spawnbot
			Squad
			{
				TFBot
                {
                  	Class Soldier
					Name "Giant Burst Fire Soldier" // Bigrock Burst Fire without double damage and crits
					ClassIcon soldier_burstfire
					Health 4200
					Skill Expert
					WeaponRestrictions PrimaryOnly
					Attributes MiniBoss
					Attributes HoldFireUntilFullReload
					ItemAttributes
					{
						ItemName "TF_WEAPON_ROCKETLAUNCHER"
						"faster reload rate" 0.4
						"fire rate bonus" 0.2
						"clip size upgrade atomic" 5.0
						"Projectile speed increased" 0.9
					}
					CharacterAttributes
					{
						"move speed bonus"	0.5
						"damage force reduction" 0.4
						"airblast vulnerability multiplier" 0.4
						"override footstep sound set" 3
					}
                }
                TFBot
                {
					Template T_TFBot_Giant_Medic_Kritz
					CharacterAttributes
					{
						"mod weapon blocks healing" 1
					}
                }
				TFBot
                {
					Template T_TFBot_Giant_Medic_Kritz
					CharacterAttributes
					{
						"mod weapon blocks healing" 1
					}
                }
			}
		}
		WaveSpawn
		{
			Name	wave7c2
			WaitForAllSpawned wave7c
			TotalCurrency	50
			TotalCount	12
			MaxActive	12
			SpawnCount	1
			WaitBeforeStarting	6
			WaitBetweenSpawns   1
			Where   spawnbot_right
			TFBot
			{
				Class Demoman
				Skill Hard
				Item "The Iron Bomber"
				Attributes AlwaysCrit
			}
		}
		
	}
	//Wave 8
	//Total Money: $1000, $1100 with bonus from A+ rating
	Wave
	{
		StartWaveOutput
		{
			Target	wave_start_classic_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
        {
			Name	wave8a
			TotalCurrency	100
			TotalCount	3
			MaxActive	3
			SpawnCount  3
			WaitBeforeStarting	0
			Where	spawnbot
			Squad
			{
				TFBot
                {
                  	Template T_TFBot_Giant_Heavyweapons_BrassBeast
					ClassIcon 	heavy_brass_nys
					Name "Giant Brass Beast Heavy"
					Item "big chief"
					MaxVisionRange 1200
					ItemAttributes
					{
						ItemName "The Brass Beast"
						"damage bonus"	1.7
					}
                }
                TFBot
                {
					Template T_TFBot_Giant_Heavyweapons_RapidFire
                }
				TFBot
				{
					Template T_TFBot_Medic_QuickUber
					Name  "Quick Uber Medic"
					Skill Expert
					Item   "Prussian Pickelhaube"
				}
			}
		}
		WaveSpawn
        {
			Name	wave8a
			TotalCurrency	50
			TotalCount	4
			MaxActive	4
			SpawnCount  4
			WaitBeforeStarting 30
			Where	spawnbot_left
			Squad
			{
				TFBot
                {
					Template T_TFBot_Giant_Heavyweapons_RapidFire
                }
				TFBot
				{
					Template T_TFBot_Giant_Medic_Regen
                    Name "Giant Regen Medic"
					Attributes IgnoreEnemies
				}
                TFBot
				{
					Template T_TFBot_Medic_QuickUber
					Name  "Quick Uber Medic"
					Skill Expert
					Item   "Prussian Pickelhaube"
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickUber
					Name  "Quick Uber Medic"
					Skill Expert
					Item   "Prussian Pickelhaube"
				}
			}
		}
		WaveSpawn
        {
			Name	wave8ascouts
			TotalCurrency	50
			TotalCount	3
			MaxActive	3
			SpawnCount  1
			WaitBeforeStarting	35
			WaitBetweenSpawns   3
			Where	spawnbot_right
			TFBot
			{
				Template	T_TFBot_Giant_Scout
				MaxVisionRange  1200
				Item  "Upgradeable tf_weapon_scattergun"
				ItemAttributes
				{
					ItemName	"Upgradeable tf_weapon_scattergun"
					"faster reload rate" -0.8
					"fire rate penalty" 1.15
				}
			}
		}

		WaveSpawn
		{
			Name	wave8a2
			TotalCurrency	100
			TotalCount	35
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	1
			WaitBetweenSpawns	1
			Where	spawnbot_left
			Where   spawnbot_right
			TFBot
			{
				ClassIcon demo_loch_nys
				Name	"Loch-n-Load Demoman"
				Class	Demoman
				Skill	Normal
				Item    "the loch-n-load"
				Attributes AlwaysCrit
			}
		}
		WaveSpawn
		{
			Name	wave8a2
			TotalCurrency	100
			TotalCount	35
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	1
			WaitBetweenSpawns	1
			Where	spawnbot_left
			Where   spawnbot_right
			TFBot
			{
				Template T_TFBot_Pyro_Fury
			}
		}
		WaveSpawn
        {
			Name	wave8a3
			WaitForAllSpawned  wave8a
			TotalCurrency	100
			TotalCount	3
			MaxActive	3
			SpawnCount  3
			WaitBeforeStarting	25
			Where	spawnbot_left
			Squad
			{
				TFBot
                {
                  	Template T_TFBot_Giant_Heavyweapons_BrassBeast
					ClassIcon 	heavy_brass_nys
					Name "Giant Brass Beast Heavy"
					Item "big chief"
					MaxVisionRange 1200
					ItemAttributes
					{
						ItemName "The Brass Beast"
						"damage bonus"	1.7
					}
                }
                TFBot
				{
					Template T_TFBot_Medic_QuickUber
					Name  "Quick Uber Medic"
					Skill Expert
					Item   "Prussian Pickelhaube"
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickUber
					Name  "Quick Uber Medic"
					Skill Expert
					Item   "Prussian Pickelhaube"
				}
			}
		}
		WaveSpawn
        {
			Name	wave8a3
			WaitForAllSpawned  wave8a
			TotalCurrency	100
			TotalCount	3
			MaxActive	3
			SpawnCount  3
			WaitBeforeStarting	25
			Where	spawnbot_right
			Squad
			{
				TFBot
                {
                  	Template T_TFBot_Giant_Heavyweapons_RapidFire
                }
                TFBot
				{
					Template T_TFBot_Medic_QuickUber
					Name  "Quick Uber Medic"
					Skill Expert
					Item   "Prussian Pickelhaube"
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickUber
					Name  "Quick Uber Medic"
					Skill Expert
					Item   "Prussian Pickelhaube"
				}
			}
		}
		WaveSpawn
		{
			Name	wave8b
			WaitForAllSpawned  wave8a3
			TotalCurrency	50
			TotalCount	3
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting 15
			WaitBetweenSpawnsAfterDeath 18
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Giant_Scout
				MaxVisionRange  1200
				Item  "Upgradeable tf_weapon_scattergun"
				ItemAttributes
				{
					ItemName	"Upgradeable tf_weapon_scattergun"
					"faster reload rate" -0.8
					"fire rate penalty" 1.15
				}
			}
		}
		WaveSpawn
		{
			Name	wave8b
			WaitForAllSpawned wave8a3
			TotalCurrency	100
			TotalCount	8
			MaxActive	8
			SpawnCount	2
			WaitBeforeStarting  5
			WaitBetweenSpawns   7
			Where	spawnbot
			Squad
			{
				TFBot
				{ 
				    ClassIcon demo_buff_lite
					Template T_TFBot_Giant_Demoman
					Attributes	SpawnWithFullCharge
					Item	"The Buff Banner"
					Item    "The Cyborg Stunt Helmet"
					CharacterAttributes
					{
						"deploy time increased"	0.5
						"increase buff duration"	9.0
					}
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickUber
					Name  "Quick Uber Medic"
					Skill Expert
					Item   "Prussian Pickelhaube"
				}
			}
		}
		WaveSpawn
		{
			Name	wave8tank
			WaitForAllDead wave8a3
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	18
			Tank
			{
				Health	30000
				Name	tankboss
				Speed	75
				Skin 1
				StartingPathTrackNode	"tank_path_a_1"
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	wave8b2
			WaitForAllSpawned wave8tank
			TotalCurrency	50
			TotalCount	4
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting  22
			Where	spawnbot_left
			Squad
			{
				TFBot
				{ 
					Template T_TFBot_Giant_Heavyweapons_BrassBeast
					ClassIcon 	heavy_brass_nys
					Name "Giant Brass Beast Heavy"
					Item "big chief"
					MaxVisionRange 1200
					ItemAttributes
					{
						ItemName "The Brass Beast"
						"damage bonus"	1.7
					}
				}
				TFBot
				{
					Template T_TFBot_Giant_Medic_Regen
                    Name "Giant Regen Medic"
					Attributes IgnoreEnemies
				}
				TFBot
				{

				   	ClassIcon demo_buff_lite
					Template T_TFBot_Giant_Demoman
					Attributes	SpawnWithFullCharge
					Item	"The Buff Banner"
					Item    "The Cyborg Stunt Helmet"
					CharacterAttributes
					{
						"deploy time increased"	0.5
						"increase buff duration"	9.0
					}
				}
				TFBot
				{
					ClassIcon demo_buff_lite
					Template T_TFBot_Giant_Demoman
					Attributes	SpawnWithFullCharge
					Item	"The Buff Banner"
					Item    "The Cyborg Stunt Helmet"
					CharacterAttributes
					{
						"deploy time increased"	0.5
						"increase buff duration"	9.0
					}
				}
			}
		}
		WaveSpawn
		{
			Name	wave8support
			WaitForAllSpawned wave8a3
			TotalCurrency	50
			TotalCount	30
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	10
			WaitBetweenSpawns	1
			Where   spawnbot
			Where	spawnbot_left
			Support 1
			TFBot
			{	
				Class Soldier
				Skill Normal
				Item "The Original"
			}
		}
		WaveSpawn
		{
			Name	wave8support
			WaitForAllSpawned wave8tank
			TotalCurrency	50
			TotalCount	30
			MaxActive	5
			SpawnCount	5
			WaitBeforeStarting	5
			Where   spawnbot
			Where	spawnbot_left
			Support 1
			TFBot
			{	
				Class Soldier
				Skill Normal
				Item "The Original"
			}
		}
	}
	
}
