Raised This Month: $51 Target: $400
 12% 

[DoDS] Extra weapon Logging.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Mosalar
Senior Member
Join Date: Jul 2004
Location: Tampa Fl
Plugin ID:
895
Plugin Version:
1.5
Plugin Category:
Statistical
Plugin Game:
Day of Defeat: Source
Plugin Dependencies:
    Servers with this Plugin:
    4 
    Plugin Description:
    This adds events in the log to track kills of weapons with alternate positions.
    Old 05-25-2009 , 11:22   [DoDS] Extra weapon Logging.
    Reply With Quote #1

    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:
    Code:
    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....
    Attached Files
    File Type: sp Get Plugin or Get Source (dod_xlog.sp - 2447 views - 4.2 KB)

    Last edited by Mosalar; 06-03-2009 at 15:06.
    Mosalar is offline
     



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 01:58.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode