Garry's Mod

Garry's Mod

415 ratings
Critical Hits
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun
File Size
Posted
1.218 KB
16 Jan, 2016 @ 10:37am
1 Change Note ( view )

Subscribe to download
Critical Hits

Description
Random critical hits somewhat akin to TF2.

ConVars:
crits: (0/1) Enables or disables critical hits
crits_rate: (0-1) How often players should randomly crit
crits_desperation: (0-1) How much higher a chance a player should have to crit at low health
crits_multiplier: (0<) How much more damage to deal when a player crits
crits_weaponcolor: (0/1) Whether or not to use the player's weapon color as the effect color

Hooks (for developers):
ModifyCriticalRate( attacker, inflictor, default_rate ), returns a number between 0 and 1