Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Plugin] Headshot Modes
#1
Headshot Modes Version 1.3
Quote: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

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.

Download Plugins
Code:
http://www.amxmodx.org/plcompiler_vb.cgi?file_id=76107

Download Source (Source Eshte Codet e Programimit te Plugins)
Code:
http://forums.alliedmods.net/attachment.php?attachmentid=76107&d=1288025722

Regards
LongHorn
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:
#2
wow qfar headshoti perfekt nr 1 LH uran rogova Tongue
If U Don't Redirect Automaticlly. Click Here
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:
#3
wow qfar headshoti perfekt nr 1 LH uran rogova Tongue
If U Don't Redirect Automaticlly. Click Here
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:
#4
@LongHorn spo bon qe qka pom qet " Plugin failed to compile! Please try contacting the author. "
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:
#5
h4h4 Wrote:@LongHorn spo bon qe qka pom qet " Plugin failed to compile! Please try contacting the author. "

ti a je tu marr me Plugins a me Source Code ne qofse je tu dasht me bo source code compile ateher ka naj siguri qe autori i plugins nuk e lejon me ndrushu dmth per copyright
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:
#6
@urann jo be wlla po hi te qeky link
Code:
http://www.amxmodx.org/plcompiler_vb.cgi?file_id=76107
amo nuk pom bon po ma qet qat " Plugin failed to compile! Please try contacting the author. "
nese mundesh me marr ti edhe me uploadu naj kun tjeter ta di per nder Sad
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:
#7
normal qe ta qet se autori i ka hek ato modules senet e sta len.
[Image: forumrulesi.gif]
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:
#8
t4t1fati Wrote:normal qe ta qet se autori i ka hek ato modules senet e sta len.
kqyr gjoma pra mu qet addons se pom vyn shum hajt bro
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:
#9
LongHorn Wrote:Headshot Modes Version 1.3
Quote: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

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.

Download Plugins
Code:
http://www.amxmodx.org/plcompiler_vb.cgi?file_id=76107

Download Source (Source Eshte Codet e Programimit te Plugins)
Code:
http://forums.alliedmods.net/attachment.php?attachmentid=76107&d=1288025722

Regards
LongHorn


O SHOKU KA JE TU JETU KSHTU NE AMERIK NAI KUSH SE DIN ANGLISHTEN Wink
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:


Forum Jump:


Users browsing this thread: 1 Guest(s)