Raised This Month: $150 Target: $400
 37% 

[CS:S] Sniper Head Shot (v1.0.5, 2012-09-04)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
bogomips
Junior Member
Join Date: Aug 2012
Location: France
Plugin ID:
3167
Plugin Version:
1.0.5
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    Only HS can kill with the sniper's rifles (AWP, G3SG/1 and SG550).
    Old 08-16-2012 , 16:23   [CS:S] Sniper Head Shot (v1.0.5, 2012-09-04)
    Reply With Quote #1

    I made this plugin mostly to use on $2000$ because 1 bullet in the foot should not be enough to kill a player but I don't want to restrict weapons except for flash on that map. So now there is a real challenge and more fun.

    Other HS only plugins didn't do what I wanted − to completely handle the damage event and not only add health and armor back.

    The TK is still possible (not only HS) to keep players punishable.
    • CVAR/Command list
    Quote:
    sm_shs_help triggers the cvars list for admin with kick flag.

    // Enable Head Shot to kill for AWP. 0 = Disabled
    // -
    // Default: "1"
    sm_shs_awp "1"

    // Enable Sniper Head Shot plugin. 0 = Disabled
    // -
    // Default: "1"
    sm_shs_enabled "1"

    // Enable Head Shot to kill for G3SG/1. 0 = Disabled
    // -
    // Default: "1"
    sm_shs_g3sg1 "1"

    // Enable player notification of missed shot (at sm_shs_textposition). 0 = Disabled
    // -
    // Default: "1"
    sm_shs_notification "1"

    // Enable Head Shot to kill for SG550. 0 = Disabled
    // -
    // Default: "1"
    sm_shs_sg550 "1"

    // Slap damage amount.
    // -
    // Default: "0"
    sm_shs_slapdamage "0"

    // Enable Slap if HS missed. 0 = Disabled
    // -
    // Default: "1"
    sm_shs_slapenabled "1"

    // Defines the area for SHS alert message:
    // 1 = in the center of the screen
    // 2 = in the hint text area
    // 3 = in chat area of screen
    // -
    // Default: "3"
    // Minimum: "1.000000"
    // Maximum: "3.000000"
    sm_shs_textposition "3"

    // Number of missed HS before player notification.
    // -
    // Default: "0"
    sm_shs_threshold "0"

    // Enable verbose mode (log). 0 = Disabled
    // -
    // Default: "0"
    sm_shs_verbose "0"
    • Changelog
    Quote:
    2012-09-04 (v1.0.5)

    * Added player notification threshold to prevent message flooding. (asked by Mirandor)

    2012-08-21 (v1.0.4)

    * Added player notification on missed HS (to prevent questioning about sniper behavior).
    * Small corrections on how sm_shs_version is handled.

    2012-08-16 (v1.0.3)

    * Initial release.
    • Installation instructions
    The plugin cannot be compiled because of the color.inc include and SDKHooks 2.1

    - You can use the zipped file which contains all the files (except sources):
    extract the file in the addons directory.

    - You can download the files individually so you need to put:
    - sniperhs.amx file in sourcemod/plugins
    - sniperhs.phrases.txt in sourcemod/translations
    - sniperhs.phrases_fr.txt file under the sourcemod/translations/fr folder renaming it sniperhs.phrases.txt
    For the new sentences to work, if plugin updated, a "changelevel" is required.
    • Dependencies
    the plugin require:
    colors.inc
    SDKHooks
    • Plans
    New ideas are welcome.

    .
    Attached Files
    File Type: zip sniperhs.zip (12.3 KB, 164 views)
    File Type: sp Get Plugin or Get Source (sniperhs.sp - 88 views - 15.4 KB)
    File Type: smx sniperhs.smx (10.4 KB, 60 views)
    File Type: txt sniperhs.phrases.txt (2.0 KB, 84 views)
    File Type: txt sniperhs.phrases_fr.txt (2.0 KB, 72 views)

    Last edited by bogomips; 09-04-2012 at 10:27. Reason: v1.0.5
    bogomips is offline
    Mirandor
    Senior Member
    Join Date: Jun 2006
    Location: Ile de France
    Old 08-17-2012 , 12:25   Re: [CS:S] Sniper Head Shot (v1.0.3, 2012-08-16)
    Reply With Quote #2

    Works fine ; good job!

    I was just looking for a way to let players use auto-snipers without limiting or restricting them at all.

    Thanks.
    Mirandor is offline
    bogomips
    Junior Member
    Join Date: Aug 2012
    Location: France
    Old 08-17-2012 , 17:19   Re: [CS:S] Sniper Head Shot (v1.0.3, 2012-08-16)
    Reply With Quote #3

    Thank you! I appreciate as it's my first plugin.

    I'm glad that my point of view about the snipers is shared, I still think that the scout is the best rifle.
    bogomips is offline
    bogomips
    Junior Member
    Join Date: Aug 2012
    Location: France
    Old 08-28-2012 , 18:55   Re: [CS:S] Sniper Head Shot (v1.0.4, 2012-08-21)
    Reply With Quote #4

    Actually in test v1.0.5 with sm_shs_threshold cvar "Number of missed HS before player notification." to prevent notification flood, specially with sg550 and s3sg1 on missed HS…
    bogomips is offline
    RedSword
    SourceMod Plugin Approver
    Join Date: Mar 2006
    Location: Quebec, Canada
    Old 01-03-2013 , 17:54   Re: [CS:S] Sniper Head Shot (v1.0.5, 2012-09-04)
    Reply With Quote #5

    Seems ok. Approved.

    I like your documentation btw.

    If you are to update your plugin again, please remove FCVAR_REPLICATED from version convar, as this can produce errors in client console.

    Red
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work
    RedSword is offline
    bogomips
    Junior Member
    Join Date: Aug 2012
    Location: France
    Old 01-04-2013 , 06:38   Re: [CS:S] Sniper Head Shot (v1.0.5, 2012-09-04)
    Reply With Quote #6

    Quote:
    Originally Posted by RedSword View Post
    Seems ok. Approved.

    I like your documentation btw.

    If you are to update your plugin again, please remove FCVAR_REPLICATED from version convar, as this can produce errors in client console.

    Red
    Thank you

    ok for the FCVAR_REPLICATED, I'll update the files ASAP.
    bogomips 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 23:13.


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