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

Go to the source code of this file.

Data Structures

class  ShellLight

Functions

override void CreateTrigger (vector pos, int radius)
override void DeferredInit ()
override void EEOnCECreate ()
override void InitZoneServer ()
override void OnVariablesSynchronized ()
void PlayExplosionLight ()
void PlayFlareVFX ()
void PlayFX ()
override void SetupZoneData (EffectAreaParams params)
void SpawnItems ()
override void Tick ()

Variables

const int AIRBORNE_EXPLOSION_DELAY = 20
const float AIRBORNE_FX_OFFSET = 50
const int AREA_SETUP_DELAY = 10
const float ARTILLERY_SHELL_SPEED = 100
FlareLight m_FlareLight
ref Timer m_FXTimer
ShellLight m_OffsetPos
ShellLight m_ShellLight
ref Timer m_StartupTimer
const ref array< intSPAWN_ITEM_COUNT = {Math.RandomIntInclusive(2,5)}
const ref array< floatSPAWN_ITEM_RAD_MAX = {15}
const ref array< floatSPAWN_ITEM_RAD_MIN = {5}
const ref array< stringSPAWN_ITEM_TYPE = {"Grenade_ChemGas"}

Function Documentation

◆ CreateTrigger()

override void CreateTrigger ( vector pos,
int radius )
protected

Definition at line 190 of file contaminatedarea_dynamic.c.

References ContaminatedTrigger_Dynamic(), and m_DecayState.

◆ DeferredInit()

override void DeferredInit ( )
protected

◆ EEOnCECreate()

◆ InitZoneServer()

override void InitZoneServer ( )
protected

Definition at line 161 of file contaminatedarea_dynamic.c.

References SpawnItems().

◆ OnVariablesSynchronized()

override void OnVariablesSynchronized ( )
protected

Definition at line 94 of file contaminatedarea_dynamic.c.

References m_DecayState, and PlayExplosionLight().

Referenced by Process().

◆ PlayExplosionLight()

void PlayExplosionLight ( )
protected

Definition at line 221 of file contaminatedarea_dynamic.c.

References m_OffsetPos, and m_ShellLight.

Referenced by OnVariablesSynchronized().

◆ PlayFlareVFX()

void PlayFlareVFX ( )
protected

Definition at line 226 of file contaminatedarea_dynamic.c.

References ECE_LOCAL, ECE_SETUP, g_Game, m_FlareLight, and m_OffsetPos.

Referenced by DeferredInit().

◆ PlayFX()

void PlayFX ( )
protected

Definition at line 203 of file contaminatedarea_dynamic.c.

References g_Game, m_OffsetPos, SetDecayState(), and vector::Zero.

◆ SetupZoneData()

override void SetupZoneData ( EffectAreaParams params)
protected

◆ SpawnItems()

◆ Tick()

override void Tick ( )
protected

Variable Documentation

◆ AIRBORNE_EXPLOSION_DELAY

const int AIRBORNE_EXPLOSION_DELAY = 20
protected

Definition at line 31 of file contaminatedarea_dynamic.c.

Referenced by EEOnCECreate().

◆ AIRBORNE_FX_OFFSET

const float AIRBORNE_FX_OFFSET = 50
protected

Definition at line 33 of file contaminatedarea_dynamic.c.

Referenced by DeferredInit(), and EEOnCECreate().

◆ AREA_SETUP_DELAY

const int AREA_SETUP_DELAY = 10
protected

Definition at line 32 of file contaminatedarea_dynamic.c.

Referenced by EEOnCECreate().

◆ ARTILLERY_SHELL_SPEED

const float ARTILLERY_SHELL_SPEED = 100
protected

Definition at line 34 of file contaminatedarea_dynamic.c.

Referenced by EEOnCECreate().

◆ m_FlareLight

FlareLight m_FlareLight
protected

Definition at line 27 of file contaminatedarea_dynamic.c.

Referenced by PlayFlareVFX().

◆ m_FXTimer

ref Timer m_FXTimer
protected

Definition at line 26 of file contaminatedarea_dynamic.c.

Referenced by EEOnCECreate().

◆ m_OffsetPos

◆ m_ShellLight

ShellLight m_ShellLight
protected

Definition at line 28 of file contaminatedarea_dynamic.c.

Referenced by PlayExplosionLight().

◆ m_StartupTimer

ref Timer m_StartupTimer
protected

Definition at line 25 of file contaminatedarea_dynamic.c.

Referenced by EEOnCECreate().

◆ SPAWN_ITEM_COUNT

const ref array<int> SPAWN_ITEM_COUNT = {Math.RandomIntInclusive(2,5)}
protected

Definition at line 38 of file contaminatedarea_dynamic.c.

Referenced by SpawnItems().

◆ SPAWN_ITEM_RAD_MAX

const ref array<float> SPAWN_ITEM_RAD_MAX = {15}
protected

Definition at line 40 of file contaminatedarea_dynamic.c.

Referenced by SpawnItems().

◆ SPAWN_ITEM_RAD_MIN

const ref array<float> SPAWN_ITEM_RAD_MIN = {5}
protected

Definition at line 39 of file contaminatedarea_dynamic.c.

Referenced by SpawnItems().

◆ SPAWN_ITEM_TYPE

const ref array<string> SPAWN_ITEM_TYPE = {"Grenade_ChemGas"}
protected

Definition at line 37 of file contaminatedarea_dynamic.c.

Referenced by SpawnItems().