View Single Post
41aaa41
Member
Join Date: Aug 2011
Location: KOCAELİ / TURKEY
Old 01-21-2020 , 04:11   Re: COD: HitMarkers [First release: 16/01/2020]
Reply With Quote #32

Quote:
Originally Posted by Napoleon_be View Post
Call of Duty: HitMarkers

Description.
  • A simple plugin displaying a symbol inside your crosshair everytime you hit an enemy, just like in Call of Duty. Made this plugin since there aren't any of this kind yet. I have published 2 versions, 1 that works with all guns and 1 that only works with sniper rifles.

Plugin Cvars.
  • The whole hitmarker has a bunch of settings that can be changed by cvars, listed below

Code:
amx_hitmarkers "1" - Enables/disables the plugin.
amx_hmrainbow "1" - Enables/disables rainbow colors.
amx_hmrandom "1" - Enables/disables random hitmarker symbols.
amx_hmrcolor "165" - Sets the RGB Red code. (This won't work when amx_hmrainbow = 1)
amx_hmgcolor "165" - Sets the RGB Green code. (This won't work when amx_hmrainbow = 1)
amx_hmbcolor "165" - Sets the RGB Blue code. (This won't work when amx_hmrainbow = 1)
amx_hmxpos "-1.0" - Sets the x position.
amx_hmypos "-1.0" - Sets the y position.
amx_hmholdtime "0.5" - Sets the holdtime of the hitmarker
Hitmarker Symbols.
  • When amx_hmrandom is "1", a random symbol will be picked to display inside your crosshair. When it's "0", a simple "x" will be displayed.
Code:
  • "-"
  • "\"
  • "|"
  • "/"
  • "*"
  • "+"
  • "x"
Updates.
Code:
  • 1.0: First release
  • 1.1: Implented DJEarthQuake's idea
    • Added rainbow colors + cvars
    • Added random symbols + cvars
  • 1.2: Released a version which only works for Sniper rifles.
Credits.
  • DJEarthQuake: random color & random symbol idea.
  • Bugsy: Thanks for showing me how to use bitsums, comes in very handy.

For the people who wonder why i didn't make an extra cvar to change the hitmarker symbol, here's the reason. I tried it and tested it out, the problem is that when i use a pcvar for that, the symbol moves to the right and so the position isn't centered anymore.

Please, if any bugs occure, let me know. Suggestions and improvements are always welcome too.
hello sir
Can you add pictures about the plugin?
41aaa41 is offline