Extra Damage.
I'm trying to think of ways to do extra damage.
I've seen the way of using fm fake damage and then creating a death message if the user should be dead (which I think keeps cs stats happy) But could i just create an extra damage message and would this cause extra damage to be inflicted. So hook the damage message, check if its the right type. Then create a second damage message with say half the damage amount, but all the other details the same. So user recieves 1.5x damage. And if this is possible how do I do it. Not sure on all the args for a dmg message |
Re: Extra Damage.
The Damage message tells the client that he took damage, and thus makes the red damage indicators come up. It doesn't actually change his health, it only creates the graphic on his screen.
Since we have no way of utilizing the game's TakeDamage function, which is where all damage calculations end up, we can't properly force damage. |
Re: Extra Damage.
Sawce has just released his Ham Sandwich module which allows you to call TakeDamage directly in most popular mods, which is probably what you want. You can download it here:
http://forums.alliedmods.net/showthread.php?t=51824 |
| All times are GMT -4. The time now is 00:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.