//  Hello World!
#base robot_standard.pop
#base robot_gatebot.pop
#base robot_titan_weapons.pop
population
{
	StartingCurrency		1200
	RespawnWaveTime			6
	FixedRespawnWaveTime	Yes
    CanBotsAttackWhileInSpawnRoom	Yes
	Advanced				1
	NoRomevisionCosmetics 1  
	VacNumCharges 16   
	MarkedForDeathLifetime 1  
	ImprovedAirblast 16   // Pyros being able to reflect more stuff.
	StandableHeads 1  
	BunnyHop 1  
    ExtraSpawnPoint  
    {
        Name "spawnbot_shed_left" // The goddamn small shed on the left of the divergence point. Not sure about giants rn.
        TeamNum 3
        X	"-850"                     
        Y	"1000"                  
        Z	"535"        
    }
    ExtraSpawnPoint  
    {
        Name "spawnbot_shed_center" // The goddamn building in the center down. Giants able to spawn.
        TeamNum 3
        X	"0"                     
        Y	"330"                  
        Z	"520"        
    }
    ExtraSpawnPoint  
    {
        Name "spawnbot_platform_far_right" // The goddamn wood floor that stairs go in. Giants able to spawn.
        TeamNum 3
        X	"1330"                     
        Y	"820"                  
        Z	"650"        
    }
    ExtraSpawnPoint  
    {
        Name "spawnbot_hatch_sneaky" // The goddamn spot where only the big ammo box is near the hatch. Giants able to spawn, but don't abuse it.
        TeamNum 3
        X	"1100"                     
        Y	"-2250"                  
        Z	"530"        
    }
    ExtraSpawnPoint  
    {
        Name "spawnbot_chaps" // Chaps Dry Goods :)
        TeamNum 3
        X	"-550"                     
        Y	"1500"                  
        Z	"600"        
    }
    ExtraSpawnPoint  
    {
        Name "spawnbot_mann_mining" // The goddamn weird wood platform in the mann mining company.
        TeamNum 3
        X	"-1250"                     
        Y	"400"                  
        Z	"720"        
    }
    ExtraTankPath     // 9860 Total units of movement. So at base speed 75 it would take ~120 seconds to complete.
    {
        Name    "tankpath_flying"
        Node    "0 4700 950"
        Node    "0 0 1350"
        Node    "0 -1250 950"
        Node    "0 -1750 540"
    }
    ExtraTankPath      //  The goddamn secret spot near hatch again. 1300 Total units of movement, at 75 it's ~15 seconds.
    {
        Name    "tankpath_secret_hatch_tank"
        Node    "1050 -2230 600"
        Node    "500 -2230 500"
        Node    "170 -1900 430"
    }
    ExtraTankPath      // P I T,0 1440 Total units.
    {
        Name    "tankpath_pit"
        Node    "0 -750 0"
        Node    "0 -750 620"
        Node    "0 -950 635"
        Node    "0 -1100 750"
        Node    "0 -1175 800"
        Node    "0 -1750 540"
    }
    ExtraTankPath	  // The cool refined Space's tanks.
	{
		Name "tankpath_flight_center"
		Node "60 3455 90"
		Node "60 2980 200"
		Node "0 1200 900"
		Node "0 -800 900"
		Node "0 -1900 560"
	}
    ExtraTankPath	  // The reverse of that.
	{
		Name "tankpath_flight_center_reverse"
		Node "-18 -3650 530"
		Node "6 -3086 540"
		Node "0 -2395 900"
		Node "0 -1900 900"
		Node "0 -800 900"
		Node "0 1200 900"
		Node "60 2980 200"
		Node "60 3455 90"
	}
    ItemAttributes  	// This is mine Maggot.
	{
		ItemName	"the hardy laurel"
		"attach particle effect"	1
	}
	ItemAttributes  	// This is mine Maggot.
	{
		ItemName	"the team captain"
		"attach particle effect"	1
	}
	ItemAttributes  	// This is mine Maggot.
	{
		ItemName	"tundra top"
		"attach particle effect"	1
	}
	ItemAttributes  	// This is mine Maggot.
	{
		ItemName	"aviator assassin"
		"attach particle effect"	1
	}
	ItemAttributes  	// This is mine Maggot.
	{
		ItemName	"the law"
		"attach particle effect"	1
	}
	ItemAttributes  	// This is mine Maggot.
	{
		ItemName	"the frickin' sweet ninja hood"
		"attach particle effect"	1
	}
    ItemAttributes  	// This is mine Maggot.
	{
		ItemName	"The Backwards Ballcap"
		"attach particle effect"	1
	}
	PlayerAttributes  
	{
		"move speed bonus" 1.4
		"cancel falling damage"	1
		"increased jump height"	1.15
		"health regen"	20
		"damage force reduction"	2
		Scout
		{
			"move speed bonus"	1.75
			"increased jump height"	1.5
		}
		Medic
		{
			"Health regen"	150
			"move speed bonus"	1.5
		}
		Spy
		{
			"move speed bonus"	1.6
		}
	}
    Templates
    {
    }
    Wave    // Honaaa
	{
		WaitWhenDone	65
		Checkpoint		Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	w1_gman
			TotalCurrency	500
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			StartWaveMessage    "Hello Mr. Freeman, You may wonder why this exists... You see, I'm bringing together a team."    
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	heavy_champ_giant
					Health	15000
					Name	"G MAN Clone #1"
					Scale   1.75
					Class	HeavyWeapons
					Skill	Expert
					WeaponRestrictions	MeleeOnly
					Tag "bot_giant"
					Attributes	"AlwaysCrit"
					Attributes	"MiniBoss"
					Attributes  "UseBossHealthBar"
					Attributes  "AlwaysFireWeapon"
					ItemAttributes
					{
						ItemName	"apoco-fists"
						"melee range multiplier"	6
						"damage bonus"	3
					}
					CharacterAttributes
					{
						"move speed bonus"	0.5
						"airblast vulnerability multiplier"	0.3
						"health regen"	200
					}
					Item	"apoco-fists"
					Item	"cold war luchador"
				}
			}
		}
        WaveSpawn
        {
            Name    w1_phlogs
			WaitForAllDead	w1_gman
            TotalCurrency   120
            TotalCount  24
            MaxActive   24
            SpawnCount  1
            WaitBeforeStarting  0
            WaitBetweenSpawns   0.5
            where   spawnbot
            Squad
            {
                TFBot
                {
                    ClassIcon	pyro_phlog
					Health	200
					Name	"Phlog Pyro"
					Class	Pyro
					Skill	Expert
					WeaponRestrictions	PrimaryOnly
					Attributes	"AlwaysCrit"
					ItemAttributes
					{
						ItemName	"the phlogistinator"
						"damage bonus"	0.5
					}
                    CharacterAttributes
                    {
                        "move speed bonus"  1.25
                    }
					Item	"the phlogistinator"
                }
            }
        }
        WaveSpawn
        {
            Name    w1_scout_bat_1
            WaitForAllDead  w1_phlogs
            TotalCount  60
            TotalCurrency   150
            MaxActive   12
            SpawnCount  1
            WaitBeforeStarting  0
            WaitBetweenSpawns   0.25
            Where   spawnbot_shed_center     
            Squad
            {
                TFBot
                {
                    ClassIcon   scout_bostonbasher
                    Class   Scout 
                    Name    "Bashing Scout"
                    Health  100
                    Skill   Expert
                    WeaponRestrictions  MeleeOnly
                    ItemAttributes
                    {
                        ItemName    "The Boston Basher"
                        "damage bonus"  0.75
                    }
                    CharacterAttributes
                    {
                        "move speed bonus"  1.5
                    }
                    Item    "The Boston Basher"
                }
            }
        }
        WaveSpawn
        {
            Name    w1_scout_bat_2
            WaitForAllDead  w1_phlogs
            TotalCount  60
            TotalCurrency   150
            MaxActive   12
            SpawnCount  1
            WaitBeforeStarting  0
            WaitBetweenSpawns   0.25
            Where   spawnbot_shed_left     
            Squad
            {
                TFBot
                {
                    ClassIcon   scout_bostonbasher
                    Class   Scout 
                    Name    "Bashing Scout"
                    Health  100
                    Skill   Expert
                    WeaponRestrictions  MeleeOnly
                    ItemAttributes
                    {
                        ItemName    "The Boston Basher"
                        "damage bonus"  0.75
                    }
                    CharacterAttributes
                    {
                        "move speed bonus"  1.5
                    }
                    Item    "The Boston Basher"
                }
            }
        }
        WaveSpawn
		{
			Name	w1_hatch_tank
            WaitForAllDead  w1_scout_bat_1
			TotalCurrency	500
			TotalCount		1
			MaxActive		1
			SpawnCount		1
			WaitBeforeStarting	0
			WaitBetweenSpawns	15
			Where	spawnbot
			Squad
			{
				Tank
				{
					Health	2000
					Name	tankboss_hatch
					Speed	90
					StartingPathTrackNode	"tankpath_secret_hatch_tank_1"  
					OnKilledOutput
					{
						Target	boss_dead_relay
						Action	Trigger
					}
					OnBombDroppedOutput
					{
						Target	boss_deploy_relay
						Action	Trigger
					}
					Gravity 0  
				}
			}
		}
        WaveSpawn
		{
			Name	w1_giant_heal_heavy
			WaitForAllDead	w1_scout_bat_2
			TotalCurrency	900
			TotalCount	3
			MaxActive	3
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
            Where   spawnbot_giant
			Squad
			{
				TFBot
				{
					ClassIcon	heavy_deflector_healonkill
					Name	"Top Off On kill"
					Class	heavyweapons
					Health	4500
					Skill	Expert
					Scale	1.75
					Attributes	Miniboss
                    tag "bot_giant"
					ItemAttributes
					{
						ItemName	"the brass beast"
						"damage bonus"	0.75
						"ring of fire while aiming"	1
						"crit vs burning players"	1
						"heal on kill"	10000
					}
					CharacterAttributes
					{
						"move speed bonus"	0.25
						"airblast vulnerability multiplier"	0.4
					}
					Item	"the brass beast"
				}
			}
		}
        WaveSpawn
        {
            Name    w1_scorched_pyros
            WaitForAllDead  w1_giant_heal_heavy
            TotalCurrency   60
            TotalCount  12
            MaxActive   12
            SpawnCount  1
            WaitBeforeStarting  0
            WaitBetweenSpawns   0.5
            where   spawnbot
            Squad
            {
                TFBot
                {
                    ClassIcon   pyro
                    Class   pyro
                    Name    "Scorched Pyro"
                    Skill   Expert
                    Health  200
                    WeaponRestrictions  SecondaryOnly
                    ItemAttributes
                    {
                        ItemName    "The Scorch Shot"
                        "faster reload rate"    0.75
                        "damage bonus"  0.75
                        "Projectile speed increased"    1.5
                    }
                    Item    "The Scorch Shot"
                }
            }
        }
        WaveSpawn
		{
			Name	w1_arrow_novices
			WaitForAllSpawned   w1_scorched_pyros
			TotalCurrency	240
			TotalCount		24
			MaxActive		12
			SpawnCount		1
			WaitBeforeStarting	0.5
			WaitBetweenSpawns	0
			Where		spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	sniper_bow_multi
					Health		200
					Scale		1.3
					Name		"Arrow Novice"
					Class		Sniper
					Skill		Expert
					WeaponRestrictions	PrimaryOnly
					ItemAttributes
					{
						ItemName	"the huntsman"
						"damage bonus" 1.25
						"arrow mastery"	2	  // Shoots 4 Arrows because FUCK YOU
					}
					Item	"the huntsman"
				}
            }
        }
    }
	Wave    // Honaaa
	{
		WaitWhenDone	65
		Checkpoint		Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	w2_rocket_heavies
			TotalCurrency	120
			TotalCount	24
			MaxActive	12
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0.25
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Name	"Rocket Heavy"
					Class	heavyweapons
					ClassIcon	heavy
					Health	250
					Skill	Hard
					WeaponRestrictions	PrimaryOnly
					ItemAttributes
					{
						ItemName	"tomislav"
						"damage bonus"	0.25
						"fire rate bonus"	3
						"override projectile type"	2
					}
					Item	"tomislav"
				}
			}
		}
		WaveSpawn
		{
			Name	w2_pyro_meds
			WaitForAllDead	w2_rocket_heavies
			TotalCount	48
			MaxActive	24
			SpawnCount	2
			TotalCurrency	480
			WaitBeforeStarting	0
			WaitBetweenSpawns	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Name	"Pyro"
					Skill	Normal
					Class	Pyro
					ClassIcon	Pyro
					Health	140
					WeaponRestrictions	PrimaryOnly
					ItemAttributes
					{
						ItemName	"TF_WEAPON_FLAMETHROWER"
						"flame life bonus"	0.5
					}
					Item	"TF_WEAPON_FLAMETHROWER"
				}
				TFBot
				{
					Name	"Quick Fix Shield Medic"
					Skill	Expert
					Class	Medic
					ClassIcon	medic_shield_qf
					Health	100
					Attributes	"ProjectileShield"
					Attributes	"SpawnWithFullCharge"
					WeaponRestrictions	SecondaryOnly
					ItemAttributes
					{
						ItemName	"the quick-fix"
						"generate rage on heal"	20
						"increase buff duration"	6
					}
					Item	"the quick-fix"
				}
			}
		}
		WaveSpawn
		{
			Name	w2_giant_scout_rush
			WaitForAllDead	w2_pyro_meds
			TotalCurrency	300
			TotalCount	6
			MaxActive	6
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns	0.25
			Where	spawnbot_giant
			Squad
			{
				TFBot
				{
					Name	"Giant Holy Scout"
					Skill	Expert
					Class	Scout
					ClassIcon	scout_fish
					Scale	1.75
					Health	1250
					tag	"bot_giant"
					Attributes	"Miniboss"
					WeaponRestrictions	MeleeOnly
					ItemAttributes
					{
						ItemName	"the holy mackerel"
						"fire rate bonus"	0.75
						"critboost on kill" 6
					}
					CharacterAttributes
					{
						"move speed bonus"	1.2
						"airblast vulnerability multiplier"	0.5
					}
					Item	"the holy mackerel"
				}
			}
		}
		WaveSpawn
		{
			Name	w2_light_heavy
			WaitForAllDead	w2_giant_scout_rush
			TotalCurrency	540
			TotalCount	72
			MaxActive	24
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0.15
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Name	"Heavy Scout"
					Skill	Expert
					Class	heavyweapons
					ClassIcon	heavy
					Health	400
					WeaponRestrictions	SecondaryOnly
					ItemAttributes
					{
						ItemName	"The Family Business"
						"faster reload rate"	0.1
						"fire rate bonus"	0.5
						"damage bonus"	0.25
					}
					CharacterAttributes
					{
						"move speed bonus"	1.5
					}
					Item	"The Family Business"
				}
			}
		}
		WaveSpawn
		{
			Name	w2_tank_center
			WaitForAllDead	w2_light_heavy
			TotalCurrency	250
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	2.5
			WaitBetweenSpawns	1
			Where	spawnbot
			Squad
			{
				Tank
				{
					Name	tankboss_flying_center
					Health	35000
					Speed	120
					StartingPathTrackNode	"tankpath_flight_center_1"
					OnKilledOutput
					{
						Target	boss_dead_relay
						Action	Trigger
					}
					OnBombDroppedOutput
					{
						Target	boss_deploy_relay
						Action	Trigger
					}
					Gravity 0  
				}
			}
		}
		WaveSpawn
		{
			Name	w2_demoknights
			WaitForAllDead	w2_tank_center
			TotalCurrency	120
			TotalCount	24
			MaxActive	24
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	2	
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Name	"Demoknight"
					Class	demoman
					ClassIcon	Demo
					Health	200
					WeaponRestrictions	MeleeOnly
					Skill	Expert
					ItemAttributes
					{
						ItemName	"the splendid screen"
						"charge recharge rate increased"	3
					}
					ItemAttributes
					{
						ItemName	"The Half-Zatoichi"
						"damage bonus"	1.5
						"attack not cancel charge"	1
					}
					Item	"the splendid screen"
					Item	"The Half-Zatoichi"
					Item	"Ali Baba's Wee Booties"
				}
			}
		}
		WaveSpawn
		{
			Name	w2_arrow_apprentice
			WaitForAllDead	w2_demoknights
			TotalCurrency	120
			TotalCount	24
			MaxActive	18
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Name	"FlyFilos God Sniper"
					Health	200
					Class	Sniper
					ClassIcon	sniper_bow_multi
					Skill	Expert
					WeaponRestrictions	PrimaryOnly
					ItemAttributes
					{
						ItemName	"the fortified compound"
						"arrow mastery"	4  
						"fire rate bonus"	0.1
						"clip size upgrade atomic"	60
						"sniper charge per sec"	2
						"turn to gold"	1
					}
					Item	"the fortified compound"
				}
			}
		}
		WaveSpawn
		{
			Name	w2_crusaders_medic
			WaitForAllDead	w2_arrow_apprentice
			TotalCurrency	500
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	1
			Where	spawnbot_giant
			Squad
			{
				TFBot
				{
					Name	"Battle Medic Giant"
					Health	50000
					Class	Medic
					Skill	Expert
					ClassIcon	Medic
					Scale	1.75
					Tag	"bot_giant"
					Attributes	"Miniboss"
					Attributes	"AlwaysCrit"
					Attributes	"AlwaysFireWeapon"
					Attributes	"UseBossHealthBar"
					WeaponRestrictions	PrimaryOnly
					ItemAttributes
					{
						ItemName	"The Blutsauger"
						"faster reload rate"	0.01
						"fire rate bonus"	0.35
						"damage bonus"	0.75
						"clip size upgrade atomic"	99
					}
					ItemAttributes
					{
						ItemName	"Vintage Tyrolean"
						"attach particle effect"	1
					}
					CharacterAttributes
					{
						"move speed bonus"	0.4
						"health regen"	200
					}
					Item	"The Blutsauger"
					Item	"Vintage Tyrolean"
				}
			}
		}
	}
	Wave	//Flyfilo2 //Wave 3
	{
		WaitWhenDone	65
		Checkpoint		Yes
		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		WaveSpawn
		{
			Name 	w3_OKTOBERFEST
			TotalCurrency	3500
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			StartWaveMessage	"HAHAHAHA!, OKTOBERFEST!"   
			WaitBeforeStarting	0
			WaitBetweenSpawns	1
			Where	spawnbot_giant
			Squad
	   	    {
   				TFBot
 			   	{
  		    	    ClassIcon Medic
   		       	   	Class Medic
       		   		Skill Expert
        		    Name	"OKTOBERFEST!"
           		 	Health	350000
           		    Attributes "ProjectileShield"
	        	    Attributes "SpawnWithFullCharge"
	    		    Attributes "MiniBoss"
	            	Attributes "UseBossHealthBar"
					Attributes "AlwaysCrit"
  	            	ItemAttributes
 	            	{
						ItemName    "Kritzkrieg"
						"overheal bonus" 	4
						"ubercharge rate bonus"	4
						"heal rate bonus"	4
						"is australium item"	1
       		    	}
					ItemAttributes
           		    {
                    	ItemName	"Vintage Tyrolean"
                    	"attach particle effect"    13
                	}	
					ItemAttributes
               		{
                    	ItemName    "Crusader's Crossbow"
                    	"damage bonus"  2.5
                    	"fire rate bonus"	0.2
					}
               		Item        "Crusader's Crossbow"
            		Item        "UberSaw"
					Item 		"Vintage Tyrolean"
          			Item        "Kritzkrieg"
           			Item         "Ubersaw"
				}
			}
		}
		WaveSpawn
		{
			Name	w3_KamikazeKnights
			WaitForAllDead w3_OKTOBERFEST
			TotalCurrency	1000
			TotalCount	48
			MaxActive	12
			SpawnCount	1
			WaitBeforeStarting	30
			WaitBetweenSpawns	0.25
			where spawnbot
			Squad
			{
				TFBot
				{
					Name	"Kamikaze Unit"
					ClassIcon	demo
					Class	Demoman
					Skill	Expert
					Health	250
					Attributes	"SpawnWithFullCharge"
					Attributes	"AlwaysCrit"
					WeaponRestrictions	MeleeOnly
					ItemAttributes
					{
						ItemName "Ullapool Caber"
						"blast dmg to self increased"	9999
						"damage bonus"	9999
					}
					ItemAttributes
					{
						ItemName "The Tide Turner"
						"charge impact damage increased"	0
						"charge recharge rate increased"	6
					}
					Item		"Bomber Knight"
					Item		"A Whiff of the Old Brimstone"
					Item		"Ullapool Caber"
					Item		"The Tide Turner"
				}
			}
		}
        WaveSpawn
        {
            Name    w3_rush_scouts
			WaitForAllDead w3_OKTOBERFEST
            TotalCount  70
            TotalCurrency   150
            MaxActive   12
            SpawnCount  1
            WaitBeforeStarting  0
            WaitBetweenSpawns   0.25
            Where   spawnbot_shed_center     
            Squad
            {
                TFBot
                {
                    ClassIcon   scout
                    Class   Scout 
                    Name    "Rush Scout"
                    Health  100
                    Skill   Expert
                    WeaponRestrictions  PrimaryOnly
                    ItemAttributes
                    {
                        ItemName    "Force-A-Nature"
                        "damage bonus" 	0.75
						"is australium item"	1
                    }
                    CharacterAttributes
                    {
                        "move speed bonus"  1.5
                    }
                    Item    "Force-A-Nature"
                }
            }
        }
	}
	Wave	//Flyfilo2 //Wave 3 (Random Bullshit Round) since i ran out of ideas.
	{
		WaitWhenDone	65
		Checkpoint		Yes
		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		WaveSpawn
		{
			Name	w4_Demopan_Standard
			StartWaveMessage	"RANDOM BULLSHIT, GO!"   
			TotalCurrency	1000
			TotalCount	40
			MaxActive	10
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0.5
			where spawnbot
			Squad
			{
				TFBot
				{
					Name	"Demopan"
					ClassIcon	demoman
					Class	Demoman
					Skill	Expert
					Health	250
					Attributes	"SpawnWithFullCharge"
					Attributes	"AlwaysCrit"
					WeaponRestrictions	MeleeOnly
					ItemAttributes
					{
						ItemName "Frying Pan"
						"damage bonus"	2.5
					}
					ItemAttributes
					{
						ItemName "The Tide Turner"
						"charge recharge rate increased"	6
					}
					Item		"The Frying Pan"
					Item		"The Tide Turner"
					Item		"Bootlegger"
					Item		"Bounty Hat"
					Item		"Dangeresque, Too?"
				}
			}
		}
		WaveSpawn
		{
			Name	w4_Demopan_Tide_Turner
			TotalCurrency	1000
			TotalCount	40
			MaxActive	10
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0.5
			where spawnbot
			Squad
			{
				TFBot
				{
					Name	"Demopan"
					ClassIcon	demoman
					Class	Demoman
					Skill	Expert
					Health	500
					Attributes	"SpawnWithFullCharge"
					Attributes	"AlwaysCrit"
					ItemAttributes
					{
						ItemName "Frying Pan"
						"damage bonus"	2.5
					}
					ItemAttributes
					{
						ItemName "The Chargin' Targe"
						"charge recharge rate increased"	6
					}
					Item		"The Frying Pan"
					Item		"The Chargin' Targe"
					Item		"Bootlegger"
					Item		"Bounty Hat"
					Item		"Dangeresque, Too?"
				}
			}
		}
		WaveSpawn
		{
			Name	w4_Hoovy_Standard
			TotalCurrency	350
			TotalCount	40
			MaxActive	10
			SpawnCount	2
			WaitBeforeStarting	10
			WaitBetweenSpawns	0.5
			where spawnbot
			Squad
			{
				TFBot
				{
					Name	"Hoovy"
					ClassIcon	heavy
					Class	Heavy
					Skill	Expert
					Health	250
					Attributes	"AlwaysCrit"
					WeaponRestrictions	MeleeOnly
					ItemAttributes
					{
						ItemName "The Holiday Punch"
						"damage bonus"	0
					}
					Item		"The Holiday Punch"
					Item		"Sandvich"
					Item		"Tough Guy's Toque"
					Item		"All-Father"
				}
			}
		}
		WaveSpawn
		{
			Name	w4_Hoovy_Pootis_Bird
			TotalCurrency	350
			TotalCount	40
			MaxActive	10
			SpawnCount	2
			WaitBeforeStarting	10
			WaitBetweenSpawns	0.5
			where spawnbot
			Squad
			{
				TFBot
				{
					Name	"Pootis Bird"
					ClassIcon	heavy
					Class	Heavy
					Skill	Expert
					Health	250
					Attributes	"AlwaysCrit"
					ItemAttributes
					{
						ItemName "Holiday Punch"
						"damage bonus"	0
					}
					Item		"Holiday Punch"
					Item		"Sandvich"
					Item		"Chicken Kiev"
				}
			}
		}
		WaveSpawn
		{
			Name	w4_Weeb_Spies
			TotalCurrency	300
			TotalCount	30
			MaxActive	10
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns	0.5
			where spawnbot
			Squad
			{
				TFBot
				{
					Name	"Weeb Ass Spy Main"
					ClassIcon	spy
					Class	Spy
					Skill	Expert
					Health	125
					Attributes	"AlwaysCrit"
					ItemAttributes
					{
						ItemName "Conniver's Kunai"
						"damage bonus"	1.5
					}
					ItemAttributes
					{
						ItemName "L'etranger"
						"damage bonus"	1.25
						"faster reload rate"	2
					}
					CharacterAttributes
					{
						"move speed bonus"	1.25
					}
					Item		"Conniver's Kunai"
					Item		"Hong Kong Cone"
					Item		"N'oh Mercy"
					Item		"Rogue's Robe"
					Item		"L'etranger"
					Item		"Dead Ringer"
					Item		"Red Tape-Recorder"
				}
			}
		}
		WaveSpawn
		{
			Name	w4_Piss_Snipers
			TotalCurrency	750
			TotalCount	75
			MaxActive	15
			SpawnCount	1
			WaitBeforeStarting	60
			WaitBetweenSpawns	0.5
			where spawnbot
			Squad
			{
				TFBot
				{
					Name	"Piss Master"
					ClassIcon	sniper
					Class	Sniper
					Skill	Expert
					Health	300
					ItemAttributes
					{
						ItemName "Jarate"
						"effect bar recharge rate increased"	2
					}
					ItemAttributes
					{
						ItemName "Sydney Sleeper"
						"faster reload rate"	2
						"fire rate bonus"	0.75
					}
					Item		"Jarate"
					Item		"Sydney Sleeper"
					Item		"Bushwacka"
					Item		"Master's Yellow Belt"
					Item		"Jarmaments"
				}
			}
		}
		WaveSpawn
		{
			Name	w4_Milkman_Scout
			TotalCurrency	500
			TotalCount	75
			MaxActive	15
			SpawnCount	1
			WaitBeforeStarting	60
			WaitBetweenSpawns	0.5
			where spawnbot
			Squad
			{
				TFBot
				{
					Name	"Milkman"
					ClassIcon	scout_milk
					Class	Scout
					Skill	Expert
					Health	200
					WeaponRestrictions	SecondaryOnly
					ItemAttributes
					{
						ItemName "Mad Milk"
						"effect bar recharge rate increased"	2
					}
					CharacterAttributes
					{
						"move speed bonus"	1.25
					}
					Item		"Shortstop"
					Item		"Mad Milk"
					Item		"Holy Mackerel"
					Item		"Milkman"
				}
			}
		}
		WaveSpawn
		{
			Name	w4_A_Pose_Demo
			TotalCurrency	300
			TotalCount	50
			MaxActive	10
			SpawnCount	2
			WaitBeforeStarting	30
			WaitBetweenSpawns	0.5
			where spawnbot_platform_far_right	 
			Squad
			{
				TFBot
				{
					Name	"A Pose Demo"
					ClassIcon	Demo
					Class	Demoman
					Skill	Expert
					Health	500
					WeaponRestrictions	primaryonly
					Item		"Bootlegger"
				}
			}
		}
		WaveSpawn
		{
			Name	w4_A_Pose_Pyro
			TotalCurrency	300
			TotalCount	50
			MaxActive	10
			SpawnCount	2
			WaitBeforeStarting	30
			WaitBetweenSpawns	0.5
			where spawnbot_shed_left	 	
			Squad
			{
				TFBot
				{
					Name	"A Pose Pyro"
					ClassIcon	Pyro
					Class	Pyro
					Skill	Expert
					WeaponRestrictions	SecondaryOnly
					Health	500
					Item		"Thermal Thruster"
				}
			}
		}
		WaveSpawn
		{
			Name	w4_A_Pose_Sniper
			TotalCurrency	300
			TotalCount	50
			MaxActive	10
			SpawnCount	2
			WaitBeforeStarting	30
			WaitBetweenSpawns	0.5
			where spawnbot_shed_center	 
			Squad
			{
				TFBot
				{
					Name	"A Pose Sniper"
					ClassIcon	Sniper
					Class	Sniper
					Skill	Expert
					Health	500
					WeaponRestrictions	SecondaryOnly
					Item		"Razorback"
				}
			}
		}
	}
	Wave	//Candyskill's Wave 5
	{
		WaitWhenDone	65
		Checkpoint		Yes
		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		WaveSpawn
		{
			Name    w1_scorched_pyros
            TotalCurrency   150
            TotalCount  96
            MaxActive   24
            SpawnCount  1
            WaitBeforeStarting  0
            WaitBetweenSpawns   0.5
			StartWaveMessage    "By CandySkill"  
            where   spawnbot_invasion
            Squad
            {
                TFBot
                {
                    ClassIcon	Pyro
					Health	215
					Name	"Annoying Sniper Pyro"
                    Scale   0.75   
					Class	Pyro
					Skill	Expert
					WeaponRestrictions	SecondaryOnly
					ItemAttributes
					{
						ItemName	"The Flare Gun"
						"faster reload rate"   0.33
                        "fire rate bonus"  0.66
					}
                    CharacterAttributes
                    {
                        "move speed bonus"  1.75
                        "dmg taken from bullets increased" 2.5
                        "dmg taken from fire reduced" 5
                        "dmg taken from blast reduced" 6
                    }
					Item	"The Flare Gun"
                }
            }
        }
        WaveSpawn
        {
            Name    Sir_Critsalot
            WaitForAllDead  w1_scorched_pyros
            TotalCurrency   1500
            TotalCount  1
            MaxActive   1
            SpawnCount  1
            StartWaveMessage    "Be Aware of his Crits!"  
            WaitBeforeStarting  0
            WaitBetweenSpawns   0.5
            Where   spawnbot_giant
            Squad
            {
                TFBot
                {
                    ClassIcon   soldier_giant
                    Class   Soldier
                    Scale   1.75
                    Name    "Sir Critsalot"
                    Health  500000 
                    Skill   Expert
					Tag 	"bot_giant"
                    WeaponRestrictions  PrimaryOnly
					Attributes  AlwaysCrit
                    Attributes  MiniBoss
                    Attributes  UseBossHealthBar
                    Attributes  AlwaysFireWeapon
                    ItemAttributes
                    {
                        ItemName    "Rocket Launcher"
                        "clip size upgrade atomic" 4996
                        "damage bonus"  2.5
						"fire rate bonus" 0.33
						"faster reload rate" 0.33
						"blast radius increased" 3
						"is australium item" 1
                    }
                    CharacterAttributes
                    {
                        "move speed bonus" 0.25
						"health regen" 520
						"cancel falling damage" 1
                        "dmg taken from bullets increased" 7.5
                    }
                    Item    "Rocket Launcher"
                }
            }
        }
        WaveSpawn
        {
            Name    demoknight_giant
            WaitForAllDead  Sir_Critsalot
            TotalCurrency   600
            TotalCount  48
            MaxActive   24
            SpawnCount  2
            WaitBeforeStarting  0
            WaitBetweenSpawns   3.5
            Where   spawnbot_platform_far_right     
            Squad
            {
                TFBot
                {
                    ClassIcon   demoknight_giant
                    Class   demoman
                    Name    "Demoknight TF2" // Yes i went with this name, bite me
                    Health  1500			// Bites you
                    Skill   Hard
					Tag 	"bot_giant"
					Scale	1.75
					Attributes	Miniboss
                    WeaponRestrictions  MeleeOnly
                    ItemAttributes
                    {
                        ItemName    "The Eyelander"
                        "damage bonus"  2.15
                        "critboost on kill"	5
                    }
                    ItemAttributes
                    {
						ItemName	"The Tide Turner"
 						"charge recharge rate increased" 3
						"charge impact damage increased" 2.5
						"airblast vulnerability multiplier hidden" 2
                    }
                    CharacterAttributes
                    {
                        "move speed bonus"  0.25
                    }
                    Item    "The Eyelander"
					Item	"The Tide Turner"
                }
            }
        }
        WaveSpawn
		{
			Name	w2_arrow_apprentice
            WaitForAllDead  demoknight_giant
			TotalCurrency	500
			TotalCount		24
			MaxActive		25
			SpawnCount		12
			WaitBeforeStarting	0
			WaitBetweenSpawns	0.25
			Where	spawnbot
			Squad
			{
				TFBot
				{
                    ClassIcon   sniper_bow_multi
                    Class   Sniper
                    Name	"Arrow Bois"
					Health	210
                    Skill   Expert
                    WeaponRestrictions  PrimaryOnly
                    Attributes  AlwaysCrit
                    ItemAttributes
                    {
                        ItemName "The Huntsman"
                        "damage bonus" 1.5
                        "faster reload rate" 0.5
                        "armor piercing" 2
                    }
                    ItemAttributes
                    {
                        ItemName "Darwin's Danger Shield"
                        "fire retardant" 1
                        "dmg taken from fire reduced" 0.75
                        "dmg taken from crit reduced" 0.75
                    }
                    CharacterAttributes
                    {
                        "move speed bonus" 1.5
                        "health regen" 50
                    }
                    Item    "The Huntsman"
                }
			}
		}
        WaveSpawn
		{
			Name	w2_rocket_heavies
			WaitForAllDead	w2_arrow_apprentice
			TotalCurrency	900
			TotalCount	48
			MaxActive	24
			SpawnCount	12
            StartWaveMessage    "Do you like Crits from normal Soldiers that have The Direct Hit?"    // No
			WaitBeforeStarting	0
			WaitBetweenSpawns	5.5
            Where   spawnbot_invasion
			Squad
			{
				TFBot
				{
                    ClassIcon   Soldier
                    Class   Soldier 
                    Name    "Fast Rapid Soldier"
                    Health  750
                    Skill Expert
                    WeaponRestrictions  PrimaryOnly
                    Attributes AlwaysCrit
                    ItemAttributes
                    {
                        ItemName    "The Direct Hit"
                        "faster reload rate" 0.11
                        "fire rate bonus" 0.33
                        "blast radius increased" 2.5
                        "damage bonus" 3
                    }
                    CharacterAttributes
                    {
                        "dmg taken from bullets reduced" 0.5
                        "dmg taken from blast reduced" 2
                        "dmg taken from fire increased" 3
                    }
                    Item    "The Direct Hit"
                }
            }
		}
        WaveSpawn
        {
            Name    w2_giant_scout_rush
            WaitForAllDead w2_rocket_heavies
            TotalCurrency   300
            TotalCount  1
            MaxActive   1
            SpawnCount  1
            WaitBeforeStarting  0
            WaitBetweenSpawns   2
            Where   spawnbot_invasion
            Squad
            {
                TFBot
                {
                    ClassIcon   Scout
                    Class   Scout
                    Name    "Fish Giant Scout"
                    Skill   Expert
                    Scale   1.85
                    Health  1750
                    WeaponRestrictions  MeleeOnly
                    Attributes  AlwaysCrit
                    ItemAttributes
                    {
                        ItemName    "The Holy Mackerel"
                        "damage bonus"  1.5
                        "melee range multiplier" 2.25
                    }
                    CharacterAttributes
                    {
                        "airblast vulnerability multiplier" 2.5
                        "dmg taken from bullets reduced" 1.75
                        "dmg taken from fire reduced" 1.75
                        "dmg taken from blast increased" 2
                        "move speed bonus" 2.5
                    }
                    Item    "The Holy Mackerel"
                }
            }
        }
        WaveSpawn
		{
			Name	w1_giant_heal_heavy
			WaitForAllSpawned   w2_giant_scout_rush
			TotalCurrency	240
			TotalCount		24
			MaxActive		12
			SpawnCount		2
            StartWaveMessage    "You better have a Soldier!!!"  
			WaitBeforeStarting	0
			WaitBetweenSpawns	2
			Where		spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	heavy_deflector_healonkill
					Health		4500
					Scale		1.5
					Name		"I heal when I shoot you"
					Class		heavyweapons
                    Tag         "bot_giant"
					Skill		Expert
					WeaponRestrictions	PrimaryOnly
                    Attributes  AlwaysCrit
                    Attributes  AlwaysFireWeapon
					ItemAttributes
					{
						ItemName	"Natascha"
						"damage bonus" 1.25
						"overheal bonus" 15
                        "heal on hit for slowfire" 25
                        "fire rate bonus" 0.33
                        "minigun spinup time increased" 4
					}
                    CharacterAttributes
                    {
                        "dmg taken from bullets reduced" 999
                        "dmg taken from blast increased" 5
                        "dmg taken from fire reduced" 999
                        "health regen" 125
                    }
					Item	"Natascha"
				}
            }
        }
        WaveSpawn
		{
			Name	w1_boxing_champion
			WaitForAllDead	w1_giant_heal_heavy
			TotalCurrency	750
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0.5
			StartWaveMessage    "The Champ himself has shown up!"   
            Where   spawnbot_giant
			Squad
			{
				TFBot
				{
					ClassIcon	heavy_champ_giant
					Health	75000
					Name	"The Champ himself"
					Scale   1.75
					Class	HeavyWeapons
					Skill	Hard
					WeaponRestrictions	MeleeOnly
					Tag "bot_giant"
					Attributes	AlwaysCrit
					Attributes	MiniBoss
					Attributes  UseBossHealthBar
					Attributes  AlwaysFireWeapon
					ItemAttributes
					{
						ItemName	"The Fists of Steel"
						"melee range multiplier"    5
						"damage bonus"  5.5
					}
					CharacterAttributes
					{
						"move speed bonus"	0.5
						"airblast vulnerability multiplier"	0.3
						"health regen"	200
					}
					Item	"The Fist of Steel"
					Item	"The heavy Lifter"
                    Item    "Pugilist's Protector"
				}
			}
		}
        WaveSpawn
        {
            Name    w1_scout_bat_2
            WaitForAllSpawned   w2_rocket_heavies
            TotalCurrency   550
            TotalCount 52
            MaxActive 26
            SpawnCount 26
            WaitBeforeStarting 0
            WaitBetweenSpawns 0.5
            Where   Spawnbot
            support 1
            Squad
            {
                TFBot
                {
                    ClassIcon   scout
                    Class   Scout
                    Name    "The Bat Scout"
                    Health  215
                    Skill   Normal  
                    WeaponRestrictions  MeleeOnly
                    Attributes  AlwaysCrit
                    ItemAttributes 
                    {
                        ItemName    "The Bat Outta Hell"
                        "melee range multiplier" 2.5
                        "damage bonus" 1.75
                        "max health additive bonus" 550 // plus the multiplier per red member (903% max)
                        "slow enemy on hit" 20
                    }
                    CharacterAttributes
                    {
                        "move speed bonus" 1.75
                        "increased jump height" 2.5
                    }
                    Item    "The Bat Outta Hell"
                }
            }
        }
        WaveSpawn
        {
            Name    Support_Medic
            WaitForAllSpawned   Sir_Critsalot
            TotalCurrency   0
            TotalCount 50
            MaxActive   3
            SpawnCount  3
            WaitBeforeStarting 0
            WaitBetweenSpawns  1.25
            Where   spawnbot_giant
            support 1
            Squad
            {
                TFBot
                {
                    ClassIcon   Medic
                    Class   Medic
                    Name    "I heal the boss"
                    Skill   Expert
                    Health  1500
                    WeaponRestrictions SecondaryOnly   
                    ItemAttributes 
                    {
                        ItemName    "The Quick-Fix"
                        "heal rate bonus" 3.5
                        "overheal bonus" 2.75
                        "overheal decay bonus" 4.25
                        "fire retardant" 1
                        "dmg taken from bullets reduced" 2.5
                        "dmg taken from fire reduced" 2.5
                        "dmg taken from blast increased" 3
                    }
                    CharacterAttributes
                    {
                        "airblast vulnerability multiplier" 100
                        "health regen" 375
                    }
                    Item    "The Quick-Fix"
				}
			}
		}
	}
    Wave    //Candy's Wave 6
    {
        WaitWhenDone	65
		Checkpoint		Yes
		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		WaveSpawn
        {
            Name    PostBoss_Tank
            TotalCurrency 3750
            TotalCount  1
            MaxActive  1
            SpawnCount  1
            WaitBeforeStarting 0
            StartWaveMessage    "Don't let him Kill one of your teammates!"  
            WaitBetweenSpawns 0.5
            Where   spawnbot
            Squad
            {
                TFBot
                {
                    ClassIcon   heavy_champ_giant
                    Class   Heavy
                    Name    "One Hit = 1 Kill"
                    Skill   Expert
                    Health  750000
                    Scale   2.15
                    Tag "bot_giant"
                    WeaponRestrictions  MeleeOnly
                    Attributes  AlwaysCrit
                    Attributes  MiniBoss
                    Attributes  UseBossHealthBar
                    ItemAttributes
                    {
                        ItemName    "Festive Gloves of Running Urgently"
                        "damage bonus" 250
                        "dmg taken from bullets increased" 5.75
                        "dmg taken from blast reduced" 1.75
                        "dmg taken from fire increased" 12.5
                        "heal on kill" 1000000
						"mod_maxhealth_drain_rate" 0
						"killstreak tier" 1
						"melee range multiplier" 7
                    }
					ItemAttributes
					{
						ItemName	"Combat Slacks"
						"attach particle effect" 1
					}
					ItemAttributes
					{
						ItemName	"The Big Steel Jaw Of Summer Fun"
						"attach particle effect" 52
					}
                    CharacterAttributes
                    {
                        "move speed bonus" 0.35
                        "overheal bonus" 2500
                        "overheal decay bonus" 2500
                        "health regen"  1250
                    }
                    Item    "Festive Gloves of Running Urgently"
                    Item    "Combat Slacks"
                    Item    "The Big Steel Jaw Of Summer Fun"
                }
            }
        }
        WaveSpawn
        {
            Name    Boss_Healers
            WaitForAllSpawned   PostBoss_Tank
            TotalCount  350
            MaxActive   5
            SpawnCount  5
            WaitBeforeStarting  25
            WaitBetweenSpawns   3.5
            StartWaveMessage    "Kill them before they have a chance to use their uber!"	 
            Where   spawnbot
            Support 1
            Squad
            {
                TFBot
                {
                    ClassIcon   Medic
                    Class   Medic
                    Name    "Mini Medics = I heal you!"
					Scale	0.5
                    Health  1500
                    WeaponRestrictions  SecondaryOnly
                    ItemAttributes
                    {
                        ItemName    "The Quick-Fix"
                        "heal rate bonus"   50
                        "overheal bonus"    25
                        "overheal decay bonus" 25
                    }
                    CharacterAttributes
                    {
                        "health regen" 1500
                        "dmg taken from fire reduced" 2.5
                        "dmg taken from bullets increased" 10
                        "dmg taken from blast reduced" 99
                    }
					Item	"The Quick-Fix"
                }
            }
        }
		WaveSpawn
		{
			Name	Soldier_crits
			WaitForAllSpawned	PostBoss_Tank
			TotalCount 75
			MaxActive	5
			SpawnCount	5
			WaitBeforeStarting	45
			WaitBetweenSpawns	5
			StartWaveMessage	"More SUPPORTERS!!!"  
			Where	spawnbot_invasion
			Support	1
			Squad
			{
				TFBot
				{
					ClassIcon	Soldier
					Class	Soldier	
					Name	"Rapid Fire Soldier"
					Health 350
					Skill	Hard
					WeaponRestrictions	PrimaryOnly
					Attributes	AlwaysCrit
					ItemAttributes
					{
						ItemName	"The Original"
						"damage bonus"	0.1
						"blast radius increased" 3.5
						"projectile speed increased" 5.5
						"faster reload rate" 0.33
						"fire rate bonus" 0.33
					}
					CharacterAttributes
					{
						"move speed bonus" 2.15
						"health regen" 125
					}
					Item	"The Original"
				}
			}
		}
		WaveSpawn
		{
			Name	HeavyWeapons_fasterfiring
			WaitForAllSpawned	PostBoss_Tank
			TotalCount	125
			MaxActive	15
			SpawnCount	3
			WaitBeforeStarting	50
			WaitBetweenSpawns	3
			Where	spawnbot_invasion
			Support	1
			Squad
			{
				TFBot
				{
					Class	HeavyWeapons
					ClassIcon	Heavy
					Name	"Fast Firing Heavy"
					Health 750
					Skill	Hard
					WeaponRestrictions	PrimaryOnly
					Attributes	AlwaysCrit
					ItemAttributes
					{
						ItemName	"Natascha"
						"damage bonus" 0.5
						"fire rate bonus" 2.15
						"bullets per shot bonus" 2
						"heal on kill" 250
						"heal on hit for slowfire" 75
					}
					CharacterAttributes
					{
						"move speed bonus" 1.25
						"health regen" 225
					}
					Item	"Natascha"
				}
			}
		}
		WaveSpawn
		{
			Name	w4_Piss_Snipers
			WaitForAllSpawned	PostBoss_Tank
			TotalCount	182
			MaxActive	27
			SpawnCount	8
			WaitBeforeStarting	60
			WaitBetweenSpawns	12
			Where	spawnbot_invasion
			Support	1
			Squad
			{
				TFBot
				{
					Class	Sniper	
					ClassIcon	Sniper
					Health	250
					Name	"I piss to give mini-crits"
					Skill	Hard
					ItemAttributes
					{
						ItemName	"The Sydney Sleeper"
						"faster reload rate" 0.11
						"fire rate bonus" 0.77
						"SRifle charge rate increased" 100
						"turn to gold" 1
					}
					ItemAttributes
					{
						ItemName	"The Cozy Camper"
						"dmg taken from bullets increased" 2.5
						"dmg taken from fire reduced" 0.75
						"dmg taken from blast reduced" 1.25
						"airblast vulnerability multiplier" 1.5
					}
					CharacterAttributes
					{
						"health regen" 125
						"move speed bonus" 1.75
					}
					Item	"The Sydney Sleeper"
					Item	"The Cozy camper"
				}
			}	
		}
		WaveSpawn	
		{
			Name	"T_TFBot_Spy"
			WaitForAllSpawned	PostBoss_Tank
			TotalCount	25
			MaxActive	13
			SpawnCount	13
			WaitBeforeStarting 	0
			WaitBetweenSpawns	0
			Where	spawnbot
			Support	1
			Squad
			{
				TFBot
				{
					Class	Spy	
					ClassIcon	Spy
					Health	50
					Scale	1.75
					Name	"Tiny-Mini Spy" // it's basically my spy but tiny and robotic. (Candy)
					Skill	Expert
					ItemAttributes
					{
						ItemName	"Conniver's Kunai"
						"melee range multiplier" 2.5
						"damage bonus" 1.75
						"silent killer" 1
						"disguise on backstab" 1
					}
					ItemAttributes
					{
						ItemName	"Festive Ambassador"
						"damage bonus"	2.5
						"faster reload rate" 0.11
						"fire rate bonus" 0.77 
					}
					ItemAttributes
					{
						ItemName	"Fancy Fedora"
						"attach particle effect" 1
					}
					CharacterAttributes
					{
						"move speed bonus" 3.5
						"health drain"	5
					}
					Item	"Conniver's Kunai"
					Item	"Festive Ambassador"
					Item	"Fancy Fedora"
				}
			}
		}	
	}
	Wave    //Honaaa's 7th wave
    {
        WaitWhenDone	65
		Checkpoint		Yes
		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		WaveSpawn
		{
			Name	w7_oh_no
			TotalCurrency	600
			TotalCount	120
			MaxActive	24
			SpawnCount	1
			Where	spawnbot
			StartWaveMessage    "HOLY FKIN SHIT IS THIS AN mvm_mannhattan_attackonhattan POWER SCOUT REFERENCE?!!!!1!1!1!!!"    
			WaitBeforeStarting	0
			WaitBetweenSpawns	0.25
			Squad
			{
				TFBot
				{
					Name	"Power Scout"
					Health	225
					ClassIcon	scout
					Class	scout
					Skill	Expert
					WeaponRestrictions	PrimaryOnly
					ItemAttributes
					{
						ItemName	"gold botkiller scattergun mk.i"
						"damage bonus"	0.75
						"fire rate bonus"	0.75
						"faster reload rate"	0.1
					}
					CharacterAttributes
					{
						"move speed bonus"	1.25
						"health regen"	25
					}
					Item	"gold botkiller scattergun mk.i"
				}
			}
		}
		WaveSpawn
		{
			Name	w7_Discharge_Soldier
			WaitForAllDead	w7_oh_no
			TotalCurrency	500
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot_shed_center	 
			StartWaveMessage    "FK YOU, FK YOU, LEAVE THE CITY NOOOOWWWWW"    
			WaitBeforeStarting	5
			WaitBetweenSpawns	1
			Squad
			{
				TFBot
				{
					Name	"LEAVE THE CITY NOOOOOOWWWW"
					Health	350000
					Skill	Expert
					ClassIcon	boss_soldier_tankdestroyer
					Class	Soldier
					WeaponRestrictions	PrimaryOnly
					Tag	"bot_giant"
					Attributes	"MiniBoss"
					Attributes	"UseBossHealthBar"
					Attributes	"AlwaysCrit"
					ItemAttributes
					{
						ItemName	"the original"
						"heal on hit for slowfire"	50
						"Blast radius increased"	3
						"Projectile speed increased"	0.40
						"Projectile range increased"	9
						"fire rate bonus"	0.4
						"faster reload rate"	0.1
						"clip size upgrade atomic"	6
						"damage causes airblast"	1
						"attach particle effect"	704
						"mod projectile heat aim start time" 6	 
					}
					ItemAttributes
					{
						ItemName	"tyrant's helm"
						"attach particle effect"	17
					}
					CharacterAttributes
					{
						"move speed bonus"	0.15
						"airblast vulnerability multiplier"	0.05
						"cancel falling damage"	1
						"health regen"	75
					}
					HomingRockets  
                    {
                        IgnoreDisguisedSpies 1  
                        IgnoreStealthedSpies 1  
                        RocketSpeed 0.75  
                        TurnPower 90  
                        MaxAimError 360  
                    }
					Item	"the original"
					Item	"tyrant's helm"
					Item	"osx item"
				}
			}
		}
		WaveSpawn
		{
			Name	w7_Boss_Scout
			WaitForAllDead	w7_oh_no
			TotalCurrency	500
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	1
			Squad
			{
				TFBot
				{
					Name	"Boss Scout"
					Health	50000
					Skill	Expert
					ClassIcon	Scout
					Class	Scout
					WeaponRestrictions	SecondaryOnly
					Tag	"bot_giant"
					Attributes	"MiniBoss"
					Attributes	"UseBossHealthBar"
					Attributes	"AlwaysCrit"
					ItemAttributes
					{
						ItemName	"Pretty Boy's Pocket Pistol"
						"override projectile type"	2
						"faster reload rate"	0.05
						"fire rate bonus"	0.4
						"damage bonus"	2
						"Projectile speed increased"    0.75
					}
					CharacterAttributes
					{
						"move speed bonus"	1.5
						"airblast vulnerability multiplier"	0.75
						"cancel falling damage"	1
						"health regen"	25
					}
					Item	"Pretty Boy's Pocket Pistol"
					Item	"osx item"
				}
			}
		}
		WaveSpawn
		{
			Name	w7_demospam
			WaitForAllDead	w7_Boss_Scout
			TotalCurrency	500
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot_shed_center	 
			StartWaveMessage    "Any of you that think ye're better 'n me you're gon' have another thing c-..."    
			WaitBeforeStarting	0
			WaitBetweenSpawns	1
			Squad
			{
				TFBot
				{
					Name	"DemoBAM?!"
					Health	200000
					Skill	Expert
					ClassIcon	demo_giant
					Class	demoman
					WeaponRestrictions	PrimaryOnly
					Tag	"bot_giant"
					Attributes	"MiniBoss"
					Attributes	"UseBossHealthBar"
					Attributes	"AlwaysCrit"
					ItemAttributes
					{
						ItemName	"Grenade Launcher"
						"damage bonus"	6
						"Blast radius increased"	6
						"Projectile speed increased"	1.5
						"Projectile range increased"	9
						"fire rate bonus"	2
						"faster reload rate"	0.1
						"clip size upgrade atomic"	6
						"damage causes airblast"	1
						"use large smoke explosion"	1
					}
					ItemAttributes
					{
						ItemName	"tyrant's helm"
						"attach particle effect"	17
					}
					CharacterAttributes
					{
						"move speed bonus"	0.15
						"airblast vulnerability multiplier"	0.05
						"cancel falling damage"	1
						"health regen"	100
					}
					Item	"Grenade Launcher"
					Item	"tyrant's helm"
					Item	"osx item"
				}
			}
		}
		WaveSpawn
        {
            Name    w7_shed_left_support_heater
			WaitForAllDead	w7_demospam
            TotalCurrency   999
            TotalCount  999
            MaxActive   3
            SpawnCount  1
            where   spawnbot_shed_left   
            WaitBeforeStarting  0
            WaitBetweenSpawns   2
			Support	1
            Squad
            {
                TFBot
                {
                    Name    "Heater Heavy"
                    Class   Heavyweapons
                    ClassIcon   heavy_heater
                    Health  500
                    Skill   Expert
                    WeaponRestrictions  PrimaryOnly
					ItemAttributes
					{
						ItemName	"The Huo-Long Heater"
						"fire rate bonus"	0.5
						"damage bonus"	0.5
						"bullets per shot bonus"	2
						"crit vs burning players"	1
					}
					CharacterAttributes
					{
						"move speed bonus"	1.25
					}
					Item	"The Huo-Long Heater"
                }
            }
        }
		WaveSpawn
        {
            Name    w7_far_right_arrow_support
			WaitForAllDead	w7_demospam
            TotalCurrency   999
            TotalCount  999
            MaxActive   3
            SpawnCount  1
            where   spawnbot_platform_far_right  
			Support	1
            WaitBeforeStarting  0
            WaitBetweenSpawns   2
            Squad
            {
				TFBot
				{
					Name	"Arrow Caster"
					Health	200
					Class	Sniper
					WeaponRestrictions	PrimaryOnly
					ItemAttributes
					{
						ItemName	"the fortified compound"
						"arrow mastery"	6  
						"damage bonus"	2
						"fire rate bonus"	0.1
						"faster reload rate"	0.01
						"clip size upgrade atomic"	60
						"turn to gold"	1
					}
					Item	"the fortified compound"
				}
			}
		}
		WaveSpawn
        {
            Name    w7_hatch_suport_med_pyros
			WaitForAllDead	w7_demospam
            TotalCurrency   999
            TotalCount  999
            MaxActive   4
            SpawnCount  2
            where   spawnbot_hatch_sneaky  
			Support	1
            WaitBeforeStarting  0
            WaitBetweenSpawns   2
            Squad
            {
				TFBot
				{
					ClassIcon	pyro
					Health	300
					Name	Pyro
					Class	Pyro
					Skill	Expert
					attributes	AlwaysCrit
					WeaponRestrictions	PrimaryOnly
					ItemAttributes
					{
						ItemName	"the phlogistinator"
						"damage bonus"	0.75
						"heal on hit for rapidfire"	50
					}
					Item	"the phlogistinator"
				}
				TFBot
				{
					ClassIcon	medic
					Health	150
					Name	"Flashers"
					Class	Medic
					Skill	Expert
					WeaponRestrictions	SecondaryOnly
					Attributes	"SpawnWithFullCharge"
					ItemAttributes
					{
						ItemName	"tf_weapon_medigun"
						"heal rate bonus"	15
						"uber duration bonus"	-4
						"ubercharge rate bonus"	9
						"bot medic uber deploy delay duration"	999
					}
					Item	"tf_weapon_medigun"
				}
			}
		}
		WaveSpawn
        {
            Name    w7_mining_support
			WaitForAllDead	w7_demospam
            TotalCurrency   999
            TotalCount  999
            MaxActive   3
            SpawnCount  1
            where   spawnbot_mann_mining  
            WaitBeforeStarting  0
			Support	1
            WaitBetweenSpawns   2
            Squad
            {
                TFBot
				{
					Name	"The Silly Little Scallywag Pyro"
					ClassIcon	pyro
					Class	pyro
					Health	120
					Skill	Expert
					WeaponRestrictions	PrimaryOnly
					ItemAttributes
					{
						ItemName	"TF_WEAPON_FLAMETHROWER"
						"damage bonus"	2.5
						"flame size bonus"	3
						"flame life bonus"	6
						"airblast pushback scale" 1.5
					}
					CharacterAttributes
					{
						"move speed bonus"	1.25
						"airblast vulnerability multiplier" 2
					}
					Item	"TF_WEAPON_FLAMETHROWER"
				}
            }
        }
		WaveSpawn
        {
            Name    w7_chaps_support
			WaitForAllDead	w7_demospam
            TotalCurrency   999
            TotalCount  999
            MaxActive   3
            SpawnCount  1
            where   spawnbot_chaps  
            WaitBeforeStarting  0
            WaitBetweenSpawns   2
			Support	1
            Squad
            {
                TFBot
				{
					ClassIcon	heavy
					Health	1000
					Name	"Giant Rocket Heavy"
					Scale	1.4
					Class	HeavyWeapons
					Skill	Expert
					WeaponRestrictions	PrimaryOnly
					Tag	"bot_giant"
					Attributes	"AlwaysCrit"
					Attributes	"MiniBoss"
					ItemAttributes
					{
						ItemName	"tomislav"
						"override projectile type"	2
						"fire rate bonus"	1.25
						"damage bonus"	2
					}
					CharacterAttributes
					{
						"move speed bonus"	0.6
						"airblast vulnerability multiplier"	0.3
						"health regen"	50
					}
					Item	"tomislav"
					Item	"officer's ushanka"
					Item	"osx item"
				}
            }
        }
		WaveSpawn
		{
			Name	w7_hatch_tanks
			WaitForAllDead	w7_demospam
			TotalCurrency	9990
			TotalCount		999
			MaxActive		3
			SpawnCount		1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot
			Support	1
			Squad
			{
				Tank
				{
					Health	2500
					Name	tankboss_hatch
					Speed	70
					StartingPathTrackNode	"tankpath_secret_hatch_tank_1"  
					OnKilledOutput
					{
						Target	boss_dead_relay
						Action	Trigger
					}
					OnBombDroppedOutput
					{
						Target	boss_deploy_relay
						Action	Trigger
					}
					Gravity 0  
				}
			}
		}
		WaveSpawn
		{
			Name	w7_flying_tanks
			WaitForAllDead	w7_demospam
			TotalCurrency	9990
			TotalCount		999
			MaxActive		3
			SpawnCount		1
			WaitBeforeStarting	7.5
			WaitBetweenSpawns	15
			Where	spawnbot
			Support	1
			Squad
			{
				Tank
				{
					Health	20000
					Name	tankboss_flight
					Speed	125
					StartingPathTrackNode	"tankpath_flight_center_1"  
					OnKilledOutput
					{
						Target	boss_dead_relay
						Action	Trigger
					}
					OnBombDroppedOutput
					{
						Target	boss_deploy_relay
						Action	Trigger
					}
					Gravity 0  
				}
			}
		}
        WaveSpawn
		{
			Name	w7_pit_tanks
			WaitForAllDead	w7_demospam
			TotalCurrency	9990
			TotalCount		999
			MaxActive		3
			SpawnCount		1
			WaitBeforeStarting	25
			WaitBetweenSpawns	15
			Where	spawnbot
			Support	1
			Squad
			{
				Tank
				{
					Health	10000
					Name	tankboss_pit
					Speed	50
					StartingPathTrackNode	"tankpath_pit_1"  
					OnKilledOutput
					{
						Target	boss_dead_relay
						Action	Trigger
					}
					OnBombDroppedOutput
					{
						Target	boss_deploy_relay
						Action	Trigger
					}
					Gravity 0  
				}
			}
		}
		WaveSpawn
		{
			Name	w7_Gray_Mann
			WaitForAllDead	w7_demospam
			TotalCurrency	69
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	1
			where	spawnbot_giant
			Squad
			{
				TFBot
				{
					Name	"Gray Mann"
					Skill	Expert
					ClassIcon	soldier
					Class	Soldier
					Health	1000000
					WeaponRestrictions	PrimaryOnly
					tag	"bot_giant"
					Attributes	Miniboss
					Attributes	UseBossHealthBar
					Attributes	AlwaysCrit
					ItemAttributes
					{
						ItemName	"The Direct Hit"
						"damage bonus"	15
						"faster reload rate"	0.01
						"fire rate bonus"	0.2
						"projectile spread angle penalty"	6
						"Projectile speed increased"	0.3
						"projectile no deflect" 1	 
					}
					CharacterAttributes
					{
						"move speed bonus"	0.2
						"airblast vulnerability multiplier"	0.05
					}
					HomingRockets  
                    {
                        IgnoreDisguisedSpies 0  
                        IgnoreStealthedSpies 0  
                        RocketSpeed 0.3  
                        TurnPower 45  
                        MaxAimError 180  
                    }
					Item	"The Direct Hit"
				}
			}
		}
	}
}