//
// Starting Currency: 4800
//
// +----------+----------+----------+
// | Wave     | Currency | A+       |
// +----------+----------+----------+
// | Wave 1   | 600      | 700      |
// | Wave 2   | 650      | 750      |
// | Wave 3   | 750      | 850      |
// | Wave 4   | 750      | 850      |
// | Wave 5   | 700      | 800      |
// | Wave 6   | 1100     | 1200     |
// +----------+----------+----------+
// | Total    | 4550     | 5150     |
// +----------+----------+----------+
//
#base robot_giant.pop
#base robot_standard.pop
#base robot_gatebot.pop
population
{
	StartingCurrency	400
	RespawnWaveTime	3
	CanBotsAttackWhileInSpawnRoom	No
	Advanced	1
	RobotLimit 25  
	//PrecacheModel	models/bots/boss_bot/boss_tank_ubered.mdl  
	ClassLimit   //Limits the number of specified classes
	{
		Medic 0
		//Sniper 0
		//Spy	0
	}
	DisallowUpgrade	"ubercharge"	 
	DisallowUpgrade	"critboost"		 
	Templates
	{
		T_TFBot_Medic_Kritzkrieg_Armored
		{
			ClassIcon	medic_kritz2_armored_lite
			Health	650
			Scale	1.35
			Name	"Armored Kritzkrieg Medic"
			Class	Medic
			Skill	Expert
			Item	"the kritzkrieg"
			Item	"berlin brain bowl"
			Item	"bunnyhopper's ballistics vest"
			Attributes	"SpawnWithFullCharge"
			ItemAttributes
			{
				ItemName "the kritzkrieg"
				"heal rate bonus" 1.25
				"uber duration bonus" 621 // h.
				"ubercharge rate bonus" 25 // 1.6s to build kritz
			}
			CharacterAttributes
			{
				"bot medic uber health threshold" 700  //  Any number higher than their max addit. hp will trigger Behaviour MedicUber//
				"bot medic uber deploy delay duration" 0
			}
		}
		T_TFBot_Giant_Heavyweapons_HealOnKill_Fixed
		{
			Class Heavyweapons
			Name "Giant Hok Deflector Heavy"
			ClassIcon heavy_deflector_healonkill
			Skill Expert
			Health 5000
			Item	"The Tungsten Toque"
			Item	"Deflector"
			WeaponRestrictions PrimaryOnly
			MaxVisionRange 1200
			Attributes MiniBoss
			ItemAttributes
			{
				ItemName "Deflector"
				"damage bonus"	1.2
				"attack projectiles" 2
				// "weapon spread bonus" 1
				// "fire rate penalty" 4
				//"heal on kill" 5000
				"heal on kill"	2500
			}
			CharacterAttributes
			{
				"move speed bonus"	0.5
				"damage force reduction" 0.3
				"airblast vulnerability multiplier" 0.3
				"override footstep sound set" 2
			}
		}
		T_TFBot_Giant_Mechanogher
		{
			Action	FetchFlag  
			ClassIcon	engineer_ranger_spammer_penetrate_hyper
			Health	20000
			Name	Mechanogher
			Class	Engineer
			Skill	Expert
			WeaponRestrictions	PrimaryOnly
			Attributes	"MiniBoss"
			Attributes	"UseBossHealthBar"
			Attributes	"HoldFireUntilFullReload"
			Item	"the rescue ranger"
			//Item	"texas tin-gallon"
			Item	"the antarctic researcher"
			ItemAttributes
			{
				ItemName	"the rescue ranger"
				"projectile penetration"	1
				"damage bonus"	2
				//"mod max primary clip override"	-1
				"faster reload rate"	0.25
				"fire rate bonus"	0.45
				"dmg bonus vs buildings"	3.25
			}
			CharacterAttributes
			{
				"move speed bonus"	0.5
				"airblast vulnerability multiplier"	0.4
				"damage force reduction"	0.4
				"override footstep sound set"	3
				"head scale"	0.75
			}

		}
	}
	Mission
	{
		Objective	DestroySentries
		Where	spawnbot
		BeginAtWave	1
		RunForThisManyWaves	3
		InitialCooldown	15
		CooldownTime	25
		DesiredCount	1
		TFBot
		{
			Template	T_TFBot_SentryBuster
		}
	}
	Mission
	{
		Objective	DestroySentries
		Where	spawnbot
		BeginAtWave	4
		RunForThisManyWaves	6
		InitialCooldown	15
		CooldownTime	20
		DesiredCount	1
		TFBot
		{
			Template	T_TFBot_SentryBuster
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		InitWaveOutput
		{
			Target bignet
			Action RunScriptCode
			Param
			"IncludeScript(`tankextensions_main`, getroottable())
			IncludeScript(`tankextensions/ubertank`, getroottable())"
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	3b
			//WaitForAllSpawned	3a
			TotalCurrency	25
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	9
			WaitBetweenSpawns	9
			Where	spawnbot
			TFBot
			{
				//Template	T_TFBot_Giant_Heavyweapons_Deflector
				Name	"Giant Heal-on-Kill Heater Heavy"
				Template	T_TFBot_Heavyweapons_Heater
				ClassIcon	heavy_heater_nys_heal
				ItemAttributes
				{
					ItemName	"The Huo Long Heatmaker"
					"damage bonus"	1.25
					"heal on kill"	2500
				}
			}
		}
	}
}