Raised This Month: $182 Target: $400
 45% 

[L4D2] Release Infected's Victim 1.3a


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Thraka
SourceMod Donor
Join Date: Aug 2005
Plugin ID:
1287
Plugin Version:
1.3a
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    60 
    Plugin Description:
    Allows jockey, hunter, or charger to dismount a victim by using the melee button.
    Old 11-20-2009 , 19:42   [L4D2] Release Infected's Victim 1.3a
    Reply With Quote #1

    A player zombie can release their victim by using the MELEE button. Supported zombies are the Hunter, Charger, and Jockey.

    Note
    Fails to compile because it requires sourcemod 1.3
    Updated l4d2_infected_release.txt for The Passing addon. Please redownload that file and update your gamedata folder.



    Additionally
    There is a 3 second delay (configurable) on attacks when you jump off, or let go of someone. It just blocks your attack1 and attack2 commands. However, you may see the animations stutter, but after that, it should be normal. V10 provided the gamedata file which calls the game's functions for releasing someone! This is the cleanest way to do it. Thanks so much V10!!

    Copy the l4d2_infected_release.txt into your gamedata folder.

    Other plugins using this one
    The hidden abilities hints plugin has been updated to take advantage of v1.2+: http://forums.alliedmods.net/showthread.php?t=96250

    Version History
    1.3a:
    • Used AskPluginLoad2 to fail plugin if not L4D2 instead of OnPluginStart.
    1.3:
    • Added cvars to adjust the ATTACK1 and 2 delay time. Delete your cfg file so it is recreated.
    • When charger lets go, his attack timer is reset to whatever the built in cvar, z_charge_interval, is set to. Thanks V10!
    • Fixed logging error. Thanks Skorpion1976!
    • Updated 4d2_infected_release.txt
    1.2f:
    • Adjusted charger attack delay from 3 seconds to 5.
    1.2e:
    • Fixed and working!!! Thanks V10!
    1.2d:
    • Doesn't load plugin if not running l4d2 server
    • Checks the victim index for 0 before releasing.
    1.2c:
    • Fixed jockey so he works now
    • Charger doesn't get his ability back when he releases. Turn him off for now.
    1.2:
    • Renamed plugin
    • Added support for hunter and charger
    1.1:
    • Added on\off cvar so other plugins can react off this setting
    1.0:
    • Initial release.


    CVARS
    l4d2_infected_release_ver - version of plugin.
    l4d2_jockey_dismount_on - Allow jockey to release victim - 1 = on
    l4d2_hunter_release_on - Allow hunter to release victim - 1 = on
    l4d2_charger_release_on - Allow charger to release victim - 1 = on
    l4d2_jockey_attackdelay - After dismounting with the jockey, how long can the player not use attack1 and attack2
    l4d2_charger_attackdelay - After dismounting with the charger, how long can the player not use attack1 and attack2
    l4d2_hunter_attackdelay - After dismounting with the hunter, how long can the player not use attack1 and attack2
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_infected_release.sp - 4535 views - 9.5 KB)
    File Type: txt l4d2_infected_release.txt (702 Bytes, 2251 views)

    Last edited by DJ Tsunami; 06-14-2011 at 07:50.
    Thraka is offline
    LTR.2
    Veteran Member
    Join Date: Aug 2009
    Old 11-20-2009 , 21:53   Re: [L4D2] Jockey Dismount
    Reply With Quote #2

    Quote:
    Plugin Game: Counter-Strike: Source

    plugin game fail?
    LTR.2 is offline
    Dragonshadow
    BANNED
    Join Date: Jun 2008
    Old 11-20-2009 , 21:59   Re: [L4D2] Jockey Dismount
    Reply With Quote #3

    Quote:
    Originally Posted by LTR.2 View Post
    plugin game fail?
    Exactly what I was thinking lol
    Dragonshadow is offline
    Thraka
    SourceMod Donor
    Join Date: Aug 2005
    Old 11-20-2009 , 23:28   Re: [L4D2] Jockey Dismount
    Reply With Quote #4

    DOH!
    Thraka is offline
    Thraka
    SourceMod Donor
    Join Date: Aug 2005
    Old 11-20-2009 , 23:31   Re: [L4D2] Jockey Dismount
    Reply With Quote #5

    Well I just heard that the jockey can scratch and claw at the guy he's riding by using attack2. Is that true? Should I change the button to the zoom button?
    Thraka is offline
    Inker
    SourceMod Donor
    Join Date: Dec 2008
    Old 11-21-2009 , 01:05   Re: [L4D2] Jockey Dismount
    Reply With Quote #6

    I dont think that's true. I'm pretty sure the players health just saps automatically every second similar to being constrained by a smoker.
    Inker is offline
    Skorpion1976
    Veteran Member
    Join Date: Jun 2009
    Location: Austria
    Old 11-22-2009 , 07:52   Re: [L4D2] Jockey Dismount
    Reply With Quote #7

    As the cvar for hunter double pounce is gone (z_lunge_release 1): is it possible to dismount a hunter as well from a pounced victim ?
    Skorpion1976 is offline
    Thraka
    SourceMod Donor
    Join Date: Aug 2005
    Old 11-22-2009 , 21:19   Re: [L4D2] Jockey Dismount
    Reply With Quote #8

    I noticed that too

    I wonder if there is just a flag we can set that says someone is pounced, much like the incap flag. If so, we can just create a plugin that does it.
    Thraka is offline
    Edhmelus
    Senior Member
    Join Date: Aug 2009
    Old 11-23-2009 , 10:06   Re: [L4D2] Jockey Dismount
    Reply With Quote #9

    Why is there no l4D2 in the gamelist? ;o
    __________________


    Server is using Perkmod and we are in love with the Grasshopper, Toungetwister and other things.

    We are also currently recruiting (EU) people only. Going to merge with another clan soon and change from Eternal Silence.
    Edhmelus is offline
    Skorpion1976
    Veteran Member
    Join Date: Jun 2009
    Location: Austria
    Old 11-24-2009 , 17:21   Re: [L4D2] Jockey Dismount
    Reply With Quote #10

    Are you talking about these events:
    http://wiki.alliedmods.net/Left_4_Dead_Events ?

    There´s some lunge and pounce events but I have no clue whether they still exist in L4D-2 and can be used for hunters to dismount.
    Skorpion1976 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 18:36.


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