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

[L4D2] Last Resource


Post New Thread Reply   
 
Thread Tools Display Modes
Author
honorcode23
BANNED
Join Date: Mar 2010
Location: Chile
Plugin ID:
1822
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    As the survivors last resource when helpless, they will be able to 'Yell' and push back the SI, as infected's last resource, SI will yell on death.
    Unapprover:
    Reason for Unapproving:
    Will be approved when the problem is fixed.
    Old 07-23-2010 , 02:48   [L4D2] Last Resource
    Reply With Quote #1

    [L4D2] Last resource

    Description:

    Every time a Survivor becomes helpless, there is absolutely nothing he can do. Not anymore.

    When a survivor gets helpless, he will be able to 'yell' or scream as his last resource to get rid of his enemies. On every yell, all SI within the specified radius will be shoved and burned. This will release the survivor from any dangerous situation. The yell will not always work, since, it is based on chances or simply, luck.

    But, what about infected? Well, they also have a yell as their last resource, but it only applies when they die.

    The default Key to yell is the SHIFT key. But, you can disable it or add a secondary key.

    CVARS:
    Code:
    // Tell the players about the feature
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d2_last_resource_advert "1"
    
    // Specify the secondary key for yelling
    // -
    // Default: ""
    l4d2_last_resource_bind_key_string ""
    
    // Chance of gaining the yell power. (1: 100%, 2 : 50%, 3: 33%, etc)
    // -
    // Default: "3"
    // Minimum: "1.000000"
    l4d2_last_resource_chance "3"
    
    // Enable yelling when being choked by smoker?
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d2_last_resource_choked "1"
    
    // Allow the SHIFT key to be the default key of yelling
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d2_last_resource_default_key "1"
    
    // Infected not affected by the yell, separated by comas (tank, spitter, charger, jockey, hunter, smoker, boomer)
    // -
    // Default: "tank"
    l4d2_last_resource_exclude "tank"
    
    // Ignite the special infected around when a survivor yells?
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d2_last_resource_ignite "1"
    
    // Chance to ignite the special infected when yelling
    // -
    // Default: "3"
    // Minimum: "1.000000"
    l4d2_last_resource_ignite_chance "3"
    
    // Enable yelling when incapacitated?
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d2_last_resource_incapped "1"
    
    // Enable yelling on infected?
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d2_last_resource_infected "1"
    
    // Interval or cooldown between tries to yell
    // -
    // Default: "1.0"
    // Minimum: "0.100000"
    l4d2_last_resource_interval "1.0"
    
    // Enable yelling when catched by a jockey?
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d2_last_resource_jockeyed "1"
    
    // Enable yelling when pounced by hunter?
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d2_last_resource_pounced "1"
    
    // Power of every yell
    // -
    // Default: "500.0"
    // Minimum: "0.000000"
    l4d2_last_resource_power "500.0"
    
    // Enable yelling when pummeled by charger?
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d2_last_resource_pummel "1"
    
    // Maximum radius of every yell
    // -
    // Default: "180.0"
    // Minimum: "0.000000"
    l4d2_last_resource_radius "180.0"
    
    // Bind a secondary key for yelling?
    // -
    // Default: "0"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d2_last_resource_radius_bind_key "0"
    
    // Enable yelling on survivors?
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d2_last_resource_survivor "1"
    Installation:
    -Put the l4d2_last_resource.smx file on your sourcemod/plugins folder.
    -Put the l4d2lastresource.txt file on your sourcemod/gamedata folder.

    Commands:
    -"sm_yell": Will yell if it is possible and the luck is in your side.
    -"sm_forceyell": Will force a yell event if it isn't enabled (Admin)

    TO DO:
    -Nothing, make a suggestion

    Known Bugs:
    -If a survivor yells, hunters wont be shoved.

    Changelog:
    Code:
    1.0.0
    -Initial Release
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_last_resource.sp - 601 views - 33.0 KB)
    File Type: txt l4d2lastresource.txt (624 Bytes, 470 views)

    Last edited by honorcode23; 08-31-2010 at 17:25.
    honorcode23 is offline
    SyluxLockjaw100
    Senior Member
    Join Date: Jul 2010
    Location: Novaya Russia
    Old 07-23-2010 , 04:30   Re: [L4D2] Last Resource
    Reply With Quote #2

    Sounds nice,gonna admin abuse with this against friends xD,they won't mind

    EDIT : Hunter won't get release/shoved when he is pouncing somebody when a survivor yell.

    Last edited by SyluxLockjaw100; 07-23-2010 at 04:55.
    SyluxLockjaw100 is offline
    jsjojo
    Member
    Join Date: Jan 2010
    Old 07-23-2010 , 04:37   Re: [L4D2] Last Resource
    Reply With Quote #3

    hello

    Cool for this plugin it is not possible to have a video of demonstration
    Thank you has you
    jsjojo is offline
    honorcode23
    BANNED
    Join Date: Mar 2010
    Location: Chile
    Old 07-23-2010 , 12:11   Re: [L4D2] Last Resource
    Reply With Quote #4

    Quote:
    Originally Posted by SyluxLockjaw100 View Post
    Sounds nice,gonna admin abuse with this against friends xD,they won't mind

    EDIT : Hunter won't get release/shoved when he is pouncing somebody when a survivor yell.
    Thanks for the report, one friend reported the same on my server but i just ignored him xD. Going to work on a fix soon.
    honorcode23 is offline
    honorcode23
    BANNED
    Join Date: Mar 2010
    Location: Chile
    Old 07-29-2010 , 23:59   Re: [L4D2] Last Resource
    Reply With Quote #5

    Quote:
    Originally Posted by SyluxLockjaw100 View Post
    Sounds nice,gonna admin abuse with this against friends xD,they won't mind

    EDIT : Hunter won't get release/shoved when he is pouncing somebody when a survivor yell.
    Unfortunately, i couldn't get this issue fixed. But as survivor's last resource, there's still the possibility of ignited them with every yell.

    Sorry for not being able to fix the bug. I'll keep trying to find a solution, but as i can see, i can't figure it out by myself.

    If you have any ideas or requests for it, feel free to ask me.
    honorcode23 is offline
    berni
    SourceMod Plugin Approver
    Join Date: May 2007
    Location: Austria
    Old 01-25-2011 , 17:06   Re: [L4D2] Last Resource
    Reply With Quote #6

    Unapproved until fixed.
    __________________
    Why reinvent the wheel ? Download smlib with over 350 useful functions.

    When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
    powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0
    berni 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 10:10.


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