//Giant Soldier by Koishi (SHADoW NiNE TR3S)

// Dependencies:
// Dynamic Defaults: https://forums.alliedmods.net/showthread.php?t=258090
// TFConditions: https://forums.alliedmods.net/showthread.php?t=263598
// SHADoW93's Abilities: https://forums.alliedmods.net/showthread.php?t=272190

// BGM:
// Rocket Jump Waltz remix: https://www.youtube.com/watch?v=1q14zxERnpc

"character"
{
	"name"					"Major Crits"
	"class"					"3"	
	"model"					"models/bots/soldier_boss/bot_soldier_boss2.mdl"
	"ragedist"				"1024.0"
	"maxspeed"				"120"
	"health_formula"		"(((2000+n)*(n-1))^1.04)+4096"
	"ragedamage"			"4000"	
	"description_en" "Major Crits:\n'Mann Up, LADIES!'\nNo Super Jump! Use your grapple hook (or wait a few seconds to use your teleport)\nWeigh-down: in midair, look down and crouch.\nRage (Hidden Ubercharge): Call for Medic to activate.\nPress slot6 key (6 key) to switch to hook, press and hold primary fire (mouse 1) to deploy."
	"weapon1"
	{
		"name"				"tf_weapon_grapplinghook"
		"index"				"1152"
		"show"				"1"
		"attributes"		"63 ; 1.5 ; 241 ; 3 ; 280 ; 26 ; 547 ; 0 ; 199 ; 0 ; 712 ; 1 ; 1 ; 0.0"
	}	
	"weapon2"
	{
		"name"				"tf_weapon_rocketlauncher"
		"index"				"18"
		"show"				"1"
		"attributes"		"1 ; 0.1 ; 4 ; 7.5 ; 6 ; 0.2 ; 15 ; 1 ; 97 ; 0.4 ; 104 ; 0.4 ; 112 ; 9 ; 252 ; 0.4 ; 257 ; 0.1 ; 411 ; 5 ; 413 ; 1"
		// 1: -90% Damage Penalty (to counterbalance FF2's auto 200%/210% damage bonus, to reduce the crit damage output)
		// 4: +750% Clip Size (for the full 30 rocket clip)
		// 6:+80% Reload Speed
		// 15: No random critical hits
		// 97: +60% Faster Reload Time
		// 104: -60% Projectile speed
		// 112: 900% ammo regen (Max ammo is 20 anyway)
		// 252: -60% reduction in push force taken from damage
		// 257: Extra +90% vertical airblast resistance
		// 411: 5 degree random projectile deviation
		// 413: Hold fire to load clip
	}				
	"ability1"
	{
		"name" "dynamic_weighdown"
		
		// slot is ignored
		"arg1"	"0" // 1 = disabled by default (can only be re-enabled in code)
		"arg2"	"0" // number of uses. set to 0 to be infinite.
		"arg3"	"1.0" // the hale's normal gravity. this will practically always be 1.0
		
		// strings
		"arg19"	"You have used weighdown!"
		
		"plugin_name"	"ff2_dynamic_defaults"
	}
	"ability2"
	{
		"name" "dynamic_teleport"
		
		// slot is not used
		"arg1"	"10.0" // charge time
		"arg2"	"30.0" // teleport cooldown
		"arg5"	"0" // uses remaining. set to zero for infinite.
		"arg6"	"10.0" // initial delay before use. probably will be same as arg2
		"arg7"	"100.0" // min damage before emergency teleport becomes available
		"arg8"	"1" // 1 = try teleporting above the target first, 0 = don't
		"arg9"	"1" // 1 = try teleporting to the side of the target first, 0 = don't (note that in rare cases the hale may end up falling when they teleport. this will only happen if the player is by a steep non-90 degree slope)
		"arg10"	"1.5" // duration of stun. can be zero.
		"arg11"	"0" // 1 = use RELOAD instead of ALT-FIRE		
		"arg16"	"No one left to teleport to! (spectator glitch)" // teleport fail message. it'll only happen if arg12 is set to 1, or the spectator glitch happens.
		"arg17"	"EMERGENCY TELEPORT! Look up, press and release ALT-FIRE." // emergency teleport message message
		"arg18"	"Teleport is not ready. %.1f seconds remaining." // cooldown message
		"arg19"	"Teleport is ready. %.0f percent charged.\nHold ALT-FIRE until fully charged, look up, and release." // charge message
		
		"plugin_name"	"ff2_dynamic_defaults"
	}
    "ability3"
	{
		"name"	"rage_tfcondition"
		"arg1" "51 ; 30" // Boss Conditions (TFCond ; Duration)
		"plugin_name"	"ff2_tfcond"
	}
    "ability4"
	{
		"name"	"tfconditions"
		"arg1" "33 ; -1 ; 74 ; -1" // Conditions for boss to start round with (TFCond ; Duration)
		"plugin_name"	"ff2_tfcond"
	}
	"ability5"
	{
		"name"	"roboticize"
		"arg1"	"1"
		"plugin_name" "shadow93_abilities"
	}
	"ability6"
	{
		"name" "revive_markers"
		"arg1"	"30.0"	// Decay Time"
		"plugin_name" "shadow93_abilities"
	}
	// models, sounds, whatever come later
	"sound_begin"
	{
		"1" "vo/mvm/mght/taunts/soldier_mvm_m_taunts06.mp3"
		"2" "vo/mvm/mght/taunts/soldier_mvm_m_taunts07.mp3"
		"3" "vo/mvm/mght/taunts/soldier_mvm_m_taunts15.mp3"
		"4" "vo/mvm/mght/taunts/soldier_mvm_m_taunts16.mp3"
	}	
	"sound_win"
	{
		"1"	"vo/mvm/mght/taunts/soldier_mvm_m_taunts10.mp3"
	}
	"sound_death"
	{
		"1"	"mvm/giant_soldier/giant_soldier_explode.wav"
	}
	"sound_kill_engineer"
	{
		"1" "vo/mvm/mght/soldier_mvm_m_dominationengineer03.mp3"
		"2" "vo/mvm/mght/soldier_mvm_m_dominationengineer04.mp3"
		"3" "vo/mvm/mght/soldier_mvm_m_dominationengineer05.mp3"
		"4" "vo/mvm/mght/soldier_mvm_m_dominationengineer06.mp3"
	}
	"sound_kill_heavy"
	{
		"1" "vo/mvm/mght/soldier_mvm_m_dominationheavy02.mp3"
		"2" "vo/mvm/mght/soldier_mvm_m_dominationheavy05.mp3"
		"3" "vo/mvm/mght/soldier_mvm_m_dominationheavy06.mp3"
		"4" "vo/mvm/mght/soldier_mvm_m_dominationheavy07.mp3"
	}
	"sound_kill_pyro"
	{
		"1" "vo/mvm/mght/soldier_mvm_m_dominationpyro01.mp3"
		"2" "vo/mvm/mght/soldier_mvm_m_dominationpyro02.mp3"
		"3" "vo/mvm/mght/soldier_mvm_m_dominationpyro03.mp3"
		"4" "vo/mvm/mght/soldier_mvm_m_dominationpyro04.mp3"
		"5" "vo/mvm/mght/soldier_mvm_m_dominationpyro05.mp3"
		"6" "vo/mvm/mght/soldier_mvm_m_dominationpyro07.mp3"
		"7" "vo/mvm/mght/soldier_mvm_m_dominationpyro08.mp3"
		"8" "vo/mvm/mght/soldier_mvm_m_dominationpyro09.mp3"
	}
	"sound_kill_scout"
	{
		"1" "vo/mvm/mght/soldier_mvm_m_dominationscout03.mp3"
		"2" "vo/mvm/mght/soldier_mvm_m_dominationscout04.mp3"
		"3" "vo/mvm/mght/soldier_mvm_m_dominationscout05.mp3"
		"4" "vo/mvm/mght/soldier_mvm_m_dominationscout06.mp3"
		"5" "vo/mvm/mght/soldier_mvm_m_dominationscout07.mp3"
		"6" "vo/mvm/mght/soldier_mvm_m_dominationscout08.mp3"
		"7" "vo/mvm/mght/soldier_mvm_m_dominationscout09.mp3"
		"8" "vo/mvm/mght/soldier_mvm_m_dominationscout10.mp3"
		"9" "vo/mvm/mght/soldier_mvm_m_dominationscout11.mp3"
	}
	"sound_kill_soldier"
	{
		"1" "vo/mvm/mght/soldier_mvm_m_dominationsoldier02.mp3"
		"2" "vo/mvm/mght/soldier_mvm_m_dominationsoldier03.mp3"
		"3" "vo/mvm/mght/soldier_mvm_m_dominationsoldier04.mp3"
		"4" "vo/mvm/mght/soldier_mvm_m_dominationsoldier05.mp3"
		"5" "vo/mvm/mght/soldier_mvm_m_dominationsoldier06.mp3"
	}
	"sound_kill_demo"
	{
		"1" "vo/mvm/mght/soldier_mvm_m_dominationdemoman04.mp3"
		"2" "vo/mvm/mght/soldier_mvm_m_dominationdemoman05.mp3"
		"3" "vo/mvm/mght/soldier_mvm_m_dominationdemoman06.mp3"
	}
	"sound_kill_medic"
	{
		"1" "vo/mvm/mght/soldier_mvm_m_dominationmedic03.mp3"
		"2" "vo/mvm/mght/soldier_mvm_m_dominationmedic04.mp3"
		"3" "vo/mvm/mght/soldier_mvm_m_dominationmedic06.mp3"
		"4" "vo/mvm/mght/soldier_mvm_m_dominationmedic07.mp3"
	}
	"sound_kill_sniper"
	{
		"1" "vo/mvm/mght/soldier_mvm_m_dominationsniper01.mp3"
		"2" "vo/mvm/mght/soldier_mvm_m_dominationsniper02.mp3"
		"3" "vo/mvm/mght/soldier_mvm_m_dominationsniper03.mp3"
		"4" "vo/mvm/mght/soldier_mvm_m_dominationsniper04.mp3"
		"5" "vo/mvm/mght/soldier_mvm_m_dominationsniper05.mp3"
		"6" "vo/mvm/mght/soldier_mvm_m_dominationsniper06.mp3"
		"7" "vo/mvm/mght/soldier_mvm_m_dominationsniper12.mp3"
		"8" "vo/mvm/mght/soldier_mvm_m_dominationsniper13.mp3"
	}
	"sound_kill_spy"
	{
		"1" "vo/mvm/mght/soldier_mvm_m_dominationspy01.mp3"
		"2" "vo/mvm/mght/soldier_mvm_m_dominationspy05.mp3"
		"3" "vo/mvm/mght/soldier_mvm_m_dominationspy06.mp3"
		"4" "vo/mvm/mght/soldier_mvm_m_dominationspy07.mp3"
		"5" "vo/mvm/mght/soldier_mvm_m_dominationspy08.mp3"
	}
	"sound_lastman"
	{
		"1"	 "vo/mvm/mght/soldier_mvm_m_jeers06.mp3"
		"2"	 "vo/mvm/mght/taunts/soldier_mvm_m_taunts19.mp3"
		"3"	 "vo/mvm/mght/taunts/soldier_mvm_m_taunts16.mp3"
		"4"	 "vo/mvm/mght/taunts/soldier_mvm_m_taunts17.mp3"
		"5"	 "vo/mvm/mght/taunts/soldier_mvm_m_taunts03.mp3"
	}
	"sound_ability"
	{
		"1" "vo/mvm/mght/taunts/soldier_mvm_m_taunts03.mp3"
		"2" "vo/mvm/mght/taunts/soldier_mvm_m_taunts05.mp3"
		"3" "vo/mvm/mght/taunts/soldier_mvm_m_taunts11.mp3"
		"4" "vo/mvm/mght/taunts/soldier_mvm_m_taunts16.mp3"
		"5" "vo/mvm/mght/taunts/soldier_mvm_m_taunts17.mp3"
	}
	"sound_kspree"
	{
		"1"	"vo/mvm/mght/soldier_mvm_m_laughhappy03.mp3"
	}
	"sound_stabbed"
	{
		"1" "vo/mvm/mght/soldier_mvm_m_painsevere01.mp3"
		"2" "vo/mvm/mght/soldier_mvm_m_painsevere03.mp3"
		"3" "vo/mvm/mght/soldier_mvm_m_jeers07.mp3"
		"4" "vo/mvm/mght/soldier_mvm_m_negativevocalization05.mp3"
	}
	"sound_precache"
	{
		"1" "freak_fortress_2/majorcrits/rocketjumpwaltz.mp3"
	}	
	"sound_bgm"
	{
		"path1" "freak_fortress_2/majorcrits/rocketjumpwaltz.mp3"
		"time1" "266"
	}
	"mod_download"
	{
		"1" "models/bots/soldier_boss/bot_soldier_boss2"
	}
	"download"
	{		
		"1" "sound/freak_fortress_2/majorcrits/rocketjumpwaltz.mp3"
		"2" "models/bots/soldier_boss/bot_soldier_boss2.phy"
	}
}