// =============================
// ===== OVERRUN ENDURANCE =====
// ==== MADE BY PLUZORMINUZ ====
// =============================

// holy shit

// =============================
// ===== IMPORTANT RELAYS ======
// =============================

// wave_start_relay					start the wave with 1 bomb
// wave_start_relay_2b				start the wave with 2 bombs
// wave_start_relay_3b				start the wave with 3 bombs
// wave_start_relay_4b				start the wave with 4 bombs
// wave_start_relay_1e				start the wave with 1 timed bomb (55s)
// wave_start_relay_2e				start the wave with 2 timed bombs (55s)
// wave_start_relay_3e				start the wave with 3 timed bombs (55s)
// wave_start_relay_4e				start the wave with 4 timed bombs (55s)
// *** FOR _e PLEASE LEAVE 1 SECOND BETWEEN WAVE START AND FIRST BOMB BOT SPAWNING OR ELSE THE BOT WILL GRAB THE NORMAL BOMB INSTEAD

// wave_finished_relay				clear the nav brushes, revert hologram to empty, enables bomb 1 (intel1) ONLY, DOES NOT HELP YOU TO SELECT A NEW BOMB PATH
// wave_finished_relay_final		unleash the error

// =============================
// ======== PATH SELECT ========
// =============================
// path_mode##						used in InitWaveOutput to choose the bomb paths, ## is number from 0-43
//									if this relay is fired mid-wave, the hologram for the new route will flash for 40 seconds before disappearing
//									reference table here https://docs.google.com/spreadsheets/d/1rjCcpBRZR5p9ftUoZoi0t28ddedKZJ3mRtniuIXdq-g/edit#gid=1293768176
// 									
//									this is used to set up how the bombs and tanks will path through the map
//									for example, if you want the wave to feature 2 bombs and 1 tank, then look in the TYPE column
//									for "2B1T". the type offers 3 combinations of 2 bombs 1 tank, under mode 8-10
//									so you can pick, for instance, mode 9 for the 2 bombs to go together, and that the tank go through the other route.
//									the keywords b1, b2, b3, b4, t1, t2, f1 are tags you can use on bots to make them prefer specific routes
//									for tanks, tanks starting from "tank1" will follow path "t1" and "tank2" follow "t2"
//									if you pick the same mode again (between map resets), the remaining combinations will be
//									picked at random until all cases have been picked, then the mode is shuffled.

// =============================
// ======= MID WAVE BREAK ======
// =============================
// upgradestation_forward_40		opens the forward upgrade station for 40 seconds
// path mode##x						opens the forward upgrade station for 40 seconds + changing route

// =============================
// ======== INTEL NAMES ========
// =============================
// intel1
// intel2
// intel3
// intel4
// intel1e
// intel2e
// intel3e
// intel4e
// *** selecting a new route using path_mode## or path_mode##x will NOT automatically enable / disable bombs
// *** the only relays that enables / disables bombs automatically is wave_start_ and wave_finished_

// =============================
// ======== SPAWN NAMES ========
// =============================
// spawnbot_carrier
// spawnbot_mission_sniper
// spawnbot_mission_spy
// spawnbot_mission_buster
// TODO: add other common spawn names
//
// for tanks:
// tank1		follows tank path T1
// tank2		follows tank path T2

// =============================
// ======== MAP TIMING =========
// =============================
// Tank to Hatch (lower route) -> 136s (2m16s)
// Tank to Hatch (upper route) -> 136s (2m16s)
// Super Scout Spawn to Hatch (lower route) -> 26s
// Super Scout Spawn to Hatch (upper route) -> 28s
// Scout (with bomb) Spawn to Hatch (lower route) -> 55s
// Scout (with bomb) Spawn to Hatch (upper route) -> 59s

// Human Scout to Hatch (upper route)-> 22s
// Human Scout to Hatch (lower route)-> 21s
// Human Pyro to Hatch (upper route)-> 30s
// Human Pyro to Hatch (lower route)-> 28s
// Human Heavy to Hatch (upper route)-> 39s
// Human Heavy to Hatch (lower route)-> 36s

// =============================
// ========= MAP NOTES =========
// =============================
// with shortcuts, a Scout can travel from Robot Spawn back to Hatch in 16 seconds.
// it is possible (with c-tap) for a Soldier to jump from the crates in front to RED Spawn. (clearance of 596+ units)
// but by just purchasing 1-tick jump height, one can easily perform the jump with a normal rocket jump (from crate)
// 3-ticks allow jump from ground

#base robot_giant.pop
#base robot_standard.pop

WaveSchedule
{
	StartingCurrency		1400
	RespawnWaveTime 		4
	CanBotsAttackWhileInSpawnRoom no
	AddSentryBusterWhenDamageDealtExceeds 3000
	AddSentryBusterWhenKillCountExceeds 15
	Advanced 1
	
	Templates
	{
		T_TFBot_Heavyweapons_Deflector
		{
			Class Heavyweapons
			Name "Deflector Heavy"
			ClassIcon heavy_deflector
			Skill Hard
			Item "The U-clank-a"
			Item "Deflector"
			WeaponRestrictions PrimaryOnly
			MaxVisionRange 1200
			ItemAttributes 
			{
				ItemName "Deflector"
				"attack projectiles" 1
			}
		}
		
		T_TFBot_Medic_Vacc_B
		{
			Name "Bullet-Immune Vaccinator"
			Class Medic
			Skill Expert
			ClassIcon medic_bullet
			WeaponRestrictions SecondaryOnly
			Attributes VaccinatorBullets
			ItemAttributes
			{
				ItemName "TF_WEAPON_MEDIGUN"
				"lunchbox adds minicrits" 3
				"ubercharge rate bonus"	200
				"heal rate bonus"	10
				"uber duration bonus"	200
				"medigun bullet resist passive"	1
				"medigun bullet resist deployed"	1
				"medigun charge is resists" 3
				"bot medic uber health threshold" 200
			}
		}
		
		T_TFBot_Medic_Vacc_E
		{
			Name "Explosive-Immune Vaccinator"
			Class Medic
			Skill Expert
			ClassIcon medic_blast
			WeaponRestrictions SecondaryOnly
			Attributes VaccinatorBlast
			Attributes BlastImmune
			ItemAttributes
			{
				ItemName "TF_WEAPON_MEDIGUN"
				"lunchbox adds minicrits" 3
				"ubercharge rate bonus"	200
				"heal rate bonus"	10
				"uber duration bonus"	200
				"medigun blast resist passive"	1
				"medigun blast resist deployed"	1
				"medigun charge is resists" 4
				"bot medic uber health threshold" 200
			}
		}
		
		T_TFBot_Medic_Vacc_F
		{
			Name "Fire-Immune Vaccinator"
			Class Medic
			Skill Expert
			ClassIcon medic_fire
			WeaponRestrictions SecondaryOnly
			Attributes VaccinatorFire
			Attributes FireImmune
			ItemAttributes
			{
				ItemName "TF_WEAPON_MEDIGUN"
				"lunchbox adds minicrits" 3
				"ubercharge rate bonus"	200
				"heal rate bonus"	10
				"uber duration bonus"	200
				"medigun fire resist passive"	1
				"medigun fire resist deployed"	1
				"medigun charge is resists" 3
				"bot medic uber health threshold" 200
			}
		}
		
		T_TFBot_Medic_Vacc_B_75
		{
			Name "Bullet Vaccinator Medic"
			Class Medic
			Skill Normal
			ClassIcon medic_bullet
			WeaponRestrictions SecondaryOnly
			Attributes SpawnWithFullCharge
			Attributes VaccinatorBullets
			ItemAttributes
			{
				ItemName "TF_WEAPON_MEDIGUN"
				"lunchbox adds minicrits" 3
				"heal rate bonus" 10
				"medigun bullet resist deployed" 0.75
				"medigun bullet resist passive" 0.75
				"medigun charge is resists" 3
				"uber duration bonus" 200
				"ubercharge rate bonus" 200
			}
			CharacterAttributes
			{
				"bot medic uber health threshold" 200
				"dmg taken from crit reduced" 0
				"dmg taken from bullets increased" 0.25
			}
		}
		
		T_TFBot_Medic_Vacc_E_75
		{
			Name "Blast Vaccinator Medic"
			Class Medic
			Skill Normal
			ClassIcon medic_blast
			WeaponRestrictions SecondaryOnly
			Attributes SpawnWithFullCharge
			Attributes VaccinatorBlast
			ItemAttributes
			{
				ItemName "TF_WEAPON_MEDIGUN"
				"lunchbox adds minicrits" 3
				"heal rate bonus" 10
				"medigun blast resist deployed" 0.75
				"medigun blast resist passive" 0.75
				"medigun charge is resists" 4
				"uber duration bonus" 200
				"ubercharge rate bonus" 200
			}
			CharacterAttributes
			{
				"bot medic uber health threshold" 200
				"dmg taken from crit reduced" 0
				"dmg taken from blast increased" 0.25
			}
		}
		
		T_TFBot_Medic_Vacc_F_75
		{
			Name "Fire Vaccinator Medic"
			Class Medic
			Skill Normal
			ClassIcon medic_fire
			WeaponRestrictions SecondaryOnly
			Attributes SpawnWithFullCharge
			Attributes VaccinatorFire
			ItemAttributes
			{
				ItemName "TF_WEAPON_MEDIGUN"
				"lunchbox adds minicrits" 3
				"heal rate bonus" 10
				"medigun fire resist deployed" 0.75
				"medigun fire resist passive" 0.75
				"medigun charge is resists" 5
				"uber duration bonus" 200
				"ubercharge rate bonus" 200
			}
			CharacterAttributes
			{
				"bot medic uber health threshold" 200
				"dmg taken from crit reduced" 0
				"dmg taken from fire increased" 0.25
			}
		}
		
		T_TFBot_Medic_Uber_Pulse3
		{
			Class Medic
			Name "Pulse Uber Medic"
			ClassIcon medic_uber
			Skill Expert
			Attributes SpawnWithFullCharge
			ItemAttributes
			{
				ItemName "TF_WEAPON_MEDIGUN"
				"ubercharge rate bonus" 10
				"ubercharge overheal rate penalty" 2
				"uber duration bonus" -7
			}
			ItemAttributes
			{
				ItemName "TF_WEAPON_SYRINGEGUN_MEDIC"
				"damage penalty" 0.1
			}
			CharacterAttributes
			{
				"bot medic uber health threshold" 1000
			}
		}

		T_TFBot_Medic_Giant_Kritz_Pulse5
		{
			Class Medic
			Skill Expert
			Name "Giant Pulse Kritzkrieg Medic"
			ClassIcon medic_kritz_giant
			Health 4500
			Attributes	SpawnWithFullCharge
			Attributes	MiniBoss
			Item "The Kritzkrieg"
			
			ItemAttributes
			{
				ItemName "The Kritzkrieg"
				"ubercharge rate bonus"	8
				"uber duration bonus"	-3
			}
			
			CharacterAttributes
			{
				"move speed bonus"	0.5
				"damage force reduction"	0.6
				"airblast vulnerability multiplier"	0.6
				"bot medic uber health threshold"	5000
				"cancel falling damage" 1
			}
		}

		T_TFBot_Medic_Kritz_Pulse5
		{
			Class Medic
			Skill Expert
			Name "Pulse Kritzkrieg Medic"
			ClassIcon medic_kritz
			Attributes	SpawnWithFullCharge
			Item "The Kritzkrieg"
			
			ItemAttributes
			{
				ItemName "The Kritzkrieg"
				"ubercharge rate bonus"	8
				"uber duration bonus"	-3
			}
		}
		
		T_TFBot_Soldier_Bison_Buff
		{
			Class Soldier
			Name "Buffed Bison Soldier"
			ClassIcon soldier_bison_buff
			Skill Normal
			Item "The Buff Banner"
			Item "The Cow Mangler 5000"
			Attributes SpawnWithFullCharge
			ItemAttributes
			{
				ItemName "The Cow Mangler 5000"
				"reload time decreased" 0.5
				"fire rate bonus" 0.8
				"override projectile type" 13
				"energy weapon penetration" 1
			}
			CharacterAttributes
			{
				"increase buff duration"	999
			}
		}

		T_TFBot_Scout_BuffBanner
		{
			Class Scout
			Name "Buffed Scout"
			ClassIcon scout_buffbanner
			Skill Normal
			Item "The Buff Banner"
			Attributes SpawnWithFullCharge
			Health 150
			Scale 1.2
			CharacterAttributes
			{
				"increase buff duration"	999
			}
		}
		
		
		T_TFBot_Soldier_RocketShotgun_Backup
		{
			Class Soldier
			ClassIcon soldier_blackbox_backup
			Item "The Black Box"
			Name "Backup Black Box Soldier"
			Skill Normal
			Attributes HoldFireUntilFullReload
			Attributes SpawnWithFullCharge
			Item "The Battalion's Backup"
			CharacterAttributes
			{
				"increase buff duration"	999
				"deploy time increased" 0.1
			}
			ItemAttributes
			{
				ItemName "The Black Box"
				"damage bonus" 0.33
				"fire rate bonus" 0.001
				"clip size upgrade atomic" 0
				"faster reload rate" 0.9
				"blast radius increased" 1.25
				//"Projectile speed increased" 0.4
				"projectile spread angle penalty" 2
				"heal on hit for rapidfire" 60
			}
		}
		T_TFBot_Soldier_BlackBox_Backup //unused
		{
			Class Soldier
			Name "Backup Black Box Soldier"
			Skill Hard
			ClassIcon soldier_backup
			Attributes SpawnWithFullCharge
			Item "The Battalion's Backup"
			Item "The Black Box"
			CharacterAttributes
			{
				"increase buff duration"	999
				"deploy time increased" 0.1
			}
		}
		
		T_TFBot_Pyro_Geyser_Giant
		{
			Name "Giant Geyser Pyro"
			Class Pyro
			Skill Expert
			Health 3000
			Attributes AlwaysFireWeapon
			ClassIcon pyro_giant
			WeaponRestrictions PrimaryOnly
			Scale 1.9
			Tag giant
			Attributes MiniBoss
			
			CharacterAttributes
			{
				"cancel falling damage" 1
				"move speed bonus"	0.5
				"damage force reduction" 0.6
				"airblast vulnerability multiplier" 0.6
				"override footstep sound set" 6
			}
			ItemAttributes
			{
				ItemName "TF_Weapon_FlameThrower"
				"flame_gravity"							"0"
				"flame_drag"							"0"
				"flame_up_speed"						"0"
				"flame_speed"							"1500"
				"flame_spread_degree"					"0.5"
				"flame_lifetime"						"2"
				"flame_random_life_time_offset"			"0"
			}
		}
		
		T_TFBot_Pyro_Geyser
		{
			Name "Geyser Pyro"
			Class Pyro
			Skill Hard
			Attributes AlwaysFireWeapon
			WeaponRestrictions PrimaryOnly
			
			CharacterAttributes
			{
				"cancel falling damage" 1
			}
			ItemAttributes
			{
				ItemName "TF_Weapon_FlameThrower"
				"flame_gravity"							"0"
				"flame_drag"							"0"
				"flame_up_speed"						"0"
				"flame_speed"							"500"
				"flame_spread_degree"					"0.5"
				"flame_lifetime"						"1"
				"flame_random_life_time_offset"			"0"
			}
		}
		
		T_TFBot_Medic_Shield
		{
			Name "Shield Medic"
			Class Medic
			ClassIcon medic_shield
			Skill Expert
			Attributes SpawnWithFullCharge
			Attributes ProjectileShield
			Attributes IgnoreEnemies
			Item "The Quick-Fix"
			ItemAttributes
			{
				ItemName "The Quick-Fix"
				"generate rage on heal" 2
				"increase buff duration" 4
			}
			CharacterAttributes
			{
				"move speed bonus"	0.5
				"damage force reduction" 0.4
				"airblast vulnerability multiplier" 0.4
				"bot medic uber deploy delay duration" 9999
				"heal rate bonus" 10
			}
		}
		
		T_TFBot_Medic_QuickFix_FullCharge
		{
			Class Medic
			Name "Quick-Fix Medic"
			Skill Normal
			Item "The Quick-Fix"
			Attributes SpawnWithFullCharge
			CharacterAttributes
			{
				"bot medic uber deploy delay duration" 0
				"bot medic uber health threshold" 50
				"heal rate bonus" 200
			}
		}
		
		T_TFBot_Demoman_IronBomber
		{
			Class Demoman
			Name "Iron Bomber Demoman"
			ClassIcon demo_clusterbomb
			Skill Normal
			Item "The Iron Bomber"
			WeaponRestrictions PrimaryOnly
		}
		
		T_TFBot_Medic_Kritz_Always
		{
			Class Medic
			Skill Expert
			Name "Kritzkrieg Medic"
			ClassIcon medic_kritz
			Attributes	SpawnWithFullCharge
			Item "The Kritzkrieg"
			
			ItemAttributes
			{
				ItemName "The Kritzkrieg"
				"ubercharge rate bonus"	100
				"uber duration bonus"	200
			}
			
			CharacterAttributes
			{
				"bot medic uber health threshold"	5000
				"cancel falling damage" 1
			}
		}

		T_TFBot_Medic_Giant_Kritz
		{
			Class Medic
			Skill Expert
			Name "Giant Kritzkrieg Medic"
			ClassIcon medic_kritz_giant
			Health 4500
			Attributes	SpawnWithFullCharge
			Attributes	MiniBoss
			Item "The Kritzkrieg"
			
			ItemAttributes
			{
				ItemName "The Kritzkrieg"
				"ubercharge rate bonus"	100
				"uber duration bonus"	200
			}
			
			CharacterAttributes
			{
				"move speed bonus"	0.5
				"damage force reduction"	0.6
				"airblast vulnerability multiplier"	0.6
				"bot medic uber health threshold"	5000
				"cancel falling damage" 1
			}
		}
	
		T_TFBot_Medic_Syringe
		{
			Class Medic
			Name "Syringe Medic"
			ClassIcon medic_syringe
			Skill Expert
			WeaponRestrictions PrimaryOnly
			Attributes AlwaysFireWeapon
			CharacterAttributes
			{
				"faster reload rate" 0.0001
			}
		}
		
		T_TFBot_Scout_Conch
		{
			Class Scout
			Name "Conch Scout"
			ClassIcon scout
			Skill Hard
			WeaponRestrictions PrimaryOnly
			Attributes SpawnWithFullCharge
			Item "The Concheror"
			CharacterAttributes
			{
				"increase buff duration"	999
				"deploy time increased" 0.1
				"move speed bonus" 1.03
			}
		}
		
		T_TFBot_Scout_BFB
		{
			Class Scout
			Name "Blaster Scout"
			ClassIcon scout
			Skill Expert
			WeaponRestrictions PrimaryOnly
			Attributes HoldFireUntilFullReload
			Item "Baby Face's Blaster"
			Attributes AlwaysCrit
		}
		
		T_TFBot_Heavyweapons_Tomislav
		{
			Class Heavyweapons
			ClassIcon heavy_giant
			Skill Expert
			Health 5000
			Tag giant
			WeaponRestrictions PrimaryOnly
			Item "Tomislav"
			Attributes MiniBoss
			ItemAttributes
			{
				ItemName "Tomislav"
				"damage bonus"	1
			}
			CharacterAttributes
			{
				"move speed bonus"	0.5
				"damage force reduction" 0.3
				"airblast vulnerability multiplier" 0.3
				"override footstep sound set" 2
			}
		}
		
		T_TFBot_Pyro_Fury_Giant
		{
			Class Pyro
			Skill Hard
			Name "Giant Dragon's Fury Pyro"
			Attributes AlwaysFireWeapon
			Attributes MiniBoss
			Tag giant
			WeaponRestrictions PrimaryOnly
			Item "The Dragon's Fury"
			ClassIcon pyro_dragon_fury_giant_swordstone
			Health 3300
			CharacterAttributes
			{
				"move speed bonus"	0.5
				"damage force reduction" 0.6
				"airblast vulnerability multiplier" 0.6
				"override footstep sound set" 6
			}
			ItemAttributes
			{
				ItemName "The Dragon's Fury"
				"item_meter_charge_rate" 0.8
			}
		}
		
		T_TFBot_Heavy_Heater_Giant
		{
			Class Heavyweapons
			ClassIcon heavy_heater_giant
			Skill Expert
			Health 5000
			WeaponRestrictions PrimaryOnly
			Item "The Huo Long Heatmaker"
			Attributes MiniBoss
			Tag giant
			ItemAttributes
			{
				ItemName "The Huo Long Heatmaker"
				"damage bonus"	1
				"Set DamageType Ignite" 1
			}
			CharacterAttributes
			{
				"cancel falling damage" 1
				"move speed bonus"	0.5
				"damage force reduction" 0.3
				"airblast vulnerability multiplier" 0.3
				"override footstep sound set" 2
			}
		}
		
		T_TFBot_Heavy_Heater
		{
			Class Heavyweapons
			ClassIcon heavy_heater
			Skill Hard
			WeaponRestrictions PrimaryOnly
			Item "The Huo Long Heatmaker"
			ItemAttributes
			{
				ItemName "The Huo Long Heatmaker"
				"damage bonus"	1
				"Set DamageType Ignite" 1
			}
		}
		
		T_TFBot_Pyro_Fury
		{
			Name "Dragon's Fury Pyro"
			Class Pyro
			Skill Hard
			WeaponRestrictions PrimaryOnly
			ClassIcon pyro_dragon_fury_swordstone
			Item "The Dragon's Fury"
			ItemAttributes
			{
				ItemName "The Dragon's Fury"
				"item_meter_charge_rate" 0.85
			}
		}

		T_TFBot_Giant_Heavyweapons_HealOnKill_Fix // Air blast pushback on damage. Pins players, low damage, slow move speed
		{
			Class Heavyweapons
			Name "Giant Deflector Heavy"
			ClassIcon heavy_deflector_healonkill
			Item "The Tungsten Toque"
			Skill Expert
			Health 5000
			WeaponRestrictions PrimaryOnly
			MaxVisionRange 1200
			Attributes MiniBoss
			ItemAttributes
			{
				ItemName "Deflector"
				"damage bonus"	1.2
				"attack projectiles" 2
				// "weapon spread bonus" 1
				// "fire rate penalty" 4
				"heal on kill" 5000
			}
			CharacterAttributes
			{
				"move speed bonus"	0.35
				"damage force reduction" 0.3
				"airblast vulnerability multiplier" 0.3
				"override footstep sound set" 2
			}
		}
	
	}
	
	Mission // Sentry buster
	{
		Objective DestroySentries

		InitialCooldown 30
		Where spawnbot_carrier_giant
		BeginAtWave 1
		RunForThisManyWaves 3

		CooldownTime 40        

		TFBot
		{
			Template T_TFBot_SentryBuster
		}
	}
	
	Mission
	{
		Objective Spy

		InitialCooldown 30
		Where spawnbot_mission_sniper
		BeginAtWave 2
		RunForThisManyWaves 1
		CooldownTime 60
		DesiredCount 2

		TFBot
		{
			Template T_TFBot_Spy
		}
	}
	
	Mission
	{
		Objective Sniper

		InitialCooldown 0
		Where spawnbot_mission_sniper
		BeginAtWave 3
		RunForThisManyWaves 1
		CooldownTime 60
		DesiredCount 2

		TFBot
		{
			Template T_TFBot_Sniper_Sydney_Sleeper
		}
	}
	
	Wave
	// Wave 1
	// Wave Credits: 800+600=1400
	{
		InitWaveOutput
		{
			Target path_mode2
			Action Trigger
		}
		StartWaveOutput
		{
			Target wave_start_relay_1e
			Action Trigger
		}
		DoneOutput					
		{
			Target wave_finished_relay
			Action trigger
		}
		WaitWhenDone 65
		Checkpoint Yes
		
		WaveSpawn // hard scout
		{
			Name "w1_1a1"
			Where spawnbot_carrier
			TotalCount 21
			MaxActive 6
			SpawnCount 3
			WaitBeforeStarting 1
			WaitBetweenSpawns 6
			TotalCurrency 50
			
			TFBot
			{
				Class Scout
				Skill Expert
				CharacterAttributes
				{
					"cancel falling damage" 1
				}
			}
		}
		
		WaveSpawn // hard demoman
		{
			Name "w1_1a2"
			Where spawnbot_carrier
			TotalCount 21
			MaxActive 6
			SpawnCount 3
			WaitBeforeStarting 3.5
			WaitBetweenSpawns 4
			TotalCurrency 75
			
			TFBot
			{
				Class Demoman
				Skill Normal
				CharacterAttributes
				{
					"cancel falling damage" 1
				}
			}
		}
		
		WaveSpawn // melee scout
		{
			Name "w1_1b"
			Where spawnbot_carrier_giant
			TotalCount 2
			MaxActive 2
			SpawnCount 1
			WaitBeforeStarting 26
			WaitBetweenSpawns 12
			TotalCurrency 75
			
			TFBot
			{
				Template T_TFBot_Giant_Scout_Fast
			}
		}
		
		WaveSpawn
		{
			Name "w1_2a_p1"
			Where spawnbot_carrier_giant
			TotalCount 4
			MaxActive 4
			SpawnCount 4
			WaitForAllSpawned "w1_1b"
			WaitBeforeStarting 25
			WaitBetweenSpawns 30
			TotalCurrency 75
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Soldier
					Tag z1a
				}
				TFBot
				{
					Template T_TFBot_Medic_Uber_Pulse3
				}
				TFBot
				{
					Template T_TFBot_Heavyweapons_Fist
				}
				TFBot
				{
					Template T_TFBot_Heavyweapons_Fist
				}
			}
		}
		
		WaveSpawn
		{
			Name "w1_2a1"
			Where spawnbot_carrier
			TotalCount 12
			MaxActive 4
			SpawnCount 2
			WaitForAllSpawned "w1_1b"
			WaitBeforeStarting 10
			WaitBetweenSpawns 18
			TotalCurrency 80
			
			TFBot
			{
				Template T_TFBot_Heavyweapons_Fist
			}
		}
		
		WaveSpawn
		{
			Name "w1_2a2"
			Where spawnbot_carrier
			TotalCount 18
			MaxActive 4
			SpawnCount 3
			WaitForAllSpawned "w1_1b"
			WaitBeforeStarting 14
			WaitBetweenSpawns 8
			TotalCurrency 105
			
			TFBot
			{
				Class Soldier
				Skill Normal
			}
		}
		
		WaveSpawn
		{
			Name "w1_2a3"
			Where spawnbot_carrier
			TotalCount 16
			MaxActive 4
			SpawnCount 4
			WaitForAllSpawned "w1_1b"
			WaitBeforeStarting 20
			WaitBetweenSpawns 18
			TotalCurrency 110
			
			TFBot
			{
				Template T_TFBot_Heavyweapons_Shotgun
				Skill Hard
			}
		}
		
		WaveSpawn // tank after 1st pulse spawned
		{
			Name "w1_2b"
			TotalCount 1
			WaitBeforeStarting 45
			WaitForAllSpawned "w1_2a_p1"
			TotalCurrency 100
			
			FirstSpawnOutput
			{
				Target boss_spawn_relay
				Action Trigger                         
			}
			
			Tank
			{
				Health 15000
				Speed 75
				StartingPathTrackNode "tank1"
				
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		
		WaveSpawn
		{
			Name "w1_2a_p2"
			Where spawnbot_carrier_giant
			TotalCount 4
			MaxActive 4
			SpawnCount 4
			WaitForAllSpawned "w1_2a_p1"
			WaitBeforeStarting 35
			WaitBetweenSpawns 25
			TotalCurrency 30
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Soldier
					Tag z1a
				}
				TFBot
				{
					Template T_TFBot_Medic_Uber_Pulse3
				}
				TFBot
				{
					Template T_TFBot_Heavyweapons_Fist
				}
				TFBot
				{
					Template T_TFBot_Heavyweapons_Fist
				}
			}
		}
		
		WaveSpawn // mid wave boss
		{
			Name "w1_3a"
			Where spawnbot_carrier_giant
			TotalCount 5
			MaxActive 5
			SpawnCount 5
			WaitForAllSpawned "w1_2a_p2"
			WaitBeforeStarting 30
			WaitBetweenSpawns 0
			TotalCurrency 150

			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Heavyweapons
					Tag z1a
					Tag b1
				}
				TFBot
				{
					Template T_TFBot_Medic_Uber_Pulse3
				}
				TFBot
				{
					Template T_TFBot_Medic_Uber_Pulse3
				}
				TFBot
				{
					Template T_TFBot_Medic_Uber_Pulse3
				}
				TFBot
				{
					Template T_TFBot_Medic_Uber_Pulse3
				}
			}
		}
		
		WaveSpawn // start part 2, buff banner bison
		{
			Name "w1_4a"
			Where spawnbot_carrier
			TotalCount 40
			MaxActive 3
			SpawnCount 1
			WaitForAllDead "w1_2a_p2"
			WaitBeforeStarting 25
			WaitBetweenSpawns 15
			TotalCurrency 100
			Support 1
			
			RandomChoice
			{
				TFBot
				{
					Template T_TFBot_Scout_BuffBanner
					Health 150
					Scale 1.2
					Tag "b1"
				}
				TFBot
				{
					Template T_TFBot_Scout_BuffBanner
					Tag "b2"
				}
			}
		}

		WaveSpawn
		{
			Name "w1_break"
			TotalCount 0
			TotalCurrency 0
			WaitForAllDead "w1_3a"
			WaitForAllDead "w1_2b"
			WaitBeforeStarting 0

			FirstSpawnOutput
			{
				Target path_mode6x
				Action Trigger
			}
		}
		
		WaveSpawn // small geysers
		{
			Name "w1_10c"
			Where spawnbot_carrier
			TotalCount 20
			MaxActive 7
			SpawnCount 4
			WaitForAllDead "w1_3a"
			WaitForAllDead "w1_2b"
			WaitBeforeStarting 40
			WaitBetweenSpawns 7
			TotalCurrency 50
			
			FirstSpawnOutput
			{
				Target intel2e
				Action Enable                        
			}
			
			TFBot
			{
				Class Pyro
				Skill Hard
				Attributes AlwaysFireWeapon
			}
		}
		
		WaveSpawn // giant geyser squad
		{
			Name "w1_11a"
			Where spawnbot_carrier_giant
			TotalCount 8
			MaxActive 4
			SpawnCount 4
			WaitForAllDead "w1_3a"
			WaitForAllDead "w1_2b"
			WaitBeforeStarting 55
			WaitBetweenSpawns 22
			TotalCurrency 100
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Pyro_Geyser_Giant
					Tag b1
				}
				TFBot
				{
					Template T_TFBot_Pyro_Flaregun
					Tag b1
				}
				TFBot
				{
					Template T_TFBot_Pyro_Flaregun
					Tag b1
				}
				TFBot
				{
					Class Demoman
					Skill Normal
					Tag b1
					CharacterAttributes
					{
						"cancel falling damage" 1
					}
				}
			}
		}
		
		WaveSpawn // giant flare
		{
			Name "w1_11a2"
			Where spawnbot_carrier_giant
			TotalCount 3
			MaxActive 3
			SpawnCount 1
			WaitForAllDead "w1_3a"
			WaitForAllDead "w1_2b"
			WaitBeforeStarting 70
			WaitBetweenSpawns 30
			TotalCurrency 100
			
			TFBot
			{
				Class Pyro
				Name "Giant Flare Pyro"
				ClassIcon pyro_flare_giant
				Skill Expert
				Health 3000
				Item "The flare gun"
				WeaponRestrictions SecondaryOnly
				Attributes MiniBoss
				ItemAttributes
				{
					ItemName "The flare gun"
					"fire rate bonus" 0.3
				}
				CharacterAttributes
				{
					"move speed bonus"	0.5
					"damage force reduction" 0.6
					"airblast vulnerability multiplier" 0.6
					"override footstep sound set" 6
				}
			}
		}
		
		WaveSpawn // giant flare
		{
			Name "w1_11a3"
			Where spawnbot_carrier_giant
			TotalCount 1
			MaxActive 1
			SpawnCount 1
			WaitForAllSpawned "w1_11a2"
			WaitBeforeStarting 30
			WaitBetweenSpawns 30
			TotalCurrency 100
			
			TFBot
			{
				Class Pyro
				Name "Giant Flare Pyro"
				ClassIcon pyro_flare_giant
				Skill Expert
				Health 3000
				Item "The flare gun"
				WeaponRestrictions SecondaryOnly
				Attributes MiniBoss
				ItemAttributes
				{
					ItemName "The flare gun"
					"fire rate bonus" 0.3
				}
				CharacterAttributes
				{
					"move speed bonus"	0.5
					"damage force reduction" 0.6
					"airblast vulnerability multiplier" 0.6
					"override footstep sound set" 6
				}
			}
		}
		
		WaveSpawn // giant geyser squad with kritz
		{
			Name "w1_11b"
			Where spawnbot_carrier_giant
			TotalCount 5
			MaxActive 5
			SpawnCount 5
			WaitForAllDead "w1_11a"
			WaitBeforeStarting 5
			WaitBetweenSpawns 0
			TotalCurrency 100
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Pyro_Geyser_Giant
					Tag b1
				}
				TFBot
				{
					Template T_TFBot_Pyro_Flaregun
					Tag b1
				}
				TFBot
				{
					Template T_TFBot_Pyro_Flaregun
					Tag b1
				}
				TFBot
				{
					Template T_TFBot_Medic_Kritz_Always
				}
				TFBot
				{
					Template T_TFBot_Medic_Kritz_Always
				}
			}
		}
		
		WaveSpawn // final boss
		{
			Name "w1_12a"
			Where spawnbot_carrier_giant
			TotalCount 2
			MaxActive 2
			SpawnCount 2
			WaitForAllDead "w1_11a2"
			WaitBeforeStarting 15
			WaitBetweenSpawns 0
			TotalCurrency 75
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Demo_RapidFire
					Tag z1a
				}
				TFBot
				{
					Class Medic
					Skill Expert
					Name "Giant Kritzkrieg Medic"
					ClassIcon medic_kritz_giant
					Health 4500
					Attributes	SpawnWithFullCharge
					Attributes	MiniBoss
					Item "The Kritzkrieg"
					
					ItemAttributes
					{
						ItemName "The Kritzkrieg"
						"ubercharge rate bonus"	100
						"uber duration bonus"	200
					}
					
					CharacterAttributes
					{
						"move speed bonus"	0.5
						"damage force reduction"	0.6
						"airblast vulnerability multiplier"	0.6
						"bot medic uber health threshold"	5000
						"cancel falling damage" 1
					}
				}
			}
		}
		
		WaveSpawn
		{
			Name "w1_10d1"
			Where spawnbot_carrier
			TotalCount 9
			MaxActive 9
			SpawnCount 9
			WaitForAllSpawned "w1_10c"
			WaitBeforeStarting 30
			WaitBetweenSpawns 15
			TotalCurrency 9
			
			TFBot
			{
				Class Demoman
				Skill Normal
				Tag b1
			}
		}

		WaveSpawn
		{
			Name "w1_10d2"
			Where spawnbot_carrier
			TotalCount 9
			MaxActive 9
			SpawnCount 9
			WaitForAllSpawned "w1_10d1"
			WaitBeforeStarting 15
			WaitBetweenSpawns 15
			TotalCurrency 9
			
			TFBot
			{
				Class Soldier
				Skill Normal
				Tag b1
			}
		}

		WaveSpawn
		{
			Name "w1_10d3"
			Where spawnbot_carrier
			TotalCount 9
			MaxActive 9
			SpawnCount 9
			WaitForAllSpawned "w1_10d2"
			WaitBeforeStarting 15
			WaitBetweenSpawns 15
			TotalCurrency 9
			
			TFBot
			{
				Class Demoman
				Skill Normal
				Tag b1
			}
		}

		WaveSpawn
		{
			Name "w1_10d4"
			Where spawnbot_carrier
			TotalCount 9
			MaxActive 9
			SpawnCount 9
			WaitForAllSpawned "w1_10d3"
			WaitBeforeStarting 15
			WaitBetweenSpawns 15
			TotalCurrency 9
			
			TFBot
			{
				Class Soldier
				Skill Hard
				Tag b1
			}
		}

		WaveSpawn
		{
			Name "w1_10d5"
			Where spawnbot_carrier
			TotalCount 9
			MaxActive 9
			SpawnCount 9
			WaitForAllSpawned "w1_10d4"
			WaitBeforeStarting 15
			WaitBetweenSpawns 15
			TotalCurrency 9
			
			TFBot
			{
				Class Demoman
				Skill Hard
				Tag b1
			}
		}

		WaveSpawn
		{
			Name "w1_10d6"
			Where spawnbot_carrier
			TotalCount 9
			MaxActive 9
			SpawnCount 9
			WaitForAllSpawned "w1_10d5"
			WaitBeforeStarting 15
			WaitBetweenSpawns 15
			TotalCurrency 10
			
			TFBot
			{
				Class Soldier
				Skill Hard
				Tag b1
			}
		}

		WaveSpawn
		{
			Name "w1_10d7"
			Where spawnbot_carrier
			TotalCount 9
			MaxActive 9
			SpawnCount 9
			WaitForAllSpawned "w1_10d6"
			WaitBeforeStarting 15
			WaitBetweenSpawns 15
			TotalCurrency 10
			
			TFBot
			{
				Class Demoman
				Skill Expert
				Tag b1
			}
		}

		WaveSpawn
		{
			Name "w1_10d8"
			Where spawnbot_carrier
			TotalCount 9
			MaxActive 9
			SpawnCount 9
			WaitForAllSpawned "w1_10d7"
			WaitBeforeStarting 15
			WaitBetweenSpawns 15
			TotalCurrency 10
			
			TFBot
			{
				Class Soldier
				Skill Expert
				Tag b1
			}
		}
		
		WaveSpawn // Always Fire Pyro + QF/Shield Medic
		{
			Name "w1_10e1"
			Where spawnbot_carrier
			TotalCount 20
			MaxActive 11
			SpawnCount 2
			WaitForAllSpawned "w1_10d4"
			WaitBeforeStarting 15
			WaitBetweenSpawns 9
			TotalCurrency 50
			
			Squad
			{
				TFBot
				{
					Class Pyro
					Skill Expert
				}
				TFBot
				{
					Template T_TFBot_Medic_BigHeal
				}
			}
		}
	}
	
	Wave
	// Wave 2
	// Wave Credits: 
	{
		InitWaveOutput
		{
			Target path_mode0
			Action Trigger
		}
		StartWaveOutput
		{
			Target wave_start_relay_1e
			Action Trigger
		}
		DoneOutput					
		{
			Target wave_finished_relay
			Action trigger
		}
		WaitWhenDone 65
		Checkpoint Yes
		
		WaveSpawn //
		{
			Name "w2_1a"
			Where spawnbot_carrier
			TotalCount 20
			MaxActive 7
			SpawnCount 4
			WaitBeforeStarting 1
			WaitBetweenSpawns 15
			TotalCurrency 75
			
			TFBot
			{
				Template T_TFBot_Scout_Shortstop
				Skill Hard
			}
		}
		
		WaveSpawn //
		{
			Name "w2_1b"
			Where spawnbot_carrier
			TotalCount 24
			MaxActive 7
			SpawnCount 6
			WaitBeforeStarting 10
			WaitBetweenSpawns 25
			TotalCurrency 100
			
			TFBot
			{
				Template T_TFBot_Heavyweapons_Fist
			}
		}
		
		WaveSpawn // 
		{
			Name "w2_1c"
			Where spawnbot_carrier_giant
			TotalCount 2
			MaxActive 1
			SpawnCount 1
			WaitBeforeStarting 25
			WaitBetweenSpawns 90
			TotalCurrency 100
			
			TFBot
			{
				Template T_TFBot_Giant_Soldier_RocketShotgun
				Tag z1a
				ItemAttributes
				{
					ItemName "The Black Box"
					"heal on hit for rapidfire" 350
				}
			}
		}
		
		WaveSpawn // 
		{
			Name "w2_2a"
			Where spawnbot_carrier_giant
			TotalCount 5
			MaxActive 4
			SpawnCount 1
			WaitBeforeStarting 55
			WaitBetweenSpawns 17
			TotalCurrency 150
			
			TFBot
			{
				Template T_TFBot_Giant_Soldier_Crit
				Tag z1a
			}
		}
		
		WaveSpawn // 
		{
			Name "w2_2b"
			Where spawnbot_carrier
			TotalCount 75
			MaxActive 6
			SpawnCount 1
			WaitForAllDead "w2_1a"
			WaitBeforeStarting 0
			WaitBetweenSpawns 2.5
			TotalCurrency 75
			
			TFBot
			{
				Template T_TFBot_Scout_Melee
				ClassIcon scout_bat
			}
		}

		WaveSpawn // 
		{
			Name "w2_2bs"
			Where spawnbot_carrier
			TotalCount 50
			MaxActive 2
			SpawnCount 1
			WaitForAllSpawned "w2_2a"
			WaitBeforeStarting 40
			WaitBetweenSpawns 15
			TotalCurrency 0
			Support 1
			
			RandomChoice
			{
				TFBot
				{
					Class Heavyweapons
					Name "Conch Shotgun Heavy"
					ClassIcon heavy_shotgun_conch
					Skill Hard
					Tag b1
					WeaponRestrictions SecondaryOnly
					Attributes SpawnWithFullCharge
					Item "The Concheror"
					CharacterAttributes
					{
						"increase buff duration"	999
						"deploy time increased" 0.5
					}
				}
				TFBot
				{
					Class Heavyweapons
					Name "Conch Shotgun Heavy"
					ClassIcon heavy_shotgun_conch
					Skill Hard
					Tag b2
					WeaponRestrictions SecondaryOnly
					Attributes SpawnWithFullCharge
					Item "The Concheror"
					CharacterAttributes
					{
						"increase buff duration"	999
						"deploy time increased" 0.5
					}
				}
			}
		}
		
		WaveSpawn // 
		{
			Name "w2_3a"
			Where spawnbot_carrier_giant
			TotalCount 10
			MaxActive 7
			SpawnCount 5
			WaitForAllSpawned "w2_2a"
			WaitBeforeStarting 18
			WaitBetweenSpawns 35
			TotalCurrency 100
			
			DoneOutput // mid wave break
			{
				Target path_mode7x
				Action Trigger
			}
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Soldier_Extended_Concheror
					Tag z1a
					CharacterAttributes
					{
						"increase buff duration"	999
						"deploy time increased" 0.1
					}
				}
				TFBot
				{
					Template T_TFBot_Demo_Burst
					Attributes AlwaysCrit
				}
				TFBot
				{
					Template T_TFBot_Demo_Burst
					Attributes AlwaysCrit
				}
				TFBot
				{
					Template T_TFBot_Demo_Burst
					Attributes AlwaysCrit
				}
				TFBot
				{
					Template T_TFBot_Demo_Burst
					Attributes AlwaysCrit
				}
			}
		}
		
		WaveSpawn // 
		{
			Name "w2_3b1"
			Where spawnbot_carrier
			TotalCount 4
			MaxActive 4
			SpawnCount 2
			WaitForAllDead "w2_1b"
			WaitBeforeStarting 0
			WaitBetweenSpawns 8
			TotalCurrency 50
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Demoman_Knight
				}

				TFBot
				{
					Template T_TFBot_Medic_Vacc_E
				}

			}
		}

		WaveSpawn // 
		{
			Name "w2_3b2"
			Where spawnbot_carrier
			TotalCount 4
			MaxActive 4
			SpawnCount 2
			WaitForAllSpawned "w2_3b1"
			WaitBeforeStarting 2
			WaitBetweenSpawns 8
			TotalCurrency 50
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Demoman_Knight
				}

				TFBot
				{
					Template T_TFBot_Medic_Vacc_B
				}

			}
		}

		WaveSpawn // 
		{
			Name "w2_3b3"
			Where spawnbot_carrier
			TotalCount 4
			MaxActive 3
			SpawnCount 2
			WaitForAllSpawned "w2_3b2"
			WaitBeforeStarting 6
			WaitBetweenSpawns 8
			TotalCurrency 50
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Demoman_Knight
				}

				TFBot
				{
					Template T_TFBot_Medic_Vacc_F
				}

			}
		}

		WaveSpawn // 
		{
			Name "w2_3b4"
			Where spawnbot_carrier
			TotalCount 4
			MaxActive 3
			SpawnCount 2
			WaitForAllSpawned "w2_3b3"
			WaitBeforeStarting 12
			WaitBetweenSpawns 12
			TotalCurrency 50
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Demoman_Knight
				}

				TFBot
				{
					Template T_TFBot_Medic_Vacc_B
				}

			}
		}

		WaveSpawn // 
		{
			Name "w2_3b5"
			Where spawnbot_carrier
			TotalCount 4
			MaxActive 3
			SpawnCount 2
			WaitForAllSpawned "w2_3b4"
			WaitBeforeStarting 12
			WaitBetweenSpawns 12
			TotalCurrency 50
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Demoman_Knight
				}

				TFBot
				{
					Template T_TFBot_Medic_Vacc_F
				}

			}
		}

		WaveSpawn // 
		{
			Name "w2_3b6"
			Where spawnbot_carrier
			TotalCount 6
			MaxActive 3
			SpawnCount 2
			WaitForAllSpawned "w2_3b5"
			WaitBeforeStarting 12
			WaitBetweenSpawns 12
			TotalCurrency 50
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Demoman_Knight
				}

				TFBot
				{
					Template T_TFBot_Medic_Vacc_E
				}

			}
		}
		
		WaveSpawn // 
		{
			Name "w2_10a"
			Where spawnbot_carrier_giant
			TotalCount 2
			MaxActive 2
			SpawnCount 2
			WaitForAllDead "w2_3a"
			WaitBeforeStarting 41
			WaitBetweenSpawns 0
			TotalCurrency 75
			
			FirstSpawnOutput
			{
				Target intel2e
				Action Enable                        
			}
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Heavyweapons_Deflector
					Tag z1a
					ClassIcon heavy_deflector_giant
				}
				TFBot
				{
					Template T_TFBot_Medic_Vacc_B
				}
			}
		}
		WaveSpawn // 
		{
			Name "w2_10a"
			Where spawnbot_carrier_giant
			TotalCount 2
			MaxActive 2
			SpawnCount 2
			WaitForAllDead "w2_3a"
			WaitBeforeStarting 43
			WaitBetweenSpawns 0
			TotalCurrency 75
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Heavyweapons_Deflector
					Tag z1a
					ClassIcon heavy_deflector_giant
				}
				TFBot
				{
					Template T_TFBot_Medic_Vacc_E
				}
			}
		}
		WaveSpawn
		{
			Name "w2_11a"
			Where spawnbot_carrier
			TotalCount 15
			MaxActive 6
			SpawnCount 3
			WaitForAllSpawned "w2_10a"
			WaitBeforeStarting 5
			WaitBetweenSpawns 8
			TotalCurrency 75
			
			RandomChoice
			{
				TFBot
				{
					Class Pyro
					Skill Expert
					Tag b1
				}
				TFBot
				{
					Class Pyro
					Skill Expert
					Tag b2
				}
			}
		}
		
		WaveSpawn
		{
			Name "w2_12a1"
			Where spawnbot_carrier_giant
			TotalCount 3
			MaxActive 3
			SpawnCount 3
			WaitForAllSpawned "w2_10a"
			WaitBeforeStarting 40
			WaitBetweenSpawns 18
			TotalCurrency 50
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Boxing_Heavy
					Attributes AlwaysCrit
					Tag b1
					Tag z1a
				}
				TFBot
				{
					Template T_TFBot_Medic_Vacc_F
				}
				TFBot
				{
					Template T_TFBot_Medic_Vacc_F
				}
			}
		}

		WaveSpawn
		{
			Name "w2_12a2"
			Where spawnbot_carrier_giant
			TotalCount 3
			MaxActive 3
			SpawnCount 3
			WaitForAllSpawned "w2_12a1"
			WaitBeforeStarting 18
			WaitBetweenSpawns 18
			TotalCurrency 50
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Boxing_Heavy
					Attributes AlwaysCrit
					Tag b1
					Tag z1a
				}
				TFBot
				{
					Template T_TFBot_Medic_Vacc_E
				}
				TFBot
				{
					Template T_TFBot_Medic_Vacc_E
				}
			}
		}

		WaveSpawn
		{
			Name "w2_12a3"
			Where spawnbot_carrier_giant
			TotalCount 3
			MaxActive 3
			SpawnCount 3
			WaitForAllSpawned "w2_12a2"
			WaitBeforeStarting 20
			WaitBetweenSpawns 18
			TotalCurrency 50
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Boxing_Heavy
					Attributes AlwaysCrit
					Tag b1
					Tag z1a
				}
				TFBot
				{
					Template T_TFBot_Medic_Vacc_B
				}
				TFBot
				{
					Template T_TFBot_Medic_Vacc_B
				}
			}
		}
		
		WaveSpawn
		{
			Name "w2_12b"
			Where spawnbot_carrier
			TotalCount 15
			MaxActive 6
			SpawnCount 3
			WaitForAllSpawned "w2_10a"
			WaitBeforeStarting 50
			WaitBetweenSpawns 8
			TotalCurrency 100
			
			RandomChoice
			{
				TFBot
				{
					Template T_TFBot_Heavyweapons_Deflector
					Tag b1
				}
				TFBot
				{
					Template T_TFBot_Heavyweapons_Deflector
					Tag b2
				}
			}
		}

		WaveSpawn // 
		{
			Name "w2_2bs3"
			Where spawnbot_carrier
			TotalCount 50
			MaxActive 6
			SpawnCount 3
			WaitForAllSpawned "w2_12b"
			WaitBeforeStarting 30
			WaitBetweenSpawns 10
			TotalCurrency 0
			Support 1
			
			RandomChoice
			{
				TFBot
				{
					Class Heavyweapons
					Name "Conch Shotgun Heavy"
					ClassIcon heavy_shotgun_conch
					Skill Hard
					Tag b1
					WeaponRestrictions SecondaryOnly
					Attributes SpawnWithFullCharge
					Item "The Concheror"
					CharacterAttributes
					{
						"increase buff duration"	999
						"deploy time increased" 0.5
					}
				}
				TFBot
				{
					Class Heavyweapons
					Name "Conch Shotgun Heavy"
					ClassIcon heavy_shotgun_conch
					Skill Hard
					Tag b2
					WeaponRestrictions SecondaryOnly
					Attributes SpawnWithFullCharge
					Item "The Concheror"
					CharacterAttributes
					{
						"increase buff duration"	999
						"deploy time increased" 0.5
					}
				}
			}
		}
		
		WaveSpawn
		{
			Name "w2_13a"
			Where spawnbot_carrier
			TotalCount 22
			MaxActive 6
			SpawnCount 2
			WaitForAllSpawned "w2_10a"
			WaitBeforeStarting 60
			WaitBetweenSpawns 8
			TotalCurrency 75
			
			RandomChoice
			{
				TFBot
				{
					Class Scout
					Skill Hard
					Item "Bonk! Atomic Punch"
					Item "Bonk Helm"
					WeaponRestrictions MeleeOnly
					Tag b1
					Attributes AlwaysCrit
					ClassIcon scout_bonk
					CharacterAttributes
					{
						"increase buff duration" 4
						"deploy time increased" 0.1
					}
				}
				TFBot
				{
					Class Scout
					Skill Hard
					Item "Bonk! Atomic Punch"
					Item "Bonk Helm"
					WeaponRestrictions MeleeOnly
					Tag b2
					Attributes AlwaysCrit
					ClassIcon scout_bonk
					CharacterAttributes
					{
						"increase buff duration" 4
						"deploy time increased" 0.1
					}
				}
			}
		}

		WaveSpawn // 
		{
			Name "w2_2bs2"
			Where spawnbot_carrier
			TotalCount 50
			MaxActive 6
			SpawnCount 3
			WaitForAllSpawned "w2_13a"
			WaitBeforeStarting 10
			WaitBetweenSpawns 10
			TotalCurrency 0
			Support 1
			
			RandomChoice
			{
				TFBot
				{
					Class Heavyweapons
					Name "Conch Shotgun Heavy"
					ClassIcon heavy_shotgun_conch
					Skill Hard
					Tag b1
					WeaponRestrictions SecondaryOnly
					Attributes SpawnWithFullCharge
					Item "The Concheror"
					CharacterAttributes
					{
						"increase buff duration"	999
						"deploy time increased" 0.5
					}
				}
				TFBot
				{
					Class Heavyweapons
					Name "Conch Shotgun Heavy"
					ClassIcon heavy_shotgun_conch
					Skill Hard
					Tag b2
					WeaponRestrictions SecondaryOnly
					Attributes SpawnWithFullCharge
					Item "The Concheror"
					CharacterAttributes
					{
						"increase buff duration"	999
						"deploy time increased" 0.5
					}
				}
			}
		}
		
		WaveSpawn
		{
			Name "w2_13a"
			Where spawnbot_carrier_giant
			TotalCount 3
			MaxActive 3
			SpawnCount 3
			WaitForAllDead "w2_12a3"
			WaitBeforeStarting 0
			WaitBetweenSpawns 0
			TotalCurrency 75
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Heavyweapons_HealOnKill_Fix
					Skill Hard
					Tag b2
					Tag z1a
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickUber
					Tag b2
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickUber
					Tag b2
				}
			}
		}
		WaveSpawn
		{
			Name "w2_13a"
			Where spawnbot_carrier_giant
			TotalCount 3
			MaxActive 3
			SpawnCount 3
			WaitForAllDead "w2_12a3"
			WaitBeforeStarting 8
			WaitBetweenSpawns 0
			TotalCurrency 75
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Heavyweapons_HealOnKill_Fix
					Skill Hard
					Tag b1
					Tag z1a
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickUber
					Tag b1
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickUber
					Tag b1
				}
			}
		}
	}
	
	
	Wave
	// Wave 3
	// Wave Credits: 
	{
		InitWaveOutput
		{
			Target path_mode5
			Action Trigger
		}
		StartWaveOutput
		{
			Target wave_start_relay_1e
			Action Trigger
		}
		DoneOutput					
		{
			Target wave_finished_relay
			Action trigger
		}
		WaitWhenDone 65
		Checkpoint Yes
		
		WaveSpawn
		{
			Name "w3_1"
			TotalCount 1
			WaitBeforeStarting 2
			TotalCurrency 50
			
			FirstSpawnOutput
			{
				Target boss_spawn_relay
				Action Trigger                         
			}
			
			Tank
			{
				Health 22000
				Speed 75
				StartingPathTrackNode "tank1"
				
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		
		WaveSpawn
		{
			Name "w3_1"
			TotalCount 1
			WaitBeforeStarting 5
			TotalCurrency 50
			
			FirstSpawnOutput
			{
				Target boss_spawn_relay
				Action Trigger                         
			}
			
			Tank
			{
				Health 22000
				Speed 75
				StartingPathTrackNode "tank2"
				
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		
		WaveSpawn
		{
			Name "w3_2a"
			Where spawnbot_carrier
			TotalCount 35
			MaxActive 15
			SpawnCount 7
			WaitBeforeStarting 15
			WaitBetweenSpawns 12
			TotalCurrency 125

			TFBot
			{
				Template T_TFBot_Pyro_Fury
			}
		}
		
		WaveSpawn
		{
			Name "w3_2b"
			Where spawnbot_carrier
			TotalCount 35
			MaxActive 7
			SpawnCount 7
			WaitBeforeStarting 50
			WaitBetweenSpawns 25
			TotalCurrency 125

			TFBot
			{
				Template T_TFBot_Demo_Burst
				Attributes AlwaysCrit
			}
		}
		
		WaveSpawn
		{
			Name "w3_2c"
			Where spawnbot_carrier
			TotalCount 28
			MaxActive 7
			SpawnCount 7
			WaitForAllSpawned "w3_2a"
			WaitBeforeStarting 30
			WaitBetweenSpawns 25
			TotalCurrency 125

			TFBot
			{
				Template T_TFBot_ScorchShot
				ClassIcon pyro_scorch
			}
		}
		
		WaveSpawn
		{
			Name "w3_10a"
			Where spawnbot_carrier
			TotalCount 10
			MaxActive 3
			SpawnCount 2
			WaitBeforeStarting 120
			WaitBetweenSpawns 30
			TotalCurrency 75

			RandomChoice
			{
				TFBot
				{
					Template T_TFBot_Soldier_RocketShotgun_Backup
					Tag "b1"
				}
				TFBot
				{
					Template T_TFBot_Soldier_RocketShotgun_Backup
					Tag "b2"
				}
			}
		}
		
		WaveSpawn
		{
			Name "w3_3a"
			Where spawnbot_carrier_giant
			TotalCount 3
			MaxActive 2
			SpawnCount 1
			WaitBeforeStarting 35
			WaitBetweenSpawns 22
			TotalCurrency 110

			TFBot
			{
				Template T_TFBot_Giant_Scout
				Tag t2
			}
		}

		WaveSpawn
		{
			Name "w3_3a"
			Where spawnbot_carrier_giant
			TotalCount 1
			MaxActive 1
			SpawnCount 1
			WaitBeforeStarting 79
			WaitBetweenSpawns 0
			TotalCurrency 40

			TFBot
			{
				Template T_TFBot_Giant_Scout
				BehaviorModifiers Push
				Tag t1
			}
		}
		
		WaveSpawn
		{
			Name "w3_3b"
			Where spawnbot_carrier_giant
			TotalCount 5
			MaxActive 5
			SpawnCount 5
			WaitForAllSpawned "w3_3a"
			WaitBeforeStarting 5
			WaitBetweenSpawns 40
			TotalCurrency 50

			Squad
			{
				TFBot
				{
					Template T_TFBot_Pyro_Fury_Giant
					Tag z1a
				}
				TFBot
				{
					Template T_TFBot_Medic_Kritz_Pulse5
				}
				TFBot
				{
					Template T_TFBot_Medic_Kritz_Pulse5
				}
				TFBot
				{
					Template T_TFBot_Soldier_RocketShotgun_Backup
				}
				TFBot
				{
					Template T_TFBot_Soldier_RocketShotgun_Backup
				}
			}
		}

		WaveSpawn
		{
			Name "w3_3b"
			Where spawnbot_carrier_giant
			TotalCount 5
			MaxActive 5
			SpawnCount 5
			WaitForAllSpawned "w3_3a"
			WaitBeforeStarting 45
			WaitBetweenSpawns 0
			TotalCurrency 50

			Squad
			{
				TFBot
				{
					Template T_TFBot_Pyro_Fury_Giant
					Tag z1a
				}
				TFBot
				{
					Template T_TFBot_Medic_Kritz_Pulse5
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickUber
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickUber
				}
				TFBot
				{
					Template T_TFBot_Soldier_RocketShotgun_Backup
				}
			}
		}
		
		WaveSpawn
		{
			Name "w3_3c"
			Where spawnbot_carrier_giant
			TotalCount 4
			MaxActive 4
			SpawnCount 2
			WaitForAllDead "w3_3b"
			WaitBeforeStarting 0
			WaitBetweenSpawns 20
			TotalCurrency 75
			
			DoneOutput // mid wave break
			{
				Target path_mode15x
				Action Trigger
			}

			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_DemoMan_PrinceTavish
					Attributes AlwaysCrit
					Tag z1a
				}
				TFBot
				{
					Template T_TFBot_Giant_Medic
				}
			}
		}
		
		WaveSpawn
		{
			Name "w3_11a"
			Where spawnbot_carrier
			TotalCount 20
			MaxActive 10
			SpawnCount 2
			WaitForAllDead "w3_3c"
			WaitBeforeStarting 42
			WaitBetweenSpawns 7
			TotalCurrency 75
			
			FirstSpawnOutput
			{
				Target intel2e
				Action Enable                        
			}

			Squad
			{
				TFBot
				{
					Class Pyro
					Skill Easy
					Attributes AlwaysFireWeapon
				}
				TFBot
				{
					Template T_TFBot_Sniper_Huntsman_Spammer
					ClassIcon sniper_bow_multi
				}
			}
		}

		WaveSpawn
		{
			Name "w3_11a"
			Where spawnbot_carrier
			TotalCount 4
			MaxActive 4
			SpawnCount 4
			WaitForAllDead "w3_3c"
			WaitBeforeStarting 57
			WaitBetweenSpawns 6
			TotalCurrency 100
			
			Squad
			{	
				TFBot
				{
					Template T_TFBot_Giant_Soldier_Extended_Battalion
					Tag z1a
					CharacterAttributes
					{
						"increase buff duration"	999
						"deploy time increased" 0.1
					}
				}
				TFBot
				{
					Template T_TFBot_Giant_Soldier_SlowBarrage
					Tag z1a
				}
				
				TFBot
				{
					Template T_TFBot_Medic_QuickUber
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickUber
				}
			}
		}

		WaveSpawn
		{
			Name "w3_11a"
			Where spawnbot_carrier
			TotalCount 4
			MaxActive 4
			SpawnCount 4
			WaitForAllDead "w3_3c"
			WaitBeforeStarting 92
			WaitBetweenSpawns 6
			TotalCurrency 100
			
			Squad
			{	
				TFBot
				{
					Template T_TFBot_Giant_Soldier_Extended_Battalion
					Tag z1a
					CharacterAttributes
					{
						"increase buff duration"	999
						"deploy time increased" 0.1
					}
				}
				TFBot
				{
					Template T_TFBot_Giant_Soldier_SlowBarrage
					Tag z1a
				}
				
				TFBot
				{
					Template T_TFBot_Medic_BigHeal
				}
				TFBot
				{
					Template T_TFBot_Medic_Kritz_Pulse5
				}
			}
		}
		
		WaveSpawn
		{
			Name "w3_12a"
			Where spawnbot_carrier
			TotalCount 17
			MaxActive 8
			SpawnCount 1
			WaitForAllDead "w3_11a"
			WaitBeforeStarting 0
			WaitBetweenSpawns 1
			TotalCurrency 100
			
			RandomChoice
			{
				TFBot
				{
					Template T_TFBot_Heavy_IronFist_Airblast
					Attributes AlwaysCrit
					Tag b1
				}
				TFBot
				{
					Template T_TFBot_Heavy_IronFist_Airblast
					Attributes AlwaysCrit
					Tag b2
				}
				TFBot
				{
					Template T_TFBot_Heavy_IronFist_Airblast
					Attributes AlwaysCrit
					Tag b1
					Attributes Aggressive
				}
				TFBot
				{
					Template T_TFBot_Heavy_IronFist_Airblast
					Attributes AlwaysCrit
					Tag b2
					Attributes Aggressive
				}
			}
		}
		
		WaveSpawn
		{
			Name "w3_12a"
			Where spawnbot_carrier
			TotalCount 3
			MaxActive 2
			SpawnCount 1
			WaitForAllDead "w3_11a"
			WaitBeforeStarting 25
			WaitBetweenSpawns 18
			TotalCurrency 50
			
			TFBot
			{
				Template T_TFBot_Giant_Scout
				Tag t1
			}
		}

		WaveSpawn
		{
			Name "w3_12a"
			Where spawnbot_carrier
			TotalCount 1
			MaxActive 1
			SpawnCount 1
			WaitForAllDead "w3_11a"
			WaitBeforeStarting 47
			WaitBetweenSpawns 0
			TotalCurrency 25
			
			TFBot
			{
				Template T_TFBot_Giant_Scout
				Tag t2
			}
		}
		
		WaveSpawn
		{
			Name "w3_13a"
			Where spawnbot_carrier
			TotalCount 5
			MaxActive 5
			SpawnCount 5
			WaitForAllSpawned "w3_12a"
			WaitBeforeStarting 60
			WaitBetweenSpawns 0
			TotalCurrency 125
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Soldier_Spammer
					Tag z1a
					Health 25000
					Name "Chief Spammer"
					Attributes AlwaysFireWeapon
					Attributes UseBossHealthBar
				}
				TFBot
				{
					Template T_TFBot_Medic_Giant_Kritz_Pulse5
					Tag z1a
					Health 7000
					Attributes UseBossHealthBar
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickUber
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickUber
				}
				TFBot
				{
					Template T_TFBot_Soldier_RocketShotgun_Backup
				}
			}
		}
		
		WaveSpawn
		{
			Name "w3_13b"
			Where spawnbot_carrier
			TotalCount 100
			MaxActive 16
			SpawnCount 2
			WaitForAllDead "w3_11a"
			WaitBeforeStarting 20
			WaitBetweenSpawns 4
			TotalCurrency 100
			
			TFBot
			{
				Class Scout
				Skill Expert
				ClassIcon scout_bat
				WeaponRestrictions MeleeOnly
				Attributes AlwaysCrit
			}
		}
		
		WaveSpawn
		{
			Name "w3_14a"
			TotalCount 1
			WaitBeforeStarting 20
			WaitForAllDead "w3_11a"
			TotalCurrency 12
			
			FirstSpawnOutput
			{
				Target boss_spawn_relay
				Action Trigger                         
			}
			
			Tank
			{
				Health 18000
				Speed 75
				StartingPathTrackNode "tank1"
				
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		
		WaveSpawn
		{
			Name "w3_14b"
			TotalCount 1
			WaitBeforeStarting 65
			WaitForAllDead "w3_11a"
			TotalCurrency 13
			
			FirstSpawnOutput
			{
				Target boss_spawn_relay
				Action Trigger                         
			}
			
			Tank
			{
				Health 18000
				Speed 75
				StartingPathTrackNode "tank2"
				
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		
		WaveSpawn
		{
			Name "w3_14c"
			TotalCount 1
			WaitBeforeStarting 115
			WaitForAllDead "w3_11a"
			TotalCurrency 12
			
			FirstSpawnOutput
			{
				Target boss_spawn_relay
				Action Trigger                         
			}
			
			Tank
			{
				Health 18000
				Speed 75
				StartingPathTrackNode "tank1"
				
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		
		WaveSpawn
		{
			Name "w3_14d"
			TotalCount 1
			WaitBeforeStarting 160
			WaitForAllDead "w3_11a"
			TotalCurrency 13
			
			FirstSpawnOutput
			{
				Target boss_spawn_relay
				Action Trigger                         
			}
			
			Tank
			{
				Health 18000
				Speed 75
				Skin 1
				StartingPathTrackNode "tank2"
				
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
	}
}