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

Default Subplugin

Batfoxkid edited this page Jan 6, 2020 · 12 revisions
Plugin:		ffbat_defaults
Name:		Unofficial Freak Fortress 2: New Defaults
Author:		Many many people
Description:	FF2: Combined subplugin of default abilties
Version:	0.5.0

Rages

Usually activated on an ability slot.

-1 - Lifeloss
 0 - Rage
 1 - Every 0.2 seconds
 2 - Every 0.2 seconds
 3 - Every 0.2 seconds
 4 - Player Killed
 5 - Boss Killed
 6 - Backstabbed
 7 - Market Gardened

Christian Brutal Sniper Bow Rage

  1. Ability slot
  2. Weapon attributes
  3. Maximum amount of ammo
  4. Ammo per player alive
  5. Maximum clip size
  6. Weapon classname
  7. Weapon index
  8. Weapon level
  9. Weapon quality
  10. Set as active weapon
"name"		"rage_cbs_bowrage"
"slot"		"0"							// 0	Ability Slot		Slot Integers		
"attributes"	"2 ; 3.0 ; 6 ; 0.5 ; 37 ; 0.0 ; 214 ; 333 ; 280 ; 19"	// 1	Weapon Attributes	Attribute Strings	2 ; 3.0 ; 6 ; 0.5 ; 37 ; 0.0 ; 214 ; 333 ; 280 ; 19
"max"		"9"							// 2	Max Ammo		Positive Integers	9
"ammo"		"1.0"							// 3	Ammo Per Player		Positive Floats		1.0
"clip"		"1"							// 4	Max Clip		Positive Integers	1
"classname"	"tf_weapon_compound_bow"				// 5	Weapon Classname	Classname Strings	tf_weapon_compound_bow
"index"		"1005"							// 6	Weapon Index		Weapon Index Integers	1005
"level"		"101"							// 7	Weapon Level		Positive Integers	101
"quality"	"5"							// 8	Weapon Quality		Weapon Quality Integers	5
"switch"	"1"							// 9	Set Active Weapon	Bool Integers		1
"plugin_name"	"ffbat_defaults"

Clone Attack

  1. Ability slot
  2. Clones use a custom model
  3. Weapons upon spawning
0 - No Weapons
1 - Only Defined Weapon
2 - Their Loadout
  1. Use a different playermodel than boss's model
  2. Clone's class (Default is boss's class)
  3. How many clones per players alive (eg. 3.0 * 4 Alive = Up to 12 Clones) 0.0 will spawn all dead players
  4. Weapon classname
  5. Weapon index
  6. Weapon attributes
  7. Weapon ammo
  8. Weapon clip
  9. Health formula (Same as boss formula, n uses players alive) Blank, uses Clone's class max health
  10. Slay minions if the boss dies
"name"		"rage_cloneattack"
"slot"		"0"			// 0	Ability Slot		Slot Integers		
"usemodel"	"1"			// 1	Custom Model		Bool Integers		1
"weaponmode"	"2"			// 2	Weapon Mode		Integers		2
"model"		""			// 3	Player Model		Full Filepath Strings	model
"class"		""			// 4	Player Class		Classtype Integers	class
"ratio"		"0.0"			// 5	Spawn Ratio		Positive Floats		0.0
"classname"	"tf_weapon_bottle"	// 6	Weapon Classname	Classname Strings	tf_weapon_bottle
"index"		"191"			// 7	Weapon Index		Weapon Index Integers	191
"attributes"	"68 ; -1 ; 214 ; 55"	// 8	Weapon Attributes	Attribute Strings	68 ; -1 ; 214 ; 55
"ammo"		""			// 9	Weapon Ammo		Positive Integers	-1
"clip"		""			// 10	Weapon Clip		Positive Integers	-1
"health"	""			// 11	Health Formula		Health Formula		
"slay on death"	"1"			// 12	Boss Death Kills	Bool Integers		1
"plugin_name"	"ffbat_defaults"

Explosive Dance

  1. Ability slot
  2. Local sound effect played when used
  3. Delay between explosions
  4. Amount of explosions before allowing the boss to move again
  5. Damage of explosions
  6. Maximum distance of explosions from the boss
  7. Force the boss to taunt
"name"		"rage_explosive_dance"
"slot"		"0"	// 0	Ability Slot	Slot Integers		
"sound"		""	// 1	Sound Effect	Filepath Strings	
"delay"		"0.12"	// 2	Delay		Positive Float		0.12
"count"		"35"	// 3	Amount		Positive Integers	35
"damage"	"180.0"	// 4	Damage		Any Float		180.0
"distance"	"350"	// 4	Radius		Positive Integers	350
"taunt"		"1"	// 5	Force Taunt	Bool Integers		1	
"plugin_name"	"ffbat_defaults"

Instant Teleport

  1. Ability slot
  2. Self-stun duration
  3. Can to teleport to the same team
  4. Stun flags
TF_STUNFLAG:
Slowdown	0x0001
Bonk Stuck	0x0002
Limit Movement	0x0004
Cheer Sound	0x0008
No Sound/Effect	0x0020
Thirdperson	0x0040
Ghost Effect	0x0080
Sound		0x0100
TF_STUNFLAGS:
Loser State	0x0061
Ghost Scare	0x00c0
Small Bonk	0x0041
Normal Bonk	0x0002
Big Bonk	0x000a
  1. Slowdown effect (not applicable to all stuns)
  2. Play stun sound effect to player (not applicable to all stuns)
  3. Particle effect on boss
"name"		"rage_instant_teleport"
"slot"		"0"		// 0	Ability Slot		Slot Integers		0
"stun"		"2.0"		// 1	Stun duration		Positive Float		2.0
"friendly"	"1"		// 2	Friendly teleport	Bool Integers		1
"flags"		"0x00c0"	// 3	Stun Flags		Flags			0x00c0
"slowdown"	"0.0"		// 4	Slowdown		Percent Floats		0.0
"sound"		"1"		// 5	Sound to Player		Bool Integers		1
"particle"	""		// 6	Particle Effect		Particle Strings	
"plugin_name"	"ffbat_defaults"

Matrix Attack

  1. Ability slot
  2. Duration of slow motion
  3. How slow time should be (Do not set to zero)
  4. Time between attacks
"name"		"rage_matrix_attack"
"slot"		"0"	// 0	Ability Slot	Slot Integers	
"duration"	"1.0"	// 1	Duration	Positive Float	1.0
"time"		"0.1"	// 2	Timescale	Positive Float	0.1
"delay"		"0.2"	// 3	Attack Delay	Positive Float	0.2
"plugin_name"	"ffbat_defaults"

New Weapon

  1. Ability slot
  2. Weapon classname
  3. Weapon index
  4. Weapon attributes
  5. Weapon slot (To remove any weapons already there)
  6. Weapon ammo
  7. Set as active weapon
  8. Weapon clip
  9. Weapon level
  10. Weapon quality
"name"		"rage_new_weapon"
"slot"		"0"	// 0	Ability Slot		Slot Integers		0
"classname"	""	// 1	Weapon Classname	Classname Strings	
"index"		"0"	// 2	Weapon Index		Weapon Index Integers	0
"attributes"	""	// 3	Weapon Attributes	Attribute Strings	
"weapon slot"	"0"	// 4	Weapon Slot		Weapon Slot Integers	0
"ammo"		"0"	// 5	Weapon Ammo		Positive Integers	0
"switch"	"0"	// 6	Set Active Weapon	Bool Integers		0
"clip"		"0"	// 7	Weapon Clip		Positive Integers	0
"level"		"101"	// 8	Weapon Level		Positive Integers	101
"quality"	"5"	// 9	Weapon Quality		Weapon Quality Integers	5
"plugin_name"	"ffbat_defaults"

Overlay

  1. Ability slot
  2. Filepath of overlay (Already includes materials/)
  3. Duration of overlay
"name"		"rage_overlay"
"slot"		"0"	// 0	Ability Slot	Slot Integers			
"overlay"	""	// 1	Overlay	Partial Filepath Strings	
"duration"	"6.0"	// 2	Duration	Positive Float			6.0
"plugin_name"	"ffbat_defaults"

Stun

  1. Ability slot
  2. Initial duration of stun
  3. Distance of stun (Default is ragedist)
  4. Stun flags
TF_STUNFLAG:
Slowdown	0x0001
Bonk Stuck	0x0002
Limit Movement	0x0004
Cheer Sound	0x0008
No Sound/Effect	0x0020
Thirdperson	0x0040
Ghost Effect	0x0080
Sound		0x0100
TF_STUNFLAGS:
Loser State	0x0061
Ghost Scare	0x00c0
Small Bonk	0x0041
Normal Bonk	0x0002
Big Bonk	0x000a
  1. Slowdown effect (not applicable to all stuns)
  2. Play stun sound effect to bosses (not applicable to all stuns)
  3. Particle effect on victim
  4. Allow stuns to work on Übercharges 0: None 1: Quickfix 2: Über 3: Both
  5. Can players of the same team be stunned
  6. Remove parachutes on victims
  7. Delay before stunning (includes finding players in range)
  8. Maximum duration of stun
  9. Additional duration per player stunned (after 1st player)
  10. Duration for stunning only one player
"name"		"rage_stun"
"slot"		"0"		// 0	Ability Slot		Slot Integers		
"duration"	"5.0"		// 1	Initial Duration	Positive Floats		5.0
"distance"	"-1.0"		// 2	Distance		Positive Floats		ragedist
"flags"		"0x00c0"	// 3	Stun Flags		Flags			0x00c0
"slowdown"	"0.0"		// 4	Slowdown		Percent Floats		0.0
"sound"		"1"		// 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"	"-1"		// 8	Friendly Fire		Bool Integers		mp_friendlyfire
"basejumper"	""		// 9	Remove Parachute	Bool Integers		ff2_base_jumper_stun
"delay"		"0.0"		// 10	Delay			Positive Floats		0.0
"max"		"-1.0"		// 11	Max Duration		Positive Floats		duration/arg1
"add"		"0.0"		// 12	Add Duration		Any Floats		0.0
"solo"		"-1.0"		// 13	Solo Rage Duration	Positive Floats		duration/arg1
"plugin_name"	"ffbat_defaults"

Sentry Stun

  1. Ability slot
  2. Duration of stun
  3. Distance of stun (Default is ragedist)
  4. Building Health Multiplier
  5. Building Ammo Multiplier
  6. Building Rocket Multiplier
  7. Particle effect on building
  8. Affected buildings
0 - NONE
1 - Sentry
2 - Dispenser
3 - Teleporter
4 - Sentry + Dispenser
5 - Sentry + Teleporter
6 - Dispenser + Teleporter
7 - ALL
  1. Friendly Fire
"name"		"rage_stunsg"
"slot"		"0"		// 0	Ability Slot		Slot Integers		
"duration"	"5.0"		// 1	Duration		Positive Floats		5.0
"distance"	"-1.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"	"-1"		// 8	Friendly Fire		Bool Integers		mp_friendlyfire
"plugin_name"	"ffbat_defaults"

Trade Spam

  1. Ability slot
"name"		"rage_tradespam"
"slot"		"0"	// 0	Ability Slot	Slot Integers	
"plugin_name"	"ffbat_defaults"

Über

  1. Ability slot
  2. Minimum duration of Übercharge
"name"		"rage_uber"
"slot"		"0"	// 0	Ability Slot	Slot Integers	
"duration"	"5.0"	// 1	Duration	Positive Floats	5.0
"plugin_name"	"ffbat_defaults"

Specials

Usually activated by an event or trigger instead by a set slot.

Christian Brutal Sniper Multi-Melee

  1. Weapon attributes
"name"		"special_cbs_multimelee"
"slot"		"-3"
"attribute"	"68 ; 2 ; 2 ; 3.1 ; 275 ; 1"	// 1	Weapon Attributes	Attribute Strings	68 ; 2 ; 2 ; 3.1 ; 275 ; 1
"plugin_name"	"ffbat_defaults"

Demo Charge

  1. Ability slot
  2. Charge duration
  3. Charge cooldown
  4. Charge delay
  5. RAGE cost
  6. Minimum RAGE to consume any RAGE
  7. Maximum RAGE to consume any RAGE
"name"		"special_democharge"
"slot"		"3"	// 0	Ability Slot	Slot Integers	
"duration"	"0.25"	// 1	Duration	Positive Floats	0.25
"cooldown"	"0.0"	// 2	Cooldown	Positive Floats	0.0
"delay"		"0.0"	// 3	Delay		Positive Floats	0.0
"rage"		"0.4"	// 4	Cost		Positive Floats	0.4
"min"		"10.0"	// 5	Minimum Rage	Positive Floats	10.0
"max"		"90.0"	// 6	Maximum Rage	Positive Floats	90.0
"buttonmode"	"2"
"plugin_name"	"ffbat_defaults"

Dissolve

"name"		"special_dissolve"
"plugin_name"	"ffbat_defaults"

Drop Prop

  1. Prop model
  2. Prop lifetime duration, 0 is infinite
  3. Remove the player's ragdoll
"name"		"special_dropprop"
"slot"		"-3"
"model"		""	// 1	Prop Model	Full Filepath Strings	
"lifetime"	"0"	// 2	Duration	Positive Float		0
"noragdoll"	"0"	// 3	Remove Ragdoll	Bool Integers		0
"plugin_name"	"ffbat_defaults"

Model Projectile Replace

  1. Projectile classname
  2. Projectile model replacement
"name"		"model_projectile_replace"
"slot"		"-3"
"projectile"	""	// 1	Projectile Classname	Classname Strings	
"model"		""	// 2	Projectile Model	Full Filepath Strings	
"plugin_name"	"ffbat_defaults"

No Animations

  1. Enable model rotating
  2. Enable model animations
"name"		"special_noanims"
"slot"		"-3"
"rotate"	"0"	// 1	Model Rotating		Bool Integers	0
"animation"	"0"	// 2	Model Animations	Bool Integers	0
"plugin_name"	"ffbat_defaults"

Spawn Many Objects On Death/Kill

  1. Object classname
  2. Object model
  3. Model skin
  4. Amount of object
  5. Distance above the victim to spawn
"name"		"spawn_many_objects_on_death"
"slot"		"-3"
"classname"	""	// 1	Object Classname	Classname Strings	
"model"		""	// 2	Object Model		Full Filepath Strings	
"skin"		"0"	// 3	Model Skin		Positive Integers	0
"count"		"14"	// 4	Object Count		Positive Integers	14
"distance"	"30.0"	// 5	Object Distance		Positive Float		30.0
"plugin_name"	"ffbat_defaults"

"name"		"spawn_many_objects_on_kill"
"slot"		"-3"
"classname"	""	// 1	Object Classname	Classname Strings	
"model"		""	// 2	Object Model		Full Filepath Strings	
"skin"		"0"	// 3	Model Skin		Positive Integers	0
"count"		"14"	// 4	Object Count		Positive Integers	14
"distance"	"30.0"	// 5	Object Distance		Positive Float		30.0
"plugin_name"	"ffbat_defaults"

Clone this wiki locally