#base robot_giant.pop
#base robot_standard.pop
#base overclock_cactus_general_wip.pop
#base custom_weapons_randomguy.pop

//Made by Soggy Flaps
//Intended to demonstrate custom and rebalanced weaponry from Potato's main events.
//Requires Rafmod
//Setpos references
	//setpos 875.907166 0.000133 -59.968681;setang 0.000000 180.000000 0.000000
	//setpos -650 0.00 -62.968689;setang 0 180 0
	//setpos -1023.172852 0.00 -62.968689;setang 0 180 0
//Copy and paste any relevant weapon attributes after wave schedule
//Any custom weapon data can be deleted and replaced


WaveSchedule													
{

	StartingCurrency		20000                               // How much currency each player starts with. Normally 400 is a good starting point, but increased to 20k for the purpose of this test script.
	
	RespawnWaveTime 1                                        	// This is the maximum respawn time, in seconds for players when they die. Starting at 2 seconds, it grows 2 seconds per wave.
																// In this case, wave 1 will have a respawn time of 2 seconds. Wave 2 - 4 seconds. Wave 3 - 6 seocnds, and so on until it hits the cap of 10 seconds for wave 5 and beyond.
	
	CanBotsAttackWhileInSpawnRoom no                          	// Sets the robots to not attack players while they are inside of their respawn room volume.
//	UpgradeStationKeepWeapons 1
	RespawnWaveTimeBlue 1
	FixedRespawnWaveTimeBlue 1
	NoReanimators 1	
	NoMvMDeathTune 1 
	WaveStartCountdown 0
	MaxSpectators 0  
	MaxRedPlayers 1  
	RobotLimit 200
	FixHuntsmanDamageBonus 1
	NoThrillerTaunt 1 
	NoRomevisionCosmetics 1  
	FixSetCustomModelInput 1
//	CustomUpgradesFile	"mvm_upgrades_potato_a3.txt" 
	
    DisableSound "heavy_mvm_giant_robot01"								 
	DisableSound "heavy_mvm_giant_robot02"								 
	DisableSound "heavy_mvm_giant_robot03"								 
	DisableSound "heavy_mvm_giant_robot04"								 
	DisableSound "engineer_mvm_giant_robot01"							 
	DisableSound "engineer_mvm_giant_robot02"							 
	DisableSound "engineer_mvm_giant_robot03"							 
	DisableSound "soldier_mvm_giant_robot01"							 
	DisableSound "soldier_mvm_giant_robot02"							 
	DisableSound "soldier_mvm_giant_robot03"							 
	DisableSound "soldier_mvm_giant_robot04"							 
	DisableSound "medic_mvm_giant_robot01"								 
	DisableSound "medic_mvm_giant_robot02"								 
	DisableSound "medic_mvm_giant_robot03"								 
	DisableSound "music.mvm_end_last_wave"								 
	DisableSound "music.mvm_end_mid_wave"								 
	DisableSound "music.mvm_end_tank_wave"								 
	DisableSound "music.mvm_end_wave"									 
	DisableSound "music.mvm_lost_wave"									 
	DisableSound "music.mvm_start_last_wave"							 
	DisableSound "music.mvm_start_mid_wave"								 
	DisableSound "music.mvm_start_tank_wave"							 
	DisableSound "music.mvm_start_wave"									 
	DisableSound "Announcer.MVM_Get_To_Upgrade"							 
	DisableSound "Announcer.MVM_Spy_Alert" 								 
	DisableSound "Announcer.mvm_spybot_death"							 
	DisableSound "Announcer.mvm_spybot_death_all"						 
	DisableSound "Announcer.MVM_First_Wave_Start"						 
	DisableSound "Announcer.MVM_Wave_Start"								 
	DisableSound "Announcer.MVM_Wave_End"								 
	DisableSound "Announcer.MVM_Wave_Lose"								 
	DisableSound "Announcer.MVM_Final_Wave_Start"						 	
	DisableSound "Announcer.MVM_Final_Wave_End"							 
	DisableSound "Announcer.MVM_Robots_Planted"							 
	DisableSound "Announcer.MVM_All_Dead"								 
	DisableSound "Announcer.MVM_Sentry_Buster_Alert"					 
	DisableSound "Announcer.MVM_Sentry_Buster_Alert_Another"			 
	DisableSound "Announcer.MVM_General_Wave_Start"						 
	DisableSound "Announcer.MVM_Game_Over_Loss"							 
	DisableSound "Announcer.MVM_Tank_Planted"							 
	DisableSound "Announcer.MVM_Tank_Alert_Another"						 
	DisableSound "Announcer.MVM_Tank_Alert_Multiple"					 
	DisableSound "Announcer.MVM_Tank_Alert_Halfway"						 
	DisableSound "Announcer.MVM_Tank_Alert_Halfway_Multiple"			 
	DisableSound "Announcer.MVM_Tank_Alert_Near_Hatch"					 
	DisableSound "Announcer.MVM_Tank_Alert_Deploying"					 
	DisableSound "Announcer.MVM_Tank_Alert_Spawn"						 
	DisableSound "Announcer.MVM_Bomb_Alert_Entered"						 
	DisableSound "Announcer.MVM_Bomb_Alert_Near_Hatch"					 
	DisableSound "Announcer.MVM_Bomb_Alert_Deploying"	

	PlayerAttributes  
	{
		"crit mod disabled" 0
		"always allow taunt" 1
		"can breathe under water" 1
		//"ammo regen" 1
		"mod see enemy health" 1
		"voice pitch scale" 0
	}
	

	ItemAttributes //slight buff
	{
		ItemName "The Enforcer"
		"damage bonus" 1.25
		"special item description" "+25% damage bonus"
	}	
	
	ItemAttributes //slight buff
	{
		SimilarToItem "Festive Revolver 2014"
		"closerange backattack minicrits" 1
		"special item description" "Minicrits from behind"
	}	
	
	CustomWeapon //spy throwable
	{
		Name "Frenchman's Flying Guillotine"
		OriginalItemName "Promo Flying Guillotine"

		"use original class weapon animations" 1
		"always crit" 1
	}		
	
	CustomWeapon //spy throwable
	{
		Name "Frenchman's Mad Milk"
		OriginalItemName "Mutated Milk"
		"special item description" "Jar slows enemies"

		"use original class weapon animations" 1
		"applies snare effect" 0.7
	}	
	
	CustomWeapon  
	{
		Name "Budgie Booster (+Speed +Double Jump)"
		OriginalItemName "The Bird-Man of Aberdeen"
		"special item description" "Double Jump"
		"set item tint rgb" 8289918
		"item style override" 2
		"air dash count" 1
		"bot custom jump particle"	1
		"CARD: move speed bonus" 1.0675
		"is commodity" 1337
		"custom item model" "models/player/items/demo/demo_parrot.mdl"
	}	

	ExtraLoadoutItems
	{
		Engineer
		{
			Secondary "Budgie Booster (+Speed +Double Jump)"
		}
		Spy
		{
			0 "Frenchman's Mad Milk"
			Secondary "Frenchman's Flying Guillotine"
		}
	}	
	
	ExtraSpawnPoint  
    {
        Name "teamredspawn"
        TeamNum 3 // 2 - Red team 3 - Robots
        X	"-1538"                     
        Y	"0"                  
        Z	"-60"        
    }
	
		ExtraSpawnPoint  
    {
        Name "teambluspawn"
        TeamNum 3 // 2 - Red team 3 - Robots
        X	"-512"                     
        Y	"0"                  
        Z	"-60"        
    }
	
		ExtraSpawnPoint  
    {
        Name "teambluspawn2"
        TeamNum 3 // 2 - Red team 3 - Robots
        X	"800"                     
        Y	"0"                  
        Z	"-60"        
    }
	
		ExtraSpawnPoint  
    {
        Name "teambluspawn3"
        TeamNum 3 // 2 - Red team 3 - Robots
        X	"0"                     
        Y	"0"                  
        Z	"-60"        
    }
	
		ExtraSpawnPoint  
    {
        Name "teambluspawn4"
        TeamNum 3 // 2 - Red team 3 - Robots
        X	"500"                     
        Y	"0"                  
        Z	"-60"        
    }
	
		ExtraSpawnPoint  
    {
        Name "Target"
        TeamNum 3 // 2 - Red team 3 - Robots
        X	"-800"                     
        Y	"0"                  
        Z	"-60"        
    }
	
	ExtraSpawnPoint  
    {
        Name "Buff1"
        TeamNum 3 // 2 - Red team 3 - Robots
        X	"0"                     
        Y	"-326"                  
        Z	"120"        
    }
	
		ExtraSpawnPoint  
    {
        Name "Buff2"
        TeamNum 3 // 2 - Red team 3 - Robots
        X	"0"                     
        Y	"326"                  
        Z	"120"        
    }

    PointTemplates
    {
		OneHealth
		{
			OnspawnOutput
			{
				Target "!activator"
				Action SetHealth
				Param "19"
			}
		}
		1HP
		{
			OnspawnOutput
			{
				Target "!activator"
				Action SetHealth
				Param "1"
			}
		}
	}
	Templates
	{
		T_TFBot_Medic_Bullet
				{
					Name "Bullet Medic"
					Class Medic
					ClassIcon medic_bullet
					Skill Expert
					Attributes IgnoreFlag
					Attributes DisableDodge
					Attributes IgnoreEnemies
					Attributes SpawnWithFullCharge
					NoIdleSound 1
					Item "The Vaccinator"
					WeaponRestrictions SecondaryOnly	
					ItemAttributes
					{
						ItemName "The Vaccinator"
						"medigun charge is resists" 3
						"medigun bullet resist passive" 0.95
						"medigun bullet resist deployed" 0.95
						"mod weapon blocks healing" 1
					}
					CharacterAttributes
					{
					"bot medic uber health threshold" 300
					"move speed bonus" .5
					}
				}
		T_TFBot_Medic_Heal
				{
					Name "Medic"
					Class Medic
					Skill Normal
					Attributes IgnoreFlag
					Attributes DisableDodge
					Attributes IgnoreEnemies
					NoIdleSound 1
					WeaponRestrictions SecondaryOnly	
					ItemAttributes
					{
					ItemName "TF_WEAPON_MEDIGUN"
					"ubercharge rate bonus" .1
					}
					CharacterAttributes
					{
					"voice pitch scale" 0
					"move speed bonus" .5
					}
				}
		T_TFBot_Medic_Uber
				{
					Name "Uber Medic"
					Class Medic
					Skill Normal
					Attributes IgnoreFlag
					Attributes DisableDodge
					Attributes IgnoreEnemies
					Attributes SpawnWithFullCharge
					WeaponRestrictions SecondaryOnly	
					NoIdleSound 1
					ItemAttributes
					{
					ItemName "TF_WEAPON_MEDIGUN"
					"ubercharge rate bonus" .1
					"uber duration bonus" -6
					}
					CharacterAttributes
					{
					"voice pitch scale" 0
					"move speed bonus" .5
					}
				}
		T_TFBot_Heavy_Target_Giant
				{
					Class Heavyweapons
					Name "Giant Heavy"								// Name of the bot used in the obituaries. If not specified, standard class name is used.
					ClassIcon heavy_giant							// Icon to use in the wave telegraph. If not specified, standard icon is used.
					Skill Expert
					Health 5000
					WeaponRestrictions MeleeOnly
					MaxVisionRange 1200								// Sets the distance at which this bot will attempt to engage and attack players.
					Attributes IgnoreEnemies
					Attributes MiniBoss
					Action Idle
					NoIdleSound 1
					Stripitemslot 0
					Stripitemslot 1
					CharacterAttributes
					{
						"move speed bonus"	0.0025					// Multiplies the movement speed of this bot by the specified amount.
						"damage bonus"	1.5							// Multiplies the damage output of this bot by the specified amount.
						"damage force reduction" 0.3				// Multiplies the damage forces applied to this bot by the specified amount.
						"airblast vulnerability multiplier" 0.3		// Multiplies airblast forces applied to this bot by the specified amount.
						"override footstep sound set" 2				// Sets the footstep sounds to that of a giant.
					}
				}
		T_TFBOT_Heavy_Target
				{
					Class Heavyweapons
					Name "Heavy"								// Name of the bot used in the obituaries. If not specified, standard class name is used.
					Skill Expert
					Health 300
					MaxVisionRange 1200								// Sets the distance at which this bot will attempt to engage and attack players.
					Attributes IgnoreEnemies
					Attributes DisableDodge
					Action Idle
					NoIdleSound 1
					Stripitemslot 0
					Stripitemslot 1
					CharacterAttributes
					{
						"move speed bonus"	0.0025					// Multiplies the movement speed of this bot by the specified amount.
						"damage bonus"	1.5							// Multiplies the damage output of this bot by the specified amount.
						"damage force reduction" 0.3				// Multiplies the damage forces applied to this bot by the specified amount.
						"airblast vulnerability multiplier" 0.3		// Multiplies airblast forces applied to this bot by the specified amount.
						"override footstep sound set" 2				// Sets the footstep sounds to that of a giant.
					}
				}
		T_TFBOT_Heavy_Target_Large
				{		
					Class Heavyweapons
					Name "Large Heavy"								// Name of the bot used in the obituaries. If not specified, standard class name is used.
					Skill Expert
					Health 900
					Scale 1.5
					MaxVisionRange 1200								// Sets the distance at which this bot will attempt to engage and attack players.
					Attributes IgnoreEnemies
					Attributes DisableDodge
					Action Idle
					NoIdleSound 1
					Stripitemslot 0
					Stripitemslot 1
					CharacterAttributes
					{
						"voice pitch scale" 0
						//"max health additive bonus" 900
						"move speed bonus"	0.0025					// Multiplies the movement speed of this bot by the specified amount.
						"damage bonus"	1.5							// Multiplies the damage output of this bot by the specified amount.
						"damage force reduction" 0.3				// Multiplies the damage forces applied to this bot by the specified amount.
						"airblast vulnerability multiplier" 0.3		// Multiplies airblast forces applied to this bot by the specified amount.
						"override footstep sound set" 2				// Sets the footstep sounds to that of a giant.
					}
				}
		T_TFBOT_Soldier_Target
				{
					Class Soldier							// Type of bot to spawn.
					Skill Expert 								// Skill level of bot. options are Easy, Normal, Hard, Expert in ascending difficulty.	
					ClassIcon soldier
					///Health 1
					MaxVisionRange 0
					Action Idle
					Attributes DisableDodge
					Attributes IgnoreEnemies
					Stripitemslot 0
					Stripitemslot 1
					NoIdleSound 1
					CharacterAttributes
					{
						"voice pitch scale" 0
						"move speed bonus"	1						// Multiplies the movement speed of this bot by the specified amount.
					}
				}
		T_TFBOT_Pyro_Target
				{
					Class Pyro							// Type of bot to spawn.
					Skill Expert 								// Skill level of bot. options are Easy, Normal, Hard, Expert in ascending difficulty.	
					ClassIcon pyro
					///Health 1
					MaxVisionRange 0
					Action Idle
					Attributes DisableDodge
					Attributes IgnoreEnemies
					Stripitemslot 0
					Stripitemslot 1
					NoIdleSound 1
					CharacterAttributes
					{
						"voice pitch scale" 0
						"move speed bonus"	1						// Multiplies the movement speed of this bot by the specified amount.
					}
				}
		T_TFBot_Giant_Airblast_Pyro
		{

			Class Pyro
			ClassIcon pyro_reflect_daan
			Name "Giant Airblast Pyro"
			Health 3300
			Skill Expert
			Attributes IgnoreFlag
			Attributes MiniBoss
			//ExtAttr AlwaysFireWeaponAlt 
			Action Idle
			Item "Traffic Cone"
			Item "The Degreaser"
			//MaxVisionRange 600
			ItemAttributes
				{
				ItemName "The Degreaser"
				"damage bonus"	0.1
				"dmg bonus vs buildings" 2
				"airblast pushback scale" 5
				"airblast vertical pushback scale" 2.5
				"mult airblast refire time" 0.3
				}
				CharacterAttributes
					{
						"move speed bonus"	0.0025					// Multiplies the movement speed of this bot by the specified amount.
						"damage force reduction" 0.3				// Multiplies the damage forces applied to this bot by the specified amount.
						"airblast vulnerability multiplier" 0.3		// Multiplies airblast forces applied to this bot by the specified amount.
						"override footstep sound set" 2				// Sets the footstep sounds to that of a giant.
					}
		}
		T_TFBot_Giant_Heavyweapons_Deflector_Trainer
		{
			Class Heavyweapons
			Name "Giant Deflector Heavy"
			ClassIcon heavy_deflector
			Skill Expert
			Health 5000
			Item "The U-clank-a"
			Item "Deflector"
			WeaponRestrictions PrimaryOnly
			MaxVisionRange 1200
			Attributes MiniBoss
			ItemAttributes
			{
				ItemName "Deflector"
				"damage bonus" 0
				"attack projectiles" 1	// force ability to shoot down projectiles
			}
			CharacterAttributes
			{
				"move speed bonus"	0.5
				"damage force reduction" 0.3
				"airblast vulnerability multiplier" 0.3
				"override footstep sound set" 2
			}
		}
		T_TFBot_Giant_Medic_Shield
            {
                Name "Giant Shield Medic"
                Class Medic
                ClassIcon medic_shield_giant
                Health 4500
                Skill Expert
                Attributes SpawnWithFullCharge
                Attributes MiniBoss
                Item "Halogen Head Lamp"
                Item "Mecha-Medes"
                WeaponRestrictions SecondaryOnly
                UseMeleeThreatPrioritization 1   
                Action FetchFlag  

                ItemAttributes
                {
                    ItemName "TF_WEAPON_MEDIGUN"
                    "generate rage on heal" 2
                    "increase buff duration" 100
                }

                CharacterAttributes
                {
                    "bot medic uber deploy delay duration" 500
					"move speed bonus"	0.5
					"damage force reduction" 0.3
					"airblast vulnerability multiplier" 0.3
					"override footstep sound set" 2
                    "rage giving scale" 0.5
                    "dmg penalty vs players" 1.25
                }
                FireWeapon  
                {
                    Delay 5
                    //IfSeeTarget 1
                    Type Special
                }
            }
    }
/////////////////
//WAVES
/////////////////	

//WAVE 1  /////////////////////////////////////////////////////////////////////////////////////////////////////////
// Giant Blu Heavy
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
	Wave
	{
		StartWaveOutput										
		{
			Target wave_start_relay							
			Action Trigger									
		}
		DoneOutput											
		{
			Target wave_finished_relay						
			Action trigger									
		}

		Checkpoint Yes										

		WaveSpawn
		{
			Where Target							
			TotalCount 999									
			MaxActive 1										
			SpawnCount 1									
	
			WaitBeforeStarting 0							
			WaitBetweenSpawns 0			
			
			totalcurrency 1								
				
				TFBot
				{
				Template T_TFBot_Heavy_Target_Giant
				}
			}
	}
//WAVE 2  /////////////////////////////////////////////////////////////////////////////////////////////////////////
// Regular Giant Heavy
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
		Wave
	{
		StartWaveOutput										
		{
			Target wave_start_relay							
			Action Trigger									
		}
		DoneOutput											
		{
			Target wave_finished_relay						
			Action trigger									
		}

		Checkpoint Yes										

		WaveSpawn
		{
			Name "1"
			Where spawnbot
			TotalCount 50
			MaxActive 1
			SpawnCount 1
			WaitBeforeStarting 0
			WaitBetweenSpawns 0
			TotalCurrency 0
		
			TFBot
			{
				Template T_TFBot_Giant_Scout_Fast
				CharacterAttributes
				{
					"Projectile speed increased" 0.3
				}
			}
		}
	}
//WAVE 3  /////////////////////////////////////////////////////////////////////////////////////////////////////////
// Giant Blu Heavy & 4 Medics
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
		Wave
	{
		StartWaveOutput										
		{
			Target wave_start_relay							
			Action Trigger									
		}
		DoneOutput											
		{
			Target wave_finished_relay						
			Action trigger									
		}

		Checkpoint Yes										

		WaveSpawn
		{
			Where Target							
			TotalCount 999									
			MaxActive 1										
			SpawnCount 1									
	
			WaitBeforeStarting 0							
			WaitBetweenSpawns 999		
			
			totalcurrency 1								
			
			Squad
			{
				TFBot
				{
					Template T_TFBOT_Heavy_Target_Giant
					//Item "Fists of Steel"
				}	
				
				TFBot
				{
				Template T_TFBot_Medic_Uber
					InterruptAction   // Stop current bot ai and force the bot to move to a location
					{
						Target "-1020 -256 -50" // Move target location
						AimTarget "2000 0 0" // Where the bot should look at
						Delay 0.1
						Duration 2
						Repeats 1
					}
				}
				
				TFBot
				{
				Template T_TFBot_Medic_Uber
					InterruptAction   // Stop current bot ai and force the bot to move to a location
					{
						Target "-1150 -128 -50" // Move target location
						AimTarget "2000 0 0" // Where the bot should look at
						Delay 0.1
						Duration 2
						Repeats 1
					}
				}
				TFBot
				{
				Template T_TFBot_Medic_Uber
					InterruptAction   // Stop current bot ai and force the bot to move to a location
					{
						Target "-1150 128 -50" // Move target location
						AimTarget "2000 0 0" // Where the bot should look at
						Delay 0.1
						Duration 2
						Repeats 1
					}
				}
				
				TFBot
				{
				Template T_TFBot_Medic_Uber
					InterruptAction   // Stop current bot ai and force the bot to move to a location
					{
						Target "-1020 256 -50" // Move target location
						AimTarget "2000 0 0" // Where the bot should look at
						Delay 0.1
						Duration 2
						Repeats 1
					}
				}
			}
		}
	}

//WAVE 4  /////////////////////////////////////////////////////////////////////////////////////////////////////////
// 31 Soldiers
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
		Wave
	{
		StartWaveOutput										
		{
			Target wave_start_relay							
			Action Trigger									
		}
		DoneOutput											
		{
			Target wave_finished_relay						
			Action trigger									
		}

		Checkpoint Yes										

		WaveSpawn
		{
			Where 						teambluspawn
			TotalCount 					999
			MaxActive 					199
			SpawnCount 					199
			WaitBeforeStarting 			0
			WaitBetweenSpawns			0
			TotalCurrency 				2997
				TFBot
				{
				Template T_TFBOT_Pyro_Target
				}
		}
	}
//WAVE 5  /////////////////////////////////////////////////////////////////////////////////////////////////////////
// 31 Soldiers, 1 Kritz Support
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
		Wave
	{
		StartWaveOutput										
		{
			Target wave_start_relay							
			Action Trigger									
		}
		DoneOutput											
		{
			Target wave_finished_relay						
			Action trigger									
		}

		Checkpoint Yes										

		WaveSpawn
		{
			Where 						teamredspawn
			TotalCount 					999
			MaxActive 					30
			SpawnCount 					30
			WaitBeforeStarting 			0
			WaitBetweenSpawns			120
			TotalCurrency 				1
				TFBot
				{
					Class Soldier							// Type of bot to spawn.
					Skill Expert 								// Skill level of bot. options are Easy, Normal, Hard, Expert in ascending difficulty.	
					ClassIcon soldier
					MaxVisionRange 0
					Action Idle
					Attributes DisableDodge
					Attributes IgnoreEnemies
					Stripitemslot 0
					Stripitemslot 1
					NoIdleSound 1
					
					CharacterAttributes
					{
						"voice pitch scale" 0
						"move speed bonus"	1						// Multiplies the movement speed of this bot by the specified amount.
					}
					InterruptAction   // Stop current bot ai and force the bot to move to a location
					{
						Target "-1280 128 -50" // Move target location
						AimTarget "-722 -304 75" // Where the bot should look at
						Delay 0.1
						Duration 6
						Repeats 1
					}
				}
		}
		WaveSpawn
		{
			Where 						Buff1
			TotalCount 					1
			MaxActive 					1
			SpawnCount 					1
			WaitBeforeStarting 			0
			WaitBetweenSpawns			120
			TotalCurrency 				1
				TFBot
				{
					Class Medic
					Name "Kritz Medic"
					ClassIcon medic_kritz
					Skill Hard
					Attributes IgnoreEnemies
					//Attributes SpawnWithFullCharge
					Item "The Kritzkrieg"
					WeaponRestrictions SecondaryOnly
					AddCond
					{
						Name "TF_COND_REPROGRAMMED"
						Delay 0
					}
					ItemAttributes
					{
						ItemName "TF_WEAPON_SYRINGEGUN_MEDIC"
						"damage penalty" 0.1
					}
					ItemAttributes
					{
						ItemName "The Kritzkrieg"
						"uber duration bonus" 1
					}
				}
		}
	}

//WAVE 6  /////////////////////////////////////////////////////////////////////////////////////////////////////////
// Couple of Soldiers
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
		Wave
	{
		StartWaveOutput										
		{
			Target wave_start_relay							
			Action Trigger									
		}
		DoneOutput											
		{
			Target wave_finished_relay						
			Action trigger									
		}

		Checkpoint Yes										

		WaveSpawn
		{
			Where 						teamredspawn
			TotalCount 					8
			MaxActive 					8
			SpawnCount 					8
			WaitBeforeStarting 			6
			WaitBetweenSpawns			99
			TotalCurrency 				0
				TFBot
				{
					Class Soldier							// Type of bot to spawn.
					Skill Expert 								// Skill level of bot. options are Easy, Normal, Hard, Expert in ascending difficulty.	
					ClassIcon soldier
					MaxVisionRange 3000
					Action Mobber
					Attributes DisableDodge
					Attributes IgnoreEnemies
					Stripitemslot 0
					Stripitemslot 1
					NoIdleSound 1
					CharacterAttributes
					{
						"voice pitch scale" 0
						"move speed bonus"	1						// Multiplies the movement speed of this bot by the specified amount.
					}
				}
			}
		WaveSpawn
		{
			Where 						teambluspawn
			TotalCount 					999
			MaxActive 					30
			SpawnCount 					30
			WaitBeforeStarting 			999
			WaitBetweenSpawns			120
			TotalCurrency 				1
				TFBot
				{
					Class Soldier							// Type of bot to spawn.
					Skill Expert 								// Skill level of bot. options are Easy, Normal, Hard, Expert in ascending difficulty.	
					ClassIcon soldier
					MaxVisionRange 0
					Action Idle
					Attributes DisableDodge
					Attributes IgnoreEnemies
					Stripitemslot 0
					Stripitemslot 1
					NoIdleSound 1
					
					CharacterAttributes
					{
						"voice pitch scale" 0
						"move speed bonus"	1						// Multiplies the movement speed of this bot by the specified amount.
					}
					InterruptAction   // Stop current bot ai and force the bot to move to a location
					{
						Target "-1280 128 -50" // Move target location
						AimTarget "-722 -304 75" // Where the bot should look at
						Delay 0.1
						Duration 2
						Repeats 1
					}
				}
			}
		}
//WAVE 7  /////////////////////////////////////////////////////////////////////////////////////////////////////////
// All classes
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
		Wave
	{
		StartWaveOutput										
		{
			Target wave_start_relay							
			Action Trigger									
		}
		DoneOutput											
		{
			Target wave_finished_relay						
			Action trigger									
		}

		Checkpoint Yes										

		WaveSpawn
		{
			Where 						Target
			TotalCount 					999
			MaxActive 					1
			SpawnCount 					1
			WaitBeforeStarting 			1
			WaitBetweenSpawns			999
			TotalCurrency 				1
				TFBot
				{
					Template T_TFBot_Scout_Melee
					Action Idle
					Attributes DisableDodge
					Attributes IgnoreEnemies
					
					
					NoIdleSound 1
					InterruptAction   // Stop current bot ai and force the bot to move to a location
					{
						Target "Target" // Move target location
						AimTarget "1476.886963 -4.005552 9.472000" // Where the bot should look at
						Delay 0.1
						Duration 2
						Repeats 1
					}
				}
		}
		WaveSpawn
		{
			Where 						Target
			TotalCount 					999
			MaxActive 					1
			SpawnCount 					1
			WaitBeforeStarting 			0
			WaitBetweenSpawns			999
			TotalCurrency 				1
				TFBot
				{
					Class Soldier								// Type of bot to spawn.
					Skill Expert 								// Skill level of bot. options are Easy, Normal, Hard, Expert in ascending difficulty.	
					ClassIcon soldier
					Action Idle
					Attributes DisableDodge
					Attributes IgnoreEnemies
					NoIdleSound 1
					
					InterruptAction   // Stop current bot ai and force the bot to move to a location
					{
						Target "Target" // Move target location
						AimTarget "1476.886963 -4.005552 9.472000" // Where the bot should look at
						Delay 0.1
						Duration 2
						Repeats 1
					}
				}
		}
		WaveSpawn
		{
			Where 						Target
			TotalCount 					999
			MaxActive 					1
			SpawnCount 					1
			WaitBeforeStarting 			1
			WaitBetweenSpawns			999
			TotalCurrency 				1
				TFBot
				{
					Template T_TFBot_Pyro
					Action Idle
					Attributes DisableDodge
					Attributes IgnoreEnemies
					
				
					NoIdleSound 1
					InterruptAction   // Stop current bot ai and force the bot to move to a location
					{
						Target "Target" // Move target location
						AimTarget "1476.886963 -4.005552 9.472000" // Where the bot should look at
						Delay 0.1
						Duration 2
						Repeats 1
					}
				}
		}
		WaveSpawn
		{
			Where 						Target
			TotalCount 					999
			MaxActive 					1
			SpawnCount 					1
			WaitBeforeStarting 			1
			WaitBetweenSpawns			999
			TotalCurrency 				1
				TFBot
				{
					Template T_TFBot_Demoman
					Action Idle
					Attributes DisableDodge
					Attributes IgnoreEnemies
					
					
					NoIdleSound 1
					InterruptAction   // Stop current bot ai and force the bot to move to a location
					{
						Target "Target" // Move target location
						AimTarget "1476.886963 -4.005552 9.472000" // Where the bot should look at
						Delay 0.1
						Duration 2
						Repeats 1
					}
				}
		}
		WaveSpawn
		{
			Where 						Target
			TotalCount 					999
			MaxActive 					1
			SpawnCount 					1
			WaitBeforeStarting 			1
			WaitBetweenSpawns			999
			TotalCurrency 				1
				TFBot
				{
					Class Heavyweapons
					Name "Heavy"
					Skill Expert
					ClassIcon Heavy
					Action Idle
					Attributes DisableDodge
					Attributes IgnoreEnemies
					
					
					NoIdleSound 1
					InterruptAction   // Stop current bot ai and force the bot to move to a location
					{
						Target "Target" // Move target location
						AimTarget "1476.886963 -4.005552 9.472000" // Where the bot should look at
						Delay 0.1
						Duration 2
						Repeats 1
					}
				}
		}
		WaveSpawn
		{
			Where 						Target
			TotalCount 					999
			MaxActive 					1
			SpawnCount 					1
			WaitBeforeStarting 			1
			WaitBetweenSpawns			999
			TotalCurrency 				1
				TFBot
				{
					Template T_TFBot_Engineer_Sentry_Battle
					Action Idle
					Attributes DisableDodge
					Attributes IgnoreEnemies
					
					
					NoIdleSound 1
					InterruptAction   // Stop current bot ai and force the bot to move to a location
					{
						Target "Target" // Move target location
						AimTarget "1476.886963 -4.005552 9.472000" // Where the bot should look at
						Delay 0.1
						Duration 2
						Repeats 1
					}
				}
		}
		WaveSpawn
		{
			Where 						Target
			TotalCount 					999
			MaxActive 					1
			SpawnCount 					1
			WaitBeforeStarting 			1
			WaitBetweenSpawns			999
			TotalCurrency 				1
				TFBot
				{
					Template T_TFBot_Medic_Heal
					Action Idle
					WeaponRestrictions SecondaryOnly
					Attributes DisableDodge
					Attributes IgnoreEnemies
					NoIdleSound 1
					CharacterAttributes
					{
						"move speed bonus" 1
					}
					InterruptAction   // Stop current bot ai and force the bot to move to a location
					{
						Target "Target" // Move target location
						AimTarget "1476.886963 -4.005552 9.472000" // Where the bot should look at
						Delay 0.1
						Duration 2
						Repeats 1
					}
				}
		}
		WaveSpawn
		{
			Where 						Target
			TotalCount 					999
			MaxActive 					1
			SpawnCount 					1
			WaitBeforeStarting 			1
			WaitBetweenSpawns			999
			TotalCurrency 				1
				TFBot
				{
					Template T_TFBot_Sniper_Huntsman
					Action Idle
					Attributes DisableDodge
					Attributes IgnoreEnemies
					
					
					NoIdleSound 1
					//
					CharacterAttributes
					{
						"move speed bonus"	1						// Multiplies the movement speed of this bot by the specified amount.
					}
					InterruptAction   // Stop current bot ai and force the bot to move to a location
					{
						Target "Target" // Move target location
						AimTarget "1476.886963 -4.005552 9.472000" // Where the bot should look at
						Delay 0.1
						Duration 2
						Repeats 1
					}
				}
		}
		WaveSpawn
		{
			Where 						Target
			TotalCount 					1
			MaxActive 					1
			SpawnCount 					1
			WaitBeforeStarting 			1
			WaitBetweenSpawns			999
			TotalCurrency 				0
				TFBot
				{
					Template T_TFBot_Spy
					Action Idle
					Attributes DisableDodge
					Attributes IgnoreEnemies
					
					
					NoIdleSound 1
					CharacterAttributes
					{
						"cannot disguise" 1
					}
					InterruptAction   // Stop current bot ai and force the bot to move to a location
					{
						Target "Target" // Move target location
						AimTarget "1476.886963 -4.005552 9.472000" // Where the bot should look at
						Delay 0.1
						Duration 2
						Repeats 1
					}
				}
		}
	}
//WAVE 8  /////////////////////////////////////////////////////////////////////////////////////////////////////////
// Rocket Jumpers
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
		Wave
	{
		StartWaveOutput										
		{
			Target wave_start_relay							
			Action Trigger									
		}
		DoneOutput											
		{
			Target wave_finished_relay						
			Action trigger									
		}

		Checkpoint Yes										

		WaveSpawn
			{
				Where 						teamredspawn
				TotalCount 					999
				MaxActive 					4
				SpawnCount 					4
				WaitBeforeStarting 			0
				WaitBetweenSpawns			60
				TotalCurrency 				1
				TFBot
				{
					Class Soldier
					Name "Rocket Jumper"
					Classicon soldier_gib_jumper_lite
					Skill Expert
					RocketJump 1
					//FastUpdate 1
					ExtAttr IgnoreBuildings
					AimTrackingInterval 0
					Attributes DisableDodge
					MaxVisionRange 800
					
					  
					Action Mobber
					Item "Rocket Jumper"
					Item "The Market Gardener"
					Item "Thousand-Yard Stare"
					ItemAttributes
					{
						ItemName "Rocket Jumper"
						"mod max primary clip override" -1
						"ammo regen" 1
						"fire rate penalty" 3
						"self dmg push force increased" 1.5
					}
					ItemAttributes
					{
						ItemName "The Market Gardener"
						"fire rate penalty" 1
						"mult dmg vs giants" 0
						"mult crit dmg" 0
						"melee cleave attack" 1
					}
					ItemAttributes
					{
						ItemName "Thousand-Yard Stare"
						"set item tint rgb" 13595446
					}
					CharacterAttributes
					{
						"move speed bonus" 1.3
						"boots falling stomp" 1
						"mult smack time" 0.5
						"increased air control" 100
						"deploy time decreased" 0.0025
						"crit mod disabled" 0
						"ammo regen" 1
						"cancel falling damage" 1
						"voice pitch scale" 0
						"force distribute currency on death" 0
					}
					InterruptAction   // Stop current bot ai and force the bot to move to a location
					{
						Target "-1100 0 -60" // Move target location
						//AimTarget "1430 -3 -14" // Where the bot should look at
						Delay 0.1
						Duration 1
						Cooldown 1
						Repeats 999
					}
				}
			}
		}
//WAVE 9	///////////////////////////////////////////////////////////////////////////////////////////////////////
// RED Heavy draining Health
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
		Wave
	{
		StartWaveOutput										
		{
			Target wave_start_relay							
			Action Trigger									
		}
		DoneOutput											
		{
			Target wave_finished_relay						
			Action trigger									
		}
		Checkpoint Yes										

		WaveSpawn
		{
			Where Target								
			TotalCount 999									
			MaxActive 1										
			SpawnCount 1									
	
			WaitBeforeStarting 0							
			WaitBetweenSpawns 1			
			
			totalcurrency 1								
				
				TFBot
				{
				Template T_TFBOT_Heavy_Target
					SpawnTemplate OneHealth
					AddCond
					{
						Name "TF_COND_REPROGRAMMED"
						Delay 0
					}
					CharacterAttributes
					{
						"cancel falling damage" 1
						"voice pitch scale" 0
						"health drain" -1
					}
				}
			}
		}

//WAVE 10 /////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// 1 Giant BLU Heavy vs. 3 RED Robots
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
	Wave
	{
		StartWaveOutput										
		{
			Target wave_start_relay							
			Action Trigger									
		}
		DoneOutput											
		{
			Target wave_finished_relay						
			Action trigger									
		}

		Checkpoint Yes										

		WaveSpawn
		{
			Where teambluspawn4									
			TotalCount 999									
			MaxActive 1										
			SpawnCount 1									
	
			WaitBeforeStarting 999							
			WaitBetweenSpawns 1								
			
			totalcurrency 1								
				
				TFBot
				{
					Class Heavyweapons
					Name "Giant BLU Heavy"							// Name of the bot used in the obituaries. If not specified, standard class name is used.
					ClassIcon heavy_giant							// Icon to use in the wave telegraph. If not specified, standard icon is used.
					Skill Expert
					Health 99999
					WeaponRestrictions MeleeOnly
					Attributes MiniBoss
					Attributes IgnoreEnemies
					Attributes DisableDodge
					Attributes IgnoreFlag
					NoIdleSound 1
					CharacterAttributes
					{
						"move speed bonus"	0.5						// Multiplies the movement speed of this bot by the specified amount.
						"damage bonus"	1.5							// Multiplies the damage output of this bot by the specified amount.
						"damage force reduction" 0.3				// Multiplies the damage forces applied to this bot by the specified amount.
						"airblast vulnerability multiplier" 0.3		// Multiplies airblast forces applied to this bot by the specified amount.
						"override footstep sound set" 2				// Sets the footstep sounds to that of a giant.
						"no_jump" 1
					}
					InterruptAction   // Stop current bot ai and force the bot to move to a location
					{
						Target "-550 0 -50" // Move target location
						AimTarget "-2000 0 -53" // Where the bot should look at
						Delay 0.1
						Duration 2
						Repeats 1
					}
				}
		}
		WaveSpawn
	    {
			Where 						teamredspawn
			TotalCount 					999
			MaxActive 					1
			SpawnCount 					1
			WaitBeforeStarting 			1
			WaitBetweenSpawns			999
			TotalCurrency 				1
			Support						Limited
			TFBot
				{
				Template T_TFBot_Giant_Soldier_spammer_reload
					Name "Giant RED Burst Fire Soldier"								// Name of the bot used in the obituaries. If not specified, standard class name is used.
					ClassIcon red2_lite												// Icon to use in the wave telegraph. If not specified, standard icon is used.
					MaxVisionRange 600												// Sets the distance at which this bot will attempt to engage and attack players.
					Action Mobber
					//Spawntemplate 1HP
					Attributes DisableDodge
					NoIdleSound 1
					AimLeadProjectileSpeed 0  
					AimAt Head 
					AddCond
					{
						Name "TF_COND_REPROGRAMMED"
						Delay 0
					}
					CharacterAttributes
					{
						"voice pitch scale" 0
						"crit mod disabled" 0
						"voice pitch scale" 0
					}
				}
		}
		WaveSpawn
		{
			Where 						teamredspawn
			TotalCount 					999
			MaxActive 					1
			SpawnCount 					1
			WaitBeforeStarting 			5
			WaitBetweenSpawns			1
			TotalCurrency 				1
			Support						Limited
			TFBot
				{
				Class Scout
				Name "RED Scout"
				Skill Expert
				ClassIcon red2_lite
				MaxVisionRange 600
				Action Mobber				
				Attributes DisableDodge
				Attributes HoldFireUntilFullReload
				//Spawntemplate 1HP
				AddCond
				{
						Name "TF_COND_REPROGRAMMED"
						Delay 0
				}
				CharacterAttributes
				{
					"voice pitch scale" 0
					"cancel falling damage" 1
					"crit mod disabled" 0
				}
			}
		}
		WaveSpawn
		{
			Where 						teamredspawn
			TotalCount 					999
			MaxActive 					1
			SpawnCount 					1
			WaitBeforeStarting 			5
			WaitBetweenSpawns			1
			TotalCurrency 				1
			Support						Limited
			TFBot
				{
				Class Demoman								// Type of bot to spawn.
				Name "RED Demoman"
				Skill Expert 								// Skill level of bot. options are Easy, Normal, Hard, Expert in ascending difficulty.	
				ClassIcon red2_lite
				MaxVisionRange 600
				Action Mobber
				//Spawntemplate 1HP				
				Attributes DisableDodge
				Attributes HoldFireUntilFullReload
				AddCond
				{
						Name "TF_COND_REPROGRAMMED"
						Delay 0
				}	
				CharacterAttributes
				{
					"voice pitch scale" 0
					"cancel falling damage" 1
					"crit mod disabled" 0
				}
			}	
		}
	}
//WAVE 11 /////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// 3 BLU Robots to kill
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
	Wave
	{
		Explanation  
    {
        Line "{white}Wave 3 spawns{green} three active{red} RED BOTS{white} against an{yellow} inactive{blue} Giant BLU Heavy"
    }
		StartWaveOutput										
		{
			Target wave_start_relay							
			Action Trigger									
		}
		DoneOutput											
		{
			Target wave_finished_relay						
			Action trigger									
		}

		Checkpoint Yes		
		
		WaveSpawn
	    {
			Where 						teamredspawn
			TotalCount 					999
			MaxActive 					1
			SpawnCount 					1
			WaitBeforeStarting 			30
			WaitBetweenSpawns			999
			TotalCurrency 				1
			TFBot
				{
				Template T_TFBot_Giant_Heavyweapons
					Health 400
					Action Mobber
					Attributes DisableDodge
					NoIdleSound 1
					CharacterAttributes
					{
						"crit mod disabled" 0
						"voice pitch scale" 0
					}
				}
		}
		WaveSpawn
		{
			Where 						teamredspawn
			TotalCount 					999
			MaxActive 					2
			SpawnCount 					2
			WaitBeforeStarting 			10
			WaitBetweenSpawns			999d
			TotalCurrency 				1
			TFBot
				{
				Class Scout
				Name "Scout"
				Skill Expert
				Action Mobber		
				Attributes DisableDodge
				Attributes HoldFireUntilFullReload
				CharacterAttributes
				{
					"cancel falling damage" 1
					"crit mod disabled" 0
				}
			}
		}
		WaveSpawn
		{
			Where 						teamredspawn
			TotalCount 					999
			MaxActive 					3
			SpawnCount 					3
			WaitBeforeStarting 			18
			WaitBetweenSpawns			999
			TotalCurrency 				1
			TFBot
				{
				Class Demoman								// Type of bot to spawn.
				Name "Demoman"
				Skill Expert 								// Skill level of bot. options are Easy, Normal, Hard, Expert in ascending difficulty.	
				Action Mobber				
				Attributes DisableDodge
				CharacterAttributes
				{
					"cancel falling damage" 1
					"crit mod disabled" 0
				}
			}	
		}
	}
//WAVE 12  /////////////////////////////////////////////////////////////////////////////////////////////////////////
// Sentry Guns of varying levels
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
		Wave
	{
		StartWaveOutput										
		{
			Target wave_start_relay							
			Action Trigger									
		}
		DoneOutput											
		{
			Target wave_finished_relay						
			Action trigger									
		}

		Checkpoint Yes										

		WaveSpawn
		{
			Where 						Target
			TotalCount 					999
			MaxActive 					1
			SpawnCount 					1
			WaitBeforeStarting 			9999
			WaitBetweenSpawns			9999
			TotalCurrency 				1
			
			TFBot
				{
				Class Scout									// Type of bot to spawn.
				Skill Expert 								// Skill level of bot. options are Easy, Normal, Hard, Expert in ascending difficulty.	
				ClassIcon sentry_gun_lvl3_lite
				}
		}	
		SentryGun   //Spawn sentry gun
		{
			TeamNum 3
			Delay 0
			Level 3
			BodyGroup 0 
			Skin 1	
			Health 216
			Position
			{
				X -640
				Y -0
				Z -128
				Pitch 0
				Yaw 180
				Roll 0
			}
		}
		SentryGun   //Spawn sentry gun
		{
			TeamNum 3
			Delay 0
			Level 2
			BodyGroup 0 
			Skin 1 
			Health 180
			Position
			{
				X -767
				Y -128
				Z -128
				Pitch 0
				Yaw 180
				Roll 0
			}
		}
		SentryGun   //Spawn sentry gun
		{
			TeamNum 3
			Delay 0
			Level 1
			BodyGroup 0
			Skin 1 
			Health 150
			Position
			{
				X -767
				Y 128
				Z -128
				Pitch 0
				Yaw 180
				Roll 0
			}
		}
		SentryGun   //Spawn sentry gun
		{
			TeamNum 3
			Delay 0
			Level 1
			BodyGroup 1
			IsMini 1
			Skin 3 
			Health 100
			Position
			{
				X -896
				Y 0
				Z -128
				Pitch 0
				Yaw 180
				Roll 0
			}
		}
		SentryGun   //Spawn sentry gun
		{
			TeamNum 3
			Delay 0
			Level 3
			BodyGroup 0 
			Skin 1 
			Health 216
			Position
			{
				X -257
				Y -0
				Z -128
				Pitch 0
				Yaw 180
				Roll 0
			}
		}
		SentryGun   //Spawn sentry gun
		{
			TeamNum 3
			Delay 0
			Level 2
			BodyGroup 0
			Skin 1 
			Health 180
			Position
			{
				X -384
				Y -128
				Z -128
				Pitch 0
				Yaw 180
				Roll 0
			}
		}
		SentryGun   //Spawn sentry gun
		{
			TeamNum 3
			Delay 0
			Level 1
			BodyGroup 0 
			Skin 1 
			Health 150
			Position
			{
				X -384
				Y 128
				Z -128
				Pitch 0
				Yaw 180
				Roll 0
			}
		}
		SentryGun   //Spawn sentry gun
		{
			TeamNum 3
			Delay 0
			Level 1
			BodyGroup 1
			IsMini 1
			Skin 3 
			Health 150
			Position
			{
				X -513
				Y 0
				Z -128
				Pitch 0
				Yaw 180
				Roll 0
			}
		}
	}
//WAVE 13  /////////////////////////////////////////////////////////////////////////////////////////////////////////
// Sentry Gun
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
		Wave
		{
		StartWaveOutput										
		{
			Target wave_start_relay							
			Action Trigger									
		}
		DoneOutput											
		{
			Target wave_finished_relay						
			Action trigger									
		}

		Checkpoint Yes										

		WaveSpawn
		{
			Where 						Target
			TotalCount 					999
			MaxActive 					1
			SpawnCount 					1
			WaitBeforeStarting 			9999
			WaitBetweenSpawns			9999
			TotalCurrency 				1
			
			TFBot
				{
				Class Scout									// Type of bot to spawn.
				Skill Expert 								// Skill level of bot. options are Easy, Normal, Hard, Expert in ascending difficulty.	
				ClassIcon sentry_gun_lvl3_lite
				}
		}	
		SentryGun   //Spawn sentry gun
		{
			TeamNum 3
			Delay 0
			Level 3
			BodyGroup 0 
			Skin 1 
			Health 216
			Position
			{
				X -257
				Y -0
				Z -128
				Pitch 0
				Yaw 180
				Roll 0
			}
		}
	}
//WAVE 14  /////////////////////////////////////////////////////////////////////////////////////////////////////////
// +300% HP Level 3 Sentry Gun vs Giant Soldier
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
		Wave
	{
		StartWaveOutput										
		{
			Target wave_start_relay							
			Action Trigger									
		}
		DoneOutput											
		{
			Target wave_finished_relay						
			Action trigger									
		}

		Checkpoint Yes										

		WaveSpawn
		{
			Where teambluspawn			
			TotalCount 999									
			MaxActive 1										
			SpawnCount 1									
	
			WaitBeforeStarting 3						
			WaitBetweenSpawns 60			
			
			totalcurrency 1								
				
				TFBot
				{
				Template T_TFBot_Giant_Soldier_Spammer
					Health 1000
					MaxVisionRange 750
					Attributes DisableDodge
					Attributes IgnoreFlag
					Action Idle
					NoIdleSound 1
					CharacterAttributes
					{
						"dmg penalty vs players" .5
						"move speed bonus"	0.0025
						"voice pitch scale" 0
					}
				}
		}		
		SentryGun   //Spawn sentry gun
		{
			TeamNum 2
			Delay 0
			Level 3
			BodyGroup 1 
			Skin 2 
			Health 864
			Position
			{
				X -1024
				Y -0
				Z -129
				Pitch 0
				Yaw 0
				Roll 0
			}
		}
		WaveSpawn
		{
			Where 						teamredspawn
			TotalCount 					1
			MaxActive 					1
			SpawnCount 					1
			WaitBeforeStarting 			9999
			WaitBetweenSpawns			9999
			TotalCurrency 				1
			Support						Limited
			TFBot
				{
				Class Scout									// Type of bot to spawn.
				Skill Expert 								// Skill level of bot. options are Easy, Normal, Hard, Expert in ascending difficulty.	
				ClassIcon sentry_gun_lvl3_red_lite
				}
		}
	}
//WAVE 15  /////////////////////////////////////////////////////////////////////////////////////////////////////////
// Giant Soldier
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
		Wave
	{
		StartWaveOutput										
		{
			Target wave_start_relay							
			Action Trigger									
		}
		DoneOutput											
		{
			Target wave_finished_relay						
			Action trigger									
		}

		Checkpoint Yes										

		WaveSpawn
		{
			Where Target		
			TotalCount 999									
			MaxActive 1										
			SpawnCount 1									
	
			WaitBeforeStarting 3							
			WaitBetweenSpawns 999		
			
			totalcurrency 1								
				TFBot
				{
				Template T_TFBot_Giant_Soldier
					Health 400
					//MaxVisionRange 10
					Attributes DisableDodge
					Attributes IgnoreFlag
					//Attributes SpawnWithFullCharge
					//Item "The Battalion's Backup"
					//Attributes Alwayscrit
					//AimAt Head
					Action Idle
					NoIdleSound 1
					CharacterAttributes
					{
						"move speed bonus"	0.0025
						"no_jump" 1
					}
				}
		}
	}
//WAVE 16  /////////////////////////////////////////////////////////////////////////////////////////////////////////
// Airblast Pyro
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
		Wave
	{
		StartWaveOutput										
		{
			Target wave_start_relay							
			Action Trigger									
		}
		DoneOutput											
		{
			Target wave_finished_relay						
			Action trigger									
		}

		Checkpoint Yes										

		WaveSpawn
		{
			Where Target		
			TotalCount 999									
			MaxActive 1										
			SpawnCount 1									
	
			WaitBeforeStarting 1							
			WaitBetweenSpawns 999		
			
			totalcurrency 1								
				TFBot
				{
				Template T_TFBot_Giant_Airblast_Pyro
					Health 9999
					//MaxVisionRange 10
					Attributes DisableDodge
					Attributes IgnoreFlag
					//Attributes SpawnWithFullCharge
					//Item "The Battalion's Backup"
					//Attributes Alwayscrit
					//AimAt Head
					Action Idle
					NoIdleSound 1
					CharacterAttributes
					{
						"move speed bonus"	0.0025
						"no_jump" 1
					}
				}
		}
	}
//WAVE 17  /////////////////////////////////////////////////////////////////////////////////////////////////////////
// Airblast Pyro
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
		Wave
	{
		StartWaveOutput										
		{
			Target wave_start_relay							
			Action Trigger									
		}
		DoneOutput											
		{
			Target wave_finished_relay						
			Action trigger									
		}

		Checkpoint Yes										

		WaveSpawn
		{
			Where Target		
			TotalCount 999									
			MaxActive 1										
			SpawnCount 1									
	
			WaitBeforeStarting 1							
			WaitBetweenSpawns 999		
			
			totalcurrency 1								
				TFBot
				{
				Template T_TFBot_Giant_Medic_Shield
					Health 300
					//MaxVisionRange 10
					Attributes DisableDodge
					Attributes IgnoreFlag
					//Attributes SpawnWithFullCharge
					//Item "The Battalion's Backup"
					//Attributes Alwayscrit
					//AimAt Head
					Action Idle
					NoIdleSound 1
					CharacterAttributes
					{
						"move speed bonus"	0.0025
						"no_jump" 1
					}
				}
		}
	}
//WAVE 16  /////////////////////////////////////////////////////////////////////////////////////////////////////////
// Giant Soldier w/ Medic Support
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
		Wave
	{
		StartWaveOutput										
		{
			Target wave_start_relay							
			Action Trigger									
		}
		DoneOutput											
		{
			Target wave_finished_relay						
			Action trigger									
		}

		Checkpoint Yes										

		WaveSpawn
		{
			Where Target		
			TotalCount 999									
			MaxActive 1										
			SpawnCount 1									
	
			WaitBeforeStarting 5							
			WaitBetweenSpawns 999		
			
			totalcurrency 1								
				TFBot
				{
				Template T_TFBot_Giant_Soldier_slowbarrage
					Health 150
					Attributes DisableDodge
					Attributes IgnoreFlag
					//Attributes SpawnWithFullCharge
					//Item "The Battalion's Backup"
					//Attributes Alwayscrit
					//AimAt Head
					Action Idle
					NoIdleSound 1
					CharacterAttributes
					{
						"move speed bonus"	0.0025
						"no_jump" 1
					}
				}
		}
		WaveSpawn
		{
			Where 						teamredspawn
			TotalCount 					1
			MaxActive 					1
			SpawnCount 					1
			WaitBeforeStarting 			3
			WaitBetweenSpawns			120
			TotalCurrency 				1
				TFBot
				{
				Template T_TFBot_Medic_Heal
				Attributes IgnoreEnemies
				AddCond
					{
						Name "TF_COND_REPROGRAMMED"
						Delay 0
					}
				CharacterAttributes
					{
						"move speed bonus"	0.0025
						"no_jump" 1
					}
				}
		}
	}
//WAVE 17  /////////////////////////////////////////////////////////////////////////////////////////////////////////
// Tank
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
		Wave
		{
		StartWaveOutput											
		{
			Target wave_start_relay								
			Action Trigger										
		}
		DoneOutput												
		{
			Target wave_finished_relay							
			Action trigger									
		}

		Checkpoint Yes						

		WaveSpawn 
		{						
			TotalCount 5
			WaitBeforeStarting 0								// Amount of time to wait before spawning the first bot.		
			WaitBetweenSpawns 999
			TotalCurrency 0

			FirstSpawnOutput                                                                                                                                  
			{
				Target boss_spawn_relay                       
				Action Trigger                         
			}

			Tank
			{
				Health 1000				
				Speed 75								
				Name "boss"
				StartingPathTrackNode "tank_path_a_1"		 	// The path_track node in the level at which the Tank will spawn on the path the tank will follow.

				OnKilledOutput                              
				{
					Target boss_dead_relay					
					Action Trigger                
				}
				
				OnBombDroppedOutput                       
				{
					Target boss_deploy_relay 	
					Action Trigger                  
				}
			}			
		}
	}
//WAVE 18  /////////////////////////////////////////////////////////////////////////////////////////////////////////
// Tank w/ Team Support
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
		Wave
		{
		StartWaveOutput											
		{
			Target wave_start_relay								
			Action Trigger										
		}
		DoneOutput												
		{
			Target wave_finished_relay							
			Action trigger									
		}

		Checkpoint Yes						

		WaveSpawn 
		{						
			TotalCount 999
			WaitBeforeStarting 0								// Amount of time to wait before spawning the first bot.	
			WaitBetweenSpawns 999			
			TotalCurrency 0

			FirstSpawnOutput                                                                                                                                  
			{
				Target boss_spawn_relay                       
				Action Trigger                         
			}

			Tank
			{
				Health 8500					
				Speed 75								
				Name "boss"
				StartingPathTrackNode "tank_path_a_1"		 	// The path_track node in the level at which the Tank will spawn on the path the tank will follow.

				OnKilledOutput                              
				{
					Target boss_dead_relay					
					Action Trigger                
				}
				
				OnBombDroppedOutput                       
				{
					Target boss_deploy_relay 	
					Action Trigger                  
				}
			}			
		}
		WaveSpawn 
		{						
			Where Buff1
			TotalCount 999
			MaxActive 1
			SpawnCount 1								
			WaitBeforeStarting 18						
			WaitBetweenSpawns 999
			Support	Limited			
			totalcurrency 1								
				
			TFBot
			{
				Class Soldier
				Name "Giant Buff Banner Soldier"
				ClassIcon red2_lite	
				Skill Expert
				Health 3800
				WeaponRestrictions PrimaryOnly
				Attributes HoldFireUntilFullReload
				Attributes MiniBoss
				Attributes SpawnWithFullCharge
				Attributes DisableDodge
				Action Idle
				Item "The Buff Banner"
				NoIdleSound 1					
				AddCond
				{
					Name "TF_COND_REPROGRAMMED"
					Delay 0
				}
				ItemAttributes
				{
					ItemName "TF_WEAPON_ROCKETLAUNCHER"
					"clip size upgrade atomic" -4.0
					"Projectile speed increased" 0.65
				}
				CharacterAttributes
				{
					"move speed bonus"	0.5
					"damage force reduction" 0.4
					"airblast vulnerability multiplier" 0.4
					"override footstep sound set" 3
					"increase buff duration"	9.0
					"crit mod disabled" 0
					"mod soldier buff range" 5
					"voice pitch scale" 0
				}
				InterruptAction   // Stop current bot ai and force the bot to move to a location
				{
					Target "-727 -326 80" // Move target location
					//AimTarget "1 1 1" // Where the bot should look at
					Delay 5
					Duration 8
					Repeats 0
				}
			}
		}
		WaveSpawn 
		{						
			Where Buff2
			TotalCount 999
			MaxActive 1
			SpawnCount 1								
			WaitBeforeStarting 18						
			WaitBetweenSpawns 999
			Support	Limited			
			totalcurrency 1								
				
			TFBot
			{
				Class Soldier
				Name "Giant Buff Banner Soldier"
				ClassIcon red2_lite	
				Skill Expert
				Health 3800
				WeaponRestrictions PrimaryOnly
				Attributes HoldFireUntilFullReload
				Attributes MiniBoss
				Attributes SpawnWithFullCharge
				Attributes DisableDodge
				Action Idle
				Item "The Buff Banner"
				NoIdleSound 1					
				AddCond
				{
					Name "TF_COND_REPROGRAMMED"
					Delay 0
				}
				ItemAttributes
				{
					ItemName "TF_WEAPON_ROCKETLAUNCHER"
					"clip size upgrade atomic" -4.0
					"Projectile speed increased" 0.65
				}
				CharacterAttributes
				{
					"move speed bonus"	0.5
					"damage force reduction" 0.4
					"airblast vulnerability multiplier" 0.4
					"override footstep sound set" 3
					"increase buff duration"	9.0
					"crit mod disabled" 0
					"mod soldier buff range" 5
					"voice pitch scale" 0
				}
				InterruptAction   // Stop current bot ai and force the bot to move to a location
				{
					Target "-700 326 80" // Move target location
					//AimTarget "1 1 1" // Where the bot should look at
					Delay 5
					Duration 8
					Repeats 0
				}
			}
		}		
	}
//WAVE 19  /////////////////////////////////////////////////////////////////////////////////////////////////////////
// Giant team against One Tank
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
		Wave
		{
		StartWaveOutput											
		{
			Target wave_start_relay								
			Action Trigger										
		}
		DoneOutput												
		{
			Target wave_finished_relay							
			Action trigger									
		}

		Checkpoint Yes						

		WaveSpawn 
		{						
			TotalCount 999
			WaitBeforeStarting 0								// Amount of time to wait before spawning the first bot.	
			WaitBetweenSpawns 999			
			TotalCurrency 0

			FirstSpawnOutput                                                                                                                                  
			{
				Target boss_spawn_relay                       
				Action Trigger                         
			}

			Tank
			{
				Health 16000					
				Speed 75								
				Name "boss"
				StartingPathTrackNode "tank_path_a_1"		 	// The path_track node in the level at which the Tank will spawn on the path the tank will follow.

				OnKilledOutput                              
				{
					Target boss_dead_relay					
					Action Trigger                
				}
				
				OnBombDroppedOutput                       
				{
					Target boss_deploy_relay 	
					Action Trigger                  
				}
			}			
		}
		WaveSpawn 
		{						
			Where Target
			TotalCount 999
			MaxActive 1
			SpawnCount 1								
			WaitBeforeStarting 15						
			WaitBetweenSpawns 999
			Support	Limited			
			Totalcurrency 1								
				
			TFBot
			{
				Template 	T_TFBot_Giant_Pyro
				Attributes DisableDodge
				Action Mobber
				NoIdleSound 1					
				AddCond
				{
					Name "TF_COND_REPROGRAMMED"
					Delay 0
				}
				CharacterAttributes
				{
					"voice pitch scale" 0
					"crit mod disabled" 0 
				}
			}
		}
		WaveSpawn 
		{						
			Where Buff2
			TotalCount 999
			MaxActive 1
			SpawnCount 1								
			WaitBeforeStarting 21						
			WaitBetweenSpawns 999
			Support	Limited			
			totalcurrency 1								
				
			TFBot
			{
				Template 	T_TFBot_Giant_Soldier_Extended_Concheror
				Attributes DisableDodge
				Action Idle
				NoIdleSound 1					
				AddCond
				{
					Name "TF_COND_REPROGRAMMED"
					Delay 0
				}
				CharacterAttributes
				{
					"voice pitch scale" 0
					"crit mod disabled" 0 
				}
				InterruptAction   // Stop current bot ai and force the bot to move to a location
				{
					Target "-700 326 0" // Move target location
					//AimTarget "1 1 1" // Where the bot should look at
					Delay 5
					Duration 8
					Repeats 0
				}
			}
		}
		WaveSpawn 
		{						
			Where Target
			TotalCount 999
			MaxActive 1
			SpawnCount 1								
			WaitBeforeStarting 24						
			WaitBetweenSpawns 999
			Support	Limited			
			totalcurrency 1								
				
			TFBot
			{
				Template 	T_TFBot_Giant_Scout
				Attributes DisableDodge
				Action Mobber
				NoIdleSound 1					
				AddCond
				{
					Name "TF_COND_REPROGRAMMED"
					Delay 0
				}
				CharacterAttributes
				{
					"voice pitch scale" 0
					"crit mod disabled" 0 
				}	
			}
		}
		WaveSpawn  
		{			
			Where teamredspawn
			TotalCount 999
			MaxActive 1
			SpawnCount 1								
			WaitBeforeStarting 24						
			WaitBetweenSpawns 999
			Support	Limited			
			totalcurrency 1		
			
			Squad 
			{
				TFBot
				{
					Template 	T_TFBot_Giant_Heavyweapons
					Attributes DisableDodge
					Action Idle
					NoIdleSound 1					
					AddCond
					{
						Name "TF_COND_REPROGRAMMED"
						Delay 0
					}
					CharacterAttributes
					{
						"move speed bonus" 0.0025
						"voice pitch scale" 0
						"crit mod disabled" 0
						"no_jump" 1
					}
				}
			}
		}
		SentryGun   //Spawn sentry gun
		{
			TeamNum 3
			Delay 0
			Level 3
			BodyGroup 1 
			Skin 1 
			Health 216
			Position
			{
				X 715
				Y -325
				Z 0
				Pitch 0
				Yaw 180
				Roll 0
			}
		}
		SentryGun   //Spawn sentry gun
		{
			TeamNum 3
			Delay 0
			Level 3
			BodyGroup 1 
			Skin 1 
			Health 216
			Position
			{
				X 715
				Y 325
				Z 0
				Pitch 0
				Yaw 180
				Roll 0
			}
		}
	}
//WAVE 18  /////////////////////////////////////////////////////////////////////////////////////////////////////////
// This wave consists of a 3000 HP Tank, intended for weapons with additional tank damage
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
		Wave
		{
		StartWaveOutput											
		{
			Target wave_start_relay								
			Action Trigger										
		}
		DoneOutput												
		{
			Target wave_finished_relay							
			Action trigger									
		}

		Checkpoint Yes						

		WaveSpawn 
		{						
			TotalCount 999
			WaitBeforeStarting 0								// Amount of time to wait before spawning the first bot.	
			WaitBetweenSpawns 999			
			TotalCurrency 0

			FirstSpawnOutput                                                                                                                                  
			{
				Target boss_spawn_relay                       
				Action Trigger                         
			}

			Tank
			{
				Health 20000					
				Speed 75								
				Name "boss"
				StartingPathTrackNode "tank_path_a_1"		 	// The path_track node in the level at which the Tank will spawn on the path the tank will follow.

				OnKilledOutput                              
				{
					Target boss_dead_relay					
					Action Trigger                
				}
				
				OnBombDroppedOutput                       
				{
					Target boss_deploy_relay 	
					Action Trigger                  
				}
			}			
		}	
	}
}