SDKHooks What R U Doing M8
Ok, so a small problem.
PHP Code:
|
Re: SDKHooks What R U Doing M8
Quote:
Or use attribute to increase self pushback force Or use attribute to decrease damage to 0 for all weapons using tf2attributes |
Re: SDKHooks What R U Doing M8
It's push-force damage.
|
Re: SDKHooks What R U Doing M8
Quote:
self dmg push force increased damage force increase text from http://optf2.com/440/attributes |
Re: SDKHooks What R U Doing M8
Try using this definition of the OnTakeDamage function instead:
Code:
(victim, &attacker, &inflictor, &Float:damage, &damagetype, &weapon, Float:damageForce[3], Float:damagePosition[3], damagecustom) |
Re: SDKHooks What R U Doing M8
From what i've seen, setting the damageforce won't do anything in most cases. It's going to be scaled based on the damage. Likewise, setting the damage will scale the damageforce accordingly. Probably in games that have the ontakedamagealive, some other calculations are being done and overriding this. I've not yet played with otdalive, but my guess is that doing stuff there would have better results.
|
Re: SDKHooks What R U Doing M8
It was just an fyi from my side, the problem is already solved. He should use the attributes specifically made for that.
|
All times are GMT -4. The time now is 08:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.