- Version
- Download 9
- File Size 7.03 KB
- File Count 1
- Create Date 28. February 2024
- Last Updated 28. February 2024
This adds events in the log to track kills of weapons with alternate positions. Such as the ironsights for the rifle class, noscope kills for the snipers, single shot kills for the support, and obviously RAMBO kills from the mg class.
Both HLStatsX:CE and Psychostats will be able to track these events in their awards/bonuses.
I started this just to alert my admins to certain noscope exploits, but then decided to add support for the other weapons.
Plugin will create a config file in mod/cfg/sourcemod/
The cvars turn on/off the ingame chat messages. The logging continues as long as the plugin runs.
CVARS:
sm_dod_xlog_ns
1|0
Turns on/off the NoScope messages.
sm_dod_xlog_hs
1|0
Turns on/off the NoScope Headshot messages.
sm_dod_xlog_mg
1|0
Turns on/off the MG messages.
sm_dod_xlog_support
1|0
Turns on/off the Support messages.
sm_dod_xlog_rifle
1|0
Turns on/off the Ironsight messages.
Sample log lines:
L 05/19/2009 - 20:57:46: "Extra<212><STEAM_0:1234567><Axis>" triggered "noscope" with "weapon_k98_scoped" L 05/19/2009 - 20:58:30: "Rttf. Ackermann |9.SS|<213><STEAM_0:123456><Allies>" triggered "rambo" with "weapon_30cal"
Kudos:
Tsunami: pm secks
Psychonic: "proper valve logging format"
This will eventually become unneeded when psychonic adds these features to the basecode of hlstatsx:ce. But until then....