//Advanced Bloodwood Created by A+drew
//Shank by dexc34
////////////////////////////////////////
//Wave 1 $600+$100(bonus)=$700 A+ (Rank) 
////////////////////////////////////////
//Wave 2 $800+$100(bonus)=$900 A+ (Rank)
////////////////////////////////////////
//Wave 3 $600+$100(bonus)=$700 A+ (Rank)
////////////////////////////////////////
//Wave 4 $700 A+ (Rank)
////////////////////////////////////////
//Wave ?? ??? ? (????)
////////////////////////////////////////
//Total Amount of Money
////////////////////////////////////////
//$2700+$400(A+ Rank Bonus)=$3100 (Total)
////////////////////////////////////////

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

population
{
	StartingCurrency	1000
	RespawnWaveTime	3
	CanBotsAttackWhileInSpawnRoom	no
	EventPopfile	Halloween
        Templates
	{
        	T_TFBot_Heavyweapons_Penetration //got this template from Herple Nerp Thanks! :)
		{
			ClassIcon	heavy_penetrate
			Health	300
			Name	"Penetrator Heavy"
			Class	HeavyWeapons
			Skill	Hard
			Item	"Iron Curtain"
			Item	"the eliminators safeguard"
			ItemAttributes
			{
				ItemName	"Iron Curtain"
				"projectile penetration heavy" 3
				"fire rate penalty"	1.25
				"damage bonus"	1.1
				"damage all connected"	1
			}
		}
                T_TFBot_Giant_Soldier_Turbo_Booster
		{
			ClassIcon soldier_spammer
                        Class Soldier
		        Name "Giant Turbo Booster Soldier"
			Health 3800
			Skill Expert
			WeaponRestrictions PrimaryOnly
			Attributes MiniBoss
			Attributes AlwaysCrit
			Item    "powerhouse_rocketlauncher_shellshocker"
                        Item	"the mantreads"
		        ItemAttributes
			{
				ItemName "powerhouse_rocketlauncher_shellshocker"
				"faster reload rate" -0.8
				"fire rate bonus" 0.5
				"fire rate bonus with reduced health"	0.3
                                "set_item_texture_wear"    0.2
                                "attach particle effect"	704 
			}
			CharacterAttributes
			{
				"move speed bonus"	0.5
				"damage force reduction" 0.4
				"airblast vulnerability multiplier" 0.4
				"override footstep sound set" 3
				"Projectile speed increased" 0.65
			}
			Item	"steel shako"
			Item	"the shogun's shoulder guard"
		}
                T_TFBot_Sniper_Always_Fire_Andrew
		{
			Class Sniper
			Name "Always Fire Sniper"
			Skill Normal
                        Item    "the awper hand"
			Item	"desert marauder"
                        Attributes AlwaysFireWeapon
			ItemAttributes 
                        {
				ItemName "the awper hand"
				"reload time increased" 1.25
				"sniper fires tracer HIDDEN" 1
				"lunchbox adds minicrits" 3
			}
		}
        }
	Mission
	{
		Objective	DestroySentries
		Where	spawnbot
		BeginAtWave	1
		RunForThisManyWaves	4
		InitialCooldown	45
		CooldownTime	45
		DesiredCount	1
                RandomChoice
                {
                        TFBot
			{
				ClassIcon	heavyweapons
				Health	2500
				Name	"Sentry Buster"
				Class	HeavyWeapons
				Skill	Expert
				WeaponRestrictions	MeleeOnly
				Attributes	"MiniBoss"
                                CharacterAttributes
			        {
				        "move speed bonus" 2
				        "damage force reduction" 0.5
				        "airblast vulnerability multiplier" 0.5
				        "override footstep sound set" 7
				        "cannot be backstabbed" 1
			        }
			}
                        TFBot
                        {
                                Health 3000
	                        Template   T_TFBot_SentryBuster
                                Name "Annoying Grapple Buster"
	                        Item   "TF_WEAPON_GRAPPLINGHOOK"
	                        Attributes   "AlwaysFireWeapon"
	                        Attributes   "AutoJump"
	                        AutoJumpMin  1
	                        AutoJumpMax  4
                                Item	"ghastly gibus 2011"
	                        ItemAttributes
				{
					ItemName "TF_WEAPON_GRAPPLINGHOOK"
					"is_passive_weapon" 1
					"increased jump height" 0.1
				}
				CharacterAttributes
				{
					"gesture speed increase"	999
                                        "torso scale"	0
					"head scale"	3
					"damage force reduction"	0.001
					"airblast vulnerability multiplier"	0.0001
					"rage giving scale"	0.0001
				}                        
			}
			TFBot
			{
				Template	T_TFBot_SentryBuster
                        	Name    "Skull Buster"
				Item	"spine-chilling skull 2011 style 3"
				CharacterAttributes
				{
					"torso scale"	0
			        	"head scale"	3
                                }
			}
                        TFBot
		        {
                                ClassIcon sentry_buster
			        Class Demoman
			        Name "Ghost Buster"
			        Health 3000
			        WeaponRestrictions MeleeOnly
			        Attributes MiniBoss
			        Item	"the executioner"
                                Item    "The Ullapool Caber"
                                ItemAttributes 
                                {
				        ItemName "the executioner"
				        "set item tint RGB"	15132390
				        "item_meter_charge_rate" 4
				        "force weapon switch" 1
				        "alt-fire disabled" 1
				        "single wep deploy time increased" 0.34
				        "taunt_attr_player_invis_percent" 1
			        }
			        CharacterAttributes
			        {
				        "torso scale"	0
			                "head scale"	3
                                        "move speed bonus" 2
				        "damage force reduction" 0.5
				        "airblast vulnerability multiplier" 0.5
				        "override footstep sound set" 7
				        "cannot be backstabbed" 1
				        "alt-fire disabled" 1
                                }
		        }  
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	2
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper_Sydney_Sleeper
			Item	"holy hunter"
			Item	"dead of night"
		}
	}
        Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	4
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper_Sydney_Sleeper
			Item	"holy hunter"
			Item	"dead of night"
		}
	}
        Mission
	{
		Objective	Spy
		Where	spawnbot_mission_spy
		BeginAtWave	1
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
	        {
                	Name "Dracula"
			Class Spy
			Skill Hard
			Item	"the distinguished rogue"
			Item	"starduster"
                        ItemAttributes
			{
				ItemName    "TF_WEAPON_KNIFE"
				"bleeding duration"	3
				"mark for death"	3 
			}
                        CharacterAttributes
			{
				"voice pitch scale"	0.5
				"SPELL: set Halloween footstep type"	1
			}
		}
	}
	Mission
	{
		Objective	Spy
		Where	spawnbot_mission_spy
		BeginAtWave	3
		RunForThisManyWaves	1
		InitialCooldown	45
		CooldownTime	45
		DesiredCount	2
		TFBot
		{
			ClassIcon	spy
			Health	125
			Name	"Ghost"
			Class	Spy
			Skill	Hard
			Item	"the executioner"
			ItemAttributes
			{
				ItemName	"the executioner"
				"set item tint RGB"	15132390
			}
			CharacterAttributes
			{
				"mark for death"	10
				"slow enemy on hit major"	4
				"voice pitch scale"	0.5
				"SPELL: set Halloween footstep type"	1
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay_1timedbomb
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	2.1
			Where	spawnbot_secondary
			WaitForAllSpawned	1
			TotalCurrency	100
			TotalCount	3
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Spammer
                                        Item    "Breach and Bomb"
                                        Item	"dead of night"
                                        Item	"the killer's kit"
				}
			}
		}
		WaveSpawn
		{
			Name	3
			Where	spawnbot_secondary
			TotalCurrency	100
			TotalCount	8
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	4
			WaitBetweenSpawns	6
			WaitForAllDead	2
			Squad
			{
				TFBot
				{
                                ClassIcon heavy_breadbite_nys
					WeaponRestrictions	MeleeOnly
					Health	5000
					Skill	Expert
					Name	"Bread Monster"
					Class	HeavyWeapons
					Attributes	"MiniBoss"
					Item	"The Bread Bite"
                                        ItemAttributes
					{
						ItemName "The Bread Bite"
                                                "fire rate bonus" 0.9
                                                "damage bonus" 1.5
                                                "slow enemy on hit major"	1
				                "bleeding duration"	3
				                "mark for death"	3 
                                        }
					CharacterAttributes
					{
						"override footstep sound set"	2
						"move speed bonus"	0.5
						"airblast vulnerability multiplier"	0.3
					}
                                        Item    "Breadcrab"
					Item	"Loaf Loafers"
				}
				TFBot
				{
					Template	T_TFBot_Medic
                                        Item "Flatliner"
				}
				TFBot
				{
					Template	T_TFBot_Medic
                                        Item "Flatliner"
				}
				TFBot
				{
					Template	T_TFBot_Medic
                                        Item "Flatliner"
				}
			}
		}
		WaveSpawn
		{
			Name	1
			Where	spawnbot
			TotalCurrency	32
			TotalCount	30
			MaxActive	6
			SpawnCount	3
			WaitBeforeStarting	5
			WaitBetweenSpawns	2
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Heavyweapons_Penetration
				}
			}
		}
		WaveSpawn
		{
			Name	1
			Where	spawnbot_secondary
			TotalCurrency	28
			TotalCount	28
			MaxActive	7
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Pyro_Flaregun
                                        Skill Expert
				}
			}
		}
		WaveSpawn
		{
			Name	1
			Where	spawnbot_main
			TotalCurrency	80
			TotalCount	8
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	3
			WaitBetweenSpawns	3
			Squad
			{
				TFBot
				{
                                ClassIcon sniper_bow_multi
					Template	T_TFBot_Sniper_Huntsman_Spammer
                                        CharacterAttributes
			                {
				                "voice pitch scale"	0.5
			                }
				}
			}
		}
                WaveSpawn
		{
			Name	2
			Where	spawnbot_main
			TotalCurrency	24
			TotalCount	24
			MaxActive	6
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	1
			WaitForAllDead	1
			Squad
			{
				TFBot
				{
                                ClassIcon sniper_carbine
					WeaponRestrictions	SecondaryOnly
					Health	125
					Skill	Normal
					Name	"Carbine Sniper"
					Class	Sniper
					Item	"the cleaner's carbine"
					Item	"holy hunter"
				}
			}
		}
		WaveSpawn
		{
			Name	2
			Where	spawnbot_portal
			TotalCurrency	100
			TotalCount	18
			MaxActive	6
			SpawnCount	2
			WaitBeforeStarting	8
			WaitBetweenSpawns	5
			WaitForAllDead	1
                        FirstSpawnOutput
                        {
                        	Target tele_forward_relay_trigger1
  				Action Trigger
			}
                        DoneOutput					
		        {
			        Target tele_forward_relay_disable1
			        Action Trigger
		        }
			Squad
			{
				TFBot
				{
                                ClassIcon soldier_dh_nys
					Health	200
					Skill	Normal
					Name	"Direct Hit Soldier"
					Class	Soldier
					Item	"the direct hit"
                                        CharacterAttributes
			                {
						"cancel falling damage"	1
			                }
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickFix
                                        Item "Hazard Headgear"
				}
			}
		}
		WaveSpawn
		{
			Name	3
			Where	spawnbot
			TotalCurrency	100
			TotalCount	21
			MaxActive	7
			SpawnCount	1
			WaitBeforeStarting	1
			WaitBetweenSpawns	1
			WaitForAllDead	2
			Squad
			{
				TFBot
				{
					Name	"Jumping Sandman Scout"
					Template	T_TFBot_Scout_Jumping_Sandman
				}
			}
		}
		WaveSpawn
		{
			Name	3
			Where	spawnbot_secondary
			TotalCurrency	36
			TotalCount	30
			MaxActive	6
			SpawnCount	3
			WaitBeforeStarting	3
			WaitBetweenSpawns	2
			WaitForAllDead	2
			Squad
			{
				TFBot
				{
                                ClassIcon pyro_dragon_fury_swordstone
					Template	T_TFBot_Pyro
                                        Name "Dragon's Fury Pyro"
                                        Item "The Dragon's Fury"
				        Item "The Head Prize"
                                        ItemAttributes
					{
						ItemName	"The Dragon's Fury"
						"airblast disabled"	1
					}
				}
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay_1timedbomb
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	1
			Where	spawnbot_secondary
			TotalCurrency	125
			TotalCount	3
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	4
			WaitBetweenSpawns	3
			FirstSpawnOutput                                                                                                                                                            
	                {
		                Target trap_trigger                                            
		                Action Trigger                         
	                }
			Squad
			{
				TFBot
				{
					Class Soldier
					Name "Giant Buff Banner Soldier"
					ClassIcon soldier_buff_giant
					Skill Expert
					Health 3800
					WeaponRestrictions PrimaryOnly
					Attributes HoldFireUntilFullReload
					Attributes MiniBoss
					Attributes SpawnWithFullCharge
                                        Item	"the direct hit"
					Item "The Buff Banner"
					CharacterAttributes
					{
						"move speed bonus"	0.5
						"damage force reduction" 0.4
						"airblast vulnerability multiplier" 0.4
						"override footstep sound set" 3
						"increase buff duration"	9.0
					}
                                        Item    "Idiot Box"
			                Item    "Shoestring Budget"
			                Item    "Steel Pipes"
				}
			}
		}
		WaveSpawn
		{
			Name	2
			Where	spawnbot_secondary
			WaitForAllSpawned	1
			TotalCurrency	137
			TotalCount	6
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	4
			WaitBetweenSpawns	9
			Squad
			{
				TFBot
				{
                                ClassIcon pyro_dragon_fury_swordstone
					Name	"Giant Dragon's Fury Pyro"
					Template	T_TFBot_Giant_Pyro
                                        Item    "The Dragon's Fury"
                                        Item	"The Head Prize"
                                        ItemAttributes
					{
						ItemName	"The Dragon's Fury"
						"airblast disabled"	1
					}
				}
			}
		}
		WaveSpawn
		{
			Name	3
			WaitForAllSpawned	2
			TotalCurrency	200
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput                                                                                                                                                            
	                {
		                Target boss_spawn_relay                                            
		                Action Trigger                         
	                }
	                Tank
	                {
		                Health	28000
		                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	3
			Where	spawnbot
			TotalCurrency	150
			TotalCount	4
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	2
			WaitBetweenSpawns	0
			WaitForAllDead	2
			Squad
			{
				TFBot
				{
                                ClassIcon scout_shortstop
					Name	"Giant Shortstop Scout"
					Template	T_TFBot_Giant_Scout
					Item	"the shortstop"
					Item	"the milkman"
				}
			}
		}
		WaveSpawn
		{
			Name	1
			Where	spawnbot
			TotalCurrency	32
			TotalCount	32
			MaxActive	6
			SpawnCount	3
			WaitBeforeStarting	1
			WaitBetweenSpawns	2
			Squad
			{
				TFBot
				{
					ClassIcon	pyro
					Health	175
					Name	"Pyro"
					Class	Pyro
					Skill	Normal
					Attributes	"AlwaysFireWeapon"
				}
			}
		}
		WaveSpawn
		{
			Name	1
			Where	spawnbot
			TotalCurrency	25
			TotalCount	25
			MaxActive	5
			SpawnCount	1
			WaitBeforeStarting	2
			WaitBetweenSpawns	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Heavyweapons_Shotgun
					Item	"spine-chilling skull 2011 style 2"
					Item	"bone-cut belt"
				}
			}
		}
		WaveSpawn
		{
			Name	2
			Where	spawnbot_secondary
			TotalCurrency	78
			TotalCount	20
			MaxActive	4
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	1
			WaitForAllDead	1
			Squad
			{
				TFBot
				{
					Skill	Normal
					Template	T_TFBot_Demoman
				}
			}
		}
		WaveSpawn
		{
			Name	2
			Where	spawnbot_titan
			TotalCurrency	16
			TotalCount	30
			MaxActive	6
			SpawnCount	3
			WaitBeforeStarting	2
			WaitBetweenSpawns	2
			WaitForAllDead	1
			Squad
			{
				TFBot
				{
                                ClassIcon scout_cola
					Health	125
					Skill	Hard
					Name	"Cola Popper Scout"
					Class	Scout
					WeaponRestrictions PrimaryOnly
					Attributes	"SpawnWithFullCharge"
					Item	"the soda popper"
					Item	"crit-a-cola"
					Item	"Bonk Helm"
                                        ItemAttributes
		                        {
			                        ItemName	"crit-a-cola"
			                        "effect bar recharge rate increased"	.01
		                        }
                                        ItemAttributes
		                        {
			                        ItemName	"Bonk Helm"
			                        "set item tint rgb" 8208497
		                        }
				}
			}
		}
		WaveSpawn
		{
			Name	2
			Where	spawnbot_secondary
			TotalCurrency	37
			TotalCount	12
			MaxActive	3
			SpawnCount	3
			WaitBeforeStarting	4
			WaitBetweenSpawns	0
			WaitForAllDead	1
			Squad
			{
				TFBot
				{
                                ClassIcon heavy_steelfist_nys
					Template	T_TFBot_Heavyweapons_Fist
                                        Item	"Mad Mask"
                                        CharacterAttributes
			                {
				                "voice pitch scale"	0.5
			                }
				}
			}
		}
		WaveSpawn
		{
			Name	3
			Where	spawnbot_main
			TotalCurrency	0
			TotalCount	999
			MaxActive	6
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	2
			WaitForAllDead	2
                        Support 1
			RandomChoice
			{
				TFBot
				{
                                ClassIcon random_lite
					Health	125
					Name	Scout
					Class	Scout
					Skill	Hard
                                }
                                TFBot
				{
                                ClassIcon random_lite
					Health	200
					Name	Soldier
					Class	Soldier
					Skill	Normal
				}
                                TFBot
				{
                                ClassIcon random_lite
					Health	175
					Name	Pyro
					Class	Pyro
					Skill	Hard
					CharacterAttributes
					{
						"airblast disabled"	1
					}
                                }
                                TFBot
				{
                                ClassIcon random_lite
                                        Skill Normal
					Template	T_TFBot_Demoman
				}
                                TFBot
				{
                                ClassIcon random_lite
					Health	300
					Name	Heavy
					Class	HeavyWeapons
					Skill	Normal
				}
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay_1timedbomb 
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	1
			Where	spawnbot_secondary
			TotalCurrency	100
			TotalCount	2
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	3
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
                                ClassIcon heavy_deflector_giant
					Template	T_TFBot_Giant_Heavyweapons_Deflector
				}
			}
		}
		WaveSpawn
		{
			Name	2
			Where	spawnbot_secondary
			WaitForAllSpawned	1
			TotalCurrency	123
			TotalCount	3
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	3
			Squad
			{
				TFBot
				{
			        	Template	T_TFBot_Giant_Soldier_Turbo_Booster
				}
			}
		}
		WaveSpawn
		{
			Name	3
			Where	spawnbot
			TotalCurrency	200
			TotalCount	10
			MaxActive	5
			SpawnCount	5
			WaitBeforeStarting	5
			WaitBetweenSpawns	1
			WaitForAllDead	2
			Squad
			{
				TFBot
				{
                                        ClassIcon pyro_gascann
			                WeaponRestrictions	SecondaryOnly
			                Health	3000
			                Skill	Expert
			                Name	"Giant Gas Passer Pyro"
			                Class	Pyro
                                        Attributes MiniBoss
			                Item	"tf_weapon_flamethrower"
			                Item	"The Gas Passer"
			                Item	"Fire Fighter"
                                        ItemAttributes
			                {
                        	                ItemName	"The Gas Passer"
						"item_meter_charge_rate" 4
                                        }   
			                CharacterAttributes
			                {
				                "effect bar recharge rate increased"	.02
						"fire rate penalty"	1
                                                "move speed bonus"	0.5
				                "damage force reduction" 0.6
				                "airblast vulnerability multiplier" 0.6
				                "override footstep sound set" 6
                                                "airblast disabled" 1
			                }
				}
                                TFBot
				{
                                ClassIcon medic_shield_qf
					Name	"Shield Medic"
					Template	T_TFBot_Medic_BigHeal
			                Attributes SpawnWithFullCharge
			                Attributes ProjectileShield
			                Attributes IgnoreEnemies
                                        Item "Hazard Headgear"
					ItemAttributes
			                {
				                ItemName "The Quick-Fix"
				                "generate rage on heal" 2
				                "increase buff duration" 2
			                }
                                        CharacterAttributes
					{
						"voice pitch scale"	0.5
				                "bot medic uber deploy delay duration" 100000
					}
				}
				TFBot
				{
                                ClassIcon soldier_banner_trio
					Template	T_TFBot_Soldier_Extended_Buff_Banner
				}
				TFBot
				{
                                ClassIcon soldier_banner_trio
					Template	T_TFBot_Soldier_Extended_Concheror
				}
				TFBot
				{
                                ClassIcon soldier_banner_trio
					Template	T_TFBot_Soldier_Extended_Battalion
				}
			}
		}
		WaveSpawn
		{
			Name	1
			Where	spawnbot_secondary
			TotalCurrency	30
			TotalCount	30
			MaxActive	6
			SpawnCount	3
			WaitBeforeStarting	0
			WaitBetweenSpawns	2
			Squad
			{
				TFBot
				{
                                ClassIcon pyro_scorch
					Template	T_TFBot_ScorchShot
				}
			}
		}
		WaveSpawn
		{
			Name	1
			Where	spawnbot_titan
			TotalCurrency	15
			TotalCount	15
			MaxActive	3
			SpawnCount	1
			WaitBeforeStarting	2
			WaitBetweenSpawns	3
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Scout_Shortstop
					Item	"the milkman"
                                        CharacterAttributes
			                {
				                "voice pitch scale"	0.5
			                }
				}
			}
		}
		WaveSpawn
		{
			Name	2
			Where	spawnbot_secondary
			TotalCurrency	32
			TotalCount	32
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	3
			WaitForAllDead	1
			Squad
			{
				TFBot
				{
                                        ClassIcon sniper_bushwacka
					WeaponRestrictions	MeleeOnly
					Health	125
					Skill	Expert
					Name	"BushwackAAA Sniper"
					Class	Sniper
					Attributes	"AlwaysFireWeapon"
					Item	"the bushwacka"
					Item	"ol' snaggletooth"
				}
			}
		}
                WaveSpawn
		{
			Name	2
			Where	spawnbot_secondary
			TotalCurrency	20
			TotalCount	10
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	3
			WaitBetweenSpawns	3
			WaitForAllDead	1
			Squad
			{
                                TFBot
				{
                                ClassIcon sniper_jarate
					WeaponRestrictions	SecondaryOnly
					Health	1000
					Skill	Expert
                                        Scale   1.4
					Name	"Jarate Sniper"
					Class	Sniper
					Attributes	"AlwaysFireWeapon"
					Item	"The Self-Aware Beauty Mark"
					Item	"The Jarmaments"
                                        CharacterAttributes
					{
						"effect bar recharge rate increased"	.01
						"fire rate penalty"	2
						"cancel falling damage"	1
				                "voice pitch scale"	0.5
					}
				}
			}
		}
		WaveSpawn
		{
			Name	2
			Where	spawnbot
			TotalCurrency	28
			TotalCount	18
			MaxActive	6
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	3
			WaitForAllDead	1
			Squad
			{
				TFBot
				{
                                ClassIcon heavy_deflector
					Health	300
			                Skill	Normal
			                Name	"Deflector Heavy"
			                Class	HeavyWeapons
			                Item	"deflector"
			                Item	"tf_weapon_shotgun_hwg"
			                Item	"tf_weapon_fists"
			                Item	"the u-clank-a"
                                        ItemAttributes
			                {
				                ItemName "Deflector"
				                "attack projectiles" 1	
			                }
				}
				TFBot
				{
					Template	T_TFBot_Medic
                                        Item "Flatliner"
				}
			}
		}
		WaveSpawn
		{
			Name	3
			Where	spawnbot_main
			TotalCurrency	40
			TotalCount	24
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	3
			WaitBetweenSpawns	2
			WaitForAllDead	2
			Squad
			{
				TFBot
				{
                                	Template	T_TFBot_Soldier_RocketShotgun
				}
			}
		}
		WaveSpawn
		{
			Name	3
			Where	spawnbot_portal
			TotalCurrency	12
			TotalCount	12
			MaxActive	4
			SpawnCount	1
			WaitBeforeStarting	6
			WaitBetweenSpawns	3
			WaitForAllDead	2
                        FirstSpawnOutput
                        {
                        	Target tele_forward_relay_trigger2
  				Action Trigger
			}
                        DoneOutput
                        {
                        	Target tele_forward_relay_disable2
  				Action Trigger
			}
			Squad
			{
				TFBot
				{
                                	Class Scout
			        	Name "Armored Sandman Scout"
			        	ClassIcon scout_stun_armored
			        	Skill Expert
                                        Scale 1.4
			        	Health 750
			        	Item "Batter's Helmet"
			        	Item "The Sandman"
			        	WeaponRestrictions MeleeOnly
			        	ItemAttributes
			        	{
				        	ItemName "The Sandman"
				        	"effect bar recharge rate increased" 0.05
			        	}
                                        CharacterAttributes
			                {
						"cancel falling damage"	1
				                "voice pitch scale"	0.5
			                }
					Item	"courtly cuirass"
					Item	"squire's sabatons"
		        	}
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay_1timedbomb
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	1
			Where	spawnbot_secondary
			TotalCurrency	90
			TotalCount	12
			MaxActive	6
			SpawnCount	2
			WaitBeforeStarting	3
			WaitBetweenSpawns	8
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_RapidFire
                                        Attributes	"AlwaysCrit"
				}
				TFBot
				{
					Template	T_TFBot_Medic
                                        Item "Flatliner"
				}
			}
		}
		WaveSpawn
		{
			Name	2
			Where	spawnbot_secondary
			WaitForAllSpawned	1
			TotalCurrency	100
			TotalCount	6
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	3
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons_Shotgun
					Item	"spine-chilling skull 2011 style 2"
					Item	"bone-cut belt"
				}
				TFBot
				{
                                ClassIcon pyro_reflect_daan
					Template	T_TFBot_Giant_Pyro_Pusher
				}
			}
		}
		WaveSpawn
		{
			Name	3
			Where	spawnbot
			TotalCurrency	188
			TotalCount	10
			MaxActive	5
			SpawnCount	5
			WaitBeforeStarting	3
			WaitBetweenSpawns	3
			WaitForAllDead	2
			Squad
			{
				TFBot
				{
					Name	"Giant Heater Heavy"
					Template	T_TFBot_Heavyweapons_Heater
                                        Item "the bunsen brave"
				}
				TFBot
				{
					Template	T_TFBot_Medic
                                        Item "Flatliner"
				}
				TFBot
				{
					Template	T_TFBot_Medic
                                        Item "Flatliner"
				}
				TFBot
				{
					Template	T_TFBot_Medic
                                        Item "Flatliner"
				}
				TFBot
				{
					Template	T_TFBot_Medic
                                        Item "Flatliner"
				}
			}
		}
                WaveSpawn
		{
			Name	4
			Where	spawnbot_secondary
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	5
			WaitBetweenSpawns	5
			WaitForAllSpawned	3
			Squad
			{
				TFBot
				{
                                ClassIcon soldier_burstfire_giant
					Template	T_TFBot_Soldier_BurstFire
                                        Item    "Idiot Box"
			                Item    "Shoestring Budget"
			                Item    "Steel Pipes"
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic
                                        Item "Hazard Headgear"
				}
			}
		}
		WaveSpawn
		{
			Name	1
			Where	spawnbot
			TotalCurrency	42
			TotalCount	32
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	3
			Squad
			{
				TFBot
				{
                                ClassIcon scout_backscatt_h
					Health	125
					Skill	Normal
					Name	"Back Scatter Scout"
					Class	Scout
					Attributes	"AlwaysCrit"
					Item	"The Back Scatter"
                                        Item    "Hypno-eyes"
                                        ItemAttributes
		                        {
			                        ItemName	"Hypno-eyes"
			                        "set item tint rgb" 12377523
		                        }
				}
			}
		}
		WaveSpawn
		{
			Name	2
			Where	spawnbot
			TotalCurrency	28
			TotalCount	20
			MaxActive	5
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	1
			WaitForAllDead	1
			Squad
			{
				TFBot
				{
					Class Soldier
					Name "Burst Fire Soldier"
					ClassIcon soldier_burstfire
					Health 200
					Skill Normal
					WeaponRestrictions PrimaryOnly
					Attributes HoldFireUntilFullReload
					ItemAttributes
					{
						ItemName "TF_WEAPON_ROCKETLAUNCHER"
						"faster reload rate" 0.4
						"fire rate bonus" 0.2
						"clip size upgrade atomic" 5.0
					}
                                        Item    "Idiot Box"
			                Item    "Shoestring Budget"
			                Item    "Steel Pipes"
				}
			}
		}
		WaveSpawn
		{
			Name	2
			Where	spawnbot
			TotalCurrency	48
			TotalCount	24
			MaxActive	6
			SpawnCount	2
			WaitBeforeStarting	3
			WaitBetweenSpawns	3
			WaitForAllDead	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Sniper_Always_Fire_Andrew
                                        CharacterAttributes
			                {
						"cancel falling damage"	1
			                }
				}
				TFBot
				{
					Template	T_TFBot_Medic_Blast_Vac_Andrew
                                        Item "Flatliner"
                                        ItemAttributes
			        	{
				        	ItemName "Flatliner"
				        	"set item tint RGB" 3329330
			        	}
                                        CharacterAttributes
			                {
						"cancel falling damage"	1
			                }
				}
			}
		}
		WaveSpawn
		{
			Name	3
			Where	spawnbot_main
			TotalCurrency	24
			TotalCount	40
			MaxActive	10
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	2
			WaitForAllDead	2
			RandomChoice
			{
				TFBot
				{
					Health	125
					Name	"Penetrating Bowman"
					Template	T_TFBot_Sniper_Huntsman
                                        Skill Normal
                                        Attributes	"AlwaysCrit"
					Item	"festive huntsman"
                                        Item	"the snaggletoothed stetson"
					Item	"the golden garment"
					ItemAttributes
					{
						ItemName	"festive huntsman"
						"projectile penetration"	1
					}
				}
                                TFBot
				{
					Health	125
					Name	"Marking Bowman"
					Template	T_TFBot_Sniper_Huntsman
                                        Skill Normal
                                        Attributes	"AlwaysCrit"
					Item	"the huntsman"
                                        Item	"holy hunter"
                                        ItemAttributes
                                        {
						Itemname	"holy hunter"
                                                "attach particle effect"	44
                                        }
					ItemAttributes
					{
						ItemName	"the huntsman"
						"mark for death"	5
					}
				}
                                TFBot
				{
					Name	"Ignited Bowman"
					Template	T_TFBot_Sniper_Huntsman
                                        Skill Normal
					Item	"spine-chilling skull"
                                        Attributes	"AlwaysCrit"
                                        ItemAttributes
                                        {
                                        	Itemname "the huntsman"
                                        	"Set DamageType Ignite" 1
                                                "attach particle effect"	13
                                        }
				}
                                TFBot
				{
					Name	"Bleeding Bowman"
					Template	T_TFBot_Sniper_Huntsman
                                        Skill Normal
					Item	"voodoo juju"
                                        Attributes	"AlwaysCrit"
                                        ItemAttributes
                                        {
						Itemname	"voodoo juju"
                                                "attach particle effect"	43
                                        }
					CharacterAttributes
					{
						"bleeding duration"	5
					}
				}
			}
		}
		WaveSpawn
		{
			Name	3
			Where	spawnbot_secondary
			TotalCurrency	80
			TotalCount	8
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	3
			WaitForAllDead	2
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Demoman_Samurai
					Attributes	"AlwaysCrit"
                                        CharacterAttributes
			                {
				                "voice pitch scale"	0.5
			                }
				}
			}
		}
        }
}
//don't forget to kick scorpion! after the mission :ujel: