Quote:
Originally Posted by Krevele
it works but when im changing it to specific damage for example 45 and it just multiplies or something like that
|
That's how the plugin was designed, it sets the damage bv using a multiplier, it's not an entire override. So I would figure out current damage and desired damage, and figure out a multiplier to use. So suppose AK47 gives 50 damage and you want 75, use a 1.5 factor.
You can easily modify this plugin to use exact damage amounts by setting the damage amount in the cvar and change:
PHP Code:
SetHamParamFloat(4,damage*Dmg)
//to
SetHamParamFloat(4,Dmg)
Any weapons you want to use default damage, leave the cvar to 1.0.
Edit: Or use the DamageControl2 variant.
__________________