AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   VSH / Freak Fortress (https://forums.alliedmods.net/forumdisplay.php?f=154)
-   -   FF2 [Subplugin] Taunt Kill Mods (https://forums.alliedmods.net/showthread.php?t=338700)

Blinx 07-21-2022 12:43

[Subplugin] Taunt Kill Mods
 
3 Attachment(s)

A plugin that provides various functionality around Taunt Kills so they feel more suitable for FF2

Features
  • Modifies Taunt Kill damage against bosses so it deals a more "fair" amount of damage for the risk involved. The formula used is (Fixed Damage (750.0 default) + Boss Health Percentage (20% default)) x Taunt Kill Multiplier. This damage is capped at 9001
  • The Taunt Kill multiplier is higher for riskier Taunt Kills, i.e., the Soldier's Kamikaze taunt is 1.5 (+50% damage) as it usually causes him to suicide
  • Adds a cooldown for the Huntsman taunt to prevent single person stun locking, default is 5.0 seconds
  • Enables the Shred Alert to Taunt Kill, an explosion happens after 3.1 seconds, this works for the boss too
  • Announces Taunt Kills with text on screen and a sound. The text reads as: "<Taunt Killer> got a taunt kill against <Boss> for <Damage> damage!"
  • Saying "Pootis Pow!" as the Heavy causes a temporary dispenser to spawn where he is looking. This is done by using the "Put Dispenser Here" voiceline shortly after starting his Showdown taunt
  • All features of this plugin can be turned on or off individually, as well as modifying values using the provided CFG.

Commands
  • "tkm_reload" will reload the CFG file, this is done automatically at the start of every map

Installation
  • Place "ff2_tauntkillmods.sp" into "sourcemod\scripting"
  • Place "ff2_tauntkillmods.smx" into "sourcemod\plugins"
  • Place "tauntkillmods.cfg" into "sourcemod\data\freak_fortress_2"

Updates
  • 1.0 - Initial release
  • 1.1 - Fixed some demo weapons causing taunt kill events on normal swings
  • 1.2 - Fixed potential crash if the plugin can't find the CFG file
  • 1.3 - Fixed a weird interaction with the scorch shot always doing taunt kill damage, added "DamageThreshold" to CFG

Enjoy and happy Taunt Killing!

Samuwu 07-21-2022 13:12

Re: [Subplugin] Taunt Kill Mods
 
My goodness, this seems actually cool for improving tauntkills on FF2! Amazing subplugin!

But (just curious), did you make this compatible for FF2-Rewrite? or...

Blinx 07-21-2022 13:37

Re: [Subplugin] Taunt Kill Mods
 
Quote:

Originally Posted by Samuwu (Post 2784372)
My goodness, this seems actually cool for improving tauntkills on FF2! Amazing subplugin!

But (just curious), did you make this compatible for FF2-Rewrite? or...

Thank you!

I haven't tested that, the only FF2 functions this uses are:

PHP Code:

FF2_GetBossIndex();
FF2_GetBossMaxHealth(); 

If those are still the same then it should still work!

Tim q 07-21-2022 19:12

Re: [Subplugin] Taunt Kill Mods
 
Interesting subplugin

GANGST 07-21-2022 21:26

Re: [Subplugin] Taunt Kill Mods
 
Ah you added an cooldown to the Hunstman to prevent stun locking? Nice. Before this what I did with one of my hales (Bonk Girl) is being very “clever” with the “damage causes airblast” weapon attribute and putting that on her sandman. That was a way I countered stun locking against my hale but I really like the hunstman cooldown.

Blinx 07-22-2022 12:46

Re: [Subplugin] Taunt Kill Mods
 
Important Update: fixed some demo weapons causing taunt kill events on normal swings (Thank you valve for calling normal weapon swings "decapitation")

GANGST 07-23-2022 01:35

Re: [Subplugin] Taunt Kill Mods
 
Hello Blink, I don't know if I just did it wrong, but when I added your subplugin to my server this error showed up in the console.

L 07/23/2022 - 04:29:44: [ff2_tauntkillmods.smx] [FF2 Taunt Kill Mods] Could not load cfg file -- using defaults
FATAL ERROR: Host_Error: CEngineSoundServer::PrecacheSound: Bad string:

Blinx 07-23-2022 06:47

Re: [Subplugin] Taunt Kill Mods
 
Quote:

Originally Posted by GANGST (Post 2784474)
Hello Blink, I don't know if I just did it wrong, but when I added your subplugin to my server this error showed up in the console.

L 07/23/2022 - 04:29:44: [ff2_tauntkillmods.smx] [FF2 Taunt Kill Mods] Could not load cfg file -- using defaults
FATAL ERROR: Host_Error: CEngineSoundServer::PrecacheSound: Bad string:

Ah does it crash when that happens? That error is happening because it can't find the CFG file which is included in the post, and it needs to be placed in "sourcemod/data/freak_fortress_2/" for it to get loaded.

Blinx 07-23-2022 06:57

Re: [Subplugin] Taunt Kill Mods
 
1.2 update: hopefully fixed potential issues related to plugin not being able to find cfg file. If your plugin is running fine and you use the cfg file already there is no urgency to update.

Blinx 07-25-2022 17:32

Re: [Subplugin] Taunt Kill Mods
 
1.3 update: fixed a weird interaction with the scorch shot which would cause it to deal taunt kill damage all the time at any range. Added "DamageThreshold" to the CFG as a precaution.


All times are GMT -4. The time now is 22:45.

Powered by vBulletin®
Copyright ©2000 - 2022, vBulletin Solutions, Inc.