AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   No Fall Death (https://forums.alliedmods.net/showthread.php?t=81229)

anakin_cstrike 11-30-2008 10:23

No Fall Death
 
1 Attachment(s)
No Fall Death
v1.0

Description: With this plugin on you server, you can block the damage done at falling from a high place. There are 3 options:
  • no damage at all
  • random health between a min value and player's hp
  • random health value and regenerate hp
Modules: Fakemeta & Hamsandwich

Cvars:
nfd_plugin
  • 0 - disabled
  • 1 - no damage
  • 2 - random health
  • 3 - random health & regenerate
(default 1)

nfd_interval - interval in seconds for regenerating hp (default 5)
ndf_amount - amount of health gived at every interval (default 3)

PHP Code:

#define RANDOM_MIN_VALUE    1.0 // - cvar set to 2 (hp gived)
#define REGENERATE_MIN_VALUE    1.0 // - cvar set to 3 (start hp) 


FakeNick 11-30-2008 10:30

Re: Falled Revive
 
Nice plugin, +karma ;].

Idea : maybe you should define health and armor by cvar? ;>

anakin_cstrike 11-30-2008 10:33

Re: Falled Revive
 
Quote:

Originally Posted by FakeNick (Post 720780)
Nice plugin, +karma ;].

Idea : maybe you should define health and armor by cvar? ;>

Yea, thats what i was thinking about:
Quote:

PS: I'll make more options to control the features.
I mean, i wait for you to give me some ideeas =D

EDIT: I forgot, the main thing:
Quote:

Players are respawned where they died.

xPaw 11-30-2008 10:39

Re: Falled Revive
 
omg i can cheat like this for example awp_rooftops map, i'm going to down and killing my self, there i'm respawning without problems :D

offtopic: change your ugly avatar :D

tuty 11-30-2008 10:40

Re: Falled Revive
 
Code:

change your ugly avatar
hey! :down:

anakin_cstrike 11-30-2008 10:46

Re: Falled Revive
 
Quote:

Originally Posted by xPaw (Post 720784)
omg i can cheat like this for example awp_rooftops map, i'm going to down and killing my self, there i'm respawning without problems :D

offtopic: change your ugly avatar :D

Yours is owefull:down:

Arkshine 11-30-2008 10:54

Re: Falled Revive
 
Why don't you block simply the fall damage, then you apply a random health/armor ? ( Ham_Killed -> DMG_FALL )

It sounds a better way, less code and more safe.

crazyeffect 11-30-2008 10:59

Re: Falled Revive
 
It is also when the player is killed by a lasermine?

anakin_cstrike 11-30-2008 11:07

Re: Falled Revive
 
Quote:

Originally Posted by arkshine (Post 720791)
Why don't you block simply the fall damage, then you apply a random health/armor ? ( Ham_Killed -> DMG_FALL )

It sounds a better way, less code and more safe.

Oh, thats more easy. But, i have in my mind a name, i don't know why, wich is "no fall damage"....is there another plugin like this ?

crazyeffect 11-30-2008 11:09

Re: Falled Revive
 
There is already an another plugin like that:

http://forums.alliedmods.net/showthread.php?p=204777


All times are GMT -4. The time now is 20:26.

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