Thread: Head Splash
View Single Post
Plugin Info:     Modification:          Category:         
potatis_invalido
BANNED
Join Date: Jul 2007
Location: 0 (world)
Old 07-17-2007 , 08:43   Head Splash
Reply With Quote #1

Head Splash

I think it is unrealistic that players can stand on top of some other player's head, so I made this plugin. Whenever you jump/fall and land on some one's head, that player will take damage (and if the you kill the other player, you will get one frag). Also by standing on top of some one's that player will slowly loose health.
You can turn this off/on using a cvar (amx_headsplash 0/1).

There are one define you might want to change:
#define MAXIMUM_DAMAGE_FROM_JUMP 70.0

UPDATE #1: No longer uses engine and fun module.
UPDATE #2: I added a nice blood effect.
UPDATE #3: Just a small fix (Ty Alka).
UPDATE #4: Players take less damage if they are wearing a helmet. Suggested by `666.
[IMG]http://img238.**************/img238/9896/headsplashanimationvz8ip0.gif[/IMG]
Attached Files
File Type: sma Get Plugin or Get Source (head_splash.sma - 14541 views - 7.2 KB)

Last edited by potatis_invalido; 10-15-2007 at 13:42.
potatis_invalido is offline