Raised This Month: $51 Target: $400
 12% 

[L4D2] Heroic Pipebomb [2013-July-28]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
oirv
Junior Member
Join Date: Jul 2012
Plugin ID:
3797
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    If you have a pipe bomb and you are incapped or grabbed for any SI, you can explode yourself
    Old 07-28-2013 , 23:11   [L4D2] Heroic Pipebomb [2013-July-28]
    Reply With Quote #1

    (tested with source mod 1.5.0)

    A silly plugin with a silly name.

    Description:


    Sometimes you are incapped by a horde, with little or no chance of survive. Sometimes, you are the last man standing and you are caught by an SI, if you have a pipebomb in your inventory, why not make it explode?
    That's right, if you are incapacitated or trapped by an SI and you have a pipebomb, you can make it explode, killing many infected around you (including your character).

    Usage:

    When you are incapped or grabbed. Keep holding the "USE" key for two seconds. During this time, your character will say his last words before exploding.

    You can abort the explosion with just releasing the key.

    CVars:

    A config file will be generated at "cfg\sourcemod" directory.

    • l4d2_heroic_pipe_grabbed 1=Enable, 0=Disable the plugin when you are grabbed (default 1)
    • l4d2_heroic_pipe_incapped 1=Enable, 0=Disable the plugin when you are incapped
    • (default 1)
    • l4d2_heroic_pipe_key defines the detonation key (default 32)
    • l4d2_heroic_pipe_radius defines the radius of the explosion (default 250)
    • l4d2_heroic_pipe_power defines the power of the explosion (default 300)
    • l4d2_heroic_pipe_debug 1=Enable, 0=Disable. Display some info in the chat
      (default 0)
    • l4d2_heroic_pipe_(survivor) defines the voice file of the character and the clock of the explosion (the time that you need keep holding the detonation key) in seconds.

    About l4d2_heroic_pipe_key CVar:

    You can run the plugin in debug mode and press some keys (even the mouse) to obtain the key values.

    About l4d2_heroic_pipe_(survivor) CVars:

    There is a variable for each character, each define the detonation time and the voice file for each character (you can check the l4d2_heroic_pipe.cfg file), for example:

    l4d2_heroic_pipe_nick "taunt03.wav,2.0"
    l4d2_heroic_pipe_zoey "swear09.wav,1.0"

    The first part defines the audio file to play, a comma, and the time (in seconds) of the detonator.The audio files were taken from this paths:

    Steam\steamapps\common\left 4 dead 2\left4dead2\sound\player\survivor\voice
    Steam\steamapps\common\left 4 dead 2\left4dead2_dlc1\sound\player\survivor\voice
    Steam\steamapps\common\left 4 dead 2\left4dead2_dlc2\sound\player\survivor\voice
    Steam\steamapps\common\left 4 dead 2\left4dead2_dlc3\sound\player\survivor\voice

    You can choose any file within the character folder. Just add the file name, do not put the full path.

    Quote:

    • 1.0: Initial release.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_heroic_pipe.sp - 2675 views - 12.1 KB)

    Last edited by oirv; 08-01-2013 at 02:37.
    oirv is offline
    dcx2
    Senior Member
    Join Date: Sep 2011
    Old 07-29-2013 , 17:11   Re: [L4D2] Heroic Pipebomb [2013-July-28]
    Reply With Quote #2

    Neat-o! Possible to add heroic molotovs too?
    __________________
    dcx2 is offline
    oirv
    Junior Member
    Join Date: Jul 2012
    Old 07-29-2013 , 21:28   Re: [L4D2] Heroic Pipebomb [2013-July-28]
    Reply With Quote #3

    you mean an explosion followed by fire, or just fire?
    oirv is offline
    dcx2
    Senior Member
    Join Date: Sep 2011
    Old 07-30-2013 , 16:11   Re: [L4D2] Heroic Pipebomb [2013-July-28]
    Reply With Quote #4

    I was thinking more like, you just break the molly on yourself and it catches everything around you on fire. But now I see your plugin causes a much-bigger-than-a-pipe-bomb explosion, the kinda that kills a player instantly. And the only way a molly will kill a survivor is on expert. So I'm not sure how well a heroic molotov would work, unless you dramatically ramp up the amount of fire damage done by the molly...
    __________________
    dcx2 is offline
    johnng0102
    Member
    Join Date: Jun 2012
    Location: HK
    Old 07-31-2013 , 01:11   Re: [L4D2] Heroic Pipebomb [2013-July-28]
    Reply With Quote #5

    nice plugin !!!

    replace !kill function
    johnng0102 is offline
    chatyak
    Senior Member
    Join Date: Aug 2011
    Old 08-01-2013 , 09:46   Re: [L4D2] Heroic Pipebomb [2013-July-28]
    Reply With Quote #6

    Can't wait to try this.
    chatyak is offline
    BloodyBlade
    Senior Member
    Join Date: Feb 2018
    Old 03-10-2020 , 15:42   Re: [L4D2] Heroic Pipebomb [2013-July-28]
    Reply With Quote #7

    * Converted plugin source to the latest syntax. Requires SourceMod 1.8 or newer.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_heroic_pipe.sp - 626 views - 12.0 KB)
    BloodyBlade is offline
    BioHazardN7
    Member
    Join Date: Oct 2020
    Location: Укр
    Old 07-26-2023 , 12:55   Re: [L4D2] Heroic Pipebomb [2013-July-28]
    Reply With Quote #8

    Quote:
    Originally Posted by BloodyBlade View Post
    * Converted plugin source to the latest syntax. Requires SourceMod 1.8 or newer.
    Code:
    l4d2_heroic_pipe.sp(179) : warning 234: symbol "IsSoundPrecached" is marked as deprecated: Doesn't work correctly, always returns true.
    l4d2_heroic_pipe.sp(203) : warning 242: function "Boom" should return an explicit value
    Code size:         16176 bytes
    Data size:         6688 bytes
    Stack/heap size:      16808 bytes
    Total requirements:   39672 bytes
    
    2 Warnings.
    BioHazardN7 is offline
    Reply



    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 00:47.


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