Raised This Month: $59 Target: $400
 14% 

No Fall Death


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Gameplay        Approver:   Exolent[jNr] (178)
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 11-30-2008 , 11:23   No Fall Death
Reply With Quote #1

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) 
Attached Files
File Type: sma Get Plugin or Get Source (no_fall_death.sma - 3573 views - 2.4 KB)
__________________


Last edited by anakin_cstrike; 02-13-2009 at 12:01. Reason: Category changed to Gameplay from Fun Stuff
anakin_cstrike is offline
FakeNick
Senior Member
Join Date: Feb 2008
Location: Poland
Old 11-30-2008 , 11:30   Re: Falled Revive
Reply With Quote #2

Nice plugin, +karma ;].

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


[||||||||||] Snowball war v3.05

Pol
ish translations here ;) (PM me if you want one).


FakeNick is offline
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 11-30-2008 , 11:33   Re: Falled Revive
Reply With Quote #3

Quote:
Originally Posted by FakeNick View Post
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.
__________________

anakin_cstrike is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 11-30-2008 , 11:39   Re: Falled Revive
Reply With Quote #4

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

offtopic: change your ugly avatar
__________________
xPaw is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 11-30-2008 , 11:40   Re: Falled Revive
Reply With Quote #5

Code:
change your ugly avatar
hey!
__________________
All my lifetime work is there (includin private big ass plugins and stuff) https://github.com/tutyamxx

tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 11-30-2008 , 11:46   Re: Falled Revive
Reply With Quote #6

Quote:
Originally Posted by xPaw View Post
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

offtopic: change your ugly avatar
Yours is owefull
__________________

anakin_cstrike is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-30-2008 , 11:54   Re: Falled Revive
Reply With Quote #7

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.
__________________
Arkshine is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 11-30-2008 , 11:59   Re: Falled Revive
Reply With Quote #8

It is also when the player is killed by a lasermine?
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 11-30-2008 , 12:07   Re: Falled Revive
Reply With Quote #9

Quote:
Originally Posted by arkshine View Post
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 ?
__________________

anakin_cstrike is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 11-30-2008 , 12:09   Re: Falled Revive
Reply With Quote #10

There is already an another plugin like that:

http://forums.alliedmods.net/showthread.php?p=204777
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
Reply


Thread Tools
Display Modes

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 15:50.


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