Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Head Splash
#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: [Image: headsplashanimationvz8ip0.gif]

Download link: <!-- m --><a class="postlink" href="http://cs.u-s.ro/download/cs/head_splash.amxx">http://cs.u-s.ro/download/cs/head_splash.amxx</a><!-- m --> Compilat
Download link: <!-- m --><a class="postlink" href="http://cs.u-s.ro/download/cs/head_splash.sma">http://cs.u-s.ro/download/cs/head_splash.sma</a><!-- m --> Sursa
Daca o freci aiurea, intra-ti in mana!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)