Critical Hit Modifier
3 Attachment(s)
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. |
Re: Critical Hit Modifier
Very nice! <3
|
Re: Critical Hit Modifier
hmmmm will this put me on the custom tab? :P
|
Re: Critical Hit Modifier
You can see the crits if you fire projectiles such as the demoman bombs and soldier rockets
sm_crits_chance 1.00 actually gives you no crits sm_crits_chance 0 gives you 100% Works good though, just looks like you made something backwards in your code. :) |
Re: Critical Hit Modifier
Fixed.
DontWannaName: nope. |
Re: Critical Hit Modifier
Is sm_crits_enabled meant to turn the plugin on/off, or turn crits on off?
Cuz I think I got some crits with it set to 0. If someone can make some separate settings for melee crits, then I will love them forever. :D Excellent work though, I have been wanting a SM plugin like this since TF2 came out. |
Re: Critical Hit Modifier
It turns the plugin off, so it will go back to normal chances.
|
Re: Critical Hit Modifier
gj pred defiantly nice plugin :attack:
|
Re: Critical Hit Modifier
Quote:
|
Re: Critical Hit Modifier
hey how come when I click to download the plugin it says it cannot be compiled?
|
All times are GMT -4. The time now is 04:05. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.