PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
HeavyMetal.c File Reference

Data Structures

class  HeavyMetalMdfr
 
class  HeavyMetalPhase2Mdfr
 

Functions

override string GetDebugText ()
 
override protected bool ActivateCondition (PlayerBase player)
 
override protected bool DeactivateCondition (PlayerBase player)
 
override protected void OnTick (PlayerBase player, float deltaT)
 
override void Init ()
 Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)
 
override protected void OnActivate (PlayerBase player)
 is called when an inactive modifier gets activated during gameplay, is NOT called on activation upon player server connection(see OnReconnect)
 
override protected void OnDeactivate (PlayerBase player)
 

Variables

HeavyMetalMdfr AGENT_THRESHOLD_ACTIVATE = 1
 
static const int AGENT_THRESHOLD_DEACTIVATE = 200
 
static const int SHIVER_EVENT_INTERVAL_MIN = 20
 
static const int SHIVER_EVENT_INTERVAL_MAX = 40
 
static const int VOMIT_EVENT_INTERVAL_MIN = 180
 
static const int VOMIT_EVENT_INTERVAL_MAX = 360
 

Function Documentation

◆ ActivateCondition()

override protected bool ActivateCondition ( PlayerBase  player)

◆ DeactivateCondition()

override protected bool DeactivateCondition ( PlayerBase  player)

◆ GetDebugText()

override string GetDebugText ( )

◆ Init()

override void Init ( )

Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)

whole body slots

upper body part slots

bottom body part slots

lower body part slots


heat comfort related slots

References m_ID.

◆ OnActivate()

override protected void OnActivate ( PlayerBase  player)

is called when an inactive modifier gets activated during gameplay, is NOT called on activation upon player server connection(see OnReconnect)

◆ OnDeactivate()

override protected void OnDeactivate ( PlayerBase  player)

◆ OnTick()

Variable Documentation

◆ AGENT_THRESHOLD_ACTIVATE

HeavyMetalPhase2Mdfr AGENT_THRESHOLD_ACTIVATE = 1

◆ AGENT_THRESHOLD_DEACTIVATE

static const int AGENT_THRESHOLD_DEACTIVATE = 200
static

◆ SHIVER_EVENT_INTERVAL_MAX

const int SHIVER_EVENT_INTERVAL_MAX = 40
static

Referenced by OnTick().

◆ SHIVER_EVENT_INTERVAL_MIN

const int SHIVER_EVENT_INTERVAL_MIN = 20
static

Referenced by OnTick().

◆ VOMIT_EVENT_INTERVAL_MAX

const int VOMIT_EVENT_INTERVAL_MAX = 360
static

Referenced by OnTick().

◆ VOMIT_EVENT_INTERVAL_MIN

const int VOMIT_EVENT_INTERVAL_MIN = 180
static

Referenced by OnTick().