Dr.G
03-25-2009, 06:22 PM
Overall i didnt like the way fall damage is handled, so i made this:
////////////////////////////////////////////////////////////////////////////////////////////////////
/*
info:
this plugin allows you to control fall damage. note that this plugin by default is set to reduce the
amount of damage. damage is set in % so 100 is normal, and 50 % is half of normal damage. its is also
possible to effect players stamina and give them a red screen flash effect, when they are hurt from
falling, check the cvars below...
cvars and default settings:
- plugin on/off - 1 = on | 0 = off
dod_fdc 1
- red screen effect? - 1 = on | 0 = off
dod_fdc_sf 1
- fall damage in % - 100 is normal its can also be set above 100 if you wanna upper the damage...
dod_fdc_percent 50
- should fall damage affect players stamina? - 1 = on | 0 = off
dod_fdc_stamina 1
- if stamina is affected, how low should it be set?
dod_fdc_set_stamina 10
- fall damage below this value does not affect players stamina
dod_fdc_min_dmg 20
changelog:
*/
////////////////////////////////////////////////////////////////////////////////////////////////////
bugs etc goes in this thread..
- cheers
Public Stats (http://www.game-monitor.com/search.php?search=dod_fdc_stats&type=variable)
////////////////////////////////////////////////////////////////////////////////////////////////////
/*
info:
this plugin allows you to control fall damage. note that this plugin by default is set to reduce the
amount of damage. damage is set in % so 100 is normal, and 50 % is half of normal damage. its is also
possible to effect players stamina and give them a red screen flash effect, when they are hurt from
falling, check the cvars below...
cvars and default settings:
- plugin on/off - 1 = on | 0 = off
dod_fdc 1
- red screen effect? - 1 = on | 0 = off
dod_fdc_sf 1
- fall damage in % - 100 is normal its can also be set above 100 if you wanna upper the damage...
dod_fdc_percent 50
- should fall damage affect players stamina? - 1 = on | 0 = off
dod_fdc_stamina 1
- if stamina is affected, how low should it be set?
dod_fdc_set_stamina 10
- fall damage below this value does not affect players stamina
dod_fdc_min_dmg 20
changelog:
*/
////////////////////////////////////////////////////////////////////////////////////////////////////
bugs etc goes in this thread..
- cheers
Public Stats (http://www.game-monitor.com/search.php?search=dod_fdc_stats&type=variable)