#base robot_giant.pop
#base robot_standard.pop
#base robot_gatebot.pop
population
{
	StartingCurrency	20000
	RespawnWaveTime	6
	CanBotsAttackWhileInSpawnRoom	no
	RobotLimit 25

	PrecacheModel "models/bots/soldier/bot_trooper_boss.mdl"
	PrecacheModel "models/bots/soldier/gibhelmetcrit_boss.mdl"
	PrecacheModel "models/bots/soldier/bot_soldier_boss_gibby.mdl"
	PrecacheModel "models/bots/soldier/bot_soldier_gray_boss.mdl"
	PrecacheModel "models/bots/soldier/bot_saxtron_v2.mdl"

	// setpos 2234.335693 -361.419739 260.031311;setang 4.950000 -89.646553 0.000000
	ExtraSpawnPoint 
	{
		Name "spawnbot_red"
		TeamNum 6
		X	"2234.335693"
		Y	"-361.419739"
		Z	"260.031311" // 449
	}
	Templates
	{
	}
	CustomWeapon
	{
		Name "Chief Dragon Heavy"
		OriginalItemName "The Huo Long Heatmaker"
		"max health additive bonus" 59700
		"model scale" 2.2
		"is miniboss" 1
		"move speed bonus" 0.45
		"airblast vulnerability multiplier" 0.1
		"damage force reduction" 0.1
		"damage bonus" 1.0
		"minicrit vs burning player" 1
		"fire rate bonus" 0.35
		"weapon burn time increased" 1.5
		"weapon spread bonus" 1.225
		"minigun spinup time increased" 1.3
	}
	CustomWeapon
	{
		Name "Giant Boost Scout"
		OriginalItemName "The Soda Popper"
		"max health additive bonus" 1375
		"health regen" 10
		"model scale" 1.75
		"is miniboss" 1
		"move speed bonus" 1.25
		"damage bonus" 1.33
		"bullets per shot bonus" 4
		"clip size penalty" 0.17
		"speed_boost_on_hit" 3
		"increase buff duration" 3
		"cancel falling damage" 1
	}
	CustomWeapon
	{
		Name "Giant Laser Soldier"
		OriginalItemName "The Righteous Bison"
		"max health additive bonus" 4300
		"health regen" 20
		"model scale" 1.9
		"is miniboss" 1
		"move speed bonus" 0.5
		"damage bonus" 1.00
		"clip size bonus upgrade" 4.00
		"Projectile speed increased HIDDEN" 2.50
		"Reload time decreased" 0.20
		"fire rate bonus" 0.20
	}
	CustomWeapon
	{
		Name "Giant Laser Soldier Mangler"
		OriginalItemName "The Cow Mangler 5000"
		"model scale" 1.9
		"is miniboss" 1
		"damage bonus" 1.75
		"Reload time decreased" 1
		"weapon burn time increased" 1.5
		"weapon burn dmg increased" 4
		"Reload time decreased" 4.00
		"fire rate bonus" 2.00
		"Blast radius increased" 1.30
	}
	CustomWeapon
	{
		Name "Giant Brass Knuckles"
		OriginalItemName "The Eviction Notice"
		"model scale" 1.9
		"is miniboss" 1
		"max health additive bonus" 3700
		"move speed bonus" 0.7
		"fire rate bonus" 0.30
		"healing received bonus" 2
		"health drain medic" -40
		"bleeding duration" 10
		"mod_maxhealth_drain_rate" 0
		"heal on hit for slowfire" 5
		"crits_become_minicrits" 1
	}
	PlayerAttributes  
	{
		"ammo regen" 1
		"hidden primary max ammo bonus" 5
		//"health regen" 40
	}
	
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			TotalCurrency	0
			TotalCount	10
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			Support Limited
			Where	spawnbot_red
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Soldier
					Name    "Lord Cockswainn"
					Skill Expert
					Item "Giant Laser Soldier"
					Item "Lord Cockswain's Novelty Mutton Chops and Pipe"
					Item "Lord Cockswain's Pith Helmet"
					WeaponRestrictions SecondaryOnly
					Attributes UseBossHealthBar
					Action Mobber
					CharacterAttributes
					{
						"crit mod disabled" 0
						"ammo regen" 1
						"force distribute currency on death" 0
						"airblast disabled" 1
					}
					AddCond  
					{
						Name TF_COND_REPROGRAMMED
					}
				}
			}
		}
		WaveSpawn
		{
			TotalCurrency	0
			TotalCount	10
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Health 15000
					Template T_TFBot_Giant_Soldier
					Attributes UseBossHealthBar
					ItemAttributes
					{
						ItemName tf_weapon_rocketlauncher
						"fire rate bonus" 999
						"damage bonus" 0
					}
					Action Mobber
				}
			}
		}
		WaveSpawn
		{
			TotalCurrency	0
			TotalCount	99
			MaxActive	99
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0.25
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Class	Scout
					Skill	Easy
					ItemAttributes
					{
						ItemName	tf_weapon_scattergun
						"fire rate bonus"	999
						"damage bonus" 0
					}
					Action Mobber
				}
			}
		}	
	}
}