#base robot_standard.pop
#base robot_giant.pop
#base robot_gatebot.pop

// w1 : fine really, no changes needed
// w2 : easy, but i will keep it like that, i will give the 4 giant bursts some company though - done
// w3 : glass cannon to shortstop , 20 scouts + uber meds should be smth else, change rapids to colonels, give bursts crits - done
// w4 : 1st subwave is very weak , winger scouts could be replaced with soldiers , ignus heavies fixed - done i guess
// w5 : will write this down later - done i suppose

WaveSchedule
{
    StartingCurrency 800
	RespawnWaveTime  7
	CanBotsAttackWhileInSpawnRoom yes
    
	// spawns :
	// spawnbot (spawns from that upper thing i assume.
	// spawnbot_side (alleyway i'd guess)
	// spawnbot_invasion (all of those above)
	// spawnbot_boss (boss spawns, i guess so you can not make the boss teleport.)
	// spawnbot_boss_side
	// spawnbot_mission_sentrybuster
	// spawnbot_mission_sniper
	// spawnbot_mission_sniper_side
	// spawnbot_mission_spy
	
	// tags :
	// nav_prefer_main_1
	// nav_prefer_main_2
	// nav_prefer_main_3
	// nav_prefer_main_4
	// nav_prefer_main_5
	// nav_prefer_main_6
	
	// nav_prefer_flank_1
	// nav_prefer_flank_2
	// nav_prefer_flank_3
	// nav_prefer_flank_4 (needs bomb at certain threshold to activate)
	// nav_prefer_flank_5
    Templates
	{
	
	br_medic_kritz
	{
     	Class Medic
		Name "Kritz Medic"
		ClassIcon medic_kritz
		Skill Hard
		Attributes SpawnWithFullCharge
		
		Item "The Kritzkrieg"
		Item "Lo-Fi Longwave"	
		
		ItemAttributes
		{
		    ItemName "The Kritzkrieg"
			"uber duration bonus" 100
			"bot medic uber health threshold"    600
		}
	}
	
	br_magnum_opus // Base for the titan.
	{
        Name "Magnum Opus"
		Health 666666
		Class Soldier
		Skill Expert
		Scale 16
		Attributes AlwaysFireWeapon
		
		Item "Corona Australis"
		Item "Jupiter Jetpack"
		Item "Shin Shredders"
		Item "The Purity Fist"
		Item "Hawk Eyed Hunter"
		Item "Die Regime-Panzerung"
		Item "Big Steel Jaw of Summer Fun"
		Item "Upgradeable TF_WEAPON_ROCKETLAUNCHER"
		ItemAttributes
		{
        	ItemName "Upgradeable TF_WEAPON_ROCKETLAUNCHER"
			"is australium item" 1
			"item style override" 1
		}
	}
	
	}
	
	Mission
	{
		Where spawnbot
		Objective   DestroySentries
		BeginAtWave 1
		RunForThisManyWaves 9
		CooldownTime    35
		TFBot
		{
		Template T_TFBot_SentryBuster
		Tag bot_giant
		}
	}
	
	Mission
	{
	    Where spawnbot
		Objective Sniper
		DesiredCount 5
		
		BeginAtWave 3
		RunForThisManyWaves 2
		
		CooldownTime 60
		InitialCooldown 50
		
		TFBot
		{
		    Template T_TFBot_Sniper_Razorback
			//Name "Machina Sniper"
			Item "The Machina"
			Item "The Killing Tree"
		}
	}
	
	Mission
	{
	    Where spawnbot_side
		Objective Sniper
		DesiredCount 1
		
		BeginAtWave 5
		RunForThisManyWaves 1
		
		CooldownTime 50
		InitialCooldown 60
		
		TFBot
		{
		    Template T_TFBot_Sniper
			ClassIcon heavy_accurate_lite
			Name "Giant Auto-Cannon Sniper"
			Attributes MiniBoss
			Health 3300
			Item "The AWPer Hand"
			Item "Mad Mask"
			Item "Commando Elite"
			Item "Upgradeable TF_WEAPON_CLUB"
			ItemAttributes
			{
			    ItemName "The AWPer Hand"
				"damage penalty" 0.15
				"fire rate bonus" 0.3
				"faster reload rate" 0.4
				"switch from wep deploy time decreased" 0.1
				"dmg pierces resists absorbs" 1
				"sniper charge per sec" 0.001
			}
			ItemAttributes
			{
			    ItemName "Upgradeable TF_WEAPON_CLUB"
				"damage bonus" 1.5
				"fire rate bonus" 0.75
				"switch from wep deploy time decreased" 0.1
				"damage blast push" 9.0
			}
			CharacterAttributes
			{
				"move speed bonus"	0.5
				"damage force reduction" 0.3
				"airblast vulnerability multiplier" 0.3
				"override footstep sound set" 2			    
			}
		}
	}
	
	Mission
	{
	    Where spawnbot_boss_side
		Objective Spy
		DesiredCount 3
		
		BeginAtWave 2
		RunForThisManyWaves 1
		
		CooldownTime 40
		InitialCooldown 30
		
		TFBot
		{
		    Template T_TFBot_Spy
		}
	}
	
	// 1 Giant Heavy With a Giant Regen Medic
	// 40 Scouts (Scatter)
	// 3 Colonel Barrages
	
	// 12 Demomen And Kritz Meds
	// 12 Soldiers And Quick-Uber Medics
	// 30 Scouts (Scatter)
	
	
	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay_boss
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}

        WaveSpawn
		{
		    TotalCount 1
			SpawnCount 1
			Where spawnbot_side
			
			Support Limited
			WaitBeforeStarting 8
			
			StartWaveWarningSound "vo/announcer_security_alert.mp3"
			FirstSpawnWarningSound "vo/mvm/mght/taunts/soldier_mvm_m_taunts15.mp3"
			RandomChoice
			{
			    RandomChoice
				{
				    TFBot
				    {
				        Template br_magnum_opus
						Attributes IgnoreFlag
						
						ItemAttributes
						{
						    ItemName "Upgradeable TF_WEAPON_ROCKETLAUNCHER"
							"is australium item" 1
							"item style override" 1
							"damage bonus" 2.5
							"dmg pierces resists absorbs" 1
							"fire rate penalty" 0.8
							"faster reload rate" -2
							"projectile spread angle penalty" 15
							"Projectile speed increased" 1.8
							"Blast radius increased" 1.4
						}
					}
				}
			}
		}	
		
		WaveSpawn
		{
		    Name "wave01"
			TotalCount 2
			SpawnCount 2
			MaxActive 2
			Where spawnbot_side
			
			WaitBetweenSpawns 12
			TotalCurrency 200
			Squad
			{
		        TFBot
				{
			    	Template T_TFBot_Giant_Heavyweapons_Deflector
			    	Tag bot_giant
				}
				TFBot
				{
		            Template T_TFBot_Giant_Medic_Regen
					Tag bot_giant
	        	}
		    }
		}

        WaveSpawn
        {
	    	Name "wave01_1"
	    	TotalCount 3
			MaxActive 3
			Where spawnbot_side
			
			WaitBetweenSpawns 6.5
	    	WaitForAllDead "wave01"			
			TotalCurrency 100
			TFBot
			{
			    Template T_TFGateBot_Giant_Soldier_SlowBarrage
			}
		}	
		
		WaveSpawn
		{
		    Name "wave01_1"
			TotalCount 50
			SpawnCount 2
			MaxActive 14
			Where spawnbot_invasion

			WaitBetweenSpawns 2
			TotalCurrency 200
			TFBot
			{
		    	Class Scout
				Tag nav_prefer_flank_2
				Skill Easy
			}
		}
		
		WaveSpawn
	    {
	    	Name "wave02"
			TotalCount 24
			SpawnCount 4
			MaxActive 10
			Where spawnbot_side
			
			TotalCurrency 200
			WaitBetweenSpawns 2
			WaitForAllDead "wave01_1"
			Squad
			{
		        TFBot
				{
			    	Class Demoman
					Skill Hard
				}
		        TFBot
				{
	            	Template br_medic_kritz
					Tag bot_squad_member
				}
		    }
		}
		
		WaveSpawn
	    {
		    Name "wave02"
			TotalCount 24
			SpawnCount 4
			MaxActive 10
			Where spawnbot_side
			
			TotalCurrency 100
			WaitBetweenSpawns 2
			WaitForAllDead "wave01_1"
			Squad
			{
			    TFBot
				{
				    Class Soldier
					Skill Hard
				}
				TFBot
				{
				    Template T_TFBot_Medic_QuickUber
					Tag bot_squad_member
				}
			}
		}
		
		WaveSpawn
		{
     		Name "wave02"
			TotalCount 50
			SpawnCount 3
			MaxActive 11
			Where spawnbot_invasion
			
            WaitBetweenSpawns 2
    		TotalCurrency 100
			WaitForAllSpawned "wave01_1"
	    	TFBot
		    {
	    	    Class Scout
				Skill Normal
				
				Tag nav_prefer_flank_2
			}
		}
		
	}
	
	// 5 Giant Pyros (each with diffrent weapons)
	
	// 6 Giant Shotgun Heavies (Gatebot)
	// 33 Champions
	
	// 1 Tank (Gate, 27k HP)
	// 40 Copper Gauntlets
	// 40 Bowmen
	
	// 4 Giant Shotgun Heavies (Burst)
	
	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay_boss
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		
        WaveSpawn
		{
		    TotalCount 1
			SpawnCount 1
			Where spawnbot_side

			Support Limited
			FirstSpawnWarningSound "vo/mvm/mght/soldier_mvm_m_dominationsniper03.mp3"
			RandomChoice
			{
		    	RandomChoice
	        	{
				    TFBot
				    {
				        Template br_magnum_opus
						Attributes IgnoreFlag
						
						ItemAttributes
						{
						    ItemName "Upgradeable TF_WEAPON_ROCKETLAUNCHER"
							"is australium item" 1
							"item style override" 1
							"damage bonus" 3.0
							"dmg pierces resists absorbs" 1
							"fire rate penalty" 0.7
							"faster reload rate" -2
							"projectile spread angle penalty" 13
							"Projectile speed increased" 1.8
							"Blast radius increased" 1.45
						}
					}
	         	}
	    	}
		}
		
		WaveSpawn
		{
		    Name "wave01"
			TotalCount 1
			MaxActive 1
			SpawnCount 1
			Where spawnbot
			
	    	TotalCurrency 20
			WaitBeforeStarting 0
			TFBot
			{
			Template T_TFBot_Giant_Pyro
			Tag bot_giant
			}
		}
		
		WaveSpawn
		{
		    Name "wave01"
			TotalCount 1
			MaxActive 1
			SpawnCount 1
			Where spawnbot
			
		    TotalCurrency 20
			WaitBeforeStarting 2
			TFBot
			{
			    Class Pyro
				Name "Giant Pyro"
				ClassIcon pyro_giant
				Skill Expert
				Health 3000
				Attributes MiniBoss
				Attributes SpawnWithFullCharge
				
				Item "The Dragon's Fury"
				Item "Hong Kong Cone"
				
				ItemAttributes
				{
			    	ItemName "The Dragon's Fury"
					"item_meter_charge_rate" 0.5
					"damage bonus" 1.5
				}
				CharacterAttributes
				{
			    	"move speed bonus"	0.5
					"damage force reduction" 0.6
					"airblast vulnerability multiplier" 0.6
					"override footstep sound set" 6
	        	}
				
				Tag bot_giant
		    }
		}
		
		WaveSpawn
		{
		    Name "wave01"
			TotalCount 1
			MaxActive 1
			SpawnCount 1
			Where spawnbot
			
			TotalCurrency 20
			WaitBeforeStarting 4
			TFBot
			{
    			Class Pyro
				Name "Giant Pyro"
				ClassIcon pyro_giant
				Skill Expert
				Health 3000
				Attributes MiniBoss
				Attributes SpawnWithFullCharge

				Item "The Phlogistinator"
				Item "A Head Full of Hot Air"

				ItemAttributes
				{
    				ItemName "The Phlogistinator"
					"gesture speed increase" 2.5
					"airblast disabled" 0
				}
				CharacterAttributes
				{
    				"move speed bonus"	0.5
					"damage force reduction" 0.6
					"airblast vulnerability multiplier" 0.6
					"override footstep sound set" 6
				}
				Tag bot_giant
		    }
		}
		
		WaveSpawn
		{
    		Name "wave01"
    		TotalCount 1
			MaxActive 1
			SpawnCount 1
			Where spawnbot
			
			TotalCurrency 20
			WaitBeforeStarting 6
			TFBot
			{
	        	Class Pyro
				Name "Giant Pyro"
				ClassIcon pyro_giant
				Skill Expert
				Health 3000
				Attributes MiniBoss
				
				Item "The Backburner"
				Item "Pyromancer's Mask"
				
				ItemAttributes
				{
				    ItemName "The Backburner"
					"damage bonus" 1.5
				}
				CharacterAttributes
				{
			    	"move speed bonus"	0.5
					"damage force reduction" 0.6
					"airblast vulnerability multiplier" 0.6
					"override footstep sound set" 6
				}
				
	     	    Tag bot_giant 
     		}
		}
		
		WaveSpawn
		{
		    Name "wave01"
			TotalCount 1
			MaxActive 1
			SpawnCount 1
			Where spawnbot
			
			TotalCurrency 20
			WaitBeforeStarting 8
			TFBot
			{
		    	Class Pyro
				Name "Giant Pyro"
				ClassIcon pyro_giant
				Skill Expert
				Health 3000
				Attributes MiniBoss
				
				Item "The Degreaser"
				Item "The Burning Question"
				
				ItemAttributes
				{
    				ItemName "The Degreaser"
					"weapon burn dmg reduced" 1.0
					"weapon burn dmg increased" 3.0
				}
				CharacterAttributes
				{
    				"move speed bonus"	0.5
					"damage force reduction" 0.6
					"airblast vulnerability multiplier" 0.6
					"override footstep sound set" 6
				}
				Tag bot_giant
	    	}
		}
		
		WaveSpawn
		{
		    Name "wave02"
			TotalCount 6
			MaxActive 6
			SpawnCount 1
			Where spawnbot_side
			
			TotalCurrency 400
			
			WaitBeforeStarting 4
			WaitBetweenSpawns 5
	    	WaitForAllDead "wave01"
		    TFBot
			{
			    Template T_TFGateBot_Giant_Heavyweapons_Shotgun
			}
		}
		
		WaveSpawn
		{
	    	Name "wave02"
			TotalCount 33
			MaxActive 11
			SpawnCount 11
			Where spawnbot_invasion

			RandomSpawn 1
			TotalCurrency 400
			WaitBeforeStarting 2
			WaitBetweenSpawns 15
			WaitForAllDead "wave01"
			TFBot
			{
    			Class HeavyWeapons
				Health 1200
				Scale 1.5
				Skill Hard
				Name Champion
				ClassIcon heavy_champ
				WeaponRestrictions MeleeOnly
				
				Item "the killing gloves of boxing"
				Item "Pugilist's Protector"
				
				ItemAttributes
				{
    				ItemName "the killing gloves of boxing"
					"damage bonus" 1.4
				}
				Tag bot_giant
	    	}
		}
		
		WaveSpawn
		{
	    	Name "wave03"
			WaitForAllDead "wave02"
			TotalCount 1
			TotalCurrency 200
			
			FirstSpawnOutput
			{
    			Target boss_spawn_relay
				Action Trigger
	    	}
			Tank
			{
			    Name "Tank_gate"
				Health 19000
				Speed 75
				StartingPathTrackNode tank_boss_path_1
				Skin 1
				
				OnKilledOutput
				{
			    	Target boss_tank_dead_relay
					Action Trigger
				}
				OnBombDroppedOutput
				{
			    	Target boss_deploy_relay
					Action Trigger
				}
	    	}
		}
		
		WaveSpawn
		{
		Name "wave03_1"
		WaitForAllDead "wave02"
		TotalCount 40
		MaxActive 10
		SpawnCount 2
		Where spawnbot
		WaitBeforeStarting 4
		TotalCurrency 150
		WaitBetweenSpawns 1.5
		TFBot
		{
		Class HeavyWeapons
		WeaponRestrictions MeleeOnly
		Tag nav_prefer_main_1
		Tag nav_prefer_main_2
		Tag nav_prefer_main_3		
		Tag nav_prefer_main_4
		Skill Hard
		Item "Fists of Steel"
		Name "Copper Gauntlet"
		ClassIcon heavy_steelfist
		}
		}
		
		WaveSpawn
		{
		Name "wave03_1"
		WaitForAllDead "wave02"
		TotalCount 40
		MaxActive 9
		SpawnCount 2
		Where spawnbot
		WaitBeforeStarting 4
		WaitBetweenSpawns 1.5
		TFBot
		{
		Template T_TFBot_Sniper_Huntsman
		Tag nav_prefer_main_1
		Tag nav_prefer_main_2
		Tag nav_prefer_main_3		
		Tag nav_prefer_main_4
		}
		}
		
		WaveSpawn
		{
		Name "wave04"
		WaitForAllDead "wave03"
		TotalCount 4
		MaxActive 2
		SpawnCount 2
		Where spawnbot_side
		TotalCurrency 150
		WaitBeforeStarting 6
		TFBot
		{
		Class Heavyweapons
		Name "Giant Burst-Fire Shotgun Heavy"
		ClassIcon heavy_shotgun_burst_giant
		Skill Expert
		Health 5000
		WeaponRestrictions SecondaryOnly
		MaxVisionRange 1200
		Item "The Peacebreaker"
		Attributes MiniBoss
		ItemAttributes
		{
		ItemName "TF_WEAPON_SHOTGUN_HWG"
		"fire rate bonus" 0.3
		"bullets per shot bonus" 10
		"clip size penalty" 0.5
		"auto fires when full"	1
		"auto fires full clip"	1
		"damage penalty" 0.5
		"faster reload rate" 1.4
		}
		CharacterAttributes
		{
		"move speed bonus"	0.7
		"damage force reduction" 0.3
		"airblast vulnerability multiplier" 0.3
		"attack projectiles" 2
		"override footstep sound set" 2
		}
        Tag bot_giant		
		Tag nav_prefer_main_1
		Tag nav_prefer_flank_1
		Tag nav_prefer_flank_3		
		Tag nav_prefer_flank_5
		}
		}
		
		WaveSpawn
		{
		    Name "wave04_support"
			TotalCount 32
			MaxActive 12
			SpawnCount 2
			Where spawnbot_invasion
			
			Support 1
			RandomSpawn 1
			
			WaitBeforeStarting 6
			WaitBetweenSpawns 4
	    	WaitForAllDead "wave03"
		    TFBot
			{
			    Class Scout
				Skill Normal
				
				Name "Popper Scout"
				
				Item "The Soda Popper"
				Item "Bonk Boy"
			}
		}
		
	}
		
	// 1 The Cool Tank
	// 80 Glass Cannon Scouts
	
	// 40 Bat Scouts with Uber Medics (ultra shitpost)
	
	// 4 Giant Rapid Fire Soldiers
	// 4 Giant Burst Fire Soldiers
    // 60 Sticky Demomen
	
	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay_boss
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		
        WaveSpawn
		{
		    TotalCount 1
			SpawnCount 1
			Where spawnbot_side

			Support Limited
			FirstSpawnWarningSound "vo/mvm/mght/soldier_mvm_m_dominationsniper03.mp3"
			RandomChoice
			{
		    	RandomChoice
	        	{
				    TFBot
				    {
				        Template br_magnum_opus
						Attributes IgnoreFlag
						
						ItemAttributes
						{
						    ItemName "Upgradeable TF_WEAPON_ROCKETLAUNCHER"
							"is australium item" 1
							"item style override" 1
							"damage bonus" 3.25
							"dmg pierces resists absorbs" 1
							"fire rate penalty" 0.6
							"faster reload rate" -2
							"projectile spread angle penalty" 11
							"Projectile speed increased" 1.8
							"Blast radius increased" 1.5
						}
					}
	         	}
	    	}
		}
		
		WaveSpawn
		{
	    	TotalCount 24
			SpawnCount 2
			MaxActive 16
			TotalCurrency 0
			Name "wave00"
	        
			Where spawnbot_invasion
			FirstSpawnWarningSound "vo/mvm/mght/soldier_mvm_m_dominationsoldier06.mp3"
			WaitBetweenSpawns 3
			TFBot
			{
                Template T_TFBot_Scout_Shortstop
			}
		}
		
		WaveSpawn
		{
		    Name "wave01"
		    TotalCount 1
			MaxActive 1
			SpawnCount 1
			TotalCurrency 600
			
			Where spawnbot_boss
			FirstSpawnWarningSound "player/taunt_disco.wav"
			DoneWarningSound ""
			
			FirstSpawnOutput
			{
			    Target intel2
				Action enable
			}
			
			DoneOutput
			{
			    Target intel2 
				Action forceresetanddisablesilent
			}
			
			WaitBeforeStarting 2
			WaitForAllSpawned "wave00"
			TFBot
			{
			    Health 44000
				Scale 1.8
				Class Heavyweapons
				Skill Hard
				Name "The Cool Dude"
				MaxVisionRange 1
				
				Tag nav_prefer_main_1
				Tag nav_prefer_main_2
				Tag nav_prefer_main_3
				Tag nav_prefer_main_4
				Tag nav_prefer_main_5
				Tag nav_prefer_main_6				
				
				ClassIcon heavy_robosandvich_nys
				
				WeaponRestrictions MeleeOnly
				
				Attributes MiniBoss
				Attributes UseBossHealthBar
				
				Item "The Robo-Sandvich"
				Item "Summer Shades"
				Item "The Boston Boom-Bringer"
				
				ItemAttributes
				{
				    ItemName "Upgradeable TF_WEAPON_FISTS"
					"fire rate penalty" 999.0
				}
				
				ItemAttributes
				{
				    ItemName "The Robo-Sandvich"
					"mult_item_meter_charge_rate" 1.15 // make it a tad slower, hopefully
					"max health additive bonus" 1
					"lunchbox healing decreased" 13.0 // hopefully this doesn't insta-regen his health
					"single wep deploy time increased" 0.01
				}
				
				CharacterAttributes
				{
			    	"move speed bonus"	0.466
					"damage force reduction" 0.01
					"airblast vulnerability multiplier" 0.01
					"override footstep sound set" 2
					"airblast vertical vulnerability multiplier" 0.01
					"rage giving scale" 0.0
				}
			}
		}
		
		WaveSpawn
		{
	    	TotalCount 56
			SpawnCount 2
			MaxActive 20
			TotalCurrency 400
			Name "wave01"
	        
			Where spawnbot_invasion
			WaitBetweenSpawns 1.9
			WaitForAllSpawned "wave00"
			TFBot
			{
                Template T_TFBot_Scout_Shortstop
			}
		}
		
		WaveSpawn
		{
		    Name "wave02"
		    TotalCount 8
			MaxActive 4
			SpawnCount 4
			TotalCurrency 400
			
			WaitForAllDead "wave01"
			Where spawnbot_side
			WaitBeforeStarting 5
			Squad
			{
			    TFBot
				{			
				    Class Soldier
					Name "Giant Trio-Rocket Soldier"
					ClassIcon soldier_burstfire // purely for icon stack, but icon still works for the bot!!
					Skill Expert
					Health 3800
					
					Item "Bucket Hat"
					Item "The Black Box"	
					
					Tag bot_giant
					Tag nav_prefer_main_1
					Tag nav_prefer_flank_5
					Tag nav_prefer_main_6
					
					WeaponRestrictions PrimaryOnly
					Attributes HoldFireUntilFullReload
					Attributes MiniBoss
					Attributes AlwaysCrit // purely because of what i did
					
					ItemAttributes
					{
					    ItemName "The Black Box"
						"health on radius damage" 0
						"fire rate bonus" 0.1
						"faster reload rate" 0.4
						"Projectile speed increased" 0.75
					}
					
					CharacterAttributes
					{
			    		"move speed bonus"	0.5
						"damage force reduction" 0.4
						"airblast vulnerability multiplier" 0.4
						"override footstep sound set" 3
    				}
				}
				
				TFBot
				{
				    Template T_TFBot_Medic_BigHeal
					Tag bot_squad_member
					Tag nav_prefer_main_1
					Tag nav_prefer_flank_5
					Tag nav_prefer_main_6
				}
				
				TFBot
				{
				    Template T_TFBot_Medic_BigHeal
					Tag bot_squad_member
					Tag nav_prefer_main_1
					Tag nav_prefer_flank_5
					Tag nav_prefer_main_6
				}
				
				TFBot
				{
				    Template T_TFBot_Medic_BigHeal
					Tag bot_squad_member
					Tag nav_prefer_main_1
					Tag nav_prefer_flank_5
					Tag nav_prefer_main_6
				}
			}
		}
		
		WaveSpawn
		{
		    Name "wave02"
		    TotalCount 40
			MaxActive 10
			SpawnCount 2
			TotalCurrency 400
			
			WaitForAllDead "wave01"
			Where spawnbot_side
			WaitBeforeStarting 5
			WaitBetweenSpawns 4
			Squad
			{
			    TFBot
				{
			        Class Scout
					
					EventChangeAttributes
					{
     					Default
						{
					    	Tag bot_gatebot 				// having these will cause bots to run towards gates
							Tag nav_prefer_gate1_flank		// having these will cause bots to run towards gates
							BehaviorModifiers push			// having these will cause bots to run towards gates
							Attributes IgnoreFlag 			// having these will cause bots to run towards gates
							Attributes AlwaysCrit
							
							Item "MvM GateBot Light Scout"
							Skill Hard
							WeaponRestrictions MeleeOnly
		       		    }
						RevertGateBotsBehavior
						{
    						Item "MvM GateBot Light Scout"
							Tag nav_prefer_flank_1
							Attributes AlwaysCrit
							Skill Hard
							WeaponRestrictions MeleeOnly
							ItemAttributes               // turn off light hat
							{
    							ItemName "MvM GateBot Light Scout"
								"item style override" 1
							}
	    				}
			    	}
		        }
				
				TFBot
				{
				    Template T_TFBot_Medic_QuickUber					
					Tag bot_squad_member
				}
				
			}
		}
		
		WaveSpawn
		{
		    Name "wave03"
			TotalCount 4
			MaxActive 2
	        SpawnCount 1
			TotalCurrency 100
			
			Where spawnbot
			WaitForAllDead "wave02"			
			WaitBetweenSpawns 15
			TFBot
			{
			    Template T_TFBot_Giant_Soldier_SlowBarrage
				Item "The Team Captain" // long distance
				Tag nav_prefer_main_1
				Tag nav_prefer_flank_5
				Tag nav_prefer_main_6
			}
		}
		
		WaveSpawn
		{
		    Name "wave03"
			TotalCount 4
			MaxActive 2
	        SpawnCount 1
			TotalCurrency 100
			
			Where spawnbot
			WaitBeforeStarting 5
			WaitForAllDead "wave02"		
			WaitBetweenSpawns 17.5
			TFBot
			{
			    Template T_TFBot_Giant_Soldier_Spammer_Reload
				Attributes AlwaysCrit
				Item "Armored Authority" // long distance
				Tag nav_prefer_main_2
				Tag nav_prefer_flank_2
				Tag nav_prefer_flank_3
				Tag nav_prefer_main_6
			}
		}
		
		WaveSpawn
		{
		    Name "wave03"
			TotalCount 60
			MaxActive 16
			SpawnCount 2
			TotalCurrency 400
			
			Where spawnbot
			WaitBeforeStarting 2
			WaitBetweenSpawns 2.2
			WaitForAllDead "wave02"
			TFBot
			{
			    Class Demoman
				ClassIcon demo_sticky_daan
				Skill Hard
				Attributes HoldFireUntilFullReload
				WeaponRestrictions SecondaryOnly
				
				Tag nav_prefer_flank_1
				Tag nav_prefer_flank_4
				Tag nav_prefer_main_6
				
				Item "The Hurt Locher"
				
				ItemAttributes
				{
			    	ItemName TF_WEAPON_GRENADELAUNCHER
					"is_passive_weapon" 1
					"override projectile type" 27 // Fires nothing
					"fire rate penalty" 2000
				}
				ItemAttributes
				{
			    	ItemName "TF_WEAPON_PIPEBOMBLAUNCHER"
					"stickybomb charge rate" 0.01
					"max pipebombs decreased" -6
					"Projectile range increased" 0.35
				}
			}
		}
		
    }
	
	// 6 Ser Bombastics
	// 66 Super-Charged Bison Soldiers (color : 5563391)
	
	// 16 Quad-Burst Demomen with a Kritz Med (Mini-Giant)
	// 40 Soldiers (Gate-Bot)
	
	// 3 Tanks
	// 4 Giant Ignus Heavies
	
	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay_boss
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		
		WaveSpawn
		{
	    	Name "wave01"
	    	TotalCount 3
	    	MaxActive 1
	    	SpawnCount 1
	    	TotalCurrency 200
		
	    	Where spawnbot
		
            TFBot
            {
		    	Class Demoman
		     	Name "Ser Bombastic"
		    	ClassIcon demo_atomic
		    	Health 3300
		    	Skill Expert
			
			    Tag bot_giant
			
		    	WeaponRestrictions PrimaryOnly
		    	Item "The Iron Bomber"
		    	Item "The Person in the Iron Mask"
			
		    	Attributes MiniBoss
		    	Attributes HoldFireUntilFullReload
		    	Attributes AlwaysCrit

                ItemAttributes
				{
				    ItemName "The Person in the Iron Mask"
					"set item tint RGB" 15132390
				}
  
		    	ItemAttributes
		    	{
		    		ItemName "The Iron Bomber"
		    		"faster reload rate" -1
		    		"fire rate penalty" 2.0
		    		"dmg pierces resists absorbs" 1
		    		"damage bonus" 2.25
					"fuse bonus" 1.66
		    		"blast radius increased" 1.4
		    	}

			CharacterAttributes
	    		{
	    			"move speed bonus"	0.5
	    			"damage force reduction" 0.4
	    			"airblast vulnerability multiplier" 0.4
	    			"override footstep sound set" 4
	    		}
	        }		
		}
		
		WaveSpawn
		{
	    	Name "wave01"
	    	TotalCount 3
	    	MaxActive 1
	    	SpawnCount 1
	    	TotalCurrency 200
		
	    	Where spawnbot_side
		
            TFBot
            {
		    	Class Demoman
		     	Name "Ser Bombastic"
		    	ClassIcon demo_atomic
		    	Health 3300
		    	Skill Expert
			
			    Tag bot_giant
			
		    	WeaponRestrictions PrimaryOnly
		    	Item "The Iron Bomber"
		    	Item "The Person in the Iron Mask"
			
		    	Attributes MiniBoss
		    	Attributes HoldFireUntilFullReload
		    	Attributes AlwaysCrit

                ItemAttributes
				{
				    ItemName "The Person in the Iron Mask"
					"set item tint RGB" 15132390
				}

		    	ItemAttributes
		    	{
		    		ItemName "The Iron Bomber"
		    		"faster reload rate" -1
		    		"fire rate penalty" 2.0
		    		"dmg pierces resists absorbs" 1
		    		"damage bonus" 2.25
					"fuse bonus" 1.66
		    		"blast radius increased" 1.4
		    	}

			CharacterAttributes
	    		{
	    			"move speed bonus"	0.5
	    			"damage force reduction" 0.4
	    			"airblast vulnerability multiplier" 0.4
	    			"override footstep sound set" 4
	    		}
	        }	
		}
		
		WaveSpawn
		{
		    Name "wave01"
		    TotalCount 60
			MaxActive 14
			SpawnCount 2
			TotalCurrency 600
			
			WaitBeforeStarting 5
			WaitBetweenSpawns 1.5			
			Where spawnbot_invasion
			TFBot
			{
			    Class Soldier
				Skill Hard
				ClassIcon soldier_bison
				Name "Super-Charged Bison Soldier"
				Attributes AlwaysCrit
				
				WeaponRestrictions SecondaryOnly
				Item "The Righteous Bison"
				Item "Tyrantium Helmet"
				
				ItemAttributes
				{
				    ItemName "Tyrantium Helmet"
					"set item tint RGB" 5563391
				}
				
				ItemAttributes
				{
			        ItemName "The Righteous Bison"
					"damage bonus" 2.0
					"fire rate penalty" 2.0
					"Projectile speed decreased" 0.5
					"faster reload rate" -9
					"set item tint RGB" 5563391
				}
			}
		}
		
		WaveSpawn
		{
		    Name "wave02"
		    TotalCount 32
			MaxActive 8
			SpawnCount 2
			TotalCurrency 300
			
			Where spawnbot
			WaitBeforeStarting 6
			WaitBetweenSpawns 5
			WaitForAllDead "wave01"
			
			Squad
			{
			    TFBot
				{
				    Class Demoman
					Skill Hard
					Name "Quad-Burst Demoman"
					ClassIcon demo_quickie_pda
					
					Tag nav_prefer_main_1
					Tag nav_prefer_main_5
					Tag nav_prefer_flank_5
					
					Attributes HoldFireUntilFullReload
					
					Tag bot_giant
					
					Scale 1.5
					Health 900

					ItemAttributes
					{
						ItemName "TF_WEAPON_GRENADELAUNCHER"
						"is_passive_weapon"	1
						"override projectile type"	27
						"fire rate penalty"	2000 // dont fire like a dummy
					}
					ItemAttributes
					{
						ItemName "The Quickiebomb Launcher"
						"faster reload rate"	0.55
						"max pipebombs decreased"	-4
						"fire rate bonus"	0.01
						"stickybomb charge rate"	0.01
						"Projectile range decreased"	0.35
					}
					
					WeaponRestrictions SecondaryOnly
					
					Item "The Quickiebomb Launcher"
					Item "The Well-Rounded Rifleman"
					Item "EOTL_demopants"
				}
				
				TFBot
				{
				    Template br_medic_kritz
					
					Tag nav_prefer_main_1
					Tag nav_prefer_main_5
					Tag nav_prefer_flank_5

					Tag bot_giant
					Tag bot_squad_member
					
            		ItemAttributes
					{
    					ItemName "The Kritzkrieg"
						"uber duration bonus" 100
						"bot medic uber health threshold"    6000
						"heal rate bonus" 200
					}
					
					Health 750
					Scale 1.5
				}
			}
		}
		
		WaveSpawn
		{
		    Name "wave02"
		    TotalCount 40
			MaxActive 9
			SpawnCount 3
			TotalCurrency 700
			
			Where spawnbot
			WaitBeforeStarting 2
			WaitBetweenSpawns 2
			WaitForAllDead "wave01"
		    
			TFBot
			{
			    Template T_TFGateBot_Soldier_Hard
			}
		}
		
		WaveSpawn
		{
		    Name "wave03"
			TotalCount 3
			MaxActive 3
			SpawnCount 1
			TotalCurrency 800
			
			WaitForAllDead "wave02"
			WaitBetweenSpawns 6
			WaitBeforeStarting 8
			
			Tank
			{
				Name   "Tank"
				Health 15000
				Speed  75
				StartingPathTrackNode "tank_path_1"

				OnBombDroppedOutput
				{
					Target boss_deploy_relay
					Action Trigger
				}
			
			}
		}
		
		WaveSpawn
		{
		    Name "wave03"
			TotalCount 4
			MaxActive 4
			SpawnCount 1
		    TotalCurrency 200
			
			WaitForAllDead "wave02"
			WaitBeforeStarting 10
			WaitBetweenSpawns 6
			Where spawnbot_side
            
			TFBot
			{
		    	Class Heavyweapons
				ClassIcon heavy_heater_giant
				Skill Normal
				Health 5000
				WeaponRestrictions PrimaryOnly
				
				Tag nav_prefer_flank_1
				Tag nav_prefer_main_4
				Tag nav_prefer_flank_5
				
				Name "Giant Ignus Heavy"

                Item "The Warsworn Helmet"
    			Item "The Huo Long Heatmaker"
				Attributes MiniBoss
				ItemAttributes
				{
    				ItemName "The Huo Long Heatmaker"
					"damage bonus" 1.25 // pyros don't get a free pass
					"damage bonus vs burning" 1.5 // wanted to do fucking 2.5 for some reason
					"fire rate penalty" 1.4
					"Set DamageType Ignite" 1
					"minigun spinup time decreased" 0.1
				}
				CharacterAttributes
				{
    				"move speed bonus"	0.5
					"damage force reduction" 0.3
					"airblast vulnerability multiplier" 0.3
					"override footstep sound set" 2
				}
			}
		}
    }
	
	// 8 Giant Scatter-Shot Demomen
	// 32 Burst Soldiers with Shield Meds (lvl 1 cuz lvl 2 is aids)
	
	// 6 Giant Force-a-Nature Scouts (Armored, would switch between gate and non-gate but was scrapped in favor of a novelty, shame!)
	// 2 Tanks
	
	// 6 Giant Force-a-Nature Scouts (Armored)
	// 30 Juggernauts
	// 3 Giant Burst-Fire Sticky Demomen + Giant Tazer Engineer
	
	// 2 Tanks
	// 3 Giant HOK Deflectors (troll) + 6 Uber Meds (Sub-giant?)
	
	// Magnum Opus' Core.
	
	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay_boss
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		
		WaveSpawn
		{
		    Name "Titan"
			MaxActive 1
			TotalCount 1
			Support 1
			
			Where spawnbot_side
			
			Squad
			{
			Squad
			{
			TFBot
			{
		     	Template br_magnum_opus
                    
				EventChangeAttributes
				{
    				Default
					{
						Attributes IgnoreFlag
						
						ItemAttributes
						{
						    ItemName "Upgradeable TF_WEAPON_ROCKETLAUNCHER"
							"is australium item" 1
							"item style override" 1
							"damage bonus" 4.0
							"dmg pierces resists absorbs" 1
							"fire rate penalty" 0.6
							"faster reload rate" -2
							"projectile spread angle penalty" 10
							"Projectile speed increased" 1.8
							"Blast radius increased" 1.55
						}
					}
					RevertGateBotsBehavior
					{
						Attributes IgnoreFlag 			// having these will cause bots to run towards gates
						Attributes MiniBoss
						Attributes AlwaysFireWeapon
						

						Item "Corona Australis"
						Item "Jupiter Jetpack"
						Item "Shin Shredders"
						Item "The Purity Fist"
						Item "Hawk Eyed Hunter"
						Item "Die Regime-Panzerung"
						Item "Big Steel Jaw of Summer Fun"

						Skill Expert
						
						ItemAttributes // cool cinematic explosions
						{
					    	ItemName	"Upgradeable TF_WEAPON_ROCKETLAUNCHER"
							"is australium item" 1
							"item style override" 1
							"fire rate bonus"	0.6
							"override projectile type" 3 // pipes
							"fuse bonus" 0.1
							"use large smoke explosion"	1
							"projectile spread angle penalty"	24
							"Projectile speed increased" 0.25
							"faster reload rate" -2
			        	}
						
						MaxVisionRange 1000
					}
				
		     	}
			}
			}
			}
		}
		
		WaveSpawn
		{
		    Name "wave00"
			TotalCount 1
			MaxActive 1
			SpawnCount 1
			
			StartWaveWarningSound "vo/mvm/mght/soldier_mvm_m_paincrticialdeath03.mp3"
			FirstSpawnWarningSound "vo/mvm/mght/scout_mvm_m_generic01.mp3"
			DoneWarningSound "vo/mvm/mght/scout_mvm_m_paincrticialdeath01.mp3"
			
			Where spawnbot_boss
			WaitBeforeStarting 10
			TFBot
			{
			    Template T_TFBot_Giant_Scout_Baseball_Armored
				Name "The Guy With the Bomb(s)"
				Health 30000
				Attributes UseBossHealthBar
				Attributes AlwaysCrit
				
			    //Item "The Grenadier's Softcap"
				Item "The Scrap Sack"
				
				ItemAttributes
				{
    				ItemName "The Sandman"
					"effect bar recharge rate increased" 0.25
                    "dmg penalty vs players" 1.75 // hopefully won't be aids to fight			
				}
				
				CharacterAttributes
				{
    				"damage force reduction" 0.1
					"airblast vulnerability multiplier" 0.1
					"override footstep sound set" 5
					"increased jump height" 2.0
					"move speed penalty" 0.5
					"rage giving scale" 0.1
				}
			}
		}
		
		WaveSpawn
		{
		    Name "bomb warning"
			WaitForAllDead "wave00"
			
			WaitBeforeStarting 3
			
			FirstSpawnOutput
			{
			    Target intel2
				Action enable
			}
			
			FirstSpawnWarningSound "items/cart_warning_single.wav"
		}
		
		WaveSpawn
		{
		    Name "bomb warning"
			WaitForAllDead "wave00"
			
			WaitBeforeStarting 4
			
			FirstSpawnWarningSound "vo/mvm_another_bomb04.mp3"		 
		}
		
		WaveSpawn
		{
		    Name "bomb warning"
			WaitForAllDead "wave00"
			
			WaitBeforeStarting 6
			
			FirstSpawnWarningSound "ui/gamestartup22.mp3"		 
		}
		
		WaveSpawn
		{
		    Name "bomb warning"
			WaitForAllDead "wave00"
			
			WaitBeforeStarting 6
			
			FirstSpawnWarningSound "ui/gamestartup22.mp3"		 
		}
		
		WaveSpawn
		{
		    Name "bomb warning"
			WaitForAllDead "wave00"
			
			WaitBeforeStarting 6
			
			FirstSpawnWarningSound "ui/gamestartup22.mp3"		 
		}
		
		WaveSpawn
		{
		    WaitForAllDead "wave00"
		    Name "wave01"
	    	TotalCount 8
			SpawnCount 4
    		MaxActive 4
			
			Where spawnbot
			WaitBeforeStarting 10
			TotalCurrency 150
			TFBot
			{
	    		Class Demoman
				Name "Giant Scatter-Shot Demoman"
				ClassIcon demo_scatter // unlike herp i will actually use this icon
				Skill Expert
				Health 3300
				
				Tag nav_prefer_flank_1
				Tag nav_prefer_main_2
				Tag nav_prefer_main_3
				Tag nav_prefer_flank_4
				
				Item "The Bomber Knight"
				Item "Upgradeable TF_WEAPON_GRENADELAUNCHER"
				
				WeaponRestrictions PrimaryOnly
				Attributes MiniBoss
				Attributes AlwaysCrit
				
				ItemAttributes
				{
    				ItemName "The Bomber Knight"
					"set item tint RGB" 8626083  
				}
				
				ItemAttributes
				{
    				ItemName "Upgradeable TF_WEAPON_GRENADELAUNCHER"
					"faster reload rate" 0.7
					"clip size upgrade atomic" 16
					"projectile spread angle penalty" 12
					"grenade no spin" 1
					"fuse bonus" 1.5
					"auto fires full clip" 1
					"auto fires full clip penalty" 1
					"auto fires full clip all at once" 1
    			}
  				
				CharacterAttributes
				{
		    		"move speed bonus"	0.5
					"damage force reduction" 0.5
					"airblast vulnerability multiplier" 0.5
					"override footstep sound set" 4
    			}
	        }
		}
		
		WaveSpawn
		{
		    WaitForAllDead "wave00"
		    Name "wave01"
	    	TotalCount 32
			SpawnCount 4
    		MaxActive 12
			
			Where spawnbot_invasion
			WaitBeforeStarting 10
			WaitBetweenSpawns 4
			TotalCurrency 100
		
		    Squad
			{
			    TFBot
				{
				    Name "Burst Fire Soldier"
				    Class Soldier
					Skill Hard
					ClassIcon soldier_burstfire
					
					Tag nav_prefer_flank_2
					Tag nav_prefer_flank_3
					Tag nav_prefer_flank_5
					
				    Item "The Original"
					Attributes HoldFireUntilFullReload
					Attributes AlwaysCrit
					
					ItemAttributes
					{
					    ItemName "The Original"
						"faster reload rate" 0.8
						"fire rate bonus" 0.1
						"damage bonus" 2.0
						"Projectile speed increased" 2.0
					}
				}
				
				TFBot
				{
				    Class Medic
					Name "Shield Medic"
					ClassIcon medic_shield
					Skill Hard
					Item "The Quick-Fix"
					
					Tag nav_prefer_flank_2
					Tag nav_prefer_flank_3
					Tag nav_prefer_flank_5
					
					WeaponRestrictions SecondaryOnly
					Attributes ProjectileShield
					Attributes SpawnWithFullCharge
					
					ItemAttributes
					{
    					ItemName "The Quick-Fix"
						"generate rage on heal" 1 // should create lvl 1 shield instead of lvl2?
						"heal rate bonus" 50
					}
				}
			}
		}
		
		WaveSpawn
		{
		    WaitForAllDead "wave01"
		    Name "wave02"
	    	TotalCount 6
			SpawnCount 2
    		MaxActive 3
			
			Where spawnbot_side
			WaitBeforeStarting 4
			WaitBetweenSpawns 10
			TotalCurrency 100
			
			TFBot
			{
		    	Class Scout
				Name "Giant Battleworn Force-A-Nature"
				ClassIcon scout_fan_armored
				Skill Hard
				
				Item "Flak Jack"
				Item "The Bolt Boy"
				Item "The Force-a-Nature"
				
				Health 3000
				Attributes MiniBoss
				Attributes HoldFireUntilFullReload
				Skill Expert
				MaxVisionRange 1200
				
				ItemAttributes
				{
		    		ItemName "The Force-a-Nature"
					"bullets per shot bonus" 2
					"fire rate bonus" 0.5
					"faster reload rate" 1.7
					"scattergun knockback mult" 4 // due to being armored
					"damage penalty" 0.65 // more battle
					"weapon spread bonus" 0.6 // due to being armored
				}
				
				CharacterAttributes
				{				
		    		"damage force reduction" 0.7
					"airblast vulnerability multiplier" 0.7
					"override footstep sound set" 5
					"move speed penalty" 0.75
				}
			}
		}
		
		WaveSpawn
		{
		    Name "wave02"
			TotalCount 2
			MaxActive 2
			SpawnCount 1
			TotalCurrency 150
			
			WaitForAllDead "wave01"
			WaitBetweenSpawns 6
			WaitBeforeStarting 2
			
			Tank
			{
				Name   "Tank"
				Health 35000
				Speed  75
				StartingPathTrackNode "tank_path_1"

				OnBombDroppedOutput
				{
					Target boss_deploy_relay
					Action Trigger
				}
			
			}
		}
		
		WaveSpawn
		{
		    WaitForAllSpawned "wave02"
		    Name "wave03"
	    	TotalCount 6
			SpawnCount 2
    		MaxActive 3
			
			Where spawnbot_side
			WaitBeforeStarting 15
			WaitBetweenSpawns 8
			TotalCurrency 75
			
			TFBot
			{
		    	Class Scout
				Name "Giant Battleworn Force-A-Nature"
				ClassIcon scout_fan_armored
				Skill Hard
				
				Item "Flak Jack"
				Item "The Bolt Boy"
				Item "The Force-a-Nature"
				
				Health 3000
				Attributes MiniBoss
				Attributes HoldFireUntilFullReload
				Skill Expert
				MaxVisionRange 1200
				
				ItemAttributes
				{
		    		ItemName "The Force-a-Nature"
					"bullets per shot bonus" 2
					"fire rate bonus" 0.5
					"faster reload rate" 1.7
					"scattergun knockback mult" 4 // due to being armored
					"damage penalty" 0.65
					"weapon spread bonus" 0.6 // due to being armored
				}
				
				CharacterAttributes
				{				
		    		"damage force reduction" 0.7
					"airblast vulnerability multiplier" 0.7
					"override footstep sound set" 5
					"move speed penalty" 0.75
				}
			}
		}
		
		WaveSpawn
		{
		    WaitForAllDead "wave02"
		    Name "wave03"
	    	TotalCount 30
			SpawnCount 10
    		MaxActive 10
			
			Where spawnbot_side
			WaitBeforeStarting 0
			WaitBetweenSpawns 10
			TotalCurrency 150
			
			TFBot
			{
            	Class Heavyweapons
				Name Juggernaut
				Skill Hard
				ClassIcon heavy_chief
				Health 1100
				Scale 1.65
				
				WeaponRestrictions MeleeOnly
				Item "Fists of Steel"
				Item "War Head"
				
				ItemAttributes
				{
				    ItemName "Fists of Steel"
					"dmg from ranged reduced" 0.4
					"fire rate penalty" 1.35
				}
				
				Tag nav_prefer_main_2
				Tag nav_prefer_main_3
				Tag nav_prefer_flank_4
				Tag nav_prefer_main_6
			}
		}
		
		WaveSpawn
		{
		    WaitForAllDead "wave02"
		    Name "wave03"
	    	TotalCount 6
			SpawnCount 2
    		MaxActive 4
			
			Where spawnbot
			WaitBeforeStarting 8
			WaitBetweenSpawns 10
			TotalCurrency 100
			
			Squad
			{
			ShouldPreserveSquad 1
			FormationSize 200
			    TFBot
				{
    		    	Class Demoman
					Name "Giant Burst-Fire Demoman"
					ClassIcon demo_sticky_daan
					Skill Expert
					Health 3300
					
					Attributes HoldFireUntilFullReload
					Attributes MiniBoss
					Attributes AlwaysCrit
					WeaponRestrictions SecondaryOnly
					ItemAttributes
					{
			     		ItemName "TF_WEAPON_GRENADELAUNCHER"
						"is_passive_weapon" 1
						"override projectile type" 27
						"fire rate penalty" 999
					}
					ItemAttributes
					{
				    	ItemName "TF_WEAPON_PIPEBOMBLAUNCHER"
						"stickybomb charge rate" 0.001
						"faster reload rate" 0.6
						"fire rate bonus" 0.1
						"Projectile range increased" 0.35
						"projectile spread angle penalty" 7
				    }
					CharacterAttributes
					{
				    	"move speed bonus"	0.5
						"damage force reduction" 0.5
						"airblast vulnerability multiplier" 0.5
						"override footstep sound set" 4
					}
			    }
				
				TFBot
				{
    		    	Class Engineer
					Name "Giant Tazer Engineer"
					ClassIcon engineer_shortcircuit_lite
					Skill Expert
					Health 3000
					BehaviorModifiers Push
					
					Item "The Short Circuit"
					Item "Hard Counter"
					
					Attributes MiniBoss
					//Attributes AlwaysCrit // can't even crit lmao
					WeaponRestrictions SecondaryOnly
					ItemAttributes
					{
				    	ItemName "The Short Circuit"
						"damage bonus" 12.0
						"dmg pierces resists absorbs" 1
						"fire rate penalty" 5.0
				    }
					CharacterAttributes
					{
				    	"move speed bonus"	0.5
						"damage force reduction" 0.5
						"airblast vulnerability multiplier" 0.5
						"override footstep sound set" 4
					}
				}
			}
		}
		
		WaveSpawn
		{
		    Name "wave04"
			TotalCount 2
			MaxActive 2
			SpawnCount 1
			TotalCurrency 100
			
			WaitForAllDead "wave03"
			WaitBetweenSpawns 10
			WaitBeforeStarting 15
			
			Tank
			{
				Name   "Tank"
				Health 30000 // i will keep hp the same for now.
				Speed  75
				StartingPathTrackNode "tank_path_1"

				OnBombDroppedOutput
				{
					Target boss_deploy_relay
					Action Trigger
				}
			
			}
		}
		
		WaveSpawn
		{
		    Name "wave04"
			TotalCount 9
			MaxActive 9
			SpawnCount 3
		    TotalCurrency 200
			
			Where spawnbot
			WaitForAllDead "wave03"
			WaitBeforeStarting 3
			WaitBetweenSpawns 9
            
			Squad
			{			
		    	TFBot
				{
    		    	Class Heavyweapons
					Name "Giant Heal-On-Kill Deflector"
					ClassIcon heavy_deflector_healonkill
					Skill Expert
					Health 5000
					
					Tag nav_prefer_main_2
					Tag nav_prefer_main_3
					Tag nav_prefer_flank_4
					Tag nav_prefer_main_6
					
					Item "The U-clank-a"
					Item "The Tyurtlenek"
					
					WeaponRestrictions PrimaryOnly
					MaxVisionRange 1200
					Attributes AlwaysCrit
					Attributes MiniBoss
					ItemAttributes
					{
	    	    		ItemName "Deflector"
						"damage bonus"	1.2
						"attack projectiles" 2
						"heal on kill" 5000
					}
					CharacterAttributes
					{
			        	"move speed bonus"	0.5
						"damage force reduction" 0.3
						"airblast vulnerability multiplier" 0.3
						"override footstep sound set" 2
				    }
		     	}
				
		    	TFBot
				{
				    Template T_TFBot_Medic // you have enough cash ig.
					Health 750
					Scale 1.5
					Item "Blast Defense"
					
					Tag nav_prefer_main_2
					Tag nav_prefer_main_3
					Tag nav_prefer_flank_4
					Tag nav_prefer_main_6
		     	}
				
		    	TFBot
				{
				    Template T_TFBot_Medic // you have enough cash ig.
					Health 750
					Scale 1.5
					Item "Blast Defense"
					
					Tag nav_prefer_main_2
					Tag nav_prefer_main_3
					Tag nav_prefer_flank_4
					Tag nav_prefer_main_6
		     	}
			
			}
		}
		
		WaveSpawn
		{
		    Name "wave05"
			
			WaitForAllDead "wave04"
			WaitBeforeStarting 3
			FirstSpawnWarningSound "vo/mvm/mght/soldier_mvm_m_negativevocalization04.mp3"
		}
		
		WaveSpawn
		{
		    Name "wave05"
			
			WaitForAllDead "wave04"
			WaitBeforeStarting 5
			FirstSpawnWarningSound "vo/mvm/mght/soldier_mvm_m_autodejectedtie02.mp3"
		}
		
		WaveSpawn
		{
		    Name "wave05"
			
			WaitForAllDead "wave04"
			WaitBeforeStarting 7
			FirstSpawnWarningSound "mvm/mvm_tank_deploy.wav"
		}
		
		WaveSpawn
		{
		    Name "wave05"
			
			WaitForAllDead "wave04"
			WaitBeforeStarting 10
			FirstSpawnWarningSound "vo/mvm/mght/soldier_mvm_m_laughlong01.mp3"
		}
		
		WaveSpawn // the boss
		{
		    Name "wave05"
			TotalCount 1
			
			WaitForAllDead "wave04"
			WaitBeforeStarting 15
			DoneOutput
			{
			    Target main_gate_relay
				Action Trigger
			}
			FirstSpawnWarningSound "misc/cp_harbor_red_whistle.wav"
			Where spawnbot
			
			TFBot
			{
			    Name    "Magnum Opus' Core"
				Health  80000
				Scale   1.9
				ClassIcon soldier_spammer
				
				Class Heavy				
				Skill	Expert
				Attributes	UseBossHealthBar
				Attributes	MiniBoss
				Attributes	AlwaysFireWeapon
				WeaponRestrictions	PrimaryOnly
				
				Item	"The Huo Long Heatmaker"
				Item	"Blast Defense"
				Item    "Blast Blocker"
				ItemAttributes
				{
    				ItemName	"The Huo Long Heatmaker"
					"override projectile type"	2
					"damage bonus" 20.0
					"Set DamageType Ignite" 1
					"fire rate penalty" 18.0
					"minigun no spin sounds"	1
					"ring of fire while aiming"	100
					"particle effect use head origin" 1
					"particle effect vertical offset" -600
				}
				
				ItemAttributes
				{
			    	ItemName	"TF_WEAPON_FISTS"
					"fire rate bonus"	0.3
					"damage bonus" 1.75
					"is_passive_weapon" 1
				}

				CharacterAttributes
				{
    				"move speed bonus"	0.38
					"override footstep sound set"	2
					"airblast vulnerability multiplier"	0
					"airblast vertical vulnerability multiplier"	0
					"rage giving scale"	0.1
					"damage force reduction"	0.1
					"hand scale"	0.0001
					"head scale"    8.0
					"voice pitch scale" 0.0
					"torso scale"   0.1
					"gesture speed increase"	2.6
				}
			}
		}
		
		WaveSpawn
		{
		    Name "wave06"
			
			WaitForAllDead "wave05"
			WaitBeforeStarting 20
			FirstSpawnWarningSound "vo/mvm/mght/soldier_mvm_m_negativevocalization05.mp3"
		}
		
		WaveSpawn
		{
		    Name "wave06"
			
			WaitForAllDead "wave05"
			WaitBeforeStarting 21
			FirstSpawnWarningSound "vo/mvm/mght/soldier_mvm_m_paincrticialdeath02.mp3"
		}
		
		WaveSpawn
		{
		    Name "wave06"
			
			WaitForAllDead "wave05"
			WaitBeforeStarting 23
			FirstSpawnWarningSound "vo/mvm/mght/soldier_mvm_m_paincrticialdeath04.mp3"
		}
		
		WaveSpawn
		{
		    Name "wave06"
			
			WaitForAllDead "wave05"
			WaitBeforeStarting 25
			FirstSpawnWarningSound "vo/mvm/mght/soldier_mvm_m_paincrticialdeath01.mp3"
		}
		
		WaveSpawn
		{
		    Name "wave06"
			
			WaitForAllDead "wave05"
			WaitBeforeStarting 26.5
			FirstSpawnWarningSound "misc/doomsday_missile_explosion.wav"
		}
		
		WaveSpawn
		{
		    Name "wave06"
			
			WaitForAllDead "wave05"
			WaitBeforeStarting 26.5
			FirstSpawnWarningSound "misc/doomsday_missile_explosion.wav"
		}
		
	}

}