Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Data Structures | |
class | FallDamageData |
Functions | |
void | DayZPlayerImplementFallDamage (DayZPlayer pPlayer) |
float | GetHeight () |
int | GetLandType () |
void | HandleFallDamage (FallDamageData pData) |
private float | Randomize (int pType, float pValue) |
private void | AttachBleedingToZonesByHeight (notnull PlayerBase pPlayer) |
private void | DamageAttachedGear (notnull PlayerBase pPlayer) |
void | HandleFallDamage (float pHeight) |
float | DamageCoef (float pHeight) |
private void AttachBleedingToZonesByHeight | ( | notnull PlayerBase | pPlayer | ) |
Definition at line 179 of file dayzplayerimplementfalldamage.c.
private void DamageAttachedGear | ( | notnull PlayerBase | pPlayer | ) |
Definition at line 205 of file dayzplayerimplementfalldamage.c.
void DayZPlayerImplementFallDamage | ( | DayZPlayer | pPlayer | ) |
Definition at line 73 of file dayzplayerimplementfalldamage.c.
float GetHeight | ( | ) |
Definition at line 83 of file dayzplayerimplementfalldamage.c.
int GetLandType | ( | ) |
Definition at line 88 of file dayzplayerimplementfalldamage.c.
void HandleFallDamage | ( | FallDamageData | pData | ) |
Definition at line 93 of file dayzplayerimplementfalldamage.c.
void HandleFallDamage | ( | float | pHeight | ) |
Definition at line 154 of file dayzplayerimplementfalldamage.c.
const private float BLEEDING_CHANCE_HEIGHT_HIGH = 15 |
Definition at line 53 of file dayzplayerimplementfalldamage.c.
const private float BLEEDING_CHANCE_HEIGHT_LOW = 3 |
Definition at line 52 of file dayzplayerimplementfalldamage.c.
const private float BLEEDINGFEET_HEIGHT_LOW = 3 |
Definition at line 42 of file dayzplayerimplementfalldamage.c.
const private float BLEEDINGHANDS_HEIGHT_LOW = 5 |
Definition at line 41 of file dayzplayerimplementfalldamage.c.
const private float BLEEDINGLEGS_HEIGHT_LOW = 10 |
Definition at line 43 of file dayzplayerimplementfalldamage.c.
const private float BROKENLEGS_HEIGHT_HIGH = 9 |
Definition at line 32 of file dayzplayerimplementfalldamage.c.
const private float BROKENLEGS_HEIGHT_LOW = 5 |
Definition at line 31 of file dayzplayerimplementfalldamage.c.
const private int DAMAGE_TYPE_ATTACHMENTS = 2 |
Definition at line 63 of file dayzplayerimplementfalldamage.c.
const private int DAMAGE_TYPE_GLOBAL = 0 |
Definition at line 61 of file dayzplayerimplementfalldamage.c.
const private int DAMAGE_TYPE_LEGS = 1 |
Definition at line 62 of file dayzplayerimplementfalldamage.c.
class FallDamageData FALL_DAMAGE_AMMO_HEALTH = "FallDamageHealth" |
const string FD_AMMO = "FallDamage" |
ammo type used for damaging
DEPRECATED
Definition at line 326 of file dayzplayerimplementfalldamage.c.
const float FD_DMG_FROM_HEIGHT = 2.5 |
damage will not be taken into account bellow this HeightToDamage
Definition at line 327 of file dayzplayerimplementfalldamage.c.
const float FD_MAX_DMG_AT_HEIGHT = 15 |
height where player gets 100% damage
Definition at line 328 of file dayzplayerimplementfalldamage.c.
const float FD_MAX_HEIGHT_LEG_BREAK = 8 |
height where legs break most of the time
Definition at line 329 of file dayzplayerimplementfalldamage.c.
const private float GLOVES_HEALTH_HEIGHT_HIGH = 15 |
Definition at line 35 of file dayzplayerimplementfalldamage.c.
const private float GLOVES_HEALTH_HEIGHT_LOW = 5 |
Definition at line 34 of file dayzplayerimplementfalldamage.c.
const float HEALTH_HEIGHT_HIGH = 14 |
Definition at line 27 of file dayzplayerimplementfalldamage.c.
const float HEALTH_HEIGHT_LOW = 5 |
Definition at line 26 of file dayzplayerimplementfalldamage.c.
private ref FallDamageData m_FallDamageData |
Definition at line 66 of file dayzplayerimplementfalldamage.c.
DayZPlayer m_Player |
Definition at line 65 of file dayzplayerimplementfalldamage.c.
const private float PANTS_HEALTH_HEIGHT_HIGH = 16 |
Definition at line 39 of file dayzplayerimplementfalldamage.c.
const private float PANTS_HEALTH_HEIGHT_LOW = 5 |
Definition at line 38 of file dayzplayerimplementfalldamage.c.
const private float RANDOM_THRESHOLD_ATTACHMENTS_HIGH = 0.2 |
Definition at line 50 of file dayzplayerimplementfalldamage.c.
const private float RANDOM_THRESHOLD_ATTACHMENTS_LOW = 0 |
Definition at line 49 of file dayzplayerimplementfalldamage.c.
const private float RANDOM_THRESHOLD_HEALTH_HIGH = 0.1 |
Definition at line 46 of file dayzplayerimplementfalldamage.c.
const private float RANDOM_THRESHOLD_HEALTH_LOW = 0.05 |
Definition at line 45 of file dayzplayerimplementfalldamage.c.
const private float RANDOM_THRESHOLD_LEGS_HIGH = 0.1 |
Definition at line 48 of file dayzplayerimplementfalldamage.c.
const private float RANDOM_THRESHOLD_LEGS_LOW = 0.05 |
Definition at line 47 of file dayzplayerimplementfalldamage.c.
const private float SHOCK_HEIGHT_HIGH = 12 |
Definition at line 30 of file dayzplayerimplementfalldamage.c.
const private float SHOCK_HEIGHT_LOW = 3 |
Definition at line 29 of file dayzplayerimplementfalldamage.c.
const private float SHOES_HEALTH_HEIGHT_HIGH = 15 |
Definition at line 37 of file dayzplayerimplementfalldamage.c.
const private float SHOES_HEALTH_HEIGHT_LOW = 2 |
Definition at line 36 of file dayzplayerimplementfalldamage.c.