AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Head Splash (https://forums.alliedmods.net/showthread.php?t=58024)

potatis_invalido 07-17-2007 08:43

Head Splash
 
1 Attachment(s)
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]

Alka 07-17-2007 08:56

Re: Head Splash
 
^^ I like the idea 0o! Gj :wink: i will test this asap!

potatis_invalido 07-17-2007 09:18

Re: Head Splash
 
Quote:

Originally Posted by Alka (Post 504339)
^^ I like the idea 0o! Gj :wink: i will test this asap!

I like the idea too ^^ tell me if you find any bugs with the scoreboard.
Quote:

Gj
Ty


I spent two hours trying to get a part of the plugin to work before I realised I had wrote toucheD instead of toucheR :P
And I spent half an hour fixing something else before I noticed that I had forgoten to write Float: xD

DeathStalker90210 07-17-2007 09:30

Re: Head Splash
 
Nice, wooo im in the first 5 of posting woo!

potatis_invalido 07-17-2007 09:31

Re: Head Splash
 
Quote:

Originally Posted by DeathStalker90210 (Post 504353)
Nice, wooo im in the first 5 of posting woo!

OT!!

Alka 07-17-2007 09:44

Re: Head Splash
 
Dunno... but why are you using engine too ?! 0o...make it only with fakemeta :wink:

ehha 07-17-2007 10:01

Re: Head Splash
 
nice job!

still, i`ll wait for fakemeta version

potatis_invalido 07-17-2007 10:03

Re: Head Splash
 
EDIT: Updated! Check main post!

sytremelaker 07-17-2007 10:30

Re: Head Splash
 
LOL, how about adding some visual effects. How about something like the Gore mod, like if someone falls or lands on your head, there will be some blood and if you happen to die from it, the something more visual would happen :)

potatis_invalido 07-17-2007 10:45

Re: Head Splash
 
Quote:

Originally Posted by sytremelaker (Post 504376)
LOL, how about adding some visual effects. How about something like the Gore mod, like if someone falls or lands on your head, there will be some blood and if you happen to die from it, the something more visual would happen :)

Iv'e been thinking about that, and I might add it l8r.

EDIT: Added.



And will some one please say that this plugin works fine so it gets approved. :)

ty every1


All times are GMT -4. The time now is 04:42.

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