View Single Post
Author Message
bogomips
Junior Member
Join Date: Aug 2012
Location: France
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, 314 views)
File Type: sp Get Plugin or Get Source (sniperhs.sp - 312 views - 15.4 KB)
File Type: smx sniperhs.smx (10.4 KB, 272 views)
File Type: txt sniperhs.phrases.txt (2.0 KB, 280 views)
File Type: txt sniperhs.phrases_fr.txt (2.0 KB, 307 views)

Last edited by bogomips; 09-04-2012 at 10:27. Reason: v1.0.5
bogomips is offline