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

Data Structures

class  WaterLevelSettings
 
class  WaterLevelSnapshot
 
class  Land_Underground_WaterReservoir_Water
 

Functions

void PressureLevelSettings (int pPressureLevel, float pDuration)
 
void Land_Underground_WaterReservoir ()
 
void ~Land_Underground_WaterReservoir ()
 
override void EOnPostSimulate (IEntity other, float timeSlice)
 
override void OnVariablesSynchronized ()
 
override void SetActions ()
 
override bool HasTurnableValveBehavior ()
 
protected void Init ()
 Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)
 
protected void LateInit ()
 
protected void ConfigureValvesAndGaugesCourse ()
 
override bool IsValveTurnable (int pValveIndex)
 
protected bool IsAnyValveActive ()
 
protected bool IsValveActive (int pValveIndex)
 
override int GetTurnableValveIndex (int pComponentIndex)
 
void OnValveManipulationStart (int pValveIndex)
 
void OnValveManipulationEnd (int pValveIndex)
 
void OnValveManipulationCanceled (int pValveIndex)
 
array< vectorGetValveAligningPointsWS (int pValveIndex)
 
protected void SetLastActiveValve (int pValveIndex)
 
protected void SetWaterLevelHeight (float pHeight)
 
protected void RegisterValve (string pCompName, int pIndex)
 
protected void TranslateMemoryPointsToWaterLevels ()
 
protected float WaterLevelToHeight (int pWaterLevel)
 
protected int HeightToWaterLevel (float pHeight)
 
protected float PressureLevelToValue (int pPressureLevel)
 
protected WaterLevelSettings PreviousWaterLevelStageSettings (int pValveIndex)
 
protected WaterLevelSettings ActualWaterLevelStageSettings (int pValveIndex)
 
protected void AdvanceToNextWaterLevelStageSettings (int pValveIndex)
 
protected PressureLevelSettings PreviousPressureLevelStageSettings (int pValveIndex, bool pDeanimationRequest=false)
 
protected PressureLevelSettings ActualPressureLevelStageSettings (int pValveIndex, bool pDeanimationRequest=false)
 
protected void AdvanceToNextPressureLevelStageSettings (int pValveIndex)
 
protected void SetDefaultPressureLevelStageSettings (int pValveIndex)
 
protected void AnimateValve (int pValveIndex, float pPhase)
 
protected void SetValvePressureLevelGauge (int pValveIndex, float pValue)
 
protected float GetValvePressureLevelGauge (int pValveIndex)
 
protected bool IsValvePressureLevelGaugeAtBase (int pValveIndex)
 
protected float AdjustTime (float originalTime)
 
protected vector GetMemoryPointPosition (string pMemoryPoint)
 
protected void HandleSoundEffects ()
 
protected void PlayValveManipulationSound ()
 
protected void HandleSoundEffectsPipeCreaking ()
 
protected void HandleSoundEffectsPipeSprinkling ()
 
protected void HandleSoundEffectsUnderwaterPipeSounds ()
 
protected void HandleSoundEffectsWaterLevelMovementSounds ()
 
protected void CleanSoundEffects ()
 
protected void PlayPipeCreakingSoundOnLocation ()
 
protected void HandleVisualEffects ()
 
protected void CleanVisualEffects ()
 
protected void ResetState ()
 
protected void SyncValveVariables ()
 
protected int PackArrayOfBoolStatesIntoBits (array< bool > pStates)
 
protected array< boolUnpackBitsToArrayOfBoolStates (int pPackedBits, int pArrayLength)
 

Variables

class WaterLevelSettings PressureLevel
 
float Duration
 
class WaterLevelSnapshot OBJECT_NAME_WATER_PLANE = "Land_Underground_WaterReservoir_Water"
 
protected const int WL_MIN = 0
 
protected const int WL_ABOVE_PIPES = 1
 
protected const int WL_AVERAGE = 2
 
protected const int WL_MAX = 3
 
protected const int PL_MIN = 0
 
protected const int PL_AVERAGE = 1
 
protected const int PL_MAX = 2
 
protected const int VALVES_COUNT = 2
 
protected const int VALVE_INDEX_DRAIN = 0
 
protected const int VALVE_INDEX_FILL = 1
 
protected const int PIPES_BROKEN_COUNT = 2
 
protected const int PIPE_INDEX_BROKEN1 = 0
 
protected const int PIPE_INDEX_BROKEN2 = 1
 main broken pipe
 
protected const string ANIM_PHASE_VALVE_GAUGE_DRAIN = "ValveGauge1"
 tighter broken pipe
 
protected const string ANIM_PHASE_VALVE_GAUGE_FILL = "ValveGauge2"
 
protected const string ANIM_PHASE_VALVE_DRAIN = "Valve1"
 
protected const string ANIM_PHASE_VALVE_FILL = "Valve2"
 
protected const string VALVE_NAME_DRAIN = "valve1"
 
protected const string VALVE_NAME_FILL = "valve2"
 
protected const string PIPE_NAME_BROKEN1 = "pipe_broken_1"
 
protected const string PIPE_NAME_BROKEN2 = "pipe_broken_2"
 
protected const string PIPE_NAME_LEAKING_DRAIN = "pipe_leaking_1"
 
protected const string PIPE_NAME_LEAKING_FILL = "pipe_leaking_2"
 
protected const string SOUND_NAME_PIPE_CREAKING = "WaterObjectUndergroundPipeCreaking_SoundSet"
 
protected const string SOUND_NAME_VALVE_MANIPULATION = "WaterObjectUndergroundValve_SoundSet"
 
protected const string SOUND_NAME_PIPE_SPRINKLING_START = "WaterObjectUndergroundPipeSprinkling_Start_SoundSet"
 
protected const string SOUND_NAME_PIPE_SPRINKLING_END = "WaterObjectUndergroundPipeSprinkling_End_SoundSet"
 
protected const string SOUND_NAME_PIPE_SPRINKLING_LOOP1 = "WaterObjectUndergroundPipeSprinkling_Loop1_SoundSet"
 
protected const string SOUND_NAME_PIPE_SPRINKLING_LOOP2 = "WaterObjectUndergroundPipeSprinkling_Loop2_SoundSet"
 
protected const string SOUND_NAME_UPIPE_SPRINKLING_START = "WaterObjectUndergroundUnderwaterPipe_Start_SoundSet"
 
protected const string SOUND_NAME_UPIPE_SPRINKLING_END = "WaterObjectUndergroundUnderwaterPipe_End_SoundSet"
 
protected const string SOUND_NAME_UPIPE_SPRINKLING_LOOP = "WaterObjectUndergroundUnderwaterPipe_Loop_SoundSet"
 
protected const string SOUND_NAME_WATER_FILL_LOOP = "WaterObjectUndergroundUnderwaterFill_Loop_SoundSet"
 
protected const string SOUND_NAME_WATER_DRAIN_LOOP = "WaterObjectUndergroundUnderwaterEmpty_Loop_SoundSet"
 
protected const int PARTICLE_DRAIN_PIPE_MAX_PRESSURE = ParticleList.WATER_SPILLING
 
protected const int PARTICLE_FILL_PIPE_MAX_PRESSURE = ParticleList.WATER_SPILLING
 
protected const int PARTICLE_FILL_PIPE_JET = ParticleList.WATER_JET
 
protected const int PARTICLE_FILL_PIPE_JET_WEAK = ParticleList.WATER_JET_WEAK
 
protected ref array< ref WaterLevelSettingsm_DrainValveWaterStageSettings
 valve/pipe stages for water and pressure levels
 
protected ref array< ref PressureLevelSettingsm_DrainValvePressureStageSettings
 
protected ref array< ref PressureLevelSettingsm_DrainValvePressureDeanimationSettings
 
protected ref array< ref WaterLevelSettingsm_FillValveWaterStageSettings
 for deanimation purposes
 
protected ref array< ref PressureLevelSettingsm_FillValvePressureStageSettings
 
protected ref array< ref PressureLevelSettingsm_FillValvePressureDeanimationSettings
 
protected ref WaterLevelSnapshot m_WaterLevelSnapshot
 for deanimation purposes
 
protected int m_DrainValveWaterLevelStageIndex
 pointing to specific stage for each valve/pipe
 
protected int m_DrainValvePressureLevelStageIndex
 
protected int m_FillValveWaterLevelStageIndex
 
protected int m_FillValvePressureLevelStageIndex
 
static protected const string WATER_LEVEL_MAX = "water_level_max"
 
static protected const string WATER_LEVEL_AVERAGE = "water_level_average"
 
static protected const string WATER_LEVEL_ABOVE_PIPES = "water_level_above_pipes"
 
static protected const string WATER_LEVEL_MIN = "water_level_min"
 
protected const int WATER_LEVELS_COUNT = 4
 
protected const string WATER_LEVELS [WATER_LEVELS_COUNT]
 
protected int m_ValveStatesPacked
 
protected int m_ValveStatesPackedPrev
 
protected int m_ValveManipulatedIndex
 
protected int m_ValveManipulatedIndexPrev
 
protected ref array< stringm_ValveNames
 
protected ref array< boolm_ValveStates
 
protected ref map< string, vectorm_WaterLevelsAvailable
 
protected int m_WaterLevelActual
 
protected int m_WaterLevelPrev
 
protected ref array< boolm_PressureAnimationRequests
 
protected ref array< boolm_PressureDeanimationRequests
 
protected ref array< floatm_WaterLevelTimesAccumulated
 
protected ref array< floatm_PressureTimesAccumulated
 
protected int m_LastActiveValve
 
protected Object m_SpawnedWaterObject
 
protected vector m_WaterLevelDefault
 
protected float m_WaterLevelHeightActual
 
protected bool m_ValveManipulationSoundRequested
 VFX/SFX.
 
protected ref EffectSound m_ValveManipulationSound
 
protected ref array< EffectSoundm_PipeSounds
 
protected bool m_PipeCreakingSoundRequested
 
protected ref EffectSound m_PipeCreakingSounds
 
protected bool m_PipeUnderwaterSoundRunning protected ref EffectSound m_PipeUnderwaterSound
 
protected ref EffectSound m_WaterLevelMovementSound
 
protected const int PIPE_CREAKING_MIN_TIME_DELAY_MS = 10000
 
protected const int PIPE_CREAKING_MAX_TIME_DELAY_MS = 15000
 
protected const int PIPE_CREAKING_SOUND_LOCATIONS_COUNT = 4
 
protected const string PIPE_CREAKING_SOUND_LOCATIONS [PIPE_CREAKING_SOUND_LOCATIONS_COUNT]
 
protected ref ParticleSourceArray m_ValveParticles
 
protected ref ParticleSourceArray m_PipeBrokenParticles
 

Function Documentation

◆ ActualPressureLevelStageSettings()

◆ ActualWaterLevelStageSettings()

◆ AdjustTime()

protected float AdjustTime ( float  originalTime)

Referenced by EOnPostSimulate().

◆ AdvanceToNextPressureLevelStageSettings()

◆ AdvanceToNextWaterLevelStageSettings()

◆ AnimateValve()

◆ CleanSoundEffects()

protected void CleanSoundEffects ( )

◆ CleanVisualEffects()

protected void CleanVisualEffects ( )

◆ ConfigureValvesAndGaugesCourse()

protected void ConfigureValvesAndGaugesCourse ( )

drain - water level

drain - pressure

for deanimation purposes only while valves activation overllaps

fill - water level

fill - pressure

for deanimation purposes only while valves activation overllaps

References m_DrainValvePressureDeanimationSettings, m_DrainValvePressureStageSettings, m_DrainValveWaterStageSettings, m_FillValvePressureDeanimationSettings, m_FillValvePressureStageSettings, m_FillValveWaterStageSettings, PL_AVERAGE, PL_MAX, PL_MIN, PressureLevelSettings(), WL_AVERAGE, WL_MAX, and WL_MIN.

Referenced by LateInit().

◆ EOnPostSimulate()

◆ GetMemoryPointPosition()

protected vector GetMemoryPointPosition ( string  pMemoryPoint)

◆ GetTurnableValveIndex()

override int GetTurnableValveIndex ( int  pComponentIndex)

References INDEX_NOT_FOUND, and m_ValveNames.

◆ GetValveAligningPointsWS()

array< vector > GetValveAligningPointsWS ( int  pValveIndex)

for the animation aligning returns data in order: start point; direction point

References GetMemoryPointPosition(), VALVE_INDEX_DRAIN, VALVE_INDEX_FILL, VALVE_NAME_DRAIN, VALVE_NAME_FILL, and vector::Zero.

◆ GetValvePressureLevelGauge()

◆ HandleSoundEffects()

◆ HandleSoundEffectsPipeCreaking()

◆ HandleSoundEffectsPipeSprinkling()

◆ HandleSoundEffectsUnderwaterPipeSounds()

protected void HandleSoundEffectsUnderwaterPipeSounds ( )

◆ HandleSoundEffectsWaterLevelMovementSounds()

protected void HandleSoundEffectsWaterLevelMovementSounds ( )

◆ HandleVisualEffects()

◆ HasTurnableValveBehavior()

override bool HasTurnableValveBehavior ( )

◆ HeightToWaterLevel()

◆ Init()

◆ IsAnyValveActive()

protected bool IsAnyValveActive ( )

References m_ValveStates.

Referenced by HandleSoundEffectsPipeCreaking().

◆ IsValveActive()

protected bool IsValveActive ( int  pValveIndex)

◆ IsValvePressureLevelGaugeAtBase()

protected bool IsValvePressureLevelGaugeAtBase ( int  pValveIndex)

◆ IsValveTurnable()

override bool IsValveTurnable ( int  pValveIndex)

◆ Land_Underground_WaterReservoir()

void Land_Underground_WaterReservoir ( )

◆ LateInit()

◆ OnValveManipulationCanceled()

void OnValveManipulationCanceled ( int  pValveIndex)

◆ OnValveManipulationEnd()

◆ OnValveManipulationStart()

void OnValveManipulationStart ( int  pValveIndex)

◆ OnVariablesSynchronized()

◆ PackArrayOfBoolStatesIntoBits()

protected int PackArrayOfBoolStatesIntoBits ( array< bool pStates)

Referenced by SyncValveVariables().

◆ PlayPipeCreakingSoundOnLocation()

◆ PlayValveManipulationSound()

◆ PressureLevelSettings()

void PressureLevelSettings ( int  pPressureLevel,
float  pDuration 
)

◆ PressureLevelToValue()

protected float PressureLevelToValue ( int  pPressureLevel)

References PL_AVERAGE, PL_MAX, and PL_MIN.

Referenced by EOnPostSimulate().

◆ PreviousPressureLevelStageSettings()

◆ PreviousWaterLevelStageSettings()

◆ RegisterValve()

◆ ResetState()

◆ SetActions()

override void SetActions ( )

◆ SetDefaultPressureLevelStageSettings()

protected void SetDefaultPressureLevelStageSettings ( int  pValveIndex)

◆ SetLastActiveValve()

protected void SetLastActiveValve ( int  pValveIndex)

References m_LastActiveValve.

Referenced by OnValveManipulationEnd().

◆ SetValvePressureLevelGauge()

protected void SetValvePressureLevelGauge ( int  pValveIndex,
float  pValue 
)

◆ SetWaterLevelHeight()

◆ SyncValveVariables()

◆ TranslateMemoryPointsToWaterLevels()

protected void TranslateMemoryPointsToWaterLevels ( )

◆ UnpackBitsToArrayOfBoolStates()

protected array< bool > UnpackBitsToArrayOfBoolStates ( int  pPackedBits,
int  pArrayLength 
)

Referenced by OnVariablesSynchronized().

◆ WaterLevelToHeight()

◆ ~Land_Underground_WaterReservoir()

Variable Documentation

◆ ANIM_PHASE_VALVE_DRAIN

protected const string ANIM_PHASE_VALVE_DRAIN = "Valve1"

Referenced by AnimateValve().

◆ ANIM_PHASE_VALVE_FILL

protected const string ANIM_PHASE_VALVE_FILL = "Valve2"

Referenced by AnimateValve().

◆ ANIM_PHASE_VALVE_GAUGE_DRAIN

protected const string ANIM_PHASE_VALVE_GAUGE_DRAIN = "ValveGauge1"

tighter broken pipe

Referenced by GetValvePressureLevelGauge(), and SetValvePressureLevelGauge().

◆ ANIM_PHASE_VALVE_GAUGE_FILL

protected const string ANIM_PHASE_VALVE_GAUGE_FILL = "ValveGauge2"

◆ Duration

float Duration

Referenced by PressureLevelSettings().

◆ m_DrainValvePressureDeanimationSettings

protected ref array<ref PressureLevelSettings> m_DrainValvePressureDeanimationSettings

◆ m_DrainValvePressureLevelStageIndex

◆ m_DrainValvePressureStageSettings

◆ m_DrainValveWaterLevelStageIndex

protected int m_DrainValveWaterLevelStageIndex

◆ m_DrainValveWaterStageSettings

protected ref array<ref WaterLevelSettings> m_DrainValveWaterStageSettings

◆ m_FillValvePressureDeanimationSettings

◆ m_FillValvePressureLevelStageIndex

◆ m_FillValvePressureStageSettings

◆ m_FillValveWaterLevelStageIndex

◆ m_FillValveWaterStageSettings

◆ m_LastActiveValve

protected int m_LastActiveValve

◆ m_PipeBrokenParticles

protected ref ParticleSourceArray m_PipeBrokenParticles

◆ m_PipeCreakingSoundRequested

protected bool m_PipeCreakingSoundRequested

◆ m_PipeCreakingSounds

protected ref EffectSound m_PipeCreakingSounds

◆ m_PipeSounds

◆ m_PipeUnderwaterSound

protected bool m_PipeUnderwaterSoundRunning protected ref EffectSound m_PipeUnderwaterSound

◆ m_PressureAnimationRequests

protected ref array<bool> m_PressureAnimationRequests

◆ m_PressureDeanimationRequests

protected ref array<bool> m_PressureDeanimationRequests

◆ m_PressureTimesAccumulated

protected ref array<float> m_PressureTimesAccumulated

◆ m_SpawnedWaterObject

protected Object m_SpawnedWaterObject

Referenced by LateInit(), and SetWaterLevelHeight().

◆ m_ValveManipulatedIndex

◆ m_ValveManipulatedIndexPrev

protected int m_ValveManipulatedIndexPrev

Referenced by Init(), and ResetState().

◆ m_ValveManipulationSound

protected ref EffectSound m_ValveManipulationSound

◆ m_ValveManipulationSoundRequested

protected bool m_ValveManipulationSoundRequested

◆ m_ValveNames

protected ref array<string> m_ValveNames

◆ m_ValveParticles

protected ref ParticleSourceArray m_ValveParticles

◆ m_ValveStates

◆ m_ValveStatesPacked

protected int m_ValveStatesPacked

◆ m_ValveStatesPackedPrev

protected int m_ValveStatesPackedPrev

Referenced by SyncValveVariables().

◆ m_WaterLevelActual

◆ m_WaterLevelDefault

protected vector m_WaterLevelDefault

Referenced by LateInit(), and SetWaterLevelHeight().

◆ m_WaterLevelHeightActual

protected float m_WaterLevelHeightActual

◆ m_WaterLevelMovementSound

protected ref EffectSound m_WaterLevelMovementSound

◆ m_WaterLevelPrev

◆ m_WaterLevelsAvailable

◆ m_WaterLevelSnapshot

protected ref WaterLevelSnapshot m_WaterLevelSnapshot

for deanimation purposes

Referenced by EOnPostSimulate(), and Init().

◆ m_WaterLevelTimesAccumulated

protected ref array<float> m_WaterLevelTimesAccumulated

◆ OBJECT_NAME_WATER_PLANE

class WaterLevelSnapshot OBJECT_NAME_WATER_PLANE = "Land_Underground_WaterReservoir_Water"

Referenced by LateInit().

◆ PARTICLE_DRAIN_PIPE_MAX_PRESSURE

protected const int PARTICLE_DRAIN_PIPE_MAX_PRESSURE = ParticleList.WATER_SPILLING

Referenced by HandleVisualEffects().

◆ PARTICLE_FILL_PIPE_JET

protected const int PARTICLE_FILL_PIPE_JET = ParticleList.WATER_JET

Referenced by HandleVisualEffects().

◆ PARTICLE_FILL_PIPE_JET_WEAK

protected const int PARTICLE_FILL_PIPE_JET_WEAK = ParticleList.WATER_JET_WEAK

Referenced by HandleVisualEffects().

◆ PARTICLE_FILL_PIPE_MAX_PRESSURE

protected const int PARTICLE_FILL_PIPE_MAX_PRESSURE = ParticleList.WATER_SPILLING

Referenced by HandleVisualEffects().

◆ PIPE_CREAKING_MAX_TIME_DELAY_MS

protected const int PIPE_CREAKING_MAX_TIME_DELAY_MS = 15000

◆ PIPE_CREAKING_MIN_TIME_DELAY_MS

protected const int PIPE_CREAKING_MIN_TIME_DELAY_MS = 10000

◆ PIPE_CREAKING_SOUND_LOCATIONS

protected const string PIPE_CREAKING_SOUND_LOCATIONS[PIPE_CREAKING_SOUND_LOCATIONS_COUNT]
Initial value:
= {
"pipe_creaking_sound_pos_1",
"pipe_creaking_sound_pos_2",
"pipe_creaking_sound_pos_3",
"pipe_creaking_sound_pos_4"
}

Referenced by PlayPipeCreakingSoundOnLocation().

◆ PIPE_CREAKING_SOUND_LOCATIONS_COUNT

protected const int PIPE_CREAKING_SOUND_LOCATIONS_COUNT = 4

◆ PIPE_INDEX_BROKEN1

protected const int PIPE_INDEX_BROKEN1 = 0

Referenced by HandleVisualEffects().

◆ PIPE_INDEX_BROKEN2

protected const int PIPE_INDEX_BROKEN2 = 1

main broken pipe

Referenced by HandleVisualEffects().

◆ PIPE_NAME_BROKEN1

protected const string PIPE_NAME_BROKEN1 = "pipe_broken_1"

◆ PIPE_NAME_BROKEN2

protected const string PIPE_NAME_BROKEN2 = "pipe_broken_2"

Referenced by HandleVisualEffects().

◆ PIPE_NAME_LEAKING_DRAIN

protected const string PIPE_NAME_LEAKING_DRAIN = "pipe_leaking_1"

Referenced by HandleVisualEffects().

◆ PIPE_NAME_LEAKING_FILL

protected const string PIPE_NAME_LEAKING_FILL = "pipe_leaking_2"

Referenced by HandleVisualEffects().

◆ PIPES_BROKEN_COUNT

protected const int PIPES_BROKEN_COUNT = 2

Referenced by Init().

◆ PL_AVERAGE

protected const int PL_AVERAGE = 1

◆ PL_MAX

protected const int PL_MAX = 2

◆ PL_MIN

protected const int PL_MIN = 0

◆ PressureLevel

class WaterLevelSettings PressureLevel

Referenced by PressureLevelSettings().

◆ SOUND_NAME_PIPE_CREAKING

protected const string SOUND_NAME_PIPE_CREAKING = "WaterObjectUndergroundPipeCreaking_SoundSet"

◆ SOUND_NAME_PIPE_SPRINKLING_END

protected const string SOUND_NAME_PIPE_SPRINKLING_END = "WaterObjectUndergroundPipeSprinkling_End_SoundSet"

◆ SOUND_NAME_PIPE_SPRINKLING_LOOP1

protected const string SOUND_NAME_PIPE_SPRINKLING_LOOP1 = "WaterObjectUndergroundPipeSprinkling_Loop1_SoundSet"

◆ SOUND_NAME_PIPE_SPRINKLING_LOOP2

protected const string SOUND_NAME_PIPE_SPRINKLING_LOOP2 = "WaterObjectUndergroundPipeSprinkling_Loop2_SoundSet"

◆ SOUND_NAME_PIPE_SPRINKLING_START

protected const string SOUND_NAME_PIPE_SPRINKLING_START = "WaterObjectUndergroundPipeSprinkling_Start_SoundSet"

◆ SOUND_NAME_UPIPE_SPRINKLING_END

protected const string SOUND_NAME_UPIPE_SPRINKLING_END = "WaterObjectUndergroundUnderwaterPipe_End_SoundSet"

◆ SOUND_NAME_UPIPE_SPRINKLING_LOOP

protected const string SOUND_NAME_UPIPE_SPRINKLING_LOOP = "WaterObjectUndergroundUnderwaterPipe_Loop_SoundSet"

◆ SOUND_NAME_UPIPE_SPRINKLING_START

protected const string SOUND_NAME_UPIPE_SPRINKLING_START = "WaterObjectUndergroundUnderwaterPipe_Start_SoundSet"

◆ SOUND_NAME_VALVE_MANIPULATION

protected const string SOUND_NAME_VALVE_MANIPULATION = "WaterObjectUndergroundValve_SoundSet"

◆ SOUND_NAME_WATER_DRAIN_LOOP

protected const string SOUND_NAME_WATER_DRAIN_LOOP = "WaterObjectUndergroundUnderwaterEmpty_Loop_SoundSet"

◆ SOUND_NAME_WATER_FILL_LOOP

protected const string SOUND_NAME_WATER_FILL_LOOP = "WaterObjectUndergroundUnderwaterFill_Loop_SoundSet"

◆ VALVE_INDEX_DRAIN

◆ VALVE_INDEX_FILL

◆ VALVE_NAME_DRAIN

protected const string VALVE_NAME_DRAIN = "valve1"

◆ VALVE_NAME_FILL

protected const string VALVE_NAME_FILL = "valve2"

◆ VALVES_COUNT

protected const int VALVES_COUNT = 2

◆ WATER_LEVEL_ABOVE_PIPES

protected const string WATER_LEVEL_ABOVE_PIPES = "water_level_above_pipes"
static

◆ WATER_LEVEL_AVERAGE

protected const string WATER_LEVEL_AVERAGE = "water_level_average"
static

◆ WATER_LEVEL_MAX

protected const string WATER_LEVEL_MAX = "water_level_max"
static

◆ WATER_LEVEL_MIN

protected const string WATER_LEVEL_MIN = "water_level_min"
static

◆ WATER_LEVELS

protected const string WATER_LEVELS[WATER_LEVELS_COUNT]
Initial value:
= {
}
static protected const string WATER_LEVEL_AVERAGE
Definition Land_Underground_WaterReservoir.c:96
static protected const string WATER_LEVEL_MIN
Definition Land_Underground_WaterReservoir.c:98
static protected const string WATER_LEVEL_ABOVE_PIPES
Definition Land_Underground_WaterReservoir.c:97
static protected const string WATER_LEVEL_MAX
Definition Land_Underground_WaterReservoir.c:95

Referenced by TranslateMemoryPointsToWaterLevels().

◆ WATER_LEVELS_COUNT

protected const int WATER_LEVELS_COUNT = 4

◆ WL_ABOVE_PIPES

◆ WL_AVERAGE

◆ WL_MAX

◆ WL_MIN

protected const int WL_MIN = 0