Raised This Month: $51 Target: $400
 12% 

Head Splash


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
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 - 14549 views - 7.2 KB)

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



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode