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

[L4D] SkeetAnnounce 1.3


Post New Thread Reply   
 
Thread Tools Display Modes
Author
n0limit
Senior Member
Join Date: May 2009
Plugin ID:
1142
Plugin Version:
1.31
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    30 
    Plugin Description:
    Announces mid-air damage done to a pouncing hunter (skeeting) and hunter deadstops
    Old 09-05-2009 , 14:40   [L4D] SkeetAnnounce 1.3
    Reply With Quote #1

    Description
    SkeetAnnounce alerts the players when a skeet (damage done to a hunter during a pounce in midair) has occured by displaying the skeeter, skeetee, weapon used and damage done in chat. This allows you to identify community skeets (I did the most damage, you just got the kill), and helps you practice skeeting. The plugin also announces successful dead stops.

    CVARS
    skeetannounce_version - The version of the plugin
    skeetannounce_verbosity - Sets the verbosity level of the plugin. See notes below.
    skeetannounce_deathskeets - Only prints skeet information if the player is killed by the skeet. Otherwise, it prints any damage incured while skeeting. Default is 1.

    Changelog
    1.0 - Initial version
    1.1 - Fixed detecting head-targetted deadstops. Fixed entityflame.
    1.2 - Fixed snarespeak_version, MAXPLAYERS array, and added body hitgroup display
    1.3 - Added skeetannounce_verbosity, skeetannounce_deathskeets, isAcceptableWeapon, AutoExecConfig, cumulative skeets
    1.31 - Updated for plugin approval

    TODO
    -Provide a cvar to change where the information is printed (center chat, etc)
    -Provide some feature requests!

    Thanks
    -EVOL and his Hunter Games mod (http://forums.alliedmods.net/showthread.php?t=87755). His code helped me figure out how to detect the end of a pounce with the isGrounded function.
    -Gemini and his Damage Report plugin (http://forums.alliedmods.net/showthread.php?t=64661). I used code snippets to tally damage.
    -DreadFire for helping me debug this plugin

    NOTES
    This plugin now uses AutoExecConfig, so you should modify the relevant cvars in cfg\sourcemod\skeetannounce.cfg.

    The verbosity level allows you to set how much skeet information you want displayed, depending on what you're doing. The numbering system is as follows:
    0 - Show nothing
    1 - Show cumulative skeet display
    2 - Show deadstops
    3 - Show cumulative skeet display and deadstops
    4 - Show every hit during skeet
    5 - Show every hit during skeet and cumulative skeet display
    6 - Show every hit during skeet and deadstops
    7 - Show every hit during skeet and cumulative skeet display and deadstops

    So, for example, 3 (the default) looks like this:
    [IMG]http://img156.**************/img156/5836/skeet1.th.jpg[/IMG]

    and is better for normal gaming while 6 looks like this:
    [IMG]http://img169.**************/img169/6048/skeet2.th.jpg[/IMG]
    and is probably more suited for skeet practice.
    Attached Files
    File Type: sp Get Plugin or Get Source (skeetannounce.sp - 3321 views - 5.7 KB)

    Last edited by n0limit; 09-12-2009 at 21:37. Reason: Upgraded to 1.31
    n0limit is offline
    olj
    Veteran Member
    Join Date: Jun 2009
    Old 09-05-2009 , 21:39   Re: [L4D] SkeetAnnounce
    Reply With Quote #2

    What is skeeting and dead stop, just dont know these termins.

    Why MAX_PLAYERS 18? There can be more. Use MAXPLAYERS+1 for array size.
    Gj btw, can you include support for brutal hunter mod, so if someone saved you from deadly pounce, you will know, who are you owe your life to.

    Also, CreateConVar("snarespeak_version" , i think you forgot to change that.
    __________________

    Last edited by olj; 09-05-2009 at 21:47.
    olj is offline
    n0limit
    Senior Member
    Join Date: May 2009
    Old 09-05-2009 , 22:23   Re: [L4D] SkeetAnnounce
    Reply With Quote #3

    Quote:
    Originally Posted by olj View Post
    What is skeeting and dead stop, just dont know these termins.
    definition of skeet: the sport of shooting at clay pigeons that are hurled upward in such a way as to simulate the flight of a bird.
    skeeting in l4d is the act of shooting a hunter mid-air as he's attempting to pounce you.
    Dead Stops, named by the Achievement, are when you stop a hunter from pouncing you by meleeing.

    Quote:
    Originally Posted by olj View Post
    Why MAX_PLAYERS 18? There can be more. Use MAXPLAYERS+1 for array size.
    No reason, coded this in a hurry, thanks for the tip.
    Quote:
    Originally Posted by olj View Post
    Gj btw, can you include support for brutal hunter mod, so if someone saved you from deadly pounce, you will know, who are you owe your life to.
    Perhaps you could elaborate? I'm not familar with the brutal hunter mod, but the only person you'd be saving is yourself?

    Quote:
    Originally Posted by olj View Post
    Also, CreateConVar("snarespeak_version" , i think you forgot to change that.
    Woops! totally did. Thanks.
    n0limit is offline
    olj
    Veteran Member
    Join Date: Jun 2009
    Old 09-06-2009 , 05:49   Re: [L4D] SkeetAnnounce
    Reply With Quote #4

    Thanx for reply, i'll help you with hunter mod if you want, though you only need to check distance and compare it with "l4d_hunter_fatal_distance" cvar, OFC. this should only be compared and triggered on Dead Stop only, because i think you cant predict how much distance hunter would fly if you kill him mid air from gun. So the actual person you save would be really yourself only.

    Not necessary feature ofc, considering only 90 downloads of last version
    __________________

    Last edited by olj; 09-06-2009 at 05:51.
    olj is offline
    savagekid
    Senior Member
    Join Date: Apr 2009
    Location: Canada
    Old 09-06-2009 , 09:47   Re: [L4D] SkeetAnnounce
    Reply With Quote #5

    Woa this is epic! This can help a lot of people learn about the more advanced techniques in L4D. It would be nice to add the distance the hunter was awy from you when you skeeted him, because this can help people adjust their timings. Ex. John Skeeted Tom From A Distance Of 5 Metres.
    __________________

    Use Coupon Code "GLOBAL50" To Get 50% Off Every Month.
    savagekid is offline
    Send a message via MSN to savagekid
    n0limit
    Senior Member
    Join Date: May 2009
    Old 09-06-2009 , 12:53   Re: [L4D] SkeetAnnounce
    Reply With Quote #6

    Quote:
    Originally Posted by savagekid View Post
    Woa this is epic! This can help a lot of people learn about the more advanced techniques in L4D. It would be nice to add the distance the hunter was awy from you when you skeeted him, because this can help people adjust their timings. Ex. John Skeeted Tom From A Distance Of 5 Metres.
    That would be pretty cool, and I could use the code to build in support for olj's hunter mod.
    The only problem is I'm trying to get away from the console spam that occurs when auto-shottying a hunter. If I saved all the attack information, then displayed a cumulative skeet announcement, I don't know how I could let distance factor in.
    n0limit is offline
    n0limit
    Senior Member
    Join Date: May 2009
    Old 09-07-2009 , 16:47   Re: [L4D] SkeetAnnounce 1.3
    Reply With Quote #7

    A lot of people complained about the amount of output this plugin gives when skeeting during a game, and they were right. community skeets flooded the chat window. I've added a verbosity option now that allows you to set how much information you need, including cumulative skeets which looks much better in real games.
    n0limit is offline
    berni
    SourceMod Plugin Approver
    Join Date: May 2007
    Location: Austria
    Old 09-12-2009 , 15:40   Re: [L4D] SkeetAnnounce 1.3
    Reply With Quote #8

    Replace

    Code:
    for(new i=0; i < MAXPLAYERS+1;i++)
    with

    Code:
    for(new i=1; i <= MaxClients; i++)
    And add the ConVar Flag FCVAR_DONTRECORD to your version cvar.
    __________________
    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
    n0limit
    Senior Member
    Join Date: May 2009
    Old 09-12-2009 , 21:38   Re: [L4D] SkeetAnnounce 1.3
    Reply With Quote #9

    Quote:
    Originally Posted by berni View Post
    Replace

    Code:
    for(new i=0; i < MAXPLAYERS+1;i++)
    with

    Code:
    for(new i=1; i <= MaxClients; i++)
    And add the ConVar Flag FCVAR_DONTRECORD to your version cvar.
    Done, thanks.
    n0limit is offline
    berni
    SourceMod Plugin Approver
    Join Date: May 2007
    Location: Austria
    Old 09-13-2009 , 04:58   Re: [L4D] SkeetAnnounce 1.3
    Reply With Quote #10

    approved, greetings ~Berni
    __________________
    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


    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 09:13.


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