3 const float MOUTH_ADJUST_RADIUS = 0.2;
4 const string SOUND_BUBBLING =
"Geyser_bubbling_loop_SoundSet";
5 const string SOUND_ERUPTION =
"Geyser_eruption_loop_SoundSet";
6 const string SOUND_ERUPTION_START =
"Geyser_eruption_start_SoundSet";
7 const string SOUND_ERUPTION_TALL =
"Geyser_eruption_tall_loop_SoundSet";
8 const string SOUND_ERUPTION_TALL_START =
"Geyser_eruption_tall_start_SoundSet";
9 const string SOUND_ERUPTION_TALL_END =
"Geyser_eruption_tall_splash_SoundSet";
33 RegisterNetSyncVariableInt(
"m_GeyserState", 0, 32);
45 if (!
GetGame().IsDedicatedServer())
58 super.EEDelete(parent);
63 super.OnEnterServerEvent(insider);
69 entity.ProcessDirectDamage(
DamageType.CUSTOM,
this,
"",
"HeatDamage",
"0 0 0", 1000);
75 super.OnLeaveServerEvent(insider);
80 super.OnEnterClientEvent(insider);
85 super.OnLeaveClientEvent(insider);
90 super.OnVariablesSynchronized();
proto native float SurfaceRoadY(float x, float z, RoadSurfaceDetection rsd=RoadSurfaceDetection.LEGACY)
Wrapper class for managing sound through SEffectManager.
override void Stop()
Stops sound.
override void OnVariablesSynchronized()
EffectSound m_SoundEruptionSecondary
ParticleSource m_GeyserParticle
ParticleSource m_GeyserTallParticle
override void OnLeaveServerEvent(TriggerInsider insider)
void RemoveGeyserState(EGeyserState state)
EffectSound m_SoundBubbling
override void OnLeaveClientEvent(TriggerInsider insider)
EGeyserState GetGeyserState()
vector GetAdjustedPosition(float height=0)
bool CheckGeyserState(EGeyserState state)
EffectSound m_SoundEruptionSecondaryStart
override void OnEnterClientEvent(TriggerInsider insider)
override void EEDelete(EntityAI parent)
ParticleSource m_GeyserSplashParticle
EffectSound m_SoundEruption
void AddGeyserState(EGeyserState state)
override void DeferredInit()
override void OnEnterServerEvent(TriggerInsider insider)
EffectSound m_SoundEruptionStart
ParticleSource m_GeyserBubblesParticle
EffectSound m_SoundEruptionSecondaryEnd
EGeyserState m_GeyserState
override string GetDisplayName()
Entity which has the particle instance as an ObjectComponent.
static override Particle PlayInWorld(int particle_id, vector global_pos)
Creates a particle emitter on the given position and activates it.
Manager class for managing Effect (EffectParticle, EffectSound)
static EffectSound PlaySound(string sound_set, vector position, float play_fade_in=0, float stop_fade_out=0, bool loop=false)
Create and play an EffectSound.
The object which is in a trigger and its metadata.
override bool IsInitialized()
DamageType
exposed from C++ (do not change)
proto native CGame GetGame()
class JsonUndergroundAreaTriggerData GetPosition
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor)