#base robot_giant.pop
#base robot_standard.pop
#base robot_gatebot.pop
#base robot_wonders.pop
population
{
	StartingCurrency	5000
	RespawnWaveTime	8
	CanBotsAttackWhileInSpawnRoom	no
	AddSentryBusterWhenDamageDealtExceeds	15000
	AddSentryBusterWhenKillCountExceeds	15
	Templates
	{
	    T_TFBot_Soldier_Boss_HellBarrage
		{
			ClassIcon	soldier_burstfire
			WeaponRestrictions	PrimaryOnly
			Scale	1.9
			Health	60000
			Skill	Expert
			Name	"Marshall Hellstorm"
			Class	Soldier
			Attributes	"HoldFireUntilFullReload"
			Attributes	"MiniBoss"
			Attributes	"UseBossHealthBar"
			ItemAttributes
			{
				ItemName    "the black box"
				"damage bonus"   2.75
				"set damagetype ignite"  1
				"fire rate bonus"	0.35
				"faster reload rate"	0.15
				"projectile spread angle penalty"	5
				"projectile speed increased"    1.75
				"blast radius increased" 1.25
				"clip size upgrade atomic"	17
				"health on radius damage"   100
				"mini rockets" 1
				"is australium item" 1
				"item style override" 1
			}
			ItemAttributes
			{
				ItemName	"the hellmet"
				"attach particle effect"	13
			}
			CharacterAttributes
			{
				"override footstep sound set"	3
				"airblast vulnerability multiplier"	0.4
				"damage force reduction"	0.4
				"move speed penalty"	0.4
			}
			Item	"full metal drill hat"
			Item    "the black box"
			Item	"big steel jaw of summer fun"
			Item    "the mantreads"
			Item    "the hellmet"
		}
	}
	Mission
	{
		Objective	DestroySentries
		Where	spawnbot
		Where   spawnbot_side
		BeginAtWave	1
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	1
		TFBot
		{
			Template	T_TFBot_SentryBuster
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_side
		BeginAtWave	1
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	3
		TFBot
		{
			Template	T_TFBot_Sniper
		}
	}
	Mission
	{
		Objective	Engineer
		Where	spawnbot_side
		BeginAtWave	1
		RunForThisManyWaves	1
		InitialCooldown	200
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Engineer_Sentry_Battle
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay_ironman
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	phase1
			TotalCurrency	50
			TotalCount	20
			MaxActive	5
			SpawnCount	5
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			Where	spawnbot_side
			FirstSpawnWarningSound "mvm\ambient_mp3\mvm_siren.mp3"
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Scout_FAN
				}
			}
		}
		WaveSpawn
		{
			Name	shotguns
			TotalCurrency	100
			TotalCount	24
			MaxActive	6
			SpawnCount	6
			WaitBeforeStarting	10
			WaitBetweenSpawns	10
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Heavyweapons_Shotgun
				}
			}
		}
		WaveSpawn
		{
			Name	soldiercrit
			TotalCurrency	100
			TotalCount	12
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			WaitForAllSpawned	phase1
			Where	spawnbot
			Where   spawnbot_side
			Squad
			{
				TFBot
				{
					ClassIcon	soldier
					Health	200
					Skill	Expert
					Name	Soldier
					Class	Soldier
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	giantshit
			TotalCurrency	200
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	5
			WaitBetweenSpawns	10
			WaitForAllSpawned	phase1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Regen
				}
			}
		}
		WaveSpawn
		{
			Name	bowmenenforce
			TotalCurrency	200
			TotalCount	4
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			WaitForAllDead	giantshit
			Where	spawnbot_side
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Sniper_Bowman_Giant_Razorback
				}
			}
		}
		WaveSpawn
		{
			Name	hevvy
			TotalCurrency	100
			TotalCount	18
			MaxActive	6
			SpawnCount	6
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			WaitForAllSpawned	bowmenenforce
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	heavy
					Health	300
					Skill	Expert
					Name	HeavyWeapons
					Class	HeavyWeapons
				}
			}
		}
		WaveSpawn
		{
			Name	phase2
			TotalCurrency	200
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	5
			WaitBetweenSpawns	10
			WaitForAllDead	hevvy
			Where	spawnbot
			StartWaveWarningSound  "vo\mvm_general_wav_start02.mp3"
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Burstfire_HoK
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	whippedcrem
			TotalCurrency	50
			TotalCount	24
			MaxActive	8
			SpawnCount	8
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			WaitForAllSpawned	phase2
			Where	spawnbot_side
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Scout_FaN_Upgraded
				}
			}
		}
		WaveSpawn
		{
			Name	getsome
			TotalCurrency	200
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	20
			WaitBetweenSpawns	10
			WaitForAllSpawned	phase2
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Demo_Giant_Barrage_AirExplode
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Regen
				}
			}
		}
		WaveSpawn
		{
			Name	tankfuck1
			TotalCurrency	200
			TotalCount	3
			MaxActive	3
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	30
			WaitForAllDead	getsome
			
			FirstSpawnOutput
			{
				Target boss_spawn_relay
				Action Trigger
			}
			
			Tank
			{
				Health	26000
				Name	Tank
				Speed	55
				StartingPathTrackNode  boss_path_1
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	PAIN
			TotalCurrency	100
			TotalCount	60
			MaxActive	12
			SpawnCount	12
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			WaitForAllDead	getsome
			Where	spawnbot
			Where   spawnbot_side
			Squad
			{
				TFBot
				{
					Skill	Expert
					Template	T_TFBot_Demoman
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	phase3
			TotalCurrency	100
			TotalCount	4
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	6
			WaitBetweenSpawns	10
			WaitForAllDead	tankfuck1
			Where	spawnbot_side
			StartWaveWarningSound  "vo\mvm_general_wav_start01.mp3"
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Heavy_Shotgun_Tank
				}
			}
		}
		WaveSpawn
		{
			Name	lottapain
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	20
			WaitBetweenSpawns	10
			WaitForAllDead	tankfuck1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Soldier_BurstFire
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Regen
				}
			}
		}
		WaveSpawn
		{
			Name	fuckenpyro
			TotalCurrency	100
			TotalCount	32
			MaxActive	8
			SpawnCount	8
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			WaitForAllSpawned	lottapain
			Where	spawnbot
			Where   spawnbot_side
			Squad
			{
				TFBot
				{
					ClassIcon	pyro
					Health	175
					Skill	Expert
					Name	Pyro
					Class	Pyro
					Attributes	"AlwaysCrit"
					Attributes	"AlwaysFireWeapon"
				}
			}
		}
		WaveSpawn
		{
			Name	boss1
			TotalCurrency	200
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	20
			WaitBetweenSpawns	10
			WaitForAllDead	phase3
			Where	spawnbot
			FirstSpawnWarningSound  "vo\mvm\mght\demoman_mvm_m_taunts04.mp3"
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Demo_Tank_Hardened_Titanium
				}
			}
		}
		WaveSpawn
		{
			Name	phase4
			TotalCurrency	100
			TotalCount	4
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	8
			WaitBetweenSpawns	10
			WaitForAllDead	boss1
			Where	spawnbot
			Where   spawnbot_side
			StartWaveWarningSound  "vo\mvm_general_wav_start07.mp3"
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons
				}
			}
		}
		WaveSpawn
		{
			Name	moresoldierpain
			TotalCurrency	100
			TotalCount	32
			MaxActive	8
			SpawnCount	8
			WaitBeforeStarting	15
			WaitBetweenSpawns	10
			WaitForAllDead	boss1
			Where	spawnbot
			Where   spawnbot_side
			Squad
			{
				TFBot
				{
					ClassIcon	soldier
					Health	200
					Skill	Expert
					Name	Soldier
					Class	Soldier
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	battalionA
			TotalCurrency	100
			TotalCount	30
			MaxActive	6
			SpawnCount	6
			WaitBeforeStarting	30
			WaitBetweenSpawns	10
			WaitForAllDead	boss1
			Where	spawnbot
			RandomChoice
			{
				TFBot
				{
					ClassIcon	heavy
					Health	300
					Skill	Expert
					Name	HeavyWeapons
					Class	HeavyWeapons
				}
				TFBot
				{
					Skill	Expert
					Template	T_TFBot_Soldier_Extended_Buff_Banner
				}
				TFBot
				{
					Skill	Expert
					Template	T_TFBot_Soldier_Extended_Concheror
				}
				TFBot
				{
					Skill	Expert
					Template	T_TFBot_Soldier_Extended_Battalion
				}
			}
		}
		WaveSpawn
		{
			Name	battalionB
			TotalCurrency	100
			TotalCount	6
			MaxActive	3
			SpawnCount	1
			WaitBeforeStarting	30
			WaitBetweenSpawns	10
			WaitForAllDead	boss1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons_Deflector
				}
			}
		}
		WaveSpawn
		{
			Name	battalionC
			TotalCurrency	100
			TotalCount	6
			MaxActive	3
			SpawnCount	1
			WaitBeforeStarting	30
			WaitBetweenSpawns	10
			WaitForAllDead	boss1
			Where	spawnbot_side
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Soldier_BurstFire
				}
			}
		}
		WaveSpawn
		{
			Name	tankfuck2
			TotalCurrency	500
			TotalCount	4
			MaxActive	4
			SpawnCount	1
			WaitBeforeStarting	65
			WaitBetweenSpawns	40
			WaitForAllDead	boss1
			
			FirstSpawnOutput
			{
				Target boss_spawn_relay
				Action Trigger
			}
			
			Tank
			{
				Health	20000
				Name	Tank
				Speed	60
				StartingPathTrackNode  boss_path_1
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
	
		}
		WaveSpawn
		{
			Name	phase5
			TotalCurrency	100
			TotalCount	60
			MaxActive	15
			SpawnCount	10
			WaitBeforeStarting	5
			WaitBetweenSpawns	5
			WaitForAllDead tankfuck2
			Where	spawnbot
			Where   spawnbot_side
			StartWaveWarningSound  "vo\mvm_final_wave_start03.mp3"
			FirstSpawnWarningSound "mvmthemes\HellStormTheme.mp3"
			Squad
			{
				TFBot
				{
					ClassIcon	heavy
					Health	300
					Skill	Expert
					Name	HeavyWeapons
					Class	HeavyWeapons
					Attributes  "AlwaysCrit"
				}
			}
		}
	    WaveSpawn
		{
			Name	boss2
			TotalCurrency	1000
			TotalCount	4
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	90
			WaitBetweenSpawns	10
			WaitForAllDead tankfuck2
			Where	spawnbot
			FirstSpawnWarningSound "mvmthemes\HellStorm_Summon.wav"
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Soldier_Boss_HellBarrage
				}
				TFBot
				{
					Template	T_TFBot_Medic_Giant_Shield_Resist_Elite_A
				}
				TFBot
				{
					Template	T_TFBot_Medic_Giant_Shield_Resist_Elite_B
				}
				TFBot
				{
					Template	T_TFBot_Medic_Giant_Shield_Resist_Elite_C
				}
			}
		}
	}
}