Headshot Modes
Version 1.5
Description:
[SIZE=2][COLOR=black]This allows the server admin using per map configs to allow/disallow headshots. It also blocks bots for giving head shots.
The reason for blocking headshots for every one is due to newbies. I have seen some servers where its focused for noobs. So blocking headshots should give them a little more chance at understanding the game play while surviving more then 30 seconds.
Also allows server admins to set headshot only for training reasons.
Then for kicks and giggles i added a 4th value to allow all shots to count as headshots
.. Could be interesting and extremely hard at the same time.
Tested in CZ. Should now work on all mods.
Cvars:
hs_mode <1>
- 0 Disables the mod
- 1 Blocks bots from giving headshots ( Can be set to hit chest via the second cvar)
- 2 Blocks all headshots (good for beginier servers... Can be set to hit chest via the second cvar)
- 3 Blocks all hitzones except headshots
- 4 Changes all hitzones to headshots
hs_chest <0>
- 0 Blocks headshots entirely
- 1 Redirects the headshot to the chest
hs_knife <0>
- 0 Blocks knife headshots
- 1 Allows knife headshots
Credits:
ToDo List:
Change log:
1.0
Initial Release
1.1
Checks for valid attacker.
Ignores Knife kills.
Added a cvar to block head shot or redirect to chest
1.2
Checks for valid Attacker and Victim
Fixed my returns yet again thanks connor
1.3
Fixed some bugs. (would block all hitgroups not just head)
Removed the "n" on my cvars now match title of plugin.
1.4
Using Connors Method for registering bots with HAM
Added a Native to change the hs mode and hit chest mode.
1.5
Registers the bots using rage.
Fixed a typo in the code (cz bots were never hooked)