// Almazara Advanced - Olive Thievery by AshieTheVixen!
// #LetsGoLesbians
#base robot_giant.pop
#base robot_standard.pop
#base robot_entropy_giant.pop
#base robot_entropy_standard.pop
WaveSchedule
{
	StartingCurrency	900
	RespawnWaveTime	6
	CanBotsAttackWhileInSpawnRoom	No
	AddSentryBusterWhenDamageDealtExceeds	3000
	AddSentryBusterWhenKillCountExceeds	15

	PrecacheModel   "models/bots/boss_bot/combat_tank_mk2/mk2_combat_tank_chassis.mdl"  
	PrecacheModel   "models/bots/boss_bot/combat_tank_mk2/mk2_fireball.mdl"  
	PrecacheModel   "models/bots/boss_bot/combat_tank_mk2/mk2_rocket_dumbfire.mdl"  
	PrecacheModel   "models/bots/boss_bot/combat_tank_mk2/mk2_rocket_pod.mdl"  
	PrecacheModel   "models/bots/boss_bot/combat_tank_mk2/mk2_combat_tank_cannon.mdl"  
	PrecacheModel   "models/bots/boss_blimp/boss_blimp.mdl"  
    PrecacheModel   "models/bots/boss_blimp/boss_blimp_animations.mdl"  
    PrecacheModel   "models/bots/boss_blimp/boss_blimp_damage1.mdl"  
    PrecacheModel   "models/bots/boss_blimp/boss_blimp_damage2.mdl"  
    PrecacheModel   "models/bots/boss_blimp/boss_blimp_damage3.mdl"  

	NoRomevisionCosmetics 1  
	SendBotsToSpectatorImmediately 1  

	CustomWeapon  
	{
		"olive_boots"
		{
			OriginalItemName	"EOTL_hiphunter_boots"
			"set item tint RGB" 8421376
		}
		"olive_fannypack"
		{
			OriginalItemName	"Prinny Pouch"
			"set item tint RGB" 8421376
		}
		"olive_hat"
		{
			OriginalItemName	"Mann Co. Cap"
			"set item tint RGB" 8421376
		}
	}
	Mission
	{
		Objective	DestroySentries
		Where	spawnbot_mission_sentrybuster
		BeginAtWave	1
		RunForThisManyWaves	7
		InitialCooldown	10
		CooldownTime	30
		DesiredCount	1
		TFBot
		{
			Name "Olive Buster"
			Health	1400
			Scale	1.4
			Template	T_TFBot_SentryBuster
			CharacterAttributes
			{
				"increased jump height"	1.2
				"head scale" 2
			}
				Item 	"olive_hat"  
				Item	"olive_fannypack"  
				Item	"olive_boots"  
		}
	}
	Mission
	{
		Objective	Spy
		Where	spawnbot_mission_spy
		BeginAtWave 4
		RunForThisManyWaves 1
		InitialCooldown	15
		CooldownTime	20
		DesiredCount	3
		TFBot
		{
			ClassIcon	spy_fast2
			Health	90
			Name	"Olive Spy"
			Class	Spy
			Skill	Expert
			ItemAttributes
			{
				ItemName "TF_WEAPON_KNIFE"
				"fire rate bonus" 1.2
				"damage penalty" 1.2
			}
			CharacterAttributes
			{
				"move speed bonus" 1.2
			}
				Item 	"olive_hat"  
				Item	"olive_fannypack"  
				Item	"olive_boots"  
		}
	}
	Wave // Wave 1
	{
		InitWaveOutput
		{
			Target BigNet
			Action RunScriptCode
			Param "
			EntFire(`robotpath_purple_relay`,`Trigger`,null,0.78)
			IncludeScript(`tankextensions_main`, getroottable())
			IncludeScript(`tankextensions/targetank`)
			"
		}
		StartWaveOutput
		{
			Target BigNet
			Action RunScriptCode
			Param "
			EntFire(`wave_start_relay`, `Trigger`)
			SendGlobalGameEvent(`show_annotation`,
			{
			    worldPosX = `4384` 
				worldPosY = `-1023`
				worldPosZ = `-201`
				text = `Olive bots are faster, but easier to kill!`
				lifetime = 4
				show_distance = false
				play_sound = `ui/vote_started.wav`
			})  
			"
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaitWhenDone 65
		Checkpoint Yes
		Explanation   
		{
			Line "{DD5E45}EngieFar - Bienvenidos mercenarios. We have detected an intrusion in our olive oil supply!"
			Line "{EC9658}EngiNear - Seems like those machines got quite the taste for it, some of them are covered in it."
			Line "{EC9658}It makes them faster, more efficent, but easier to break!"
			Line "{DD5E45}EngieFar - Get our product back, even if it means squeezing it outta em! ¡Destrocenlos si es necesario!"
		}
		WaveSpawn
		{
			Name	W1_SW1a
			TotalCurrency	200
			TotalCount	4
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	3
			WaitBetweenSpawns	10
			Where	spawnbot_carrier_1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_DemoMan_PrinceTavish
					Tag big_giants
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Regen
					Tag big_giants
				}
			}
		}
		WaveSpawn
		{
			Name	W1_SW1b
			TotalCurrency	50
			TotalCount	12
			MaxActive	8
			SpawnCount	1
			WaitBeforeStarting	4
			WaitBetweenSpawns	0.5
			Where	spawnbot_carrier_2
			TFBot
				{
					Template	T_TFBot_Demo_Burst
					Tag common
				}
		}
		WaveSpawn
		{
			Name	W1_SW1c
			TotalCurrency	50
			TotalCount	12
			MaxActive	8
			SpawnCount	1
			WaitBeforeStarting	4
			WaitBetweenSpawns	0.1
			Where	spawnbot_carrier_1
			TFBot
				{
					Template	T_TFBot_Demoman_Knight
					Tag common
					Item	"Ali Baba's Wee Booties"
				}
		}
		WaveSpawn
		{
			Name	W1_SW1d
			TotalCurrency	200
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting  4
			WaitBetweenSpawns	0
			FirstSpawnOutput
            {
                Target wave_start_relay
                Action RunScriptCode
                Param "ClientPrint(null, 3, `\x079ACDFF Alert! A Charging Tank approaches at the front with \x07ADFF9A15,000 HP`)"
            }

            tank
            {
                Name "targetank_color"
                StartingPathTrackNode "tank_path_B"
				ClassIcon tank_targe  
                Health 15000
                Speed 80
                Skin 0

                OnKilledOutput {}
                OnBombDroppedOutput
                {
                    Target boss_deploy_relay
                    Action Trigger
                }
            }
        }
		WaveSpawn
		{
			Name	W1_SW2a
			WaitForAllDead	W1_SW1b
			TotalCurrency	75
			TotalCount	15
			MaxActive	7
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0.5
			Where	spawnbot_carrier_1
			TFBot
				{
					Template	T_TFBot_Soldier
					Tag common
				}
		}
		WaveSpawn
		{
			Name	W1_SW2b
			WaitForAllDead	W1_SW1b
			TotalCurrency	75
			TotalCount	10
			MaxActive	7
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0.5
			Where	spawnbot_carrier_2
			TFBot
				{
					ClassIcon	pyro_flare_burst_nys
					Health	175
					Name	"Flare Burst Pyro"
					Class	Pyro
					Skill	Hard
					Tag common
					WeaponRestrictions	SecondaryOnly
					ItemAttributes
					{
						ItemName "The Flare Gun"
						"fire rate penalty" 1.2
						"mult projectile count" 3
						"projectile spread angle penalty" 2
					}
					CharacterAttributes
					{
						"hand scale" 1.2
					}
					Item "The Flare Gun"
					Item "The Triclops"
				}
		}
		WaveSpawn
		{
			Name	W1_SW2c
			WaitForAllDead	W1_SW1a
			TotalCurrency	100
			TotalCount	5
			MaxActive	5
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	3
			Where	spawnbot_carrier_1
			TFBot
				{
					ClassIcon	demoknight_olive_entropy
					Health	1975
					Name	"Giant Olive Drunkard"
					Scale	1.7
					Class	Demoman
					Skill	Hard
					WeaponRestrictions	MeleeOnly
					Tag	big_giants
					Attributes	"MiniBoss"
					CustomEyeGlowColor "128 128 0"  
					ItemAttributes
					{
						ItemName	"The Scottish Handshake"
						"minicritboost on kill"	3
						"fire rate bonus"	0.9
					}
					CharacterAttributes
					{
						"Attack not cancel charge"	1
						"move speed bonus"	0.65
						"damage force reduction"	0.5
						"override footstep sound set"	4
						"airblast vulnerability multiplier"	0.5
					}
					Item	"The Splendid Screen"
					Item	"The Scottish Handshake"
					Item 	"olive_hat"  
					Item	"olive_fannypack"  
					Item	"Ali Baba's Wee Booties"
				}
		}
	}
	Wave // wave 2
	{
		WaitWhenDone	65
		InitWaveOutput
		{
			Target BigNet
			Action RunScriptCode
			Param "
			EntFire(`robotpath_blue_relay`,`Trigger`,null,5.60)
			"
		}
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	W2_SW1a
			TotalCurrency	250
			TotalCount	8
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	2
			WaitBetweenSpawns	10
			Where	spawnbot_carrier_1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Burst
					Tag big_giants
				}
				TFBot
				{
					Template	T_TFBot_Medic
					Tag common
				}
				TFBot
				{
					Template	T_TFBot_Medic
					Tag common
				}
				TFBot
				{
					Template	T_TFBot_Medic
					Tag common
				}
			}
		}
		WaveSpawn
		{
			Name	W2_SW1b
			TotalCurrency	50
			TotalCount	12
			MaxActive	6
			SpawnCount	1
			WaitBeforeStarting	3
			WaitBetweenSpawns	1
			Where	spawnbot_carrier_1
			TFBot
				{
					Template T_TFBot_Soldier
					Skill Normal
					Tag common
				}
		}
		WaveSpawn
		{
			Name	W2_SW1c
			TotalCurrency	50
			TotalCount	6
			MaxActive	6
			SpawnCount	1
			WaitBeforeStarting	3
			WaitBetweenSpawns	1
			Where	spawnbot_carrier_2
			TFBot
				{
					Template	T_TFBot_Scout_Homewrecker
					Tag common
				}
		}
		WaveSpawn
		{
			Name	W2_SW2a
			WaitForAllDead	W2_SW1a
			TotalCurrency	200
			TotalCount	9
			MaxActive	9
			SpawnCount	3
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			Where	spawnbot_carrier_1
			Squad
			{
				TFBot
				{
					ClassIcon soldier_fast2
					Health	2500
					Name	"Giant Olive Soldier"
					Template	T_TFBot_Giant_Soldier
					Tag	big_giants
					CustomEyeGlowColor "128 128 0"  
					ItemAttributes
					{
						ItemName	TF_WEAPON_ROCKETLAUNCHER
						"fire rate bonus"	0.4
						"faster reload rate"	0.4
						"clip size bonus"	2
						"Projectile speed increased" 1.2
					}
					CharacterAttributes
					{
						"move speed bonus"	0.65
						 
					}
					Item "olive_hat"  
					Item "olive_boots"  
					Item "olive_fannypack"  
				}
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Concheror
					Tag common
				}
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Concheror
					Tag common
				}
			}
		}
		WaveSpawn
		{
			Name	W2_SW2b
			WaitForAllDead	W2_SW1c
			TotalCurrency	75
			TotalCount	20
			MaxActive	6
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0.1
			Where	spawnbot_carrier_1
			TFBot
				{
					ClassIcon	demoknight_olive_entropy
					Health	120
					Name	"Olive Drunkard"
					Class	Demoman
					Skill	Hard
					Tag common
					CustomEyeGlowColor "128 128 0"  
					ItemAttributes
					{
						ItemName	"The Scottish Handshake"
						"minicritboost on kill"	5
						"fire rate bonus" 0.85
					}
					CharacterAttributes
					{
						"Attack not cancel charge"	1
						"move speed bonus"	1.2
						 
					}
					Item "The Tide Turner"
					Item "The Scottish Handshake"
					Item "olive_hat"  
					Item "olive_fannypack"  
					Item "Ali Baba's Wee Booties"
				}
		}
		WaveSpawn
		{
			Name	W2_SW2c
			WaitForAllDead	W2_SW1b
			TotalCurrency	75
			TotalCount	20
			MaxActive	6
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0.1
			Where	spawnbot_carrier_2
			TFBot
				{
					ClassIcon	heavy_crit
					Health	300
					Name	Heavy
					Class	Heavyweapons
					Skill	Easy
					Tag common
					WeaponRestrictions	PrimaryOnly
				}
		}
		WaveSpawn
		{
			Name	W2_SW3
			WaitForAllDead	W2_SW2a
			TotalCurrency	200
			TotalCount	4
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot_mission_boss
			Squad
			{
				TFBot
				{
					ClassIcon heavy_fast2
					Health	3500
					Name	"Giant Olive Heavy"
					Template	T_TFBot_Giant_Heavyweapons
					Tag	big_giants
					CustomEyeGlowColor "128 128 0"  
					ItemAttributes
					{
						ItemName	TF_WEAPON_MINIGUN
						"minigun spinup time decreased"	0.01
						"fire rate bonus" 0.7
						"minigun full movement" 1  
						"damage bonus" 1.2
					}
					CharacterAttributes
					{
						"move speed bonus"	0.65
						 
					}
					Item "olive_hat"  
					Item "olive_boots"  
					Item "olive_fannypack"  
				}
				TFBot
				{
					Template	T_TFBot_Medic
					Tag common
				}
				TFBot
				{
					Template	T_TFBot_Medic
					Tag common
				}
				TFBot
				{
					Template	T_TFBot_Medic
					Tag common
				}
			}
		}
	}
	Wave // wave 3
	{
		WaitWhenDone	65
		InitWaveOutput
        {
            Target BigNet
            Action runscriptcode
            Param "
			 EntFire(`robotpath_yellow_relay`,`Trigger`,null,5.60)
			 IncludeScript(`tankextensions_main`, getroottable())
			 IncludeScript(`tankextensions/painttank`)
			 "
		}
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	W3_SW1a
			TotalCurrency	100
			TotalCount	4
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	2
			WaitBetweenSpawns	0
			Where	spawnbot_carrier_1
			FirstSpawnWarningSound vo/mvm/mght/scout_mvm_m_domination13.mp3
			TFBot
				{
					Template	T_TFBot_Giant_Scout_FAN
					Tag	big_giants
				}
		}
		WaveSpawn
		{
			Name	W3_SW1b
			TotalCurrency	50
			TotalCount	16
			MaxActive	16
			SpawnCount	1
			WaitBeforeStarting	3
			WaitBetweenSpawns	0
			Where	spawnbot_carrier_2
			TFBot
				{
					Skill	Hard
					Template	T_TFBot_Scout_FAN
					Tag common
				}
		}
		WaveSpawn
		{
			Name W3_SW1T1
			TotalCurrency	200
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting  6
			WaitBetweenSpawns	0
			FirstSpawnOutput
            {
                Target wave_start_relay
                Action RunScriptCode
                Param "ClientPrint(null, 3, `\x079ACDFF Alert! An Olive Tank speeds through the front with \x07ADFF9A5,000 HP`)"
            }

            tank
            {
                Name "painttank|128 128 0"
                StartingPathTrackNode "tank_path_A"
				ClassIcon "tankspeed"  
                Health 5000
                Speed 150
                Skin 0

                OnKilledOutput {}
                OnBombDroppedOutput
                {
                    Target boss_deploy_relay
                    Action Trigger
                }
            }
        }
		WaveSpawn
		{
			Name W3_SW1T2
			WaitForAllDead W3_SW1T1
			TotalCurrency	200
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting  0
			WaitBetweenSpawns	0
			FirstSpawnOutput
            {
                Target wave_start_relay
                Action RunScriptCode
                Param "ClientPrint(null, 3, `\x079ACDFF Alert! An Olive Tank speeds through the flank with \x07ADFF9A5,000 HP`)"
            }

            tank
            {
                Name "painttank|128 128 0"
                StartingPathTrackNode "tank_path_C"
				ClassIcon "tankspeed"  
                Health 5000
                Speed 150
                Skin 0

                OnKilledOutput {}
                OnBombDroppedOutput
                {
                    Target boss_deploy_relay
                    Action Trigger
                }
            }
        }
		WaveSpawn
		{
			Name	W3_SW2a
			WaitForAllDead	W3_SW1b
			TotalCurrency	50
			TotalCount	15
			MaxActive	5
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0.5
			Where	spawnbot_carrier_2
			TFBot
				{
					ClassIcon	pyro_fast2
					Health	110
					Name	"Olive Pyro"
					Class	Pyro
					Skill	Normal
					WeaponRestrictions	PrimaryOnly
					Tag common
					CustomEyeGlowColor "128 128 0"  
					ItemAttributes
					{
						ItemName	TF_WEAPON_FLAMETHROWER
						"airblast disabled"	1
					}
					CharacterAttributes
					{
						"move speed bonus"	1.4
						 
					}
					Item "The Professor's Pineapple"
					Item "olive_hat"  
					Item "olive_boots"  
				}
		}
		WaveSpawn
		{
			Name	W3_SW2b
			WaitForAllDead	W3_SW1b
			TotalCurrency	50
			TotalCount	12
			MaxActive	6
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0.5
			Where	spawnbot_carrier_1
			TFBot
				{
					ClassIcon	heavy_heater
					Health	300
					Name	"Heater Heavy"
					Class	Heavyweapons
					Skill	Easy
					WeaponRestrictions	PrimaryOnly
					Tag common
					Item	"The Huo Long Heatmaker"
					Item	"The Bunsen Brave"
				}
		}
		WaveSpawn
		{
			Name	W3_SW2c
			WaitForAllDead	W3_SW1a
			TotalCurrency	100
			TotalCount	8
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			Where	spawnbot_mission_boss
			Squad
			{
				TFBot
				{
					Name	"Giant Heater Heavy"
					Template	T_TFBot_Heavyweapons_Heater
					Tag	big_giants
					Item	"The Bunsen Brave"
				}
				TFBot
				{
					Template	T_TFBot_Medic
					Tag common
				}
				TFBot
				{
					Template	T_TFBot_Medic
					Tag common
				}
				TFBot
				{
					Template	T_TFBot_Medic
					Tag common
				}
			}
		}
		WaveSpawn
		{
			Name	W3_SW3a
			WaitForAllDead	W3_SW2c
			TotalCurrency	50
			TotalCount	18
			MaxActive	12
			SpawnCount	1
			Support 1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0.5
			Where	spawnbot_carrier_2
			TFBot
				{
					ClassIcon	scout_fastaf
					Health	90
					Name	"Olive Scout"
					Class	Scout
					Skill	Normal
					WeaponRestrictions	PrimaryOnly
					Tag common
					Attributes HoldFireUntilFullReload
					ItemAttributes
					{
						ItemName	TF_WEAPON_SCATTERGUN
						"fire rate bonus" 0.7
						"faster reload rate" 0.3
					}
					CharacterAttributes
					{
						"move speed bonus"	1.3
					}
					Item 	"olive_hat"  
					Item	"olive_fannypack"  
					Item	"olive_boots"  
				}
		}
		WaveSpawn
		{
			Name	W3_SW3c
			WaitForAllDead	W3_SW2c
			TotalCurrency	100
			TotalCount	9
			MaxActive	6
			SpawnCount	3
			WaitBeforeStarting	0
			WaitBetweenSpawns	5
			Where	spawnbot_carrier_1
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Pyro_Dragon_Fury
					Tag big_giants
				}
				TFBot
				{
					Template T_TFBot_Soldier_DirectHit
					Skill Expert
				}
				TFBot
				{
					Template T_TFBot_Soldier_DirectHit
					Skill Expert
				}
			}
		}
	}
	Wave // wave 4
	{
		WaitWhenDone	65
		InitWaveOutput
		{
			Target BigNet
			Action RunScriptCode
			Param "
			EntFire(`robotpath_green_relay`,`Trigger`,null,5.60)
			IncludeScript(`tankextensions_main`, getroottable())
			IncludeScript(`tankextensions/blimp`)
			IncludeScript(`tankextensions/combattank`)
			IncludeScript(`tankextensions/combattank_weapons/rocketpod`)
			IncludeScript(`tankextensions/combattank_weapons/fireball`)
			IncludeScript(`tankextensions/combattank_weapons/cannon`)
			"
		}
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	W4_T1
			TotalCurrency	200
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting  0
			WaitBetweenSpawns	0
			FirstSpawnOutput
            {
                Target wave_start_relay
                Action RunScriptCode
                Param "ClientPrint(null, 3, `\x079ACDFF Alert! A Blimp approaches from the olives with \x07ADFF9A15,000 HP`)"
            }
            tank
            {
                Name "blimp_customparticles"
                StartingPathTrackNode "blimp_path_B"
				ClassIcon blimp2_lite  
                Health 15000
                Speed 75
                Skin 0

                OnKilledOutput {}
                OnBombDroppedOutput
                {
                    Target boss_deploy_relay
                    Action Trigger
                }
            }
        }
		WaveSpawn
		{
			Name	W4_T2
			TotalCurrency	175
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting  30
			WaitBetweenSpawns	0
			FirstSpawnOutput
            {
                Target wave_start_relay
                Action RunScriptCode
                Param "ClientPrint(null, 3, `\x079ACDFF Alert! A Combat Tank approaches from the front with \x07ADFF9A15,000 HP`)"
            }
			tank
            {
                Name "combattank_bomb|cannon"
                StartingPathTrackNode "combat_tank_path_B"
				ClassIcon tank_combat_cannon_kai  
                Health 13000
                Speed 75
                Skin 1

                OnKilledOutput {}
                OnBombDroppedOutput
                {
                    Target boss_deploy_relay
                    Action Trigger
                }
            }
        }
		//WaveSpawn
		//{
		//	Name	W4_T3
		//	TotalCurrency	150
		//	TotalCount	1
		//	MaxActive	1
		//	SpawnCount	1
		//	WaitBeforeStarting  65
		//	WaitBetweenSpawns	0
		//	FirstSpawnOutput
        //    {
        //        Target wave_start_relay
        //        Action RunScriptCode
        //         Param "ClientPrint(null, 3, `\x079ACDFF Alert! A Patrolling Combat Tank approaches from the flank with \x07ADFF9A15,000 HP`)"
        //    }
		//	tank
        //    {
        //        Name "combattank|rocketpod|fireball"
        //        StartingPathTrackNode "combat_tank_loop_A"
		//		ClassIcon tank_combat_rocket_dragon_fury_kai  
        //        Health 15000
        //        Speed 80
        //        Skin 1
		//
        //        OnKilledOutput {}
        //        OnBombDroppedOutput
        //        {
        //            Target boss_deploy_relay
        //           Action Trigger
        //        }
        //    }
        //}
		WaveSpawn
		{
			Name	W4_SW1a
			TotalCurrency	100
			TotalCount	4
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	2
			WaitBetweenSpawns	10
			Where	spawnbot_carrier_1
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Heavy_Deflector
					Tag big_giants
				}
				TFBot
				{
					Template T_TFBot_Giant_Medic_Kritzkrieg
					Tag big_giants
				}
			}
		}
		WaveSpawn
		{
			Name	W4_SW1b
			TotalCurrency	25
			TotalCount	15
			MaxActive	6
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	1
			Where	spawnbot_carrier_2
			TFBot
				{
					Template T_TFBot_Demoman_LochnLoad
					Tag common
				}
		}
		WaveSpawn
		{
			Name	W4_SW1c
			TotalCurrency	25
			TotalCount	15
			MaxActive	6
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	1
			Where	spawnbot_carrier_2
			TFBot
				{
					Template T_TFBot_Demoman_Stickybomb
					Tag common
				}
		}
		WaveSpawn
		{
			Name	W4_SW2a
			WaitForAllDead W4_SW1a
			TotalCurrency	100
			TotalCount	9
			MaxActive	9
			SpawnCount	3
			WaitBeforeStarting	0
			WaitBetweenSpawns	5
			Where	spawnbot_carrier_1
			Squad
			{
				TFBot
				{
					Template _TFBot_Giant_Demoman
					ClassIcon demo_fast2
					Name "Giant Olive Demoman"
					Health 2700
					Tag big_giants

					ItemAttributes
					{
						ItemName	"TF_WEAPON_GRENADELAUNCHER"
						"fire rate bonus" 0.4
						"faster reload rate" 0.3
						"clip size bonus" 2
						"Projectile speed increased" 1.2
					}
					CharacterAttributes
					{
						"move speed bonus"	0.65
					}
				}
				TFBot
				{
					Template T_TFBot_Soldier_Extended_Concheror
					Tag common
				}
				TFBot
				{
					Template T_TFBot_Soldier_Extended_Concheror
					Tag common
				}
			}
		}
		WaveSpawn
		{
			Name	W4_SW2b
			WaitForAllDead W4_SW1c
			TotalCurrency	25
			TotalCount	15
			MaxActive	6
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0.5
			Where	spawnbot_carrier_2
			TFBot
				{
					Template T_TFBot_Soldier_Bison_Spammer
					Tag common
				}
		}
		WaveSpawn
		{
			Name	W4_SW2S1
			WaitForAllDead W4_SW2b
			TotalCurrency	50
			Support 1
			MaxActive	6
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0.5
			Where	spawnbot_carrier_1
			TFBot
				{
					Name "Olive Flavoured Bonk Scout"
					Class Scout
					Health 90
					ClassIcon scout_bonk_fast
					Skill Hard
					Attributes AlwaysCrit
					Tag common
					WeaponRestrictions MeleeOnly
					CustomEyeGlowColor "128 128 0"  
					ItemAttributes
					{
						ItemName	"TF_WEAPON_BAT"
						"fire rate bonus" 1.3
					}
					CharacterAttributes
					{
						"move speed bonus"	1.3
					}
					Item	"Bonk! Atomic Punch"
					Item 	"olive_hat"  
					Item	"olive_fannypack"  
					Item	"olive_boots"  
				}
		}
		WaveSpawn
		{
			Name	W4_SW2S2
			WaitForAllDead W4_SW2a
			TotalCurrency	50
			Support 1
			MaxActive 6
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	5
			Where	spawnbot_carrier_1
			TFBot
				{
					ClassIcon	demoknight_olive_entropy
					Health	1975
					Name	"Giant Olive Drunkard"
					Scale	1.7
					Class	Demoman
					Skill	Hard
					WeaponRestrictions	MeleeOnly
					Tag	big_giants
					Attributes	"MiniBoss"
					CustomEyeGlowColor "128 128 0"  
					ItemAttributes
					{
						ItemName	"The Scottish Handshake"
						"minicritboost on kill"	3
						"fire rate bonus"	0.8
					}
					CharacterAttributes
					{
						"Attack not cancel charge"	1
						"move speed bonus"	0.65
						"damage force reduction"	0.5
						"override footstep sound set"	4
						"airblast vulnerability multiplier"	0.5
					}
					Item	"The Splendid Screen"
					Item	"The Scottish Handshake"
					Item 	"olive_hat"  
					Item	"olive_fannypack"  
					Item	"Ali Baba's Wee Booties"
				}
		}
	}
}