#base robot_standard.pop
#base robot_giant.pop
#base robot_herp_main_new.pop

WaveSchedule
{
	StartingCurrency 800
	RespawnWaveTime 3
	CanBotsAttackWhileInSpawnRoom No
	TextPrintTime 0  
	
	ClassLimit //Limits the number of specified classes
	{
		Heavyweapons 1
		Soldier 1
		Demoman 1
		Pyro 1
	}

	Mission
	{
		Objective DestroySentries
		BeginAtWave 1
		RunForThisManyWaves 1
		InitialCooldown 5
		CooldownTime 50
		Where spawnbot
		
		RandomChoice
		{
			TFBot
			{
				Template	T_TFBot_Giant_Demoman_Buster_Improved
			}
			TFBot
			{
				Template	T_TFBot_Giant_Demoman_Buster_Heavy
			}
			TFBot
			{
				Template	T_TFBot_Giant_Demoman_Buster_Fast
			}
			TFBot
			{
				Template	T_TFBot_Giant_Demoman_Buster_Grapple
			}
			TFBot
			{
				Template	T_TFBot_Giant_Demoman_Buster_Drain
			}
			TFBot
			{
				Template	T_TFBot_Giant_Demoman_Buster_Small
			}
			TFBot
			{
				Template	T_TFBot_Giant_Demoman_Buster_Persistent
			}
			TFBot
			{
				Template	T_TFBot_Giant_Spy_Buster
			}
		}
	}
	
	Templates
	{
		T_TFBot_Scout_Melee
		{
			Class Scout
			Name "Scout"
			Skill Normal
			WeaponRestrictions MeleeOnly
		}
		
		T_TFBot_Soldier
		{
			Class Soldier
			Name "Soldier"
			Skill Easy
		}
		
		T_TFBot_Demoknight_Giant
		{
			Class Demoman
			Name "Giant Demoknight"
			ClassIcon demoknight
			Health 3300
			Skill Hard
			WeaponRestrictions MeleeOnly
			Item "The Chargin' Targe"
			Item "The Eyelander"
			WeaponRestrictions MeleeOnly
			
			ItemAttributes
			{
				ItemName "The Eyelander"
				"critboost on kill" 3
			}
			
			Attributes MiniBoss
			
			CharacterAttributes
			{
				"move speed bonus"	0.5
				"damage force reduction" 0.5
				"airblast vulnerability multiplier" 0.5
				"override footstep sound set" 4
			}
		}
		T_TFBot_Giant_Demoman_Buster_Improved
		{
			ClassIcon	sentry_buster
			Health	2500
			Name	"Sentry Buster"
			Class	Demoman
			Skill	Expert
			WeaponRestrictions	MeleeOnly
			Tag	"bot_sentrybuster"
			Tag	"bot_giant"
			Attributes	"MiniBoss"
			Attributes	"DisableDodge"
			Item	"The Ullapool Caber"
			CharacterAttributes
			{
				"move speed bonus"	2
				"damage force reduction"	0.2
				"airblast vulnerability multiplier"	0.00
				"airblast vertical vulnerability multiplier"	0.00
				"cannot be backstabbed"	1
				"override footstep sound set"	7
				"voice pitch scale"	0
				"rage giving scale"	0.1
			}
		}
		T_TFBot_Giant_Demoman_Buster_Heavy
		{
			ClassIcon	sentry_buster
			Health	2500
			Name	"Sentry Buster"
			Class	Heavy
			Skill	Expert
			WeaponRestrictions	MeleeOnly
			Tag	"bot_sentrybuster"
			Tag	"bot_giant"
			Attributes	"MiniBoss"
			Attributes	"DisableDodge"
			CharacterAttributes
			{
				"move speed bonus"	2
				"damage force reduction"	0.2
				"airblast vulnerability multiplier"	0.00
				"airblast vertical vulnerability multiplier"	0.00
				"cannot be backstabbed"	1
				"override footstep sound set"	7
				"voice pitch scale"	0
				"rage giving scale"	0.1
			}
		}
		T_TFBot_Giant_Demoman_Buster_Grapple
		{
			ClassIcon	sentry_buster
			Health	2500
			Name	"Grapple Sentry Buster"
			Class	Demoman
			Skill	Expert
			WeaponRestrictions	MeleeOnly
			Tag	"bot_sentrybuster"
			Tag	"bot_giant"
			Attributes	"AutoJump"
			AutoJumpMin 3
			AutoJumpMax 4
			Attributes	"MiniBoss"
			Attributes	"DisableDodge"
			Attributes	"AlwaysFireWeapon"
			Item	"The Ullapool Caber"
			Item	"TF_WEAPON_GRAPPLINGHOOK"
			ItemAttributes
			{
				ItemName	"TF_WEAPON_GRAPPLINGHOOK"
				"is_passive_weapon" 1
			}
			CharacterAttributes
			{
				"move speed bonus"	2
				"damage force reduction"	0
				"airblast vulnerability multiplier"	0.00
				"airblast vertical vulnerability multiplier"	0.00
				"cannot be backstabbed"	1
				"override footstep sound set"	7
				"voice pitch scale"	0
				"cancel falling damage" 1
				"increased jump height" 0.1
				"rage giving scale"	0.1
			}
		}
		T_TFBot_Giant_Demoman_Buster_Fast
		{
			ClassIcon	sentry_buster
			Health	2000
			Name	"Super Buster"
			Class	Scout
			Skill	Expert
			WeaponRestrictions	SecondaryOnly
			Tag	"bot_sentrybuster"
			Tag	"bot_giant"
			Attributes	"MiniBoss"
			Attributes	"DisableDodge"
			Item	"The Bolt Boy"
			CharacterAttributes
			{
				"move speed bonus"	2
				"damage force reduction"	0.2
				"airblast vulnerability multiplier"	0.00
				"airblast vertical vulnerability multiplier"	0.00
				"cannot be backstabbed"	1
				"override footstep sound set"	7
				"voice pitch scale"	0
				"head scale"	2.8
				"torso scale"	0.2
				"rage giving scale"	0.1
			}
		}
		T_TFBot_Giant_Demoman_Buster_Drain
		{
			ClassIcon	sentry_buster
			Health	2500
			Name	"Pissed Sentry Buster"
			Class	Sniper
			Skill	Expert
			WeaponRestrictions	SecondaryOnly
			Attributes	"AlwaysFireWeapon"
			Tag	"bot_sentrybuster"
			Tag	"bot_giant"
			Attributes	"MiniBoss"
			Attributes	"DisableDodge"
			Item	"Jarate"
			Item	"The Bushwacka"
			Item	"Desert Marauder"
			ItemAttributes
			{
				ItemName	"Jarate"
				"effect bar recharge rate increased"	0.1
			}
			CharacterAttributes	
			{
				"move speed bonus"	2.0
				"damage force reduction"	0.2
				"airblast vulnerability multiplier"	0.00
				"airblast vertical vulnerability multiplier"	0.00
				"cannot be backstabbed"	1
				"override footstep sound set"	7
				"voice pitch scale"	0
				"head scale"	2.8
				"torso scale"	0.2
				"rage giving scale"	0.1
			}
		}
		T_TFBot_Giant_Demoman_Buster_Small
		{
			ClassIcon	sentry_buster
			Health	1000
			Name	"Cloaking Sentry Buster"
			Class	Scout
			Skill	Expert
			Scale	1.3
			WeaponRestrictions	SecondaryOnly
			Tag	"bot_sentrybuster"
			Tag	"bot_giant"
			Attributes	"MiniBoss"
			Attributes	"DisableDodge"
			CharacterAttributes
			{
				"move speed bonus"	2
				"damage force reduction"	0.2
				"airblast vulnerability multiplier"	0.00
				"airblast vertical vulnerability multiplier"	0.00
				"cannot be backstabbed"	1
				"override footstep sound set"	7
				"voice pitch scale"	0
				"taunt_attr_player_invis_percent" 1
				"rage giving scale"	0.1
			}
		}
		T_TFBot_Giant_Demoman_Buster_Persistent
		{
			ClassIcon	sentry_buster
			Health	2500
			Name	"Persistent Sentry Buster"
			Class	Scout
			Skill	Expert
			WeaponRestrictions	MeleeOnly
			Tag	"bot_sentrybuster"
			Tag	"bot_giant"
			Attributes	"MiniBoss"
			Item	"The Ullapool Caber"
			Item	"The Bomber Knight"
			CharacterAttributes
			{
				"move speed bonus"	2
				"damage force reduction"	0.2
				"airblast vulnerability multiplier"	0.00
				"airblast vertical vulnerability multiplier"	0.00
				"cannot be backstabbed"	1
				"override footstep sound set"	7
				"voice pitch scale"	0
				"gesture speed increase"	999
				"head scale"	2.8
				"torso scale"	0.2
				"rage giving scale"	0.1
			}
		}
		T_TFBot_Giant_Spy_Buster
		{
			ClassIcon	sentry_buster
			Health	300
			Name	"Spy Buster"
			Class	Spy
			Skill	Expert
			Scale 1.0
			Tag	"bot_sentrybuster"
			Tag	"bot_giant"
			Attributes	"MiniBoss"
			CharacterAttributes
			{
				//"move speed bonus"	2
				"damage force reduction"	0.5
				"airblast vulnerability multiplier"	0.5
				"airblast vertical vulnerability multiplier"	0.5
				"voice pitch scale"	0
				"rage giving scale"	0.1
			}
		}
	}
	
	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		Explanation  
        {
            Line "{blue}I have learned to send messages!"
        }
		
		WaveSpawn //Melee Scouts
		{
			Name 1a
			TotalCurrency 25
			TotalCount 30
			MaxActive 6
			SpawnCount 6
			Where spawnbot
			WaitBetweenSpawns 10
			TFBot
			{
				Template T_TFBot_Scout_Melee
			}
		}
		
		WaveSpawn //Demomen
		{
			Name 2a
			TotalCurrency 25
			TotalCount 15
			MaxActive 3
			SpawnCount 3
			Where spawnbot_right
			WaitBetweenSpawns 10
			WaitBeforeStarting 5
			TFBot
			{
				Template T_TFBot_Demoman
			}
		}
		
		WaveSpawn //Giant Demoknight
		{
			Name 3a
			TotalCurrency 100
			TotalCount 12
			MaxActive 4
			SpawnCount 4
			Where spawnbot
			WaitBetweenSpawns 10
			WaitBeforeStarting 16
			Squad
			{
				TFBot
				{
					Template T_TFBot_Demoknight_Giant
				}
				
				TFBot
				{
					Template T_TFBot_Medic_Herp_Vac_Blast
				}
				
				TFBot
				{
					Template T_TFBot_Medic_Herp_Overheal
				}
				
				TFBot
				{
					Template T_TFBot_Medic_Herp_Overheal
				}
			}
		}
		
		WaveSpawn //KGB Heavy
		{
			Name S1a
			TotalCurrency 0
			TotalCount 6
			MaxActive 4
			SpawnCount 2
			Where spawnbot_left
			WaitBetweenSpawns 8
			WaitBeforeStarting 11
			Support 1
			TFBot
			{
				Template T_TFBot_Heavyweapons_Heavyweight_Champ
			}
		}
	}
}