Monthly Target: $400 Donations: $147
 36% 

[L4D & L4D2] Boomer Bit** Slap


Post New Thread Reply   
 
Thread Tools Display Modes
Author
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Plugin ID:
1023
Plugin Version:
1.5
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    17 
    Plugin Description:
    Tired of being meleed before you can puke in his or her face? Rejoice!
    Old 07-21-2009 , 12: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 - 922 views - 5.6 KB)
    File Type: sp Get Plugin or Get Source (l4d_boomerbitchslap_SM1.3.sp - 3435 views - 5.1 KB)
    File Type: sp Get Plugin or Get Source (l4d2_boomerbitchslap.sp - 3564 views - 9.7 KB)
    File Type: txt l4d2addresses.txt (23.2 KB, 60 views)

    Last edited by AtomicStryker; 01-28-2017 at 11:22.
    AtomicStryker is offline
    n0limit
    Senior Member
    Join Date: May 2009
    Old 07-22-2009 , 07:47   Re: [L4D] [SM 1.3 Only] Boomer Bit** Slap
    Reply With Quote #2

    Quote:
    Originally Posted by AtomicStryker View Post
    Thank Valve for their code, and unreleasing of an actual SDK.
    Thanks for the plugin, and heard that.
    n0limit is offline
    Skorpion1976
    Veteran Member
    Join Date: Jun 2009
    Location: Austria
    Old 07-23-2009 , 10:39   Re: [L4D] [SM 1.3 Only] Boomer Bit** Slap
    Reply With Quote #3

    one thing I need to have explained, por favor
    At first I thought this plugin prevents the survivor from pushing the boomer away, so that the boomer can vomit. But after looking at the code I think it┤s not working that way.

    This ONLY works, AFTER the boomer slaps (if ( StrEqual(weapon, "boomer_claw")) a survivor ? I am curious because I rarely see this kind of action in the game. Most of the time the boomer gets pushed away before he can perform any kind of action, thus he is help- and useless when a survivor melees him. Then he gets shot. The only situation where a boomer slaps a survivor is when the surv is a stupid who lets the boomer slap him or a real character who is already surrounded by a huge amount of normal zombies, so he is no threat either for the boomer who can vomit now without getting interrupted.
    Skorpion1976 is offline
    AtomicStryker
    Veteran Member
    Join Date: Apr 2009
    Location: Teutonia!!
    Old 07-23-2009 , 11:09   Re: [L4D] [SM 1.3 Only] Boomer Bit** Slap
    Reply With Quote #4

    This is a workaround for 2 Problems:

    A) The Boomer can't vomit for about 2 seconds after spawn. He CAN however melee ( therefore SLAP!! ) a Survivor and bile him then.

    B) Boomers Bile does not take effect immediatly. If you run around a corner and start biling, the Survivors still have about one second to melee you. Now if you slap them first they dont


    If the Survivor melees you faster than you can melee him, he has won

    NOTE:

    Melee has a scythe-like huge arc and attack duration (seriously, WTF). If he started a melee attack and you run into it, Slapping wont stop it or save you.

    Last edited by AtomicStryker; 07-23-2009 at 11:12.
    AtomicStryker is offline
    Skorpion1976
    Veteran Member
    Join Date: Jun 2009
    Location: Austria
    Old 07-23-2009 , 11:47   Re: [L4D] [SM 1.3 Only] Boomer Bit** Slap
    Reply With Quote #5

    Hmmm... noch nicht GANZ das, wonach mein Boomer affines Herz sich sehnt So hier gehts also darum: Wer zuerst schubst, hat die besseren Karten. JETZT raff ich das

    I am disappointed by 1 specific action in the gameplay: The boomer can get meleed back so far and he stumbles for 4 seconds without being able to do anything but watch how the survivors run away and kill him from safe distance. ---> Question: Is there any way to hang into a hookevent or whatever to reduce the time the boomer stumbles after being meleed by a survivor ? This is so annoying as it currently is implemented in the game. Or shorten the cooldown the boomer always has after he gets meleed ? It┤s pretty hard sometimes to vomit on them immediately after spawning as you have to react extremely fast and aim good.



    Quote:
    Originally Posted by AtomicStryker View Post
    This is a workaround for 2 Problems:

    A) The Boomer can't vomit for about 2 seconds after spawn. He CAN however melee ( therefore SLAP!! ) a Survivor and bile him then.

    B) Boomers Bile does not take effect immediatly. If you run around a corner and start biling, the Survivors still have about one second to melee you. Now if you slap them first they dont


    If the Survivor melees you faster than you can melee him, he has won

    NOTE:

    Melee has a scythe-like huge arc and attack duration (seriously, WTF). If he started a melee attack and you run into it, Slapping wont stop it or save you.
    Skorpion1976 is offline
    AtomicStryker
    Veteran Member
    Join Date: Apr 2009
    Location: Teutonia!!
    Old 08-02-2009 , 10:18   Re: [L4D] [SM 1.3 Only] Boomer Bit** Slap
    Reply With Quote #6

    Version 1.1 added. Now has a knockback effect. (Not stumbling -.-)
    AtomicStryker is offline
    Skorpion1976
    Veteran Member
    Join Date: Jun 2009
    Location: Austria
    Old 08-04-2009 , 10:52   Re: [L4D] [SM 1.3 Only] Boomer Bit** Slap
    Reply With Quote #7

    Hi !

    Judging from the code (TeleportEntity(target, NULL_VECTOR, NULL_VECTOR, resulting);)----> how far does it push the boomer back ?
    Does teleporting have any negative impact on the vomit ability or does boomer have a cooldown after getting teleported ?

    Quote:
    Originally Posted by AtomicStryker View Post
    Version 1.1 added. Now has a knockback effect. (Not stumbling -.-)
    Skorpion1976 is offline
    AtomicStryker
    Veteran Member
    Join Date: Apr 2009
    Location: Teutonia!!
    Old 08-04-2009 , 11:51   Re: [L4D] [SM 1.3 Only] Boomer Bit** Slap
    Reply With Quote #8

    The Boomer is not the one getting struck back, its the Victim that is


    My kickback gets the victims velocity, calculates the Slap Effect Vector, and then combines both (so you dont have that 'stuck in place' effect).

    I suggest setting the power lower than 300 though ... you can slap them off buildings
    AtomicStryker is offline
    Don Punch
    Junior Member
    Join Date: Mar 2008
    Old 08-05-2009 , 23:25   Re: [L4D] [SM 1.3 Only] Boomer Bit** Slap
    Reply With Quote #9

    I am getting some slaps that knock people like 50 feet in the air.

    Altough I laugh my ass off every time I do it, I think that is kinda lame.

    Can you make it so they stay on the ground when b slaped?
    Don Punch is offline
    AtomicStryker
    Veteran Member
    Join Date: Apr 2009
    Location: Teutonia!!
    Old 08-06-2009 , 11:58   Re: [L4D] [SM 1.3 Only] Boomer Bit** Slap
    Reply With Quote #10

    Just lower the Slap Power to 100 or something.


    Alternatively you can change Line 82 in the code:

    PHP Code:
    resulting[2] = 100
    should be just enough force to lift them a feet or so.
    AtomicStryker is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 02:40.


    Powered by vBulletin®
    Copyright ©2000 - 2017, vBulletin Solutions, Inc.
    Theme made by Freecode