View Single Post
Author Message
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 07-21-2009 , 11:42   [L4D & L4D2] Boomer Bit** Slap
Reply With Quote #1

Another Plugin i wrote mostly for myself, but why shouldn't i post it here ;)


One problem in L4D(2) being a Boomer is you have no way to reliably puke Survivors in really confined spaces. A good Player will ALWAYS have meleed you already before the damn lagged puke affects anything. This Plugin gives you an edge ... a Boomer can strike first and BIT** SLAP!! one Survivor with a 10 second cooldown.

Both the Boomer and the Survivor get a HUD message and a (usually inaudible) soundeffect.
Also, theres a PrintToChatAll about who slapped whom.


Note the Survivor still sees his Melee Animation play - i've added a Soundeffect and HUD message to tell him Meleeing while Slapped is impossible.


As of version 1.5, ive made this Plugin compatible with stable Sourcemod 1.2 releases. I could do that using the magnificent SDKHooks extension by DJ Tsunami, which in turn are now required to run this plugin.


INSTALLATION:

Install SDKHooks extension by DJ Tsunami and then the plugins .smx file.

THE PLUGIN WONT WORK WITHOUT THE EXTENSION



For those who'd like the 'old' "Sourcemod 1.3" implentation (which doesnt need the extension), its still up for download. as the "SM1.3" file

The 'old' implentation is the only one that works with L4D2 as of now



CVAR
l4d_boomerbitchslap_power (default 150) - how much force is applied to the victum
l4d_boomerbitchslap_cooldown (default 10) - how many seconds before Boomer can Slap again, setting it to 0 will disable delay
l4d_boomerbitchslap_announce (default 1) - are slaps being announced in chat
l4d_boomerbitchslap_disabledtime (default 3) - how many seconds before a slapped Survivor can melee again


Changelog:
1.0 - first release
1.1 - Added Knockback
1.2 - Code Optimizations, less z-axis-Kickforce
1.3 - Bugfixes
1.4 - new cvars, public sound effect, bugfixes
1.5 - made SM 1.2 compatible, requires sdkhooks extension
*Jan. 28th 2017* fixed l4d2addresses Fling signature for windows





L4D2 Boomer Bitch Slap
(l4d2_boomerbitchslap.sp)

Demonstration:
http://www.youtube.com/watch?v=n4nWOiHmnYc

Unlike above versions, does not need an Extension.
But it does need the "l4d2adresses" gamedata file.

Convars:
l4d2_boomerbitchslap_enabled
l4d2_boomerbitchslap_power
l4d2_boomerbitchslap_cooldown
l4d2_boomerbitchslap_announce
l4d2_boomerbitchslap_ledgeslap

Changelog:
1.0.0 - initial
1.0.1 - added possibility to slap people off ledges

(Caution: File is newer than the one for Tank Swap. Overwrite if asked)
Attached Files
File Type: sp Get Plugin or Get Source (l4d_boomerbitchslap.sp - 2045 views - 5.6 KB)
File Type: sp Get Plugin or Get Source (l4d_boomerbitchslap_SM1.3.sp - 6441 views - 5.1 KB)
File Type: sp Get Plugin or Get Source (l4d2_boomerbitchslap.sp - 8369 views - 9.7 KB)
File Type: txt l4d2addresses.txt (23.2 KB, 3076 views)

Last edited by AtomicStryker; 01-28-2017 at 10:22.
AtomicStryker is offline