Skip to content
This repository has been archived by the owner on Sep 4, 2022. It is now read-only.

Example Boss Config

Batfoxkid edited this page Sep 3, 2019 · 26 revisions

Note: Not all boss settings need to be in the config

"character"
{
	"name"			"Saxton Hale"	// Boss name in code
	"name_en"		"Saxton Hale"	// Boss name in English
	"name_ru"		"Saxton Hale"	// Boss name in Russian
	"class"			"3"	// Soldier
	"model"			"models/player/saxton_hale/saxton_hale.mdl"	// Model Filepath
	"ragedist"		"800"	// "RAGE" Ability Range
	"health_formula"	"(((760.8+n)*(n-1))^1.0341)+2046"	// Health based on player count
	"lives"			"1"	// One Life
	"maxspeed"		"340"	// Max Health at 340 HU, Near-Death Heath at 410 HU (+70 of defined "maxspeed")
	"sound_block_vo"	"1"	// No standard Soldier lines
	"companion"		""	// Solo Boss
	"ragedamage"		"(253.6+n)*((n-1)^0.6127)+1444"	// Damage taken for full rage based on player count
	"blocked"		"0"	// Playable/Not A Companion
	"hidden"		"0"	// Visible selection
	"triple"		"0"	// Would not matter in this boss, damage never falls below 160
	"crits"			"1"	// Can random crit
	"knockback"		"0"	// Would also not matter in this boss, no ability for weapon jumps
	"donator"		"0"	// No Donator permission needed
	"admin"			"0"	// No Admin permission needed
	"owner"			"0"	// No Owner permission needed
	"version"		"99"	// Only operates under the fork
	"version_minor"		"11"	// Only operates under 1.11 syncs of the fork
	"version_stable"	"0"	// No specific stable version
	"nofirst"		"0"	// Works on the first boss round
	"ragemin"		"100"	// 100% rage to use
	"ragemax"		"100"	// 100% rage is max amount
	"ragemode"		"0"	// Reset to zero on rage
	"pointtype"		"0"	// Use point alive
	"pointdelay"		"7"	// Add 7 seconds per player (Not used here)
	"pointalive"		"5"	// 5 players alive before unlocking the point
	"pointtime"		"45"	// Initial 45 seconds before unlocking the point (Not used here)
	"countdownhealth"	"2000"	// Below 2000 HP cancels the timer
	"countdownalive"	"1"	// 1 player alive before starting the timer
	"countdowntime"		"120"	// 2 minute-timer
	"countdownovertime"	"0"	// Doesn't go into OVERTIME!
	"icon"			""	// Uses default killstreak icon
	"healing"		"0"	// Blocks healing from all sources
	"fversion"		"1"	// Only operates under version 1 of the fork
	"fversion_minor"	"19"	// Only operates under 1.19 of the fork
	"fversion_stable"	"2"	// Only operates under 1.19.2 of the fork

	"description_en"	"Saxton Hale:\nThe Special Guest from VS Saxton Hale Mode!\Super Jump: alt-fire, look up and stand up.\nWeigh-down: in midair, look down and crouch.\nRage (stun): call for medic when the Rage Meter is full."	// English boss description
	"description_ru"	"Сакстон Хейл:\nОсобый Гость из VS Saxton Hale Mode!\nСупер Прыжок: альт.огонь, посмотри наверх и встань.\nСупер-падение: в воздухе смотри вниз и присядь.\nЯрость (оглушение): сделай насмешку, когда Счетчик Ярости полон."	// Russian boss description

	"weapon1"	// Weapon Number 1
	{
		"name"			"tf_weapon_shovel"	// Weapon is a shovel
		"index"			"5"	// But looks like fists
		"show"			"0"	// Would not matter here, fists don't have a model
		"attributes"		"28 ; 0.2"	// -80% critical hit chance
		"rank"			"20"	// "Hale's Own" Strange Rank
		"quality"		"5"	// Unusual Quality Color
		"level"			"101"	// Level 101, but "rank" is defined, so it overrides this
		"override"		"0"	// Use default attributes
		"red"			"255"	// Full Red Color
		"blue"			"255"	// Full Blue Color
		"green"			"255"	// Full Green Color
		"alpha"			"255"	// Full Visibility
		"worldmodel"		""	// No custom world model weapon
	}

	"ability1"	// Ability Number 1
	{
		"name"		"dynamic_jump"	// Ability Name

		"arg1"		"1.5"	// 1	Charge Time			Positive Float		0.0
		"arg2"		"5.0"	// 2	Cooldown			Positive Float		0.0
		"arg3"		"0"	// 3	Disabled			Bool Integers		0
		"arg4"		"0"	// 4	Uses				Positive Integers	999999999
		"arg5"		"3.0"	// 5	Initial Cooldown		Positive Float		0.0
		"arg6"		"100.0"	// 6	Damage for Super DUPER Jump	Positive Float		0.0
		"arg7"		"0"	// 7	Block Vertical Force		Bool Integers		0
		"arg8"		"1.0"	// 8	Strength			Positive Float		1.0
		"arg9"		"0"	// 9	Use RELOAD			Bool Integers		0
		"arg10"		"0"	// 10	No Weighdown cooldown		Bool Integers		0

		"arg17"		"Super DUPER Jump ready! Look up, press and release ALT-FIRE."				// 17	Super DUPER Jump	HUD Strings	
		"arg18"		"Super Jump is not ready. %.1f seconds remaining."					// 18	Not Ready		HUD Strings	
		"arg19"		"Super Jump is ready. %.0f percent charged.\nLook up, press and release ALT-FIRE."	// 19	Ready			HUD Strings	

		"plugin_name"	"ff2_dynamic_defaults"	// Ability Plugin
	}
	"ability2"	// Ability Number 2
	{
		"name"		"dynamic_weighdown"	// Ability Name

		"arg1"		"0"	// 1	Disabled	Bool Integers		0
		"arg2"		"0"	// 2	Uses		Positive Integers	999999999
		"arg3"		"1.0"	// 3	Gravity		Positive Float		1.0

		"arg19"		"You have used weighdown!"	// 19	Usage	Chat Strings	
		
		"plugin_name"	"ff2_dynamic_defaults"	// Ability Plugin
	}
	"ability3"	// Ability Number 3
	{
		"name"		"rage_stun"	// Ability Name

		"slot"		"0"		// 0	Ability Slot		Slot Integers		
		"duration"	"5.0"		// 1	Initial Duration	Positive Floats		5.0
		"distance"	"800.0"		// 2	Distance		Positive Floats		ragedist
		"flags"		"0x00c0"	// 3	Stun Flags		Flags			0x00c0
		"slowdown"	"0.0"		// 4	Slowdown		Percent Floats		0.0
		"sound"		"0"		// 5	Sound to Boss		Bool Integers		1
		"particle"	"yikes_fx"	// 6	Particle Effect		Particle Strings	yikes_fx
		"uber"		"0"		// 7	Attack Übers		Flag Integers		0
		"friendly"	"0"		// 8	Friendly Fire		Bool Integers		mp_friendlyfire
		"basejumper"	"0"		// 9	Remove Parachute	Bool Integers		ff2_base_jumper_stun
		"delay"		"0.1"		// 10	Delay			Positive Floats		0.0
		"max"		"8.0"		// 11	Max Duration		Positive Floats		duration/arg1
		"add"		"0.5"		// 12	Add Duration		Any Floats		0.0
		"solo"		"2.0"		// 13	Solo Rage Duration	Positive Floats	

		"plugin_name"	"ffbat_defaults"	// Plugin Name
	}
	"ability4"	// Ability Number 4
	{
		"name"		"rage_stunsg"	// Ability Name

		"slot"		"0"		// 0	Ability Slot		Slot Integers		
		"duration"	"7.0"		// 1	Duration		Positive Floats		5.0
		"distance"	"800.0"		// 2	Distance		Positive Floats		ragedist
		"health"	"1.0"		// 3	Building Health		Positive Floats		1.0
		"ammo"		"1.0"		// 4	Building Ammo		Positive Floats		1.0
		"rocket"	"1.0"		// 5	Building Rockets	Positive Floats 	1.0
		"particle"	"yikes_fx"	// 6	Particle Effect		Particle Strings	yikes_fx
		"building"	"1"		// 7	Affected Buildings	Integer Flags		1
		"friendly"	"0"		// 8	Friendly Fire		Bool Integers	

		"plugin_name"	"ffbat_defaults"	// Plugin Name
	}

	"sound_begin"	// Introduction sound in setup time
	{
		"1"		"saxton_hale/saxton_hale_responce_start1.wav"
		"2"		"saxton_hale/saxton_hale_responce_start2.wav"
		"3"		"saxton_hale/saxton_hale_responce_start3.wav"
		"4"		"saxton_hale/saxton_hale_responce_start4.wav"
		"5"		"saxton_hale/saxton_hale_responce_start5.wav"
		"6"		"saxton_hale/saxton_hale_132_start_1.wav"
		"7"		"saxton_hale/saxton_hale_132_start_2.wav"
		"8"		"saxton_hale/saxton_hale_132_start_3.wav"
		"9"		"saxton_hale/saxton_hale_132_start_4.wav"
		"10"		"saxton_hale/saxton_hale_132_start_5.wav"
	}
	"sound_kspree"	// Getting 3 kills within a certain time
	{
		"1"		"saxton_hale/saxton_hale_responce_spree1.wav"
		"2"		"saxton_hale/saxton_hale_responce_spree1.wav"
		"3"		"saxton_hale/saxton_hale_responce_spree2.wav"
		"4"		"saxton_hale/saxton_hale_responce_spree3.wav"
		"5"		"saxton_hale/saxton_hale_responce_spree4.wav"
		"6"		"saxton_hale/saxton_hale_responce_spree5.wav"
		"7"		"saxton_hale/saxton_hale_responce_3.wav"
		"8"		"saxton_hale/saxton_hale_132_kspree_1.wav"
		"9"		"saxton_hale/saxton_hale_132_kspree_2.wav"
	}
	"sound_win"	// Win by control point or killing everyone
	{
		"1"		"saxton_hale/saxton_hale_responce_win1.wav"
		"2"		"saxton_hale/saxton_hale_responce_win2.wav"
	}
	"sound_fail"	// Lose by control point or time up (if ff2_countdown_result is 1)
	{
		"1"		"saxton_hale/saxton_hale_responce_lose1.wav"
		"2"		"saxton_hale/saxton_hale_responce_lose2.wav"
	}
	"sound_death"	// Lose by death
	{
		"1"		"saxton_hale/saxton_hale_responce_fail1.wav"
		"2"		"saxton_hale/saxton_hale_responce_fail2.wav"
		"3"		"saxton_hale/saxton_hale_responce_fail3.wav"
	}
	"sound_stalemate"	// When both teams lose
	{
		"1"		"saxton_hale/saxton_hale_responce_lose1.wav"
		"2"		"saxton_hale/saxton_hale_responce_lose2.wav"
	}
	"sound_ability_serverwide"	// Global ability sounds
	{
		"1"		""
	}
	"sound_ability"	// Ability Sounds
	{
		"1"		"saxton_hale/saxton_hale_responce_rage1.wav"
		"2"		"saxton_hale/saxton_hale_responce_rage2.wav"
		"3"		"saxton_hale/saxton_hale_responce_rage3.wav"
		"4"		"saxton_hale/saxton_hale_responce_rage4.wav"
		"5"		"saxton_hale/saxton_hale_132_jump_1.wav"
		"slot5"		"1" // Ability Slot 1
		"6"		"saxton_hale/saxton_hale_132_jump_2.wav"
		"slot6"		"1" // Ability Slot 1
		"7"		"saxton_hale/saxton_hale_responce_jump1.wav"
		"slot7"		"1" // Ability Slot 1
		"8"		"saxton_hale/saxton_hale_responce_jump2.wav"
		"slot8"		"1" // Ability Slot 1
	}
	"sound_full_rage"	// When rage is 100%
	{
		"1"		""
	}
	"sound_nextlife"	// When losing a life
	{
		"1"		""
	}
	"sound_last_life"	// When on last life
	{
		"1"		""
	}
	"sound_lastman"	// One player remaining
	{
		"1"		"saxton_hale/saxton_hale_132_last.wav"
		"2"		"saxton_hale/saxton_hale_responce_2.wav"
		"3"		"saxton_hale/saxton_hale_responce_lastman1.wav"
		"4"		"saxton_hale/saxton_hale_responce_lastman2.wav"
		"5"		"saxton_hale/saxton_hale_responce_lastman3.wav"
		"6"		"saxton_hale/saxton_hale_responce_lastman4.wav"
		"7"		"saxton_hale/saxton_hale_responce_lastman5.wav"
	}
	"sound_hit"	// Killed a player
	{
		"1"		""
	}
	"sound_kill_scout"	// Kill a scout
	{
		"1"		"saxton_hale/saxton_hale_132_kill_scout.wav"
	}
	"sound_kill_soldier"	// Kill a soldier
	{
		"1"		""
	}
	"sound_kill_pyro"	// Kill a pyro
	{
		"1"		"saxton_hale/saxton_hale_132_kill_w_and_m1.wav"
	}
	"sound_kill_demoman"	// Kill a demoman
	{
		"1"		"saxton_hale/saxton_hale_132_kill_demo.wav"
	}
	"sound_kill_heavy"	// Kill a heavy
	{
		"1"		"saxton_hale/saxton_hale_132_kill_heavy.wav"
	}
	"sound_kill_engineer"	// Kill a engineer
	{
		"1"		"saxton_hale/saxton_hale_132_kill_engie_1.wav"
		"2"		"saxton_hale/saxton_hale_132_kill_engie_2.wav"
		"3"		"saxton_hale/saxton_hale_responce_kill_eggineer1.wav"
		"4"		"saxton_hale/saxton_hale_responce_kill_eggineer2.wav"
	}
	"sound_kill_medic"	// Kill a medic
	{
		"1"		"saxton_hale/saxton_hale_responce_kill_medic.wav"
	}
	"sound_kill_sniper"	// Kill a sniper
	{
		"1"		"saxton_hale/saxton_hale_responce_kill_sniper1.wav"
		"2"		"saxton_hale/saxton_hale_responce_kill_sniper2.wav"
	}
	"sound_kill_spy"	// Kill a spy
	{
		"1"		"saxton_hale/saxton_hale_132_kill_spie.wav"
		"2"		"saxton_hale/saxton_hale_responce_kill_spy1.wav"
		"3"		"saxton_hale/saxton_hale_responce_kill_spy2.wav"
	}
	"sound_kill_buildable"	// Destory a building
	{
		"1"		"saxton_hale/saxton_hale_132_kill_toy.wav"
	}
	"sound_stabbed"	// When backstabbed
	{
		"1"		"saxton_hale/saxton_hale_132_stub_1.wav"
		"2"		"saxton_hale/saxton_hale_132_stub_2.wav"
		"3"		"saxton_hale/saxton_hale_132_stub_3.wav"
		"4"		"saxton_hale/saxton_hale_132_stub_4.wav"
	}
	"sound_marketed"	// When market gardened
	{
		"1"		"saxton_hale/saxton_hale_responce_market1.wav"
		"2"		"saxton_hale/saxton_hale_responce_market2.wav"
	}
	"sound_cabered"	// When hit by a caber explosion
	{
		"1"		"saxton_hale/saxton_hale_responce_caber1.wav"
		"2"		"saxton_hale/saxton_hale_responce_caber2.wav"
		"3"		"saxton_hale/saxton_hale_responce_caber3.wav"
	}
	"sound_telefraged"	// When someone teleports into the boss
	{
		"1"		"saxton_hale/saxton_hale_responce_telefrag.wav"
	}
	"catch_phrase"	// Played instead of a voiceline
	{
		"1"		""
	}
	"catch_replace"	// Replaces a voiceline
	{
		"1"		""
		"vo1"		""
	}
	"sound_intromusic"	// Played instantly in round setup
	{
		"1"		""
	}
	"sound_outtromusic"	// Played if any of the below outtromusic is unused
	{
		"1"		""
	}
	"sound_outtromusic_win"	// Played when the boss wins
	{
		"1"		""
	}
	"sound_outtromusic_lose"	// Played when the boss loses (Stalemate too if below is unused)
	{
		"1"		""
	}
	"sound_outtromusic_stalemate"	// Played when the boss goes into a stalemate
	{
		"1"		""
	}
	"sound_bgm"	// Background Music
	{
		"path1"		""
		"time1"		""
		"name1"		""
		"artist1"	""
	}

	"sound_precache"	// Sound to prepare for use not done by a plugin
	{
		"1"		""
	}
	"mod_precache"	// Model to prepare for use not done by a plugin
	{
		"1"		""
	}
	"mod_download"	// .mdl, .dx80.vtx, .dx90.vtx, .sw.vtx, .vvd Files (.phy too if there's one)
	{
		"1"		"models/player/saxton_hale/saxton_hale"
	}
	"mat_download"	// .vtf and .vmt Files
	{
		"1"		"materials/models/player/saxton_hale/eye"
		"2"		"materials/models/player/saxton_hale/hale_body"
		"3"		"materials/models/player/saxton_hale/hale_egg"
		"4"		"materials/models/player/saxton_hale/hale_head"
		"5"		"materials/models/player/saxton_hale/hale_misc"
	}
	"download"	// Other files to download
	{
		"1"		"materials/models/player/saxton_hale/eyeball_l.vmt"
		"2"		"materials/models/player/saxton_hale/eyeball_r.vmt"
		"3"		"materials/models/player/saxton_hale/hale_body_normal.vtf"
		"4"		"materials/models/player/saxton_hale/hale_misc_normal.vtf"
		"5"		"sound/saxton_hale/saxton_hale_responce_start1.wav"
		"6"		"sound/saxton_hale/saxton_hale_responce_start2.wav"
		"7"		"sound/saxton_hale/saxton_hale_responce_start3.wav"
		"8"		"sound/saxton_hale/saxton_hale_responce_start4.wav"
		"9"		"sound/saxton_hale/saxton_hale_responce_start5.wav"
		"10"		"sound/saxton_hale/saxton_hale_132_start_1.wav"
		"11"		"sound/saxton_hale/saxton_hale_132_start_2.wav"
		"12"		"sound/saxton_hale/saxton_hale_132_start_3.wav"
		"13"		"sound/saxton_hale/saxton_hale_132_start_4.wav"
		"14"		"sound/saxton_hale/saxton_hale_132_start_5.wav"
		"15"		"sound/saxton_hale/saxton_hale_responce_spree1.wav"
		"16"		"sound/saxton_hale/saxton_hale_responce_spree2.wav"
		"17"		"sound/saxton_hale/saxton_hale_responce_spree3.wav"
		"18"		"sound/saxton_hale/saxton_hale_responce_spree4.wav"
		"19"		"sound/saxton_hale/saxton_hale_responce_spree5.wav"
		"20"		"sound/saxton_hale/saxton_hale_responce_3.wav"
		"21"		"sound/saxton_hale/saxton_hale_132_kspree_1.wav"
		"22"		"sound/saxton_hale/saxton_hale_132_kspree_2.wav"
		"23"		"sound/saxton_hale/saxton_hale_responce_win1.wav"
		"24"		"sound/saxton_hale/saxton_hale_responce_win2.wav"
		"25"		"sound/saxton_hale/saxton_hale_responce_lose1.wav"
		"26"		"sound/saxton_hale/saxton_hale_responce_lose2.wav"
		"27"		"sound/saxton_hale/saxton_hale_responce_fail1.wav"
		"28"		"sound/saxton_hale/saxton_hale_responce_fail2.wav"
		"29"		"sound/saxton_hale/saxton_hale_responce_fail3.wav"
		"30"		"sound/saxton_hale/saxton_hale_responce_rage1.wav"
		"31"		"sound/saxton_hale/saxton_hale_responce_rage2.wav"
		"32"		"sound/saxton_hale/saxton_hale_responce_rage3.wav"
		"33"		"sound/saxton_hale/saxton_hale_responce_rage4.wav"
		"34"		"sound/saxton_hale/saxton_hale_132_jump_1.wav"
		"35"		"sound/saxton_hale/saxton_hale_132_jump_2.wav"
		"36"		"sound/saxton_hale/saxton_hale_responce_jump1.wav"
		"37"		"sound/saxton_hale/saxton_hale_responce_jump2.wav"
		"38"		"sound/saxton_hale/saxton_hale_132_last.wav"
		"39"		"sound/saxton_hale/saxton_hale_responce_2.wav"
		"40"		"sound/saxton_hale/saxton_hale_responce_lastman1.wav"
		"41"		"sound/saxton_hale/saxton_hale_responce_lastman2.wav"
		"42"		"sound/saxton_hale/saxton_hale_responce_lastman3.wav"
		"43"		"sound/saxton_hale/saxton_hale_responce_lastman4.wav"
		"44"		"sound/saxton_hale/saxton_hale_responce_lastman5.wav"
		"45"		"sound/saxton_hale/saxton_hale_132_kill_scout.wav"
		"46"		"sound/saxton_hale/saxton_hale_132_kill_w_and_m1.wav"
		"47"		"sound/saxton_hale/saxton_hale_132_kill_demo.wav"
		"48"		"sound/saxton_hale/saxton_hale_132_kill_heavy.wav"
		"49"		"sound/saxton_hale/saxton_hale_132_kill_engie_1.wav"
		"50"		"sound/saxton_hale/saxton_hale_132_kill_engie_2.wav"
		"51"		"sound/saxton_hale/saxton_hale_responce_kill_eggineer1.wav"
		"52"		"sound/saxton_hale/saxton_hale_responce_kill_eggineer2.wav"
		"53"		"sound/saxton_hale/saxton_hale_responce_kill_medic.wav"
		"54"		"sound/saxton_hale/saxton_hale_responce_kill_sniper1.wav"
		"55"		"sound/saxton_hale/saxton_hale_responce_kill_sniper2.wav"
		"56"		"sound/saxton_hale/saxton_hale_132_kill_spie.wav"
		"57"		"sound/saxton_hale/saxton_hale_responce_kill_spy1.wav"
		"58"		"sound/saxton_hale/saxton_hale_responce_kill_spy2.wav"
		"59"		"sound/saxton_hale/saxton_hale_132_kill_toy.wav"
		"60"		"sound/saxton_hale/saxton_hale_132_stub_1.wav"
		"61"		"sound/saxton_hale/saxton_hale_132_stub_2.wav"
		"62"		"sound/saxton_hale/saxton_hale_132_stub_3.wav"
		"63"		"sound/saxton_hale/saxton_hale_132_stub_4.wav"
		"64"		"sound/saxton_hale/saxton_hale_responce_market1.wav"
		"65"		"sound/saxton_hale/saxton_hale_responce_market2.wav"
		"66"		"sound/saxton_hale/saxton_hale_responce_caber1.wav"
		"67"		"sound/saxton_hale/saxton_hale_responce_caber2.wav"
		"68"		"sound/saxton_hale/saxton_hale_responce_caber3.wav"
		"69"		"sound/saxton_hale/saxton_hale_responce_telefrag.wav"
	}
}
Clone this wiki locally