Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
contaminatedarea_dynamicbase.c File Reference

Go to the source code of this file.

Enumerations

enum  eAreaDecayStage {
  INIT = 1 , START = 2 , LIVE = 3 , DECAY_START = 4 ,
  DECAY_END = 5
}

Functions

void ContaminatedArea_DynamicBase ()
override void CreateTrigger (vector pos, int radius)
float GetFinishDecayLifetime ()
float GetRemainingTime ()
float GetStartDecayLifetime ()
override void InitZone ()
override void InitZoneClient ()
override void InitZoneServer ()
override void OnParticleAllocation (ParticleManager pm, array< ParticleSource > particles)
override void OnVariablesSynchronized ()
void SetDecayState (int newState)

Variables

const int DECAY_END_PART_BIRTH_RATE = 1
const float DECAY_END_PART_SIZE = 17
const int DECAY_START_PART_BIRTH_RATE = 1
const float DECAY_START_PART_SIZE = 32
const float FINISH_DECAY_LIFETIME = 300
enum eAreaDecayStage m_DecayState = eAreaDecayStage.INIT
const float START_DECAY_LIFETIME = 900

Enumeration Type Documentation

◆ eAreaDecayStage

Enumerator
INIT 
START 
LIVE 
DECAY_START 
DECAY_END 

Definition at line 1 of file contaminatedarea_dynamicbase.c.

Function Documentation

◆ ContaminatedArea_DynamicBase()

void ContaminatedArea_DynamicBase ( )

Definition at line 22 of file contaminatedarea_dynamicbase.c.

References m_Type.

◆ CreateTrigger()

override void CreateTrigger ( vector pos,
int radius )

Definition at line 107 of file contaminatedarea_dynamicbase.c.

References ContaminatedTrigger_Dynamic(), and m_DecayState.

◆ GetFinishDecayLifetime()

float GetFinishDecayLifetime ( )

Definition at line 40 of file contaminatedarea_dynamicbase.c.

References FINISH_DECAY_LIFETIME.

Referenced by Tick().

◆ GetRemainingTime()

float GetRemainingTime ( )

Definition at line 30 of file contaminatedarea_dynamicbase.c.

◆ GetStartDecayLifetime()

float GetStartDecayLifetime ( )

Definition at line 35 of file contaminatedarea_dynamicbase.c.

References START_DECAY_LIFETIME.

Referenced by Tick().

◆ InitZone()

◆ InitZoneClient()

override void InitZoneClient ( )

Definition at line 68 of file contaminatedarea_dynamicbase.c.

References m_Position, and m_Radius.

◆ InitZoneServer()

override void InitZoneServer ( )

Definition at line 76 of file contaminatedarea_dynamicbase.c.

References CreateTrigger(), and m_Radius.

◆ OnParticleAllocation()

◆ OnVariablesSynchronized()

◆ SetDecayState()

void SetDecayState ( int newState)

Definition at line 46 of file contaminatedarea_dynamicbase.c.

References ContaminatedTrigger_Dynamic(), and m_DecayState.

Referenced by InitZone(), PlayFX(), and Tick().

Variable Documentation

◆ DECAY_END_PART_BIRTH_RATE

const int DECAY_END_PART_BIRTH_RATE = 1

Definition at line 18 of file contaminatedarea_dynamicbase.c.

Referenced by OnParticleAllocation(), and OnVariablesSynchronized().

◆ DECAY_END_PART_SIZE

const float DECAY_END_PART_SIZE = 17

Definition at line 17 of file contaminatedarea_dynamicbase.c.

Referenced by OnParticleAllocation(), and OnVariablesSynchronized().

◆ DECAY_START_PART_BIRTH_RATE

const int DECAY_START_PART_BIRTH_RATE = 1

Definition at line 16 of file contaminatedarea_dynamicbase.c.

Referenced by OnParticleAllocation(), and OnVariablesSynchronized().

◆ DECAY_START_PART_SIZE

const float DECAY_START_PART_SIZE = 32

Definition at line 15 of file contaminatedarea_dynamicbase.c.

Referenced by OnParticleAllocation(), and OnVariablesSynchronized().

◆ FINISH_DECAY_LIFETIME

const float FINISH_DECAY_LIFETIME = 300

Definition at line 20 of file contaminatedarea_dynamicbase.c.

Referenced by GetFinishDecayLifetime().

◆ m_DecayState

◆ START_DECAY_LIFETIME

const float START_DECAY_LIFETIME = 900

Definition at line 19 of file contaminatedarea_dynamicbase.c.

Referenced by GetStartDecayLifetime().