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

Critical Hit Modifier


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
pRED*
Join Date: Dec 2006
Plugin ID:
349
Plugin Version:
0.1
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    101 
    Plugin Description:
    Simple plugin to modify the chance of getting a critical hit
    Old 04-10-2008 , 16:07   Critical Hit Modifier
    Reply With Quote #1

    Simple plugin that lets you modify the chance of getting a critical hit.

    Cvars:

    sm_crits_enabled default: 1
    sm_crits_chance default: 1.00

    If enabled it will give you sm_crits_chance of getting a critical hit (default is 100% chance).

    I'll leave it up to other people to make more advanced critical editing, this is just an example.

    NB: This requires snapshot build 2016/2017 to run. Otherwise it won't do anything.

    NB2: As explained in the tf2 include file for the new forward, critical hits are decided client side for the firer and on the server. Since this can only modify the server result, the shooter will see their shot as being the original, not what it was modified to. Hits should show up correctly.
    Attached Files
    File Type: sp Get Plugin or Get Source (crits.sp - 18734 views - 920 Bytes)
    File Type: smx crits.smx (1.9 KB, 6722 views)

    Last edited by pRED*; 04-12-2008 at 19:12.
    pRED* 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 05:00.


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