DayZ 1.24
Loading...
Searching...
No Matches
Roadflare Class Reference
Inheritance diagram for Roadflare:
[legend]
Collaboration diagram for Roadflare:
[legend]

Protected Attributes

Particle m_ParInitialFire
 
Particle m_ParMainFire
 
Particle m_ParFinalFire
 
Particle m_ParJustSmoke
 
EffectSound m_BurningSound
 
EffectSound m_IgniteSound
 
ref Timer m_FinalSmokeTimer
 

Static Protected Attributes

const int INITIAL_BURNING_STATE_TIME = 5
 
const int FINAL_BURNING_STATE_TIME = 60
 
vector m_FlameLocalPos = "0 0.285 0"
 
int PARTICLE_INIT_FIRE = ParticleList.ROADFLARE_BURNING_INIT
 
int PARTICLE_MAIN_FIRE = ParticleList.ROADFLARE_BURNING_MAIN
 
int PARTICLE_FINAL_FIRE = ParticleList.ROADFLARE_BURNING_ENDING
 
int PARTICLE_FINAL_SMOKE = ParticleList.ROADFLARE_BURNING_SMOKE
 
const string BURNING_SOUND = "roadflareLoop_SoundSet"
 
const string IGNITE_SOUND = "roadflareTurnOn_SoundSet"
 
const int BURNING_NOISE_RANGE = 30
 

Private Member Functions

void Roadflare ()
 
void SetModelState (int enum_state)
 
override void EEDelete (EntityAI parent)
 
override void OnStoreSave (ParamsWriteContext ctx)
 
override bool OnStoreLoad (ParamsReadContext ctx, int version)
 
void UpdateModelSelections ()
 
override void OnWorkStart ()
 
void SetBurningState (int state_number)
 
void SetBurningStateSynchronized (int state_number)
 
override void OnWork (float consumed_energy)
 
override void OnWorkStop ()
 
void UpdateActiveParticles ()
 
void DestroyParticle (Particle p)
 
void DestroyParticleEx (out Particle p)
 
void DestroyAllParticles ()
 
void StopSmoking ()
 
override void OnInventoryExit (Man player)
 
override bool CanPutInCargo (EntityAI parent)
 
override void OnInventoryEnter (Man player)
 
override void OnActivatedByItem (notnull ItemBase item)
 
override bool CanIgniteItem (EntityAI ignite_target=NULL)
 
override void OnVariablesSynchronized ()
 
override void SetActions ()
 
- Private Member Functions inherited from ItemBase
void BarbedWire ()
 
void ~BarbedWire ()
 
override void EEInit ()
 
bool IsMounted ()
 
bool GetSlotLockedState ()
 
void SetMountedState (bool is_mounted)
 
void UpdateAttachmentSlot ()
 
void LockAttachmentSlot (bool lock_state)
 
void Synchronize ()
 
override void OnVariablesSynchronized ()
 
void PlayDeployLoopSound ()
 
void StopDeployLoopSound ()
 
override void OnStoreSave (ParamsWriteContext ctx)
 
override bool OnStoreLoad (ParamsReadContext ctx, int version)
 
override void AfterStoreLoad ()
 
override void OnWorkStart ()
 
override void OnWorkStop ()
 
override void OnWork (float consumed_energy)
 
override void OnIsPlugged (EntityAI source_device)
 
override void OnIsUnplugged (EntityAI last_energy_source)
 
override void OnInventoryEnter (Man player)
 
void CreateElectrifiedDamageTrigger ()
 
void CreateDamageTrigger ()
 
void DestroyDamageTrigger ()
 
void Spark ()
 
void SoundCut ()
 
void SoundSpark ()
 
void SoundBuzzLoopStart ()
 
void SoundBuzzLoopStop ()
 
void SoundElectricShock ()
 
void SoundCollision ()
 
override void PreAreaDamageActions ()
 
override void PostAreaDamageActions ()
 
override void OnItemLocationChanged (EntityAI old_owner, EntityAI new_owner)
 
override void OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0")
 
override string GetDeploySoundset ()
 
override string GetLoopDeploySoundset ()
 
override void SetActions ()
 
void BaseBuildingBase ()
 
override void EEDelete (EntityAI parent)
 
override string GetInvulnerabilityTypeString ()
 
override bool CanObstruct ()
 
override int GetHideIconMask ()
 
void SynchronizeBaseState ()
 
override void OnVariablesSynchronized ()
 
void OnSynchronizedClient ()
 
void RegisterPartForSync (int part_id)
 
void UnregisterPartForSync (int part_id)
 
bool IsPartBuildInSyncData (int part_id)
 
void RegisterActionForSync (int part_id, int action_id)
 
void ResetActionSyncData ()
 
void SetActionFromSyncData ()
 
void SetPartFromSyncData (ConstructionPart part)
 
void SetPartsFromSyncData ()
 
ConstructionPart GetConstructionPartById (int id)
 
bool HasBase ()
 
void SetBaseState (bool has_base)
 
override bool IsDeployable ()
 
bool IsOpened ()
 
ItemBase CreateConstructionKit ()
 
void CreateConstructionKitInHands (notnull PlayerBase player)
 
vector GetKitSpawnPosition ()
 
string GetConstructionKitType ()
 
void DestroyConstructionKit (ItemBase construction_kit)
 
void DestroyConstruction ()
 
override void OnStoreSave (ParamsWriteContext ctx)
 
override bool OnStoreLoad (ParamsReadContext ctx, int version)
 
override void AfterStoreLoad ()
 
void SetPartsAfterStoreLoad ()
 
override void EEHealthLevelChanged (int oldLevel, int newLevel, string zone)
 
override void EEOnAfterLoad ()
 
override void EEInit ()
 
override void EEItemAttached (EntityAI item, string slot_name)
 
override void EEItemDetached (EntityAI item, string slot_name)
 
void OnSetSlotLock (int slotId, bool locked, bool was_locked)
 
override bool IgnoreOutOfReachCondition ()
 
void OnPartBuiltServer (notnull Man player, string part_name, int action_id)
 
void OnPartBuiltClient (string part_name, int action_id)
 
void OnPartDismantledServer (notnull Man player, string part_name, int action_id)
 
void OnPartDismantledClient (string part_name, int action_id)
 
void OnPartDestroyedServer (Man player, string part_name, int action_id, bool destroyed_by_connected_part=false)
 
void OnPartDestroyedClient (string part_name, int action_id)
 
void InitBaseState ()
 
void InitVisuals ()
 
void UpdateVisuals ()
 
void UpdateAttachmentVisuals (string slot_name, bool is_locked)
 
void UpdatePhysics ()
 
void UpdateAttachmentPhysics (string slot_name, bool is_locked)
 
void UpdateNavmesh ()
 
override bool CanUseConstruction ()
 
override bool CanUseConstructionBuild ()
 
bool IsAttachmentSlotLocked (EntityAI attachment)
 
bool IsAttachmentSlotLocked (string slot_name)
 
void GetAttachmentSlots (EntityAI entity, out array< string > attachment_slots)
 
bool CheckSlotVerticalDistance (int slot_id, PlayerBase player)
 
bool CheckMemoryPointVerticalDistance (float max_dist, string selection, PlayerBase player)
 
bool CheckLevelVerticalDistance (float max_dist, string selection, PlayerBase player)
 
void ConstructionInit ()
 
Construction GetConstruction ()
 
override bool CanReceiveAttachment (EntityAI attachment, int slotId)
 
bool HasAttachmentsBesidesBase ()
 
override bool ShowZonesHealth ()
 
override bool CanPutInCargo (EntityAI parent)
 
override bool CanRemoveFromCargo (EntityAI parent)
 
override bool CanPutIntoHands (EntityAI parent)
 
override bool IsFacingPlayer (PlayerBase player, string selection)
 
override bool IsPlayerInside (PlayerBase player, string selection)
 
bool MustBeBuiltFromOutside ()
 Some buildings can only be built from outside.
 
bool IsFacingCamera (string selection)
 
bool PerformRoofCheckForBase (string partName, PlayerBase player, out bool result)
 
bool HasProperDistance (string selection, PlayerBase player)
 
bool CanFoldBaseBuildingObject ()
 
ItemBase FoldBaseBuildingObject ()
 
void CreateAreaDamage (string slot_name, float rotation_angle=0)
 
void CalcDamageAreaRotation (float angle_deg, out vector center, out vector orientation)
 
void DestroyAreaDamage (string slot_name)
 
override bool IsIgnoredByConstruction ()
 
void SoundBuildStart (string part_name)
 
void SoundDismantleStart (string part_name)
 
void SoundDestroyStart (string part_name)
 
string GetBuildSoundByMaterial (string part_name)
 
string GetDismantleSoundByMaterial (string part_name)
 
void CheckForHybridAttachments (EntityAI item, string slot_name)
 
override int GetDamageSystemVersionChange ()
 
override void SetActions ()
 
void DebugCustomState ()
 
array< stringOnDebugSpawnBuildExcludes ()
 Excludes certain parts from being built by OnDebugSpawn, uses Contains to compare.
 
override void OnDebugSpawn ()
 
void FullyBuild ()
 
void BatteryCharger ()
 
override bool IsElectricAppliance ()
 
override void OnWork (float consumed_energy)
 
override void OnWorkStart ()
 
override void OnWorkStop ()
 
void UpdateStatusLights ()
 
override bool CanPutInCargo (EntityAI parent)
 
override bool CanPutIntoHands (EntityAI player)
 
override void OnOwnSocketTaken (EntityAI device)
 
override void OnOwnSocketReleased (EntityAI device)
 
override bool CanReceiveAttachment (EntityAI attachment, int slotId)
 
override bool CanLoadAttachment (EntityAI attachment)
 
void HideAttachedClipsStates ()
 
void RedLightOn ()
 
void GreenLightOn ()
 
void YellowLightOn ()
 
void SwitchLightOn ()
 
void RedLightOff ()
 
void GreenLightOff ()
 
void YellowLightOff ()
 
void SwitchLightOff ()
 
override void OnSwitchOn ()
 
override void OnSwitchOff ()
 
override void OnInventoryExit (Man player)
 
override void OnInventoryEnter (Man player)
 
override void OnVariablesSynchronized ()
 
override void RefreshPhysics ()
 
override void OnPlacementStarted (Man player)
 
override void OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0")
 
override bool IsDeployable ()
 
override string GetPlaceSoundset ()
 
override void SetActions ()
 
override void OnWorkStart ()
 
override void OnWorkStop ()
 
void RefreshFlameVisual (bool working=false)
 
void SoundBurningStart ()
 
void SoundBurningStop ()
 
override bool CanPutInCargo (EntityAI parent)
 
override bool CanRemoveFromCargo (EntityAI parent)
 
override bool IsIgnited ()
 
override void OnIgnitedTarget (EntityAI ignited_item)
 
override bool CanIgniteItem (EntityAI ignite_target=NULL)
 
override void SetActions ()
 
EntityAI GetGasCanister ()
 
bool HasEnoughEnergyForRepair (float pTime)
 
override void OnDebugSpawn ()
 
void KitBase ()
 
void ~KitBase ()
 
override bool IsBasebuildingKit ()
 
override bool HasProxyParts ()
 
override bool CanProxyObstruct ()
 
override void OnVariablesSynchronized ()
 
override void EEInit ()
 
override bool DisassembleOnLastDetach ()
 
override void EEItemDetached (EntityAI item, string slot_name)
 
override void OnItemLocationChanged (EntityAI old_owner, EntityAI new_owner)
 
override void OnEndPlacement ()
 
override void OnPlacementCancelled (Man player)
 
override bool IsDeployable ()
 
override bool CanAssignAttachmentsToQuickbar ()
 
override string GetDeploySoundset ()
 
override string GetLoopDeploySoundset ()
 
override string GetDeployFinishSoundset ()
 
override void RefreshPhysics ()
 
void UpdateVisuals ()
 
void UpdatePhysics ()
 
void PlayDeployLoopSound ()
 
void StopDeployLoopSound ()
 
void AssembleKit ()
 
void DisassembleKit (ItemBase item)
 
void CreateRope (Rope rope)
 
override void SetActions ()
 
void Paper ()
 
void ~Paper ()
 
override bool OnStoreLoad (ParamsReadContext ctx, int version)
 
override void OnStoreSave (ParamsWriteContext ctx)
 
override WrittenNoteData GetWrittenNoteData ()
 
override bool HasFlammableMaterial ()
 
override bool CanBeIgnitedBy (EntityAI igniter=null)
 
override bool CanIgniteItem (EntityAI ignite_target=null)
 
override void OnIgnitedTarget (EntityAI ignited_item)
 
override void OnIgnitedThis (EntityAI fire_source)
 
override bool IsThisIgnitionSuccessful (EntityAI item_source=null)
 
override void SetActions ()
 
void ParticleTest ()
 
override void EEDelete (EntityAI parent)
 
override void OnSwitchOn ()
 
override void OnSwitchOff ()
 
override void OnWorkStart ()
 
override void OnWorkStop ()
 
void SoundBurningStart ()
 
void SoundBurningStop ()
 
void SoundTurnOn ()
 
void SoundTurnOff ()
 
override void SetActions ()
 
ItemBase GetCookingEquipment ()
 
void SetCookingEquipment (ItemBase equipment)
 
void ClearCookingEquipment (ItemBase pItem)
 
void DestroyFireplace ()
 
override void EEInit ()
 
override void EEItemAttached (EntityAI item, string slot_name)
 
override void EEItemDetached (EntityAI item, string slot_name)
 
override void OnSwitchOn ()
 
override void OnSwitchOff ()
 
override void OnWorkStart ()
 
override void OnWorkStop ()
 
override void OnWork (float consumed_energy)
 
void CookWithEquipment ()
 
void RefreshFlameVisual (bool working=false, bool hasAttachment=false)
 
void RemoveCookingAudioVisuals ()
 
void SoundBurningStart ()
 
void SoundBurningStop ()
 
void SoundTurnOn ()
 
void SoundTurnOff ()
 
override bool CanPutInCargo (EntityAI parent)
 
override bool CanRemoveFromCargo (EntityAI parent)
 
override bool CanReceiveAttachment (EntityAI attachment, int slotId)
 
override bool CanLoadAttachment (EntityAI attachment)
 
override bool CanPutIntoHands (EntityAI parent)
 
override bool IsIgnited ()
 
override bool CanIgniteItem (EntityAI ignite_target=NULL)
 
override void SetActions ()
 
override void OnDebugSpawn ()
 
void PowerGeneratorBase ()
 
void ~PowerGeneratorBase ()
 
override void EEInit ()
 
override void EOnInit (IEntity other, int extra)
 
override float GetLiquidThroughputCoef ()
 
void StartLoopSound ()
 
override bool CanPutInCargo (EntityAI parent)
 
override bool CanPutIntoHands (EntityAI player)
 
bool CanManipulate ()
 
override void OnInitEnergy ()
 
override void OnWorkStart ()
 
override void OnWork (float consumed_energy)
 
override void OnWorkStop ()
 
override void OnItemLocationChanged (EntityAI old_owner, EntityAI new_owner)
 
override void EEItemAttached (EntityAI item, string slot_name)
 
override void EEItemDetached (EntityAI item, string slot_name)
 
void UpdateFuelMeter ()
 
void SetFuel (float fuel_amount)
 
float AddFuel (float available_fuel)
 
bool CanAddFuel (ItemBase container)
 
float GetFuel ()
 
float GetMaxFuel ()
 
bool HasSparkplug ()
 
override void OnVariablesSynchronized ()
 
override void OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0")
 
override string GetPlaceSoundset ()
 
override void SetActions ()
 
override void OnDebugSpawn ()
 
override void OnWorkStart ()
 
void StartPeriodicMeasurement ()
 
void PrepareMeasurement ()
 
void DoMeasurement ()
 
void StopPeriodicMeasurement ()
 
override void OnWorkStop ()
 
override void SetActions ()
 
void Spotlight ()
 
void ~Spotlight ()
 
override bool IsElectricAppliance ()
 
override void OnInitEnergy ()
 
override void EOnInit (IEntity other, int extra)
 
override void OnSwitchOn ()
 
override void OnSwitchOff ()
 
override void OnWorkStart ()
 
override void OnWorkStop ()
 
override void OnItemLocationChanged (EntityAI old_owner, EntityAI new_owner)
 
override void OnIsPlugged (EntityAI source_device)
 
void UpdateAllSelections ()
 
override void OnIsUnplugged (EntityAI last_energy_source)
 
override void OnVariablesSynchronized ()
 
void Fold (bool keep_connected=false)
 
void Unfold ()
 
override void OnStoreSave (ParamsWriteContext ctx)
 
override bool OnStoreLoad (ParamsReadContext ctx, int version)
 
override bool CanPutInCargo (EntityAI parent)
 
override bool CanPutIntoHands (EntityAI player)
 
bool IsFolded ()
 
void SoundTurnOn ()
 
void SoundTurnOff ()
 
override void OnPlacementStarted (Man player)
 
override void OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0")
 
override void OnPlacementCancelled (Man player)
 
override bool IsDeployable ()
 
override string GetDeploySoundset ()
 
override string GetLoopDeploySoundset ()
 
void PlayDeployLoopSound ()
 
void StopDeployLoopSound ()
 
override int GetViewIndex ()
 
override void SetActions ()
 
void TentBase ()
 
void ~TentBase ()
 
override string GetInvulnerabilityTypeString ()
 
override bool HasProxyParts ()
 
override bool CanProxyObstructSelf ()
 prevents showing cargo when outside the tent geometry
 
override bool IsItemTent ()
 
override bool CanBeRepairedByCrafting ()
 
override int GetMeleeTargetType ()
 
override void OnStoreSave (ParamsWriteContext ctx)
 
override bool OnStoreLoad (ParamsReadContext ctx, int version)
 
override void RefreshPhysics ()
 
override void OnItemLocationChanged (EntityAI old_owner, EntityAI new_owner)
 
override void OnVariablesSynchronized ()
 
override void EEHealthLevelChanged (int oldLevel, int newLevel, string zone)
 
void HideAllAnimationsAndProxyPhysics (bool hide_animations=true, bool hide_physics=true)
 
bool ConditionIntoInventory (EntityAI player)
 
override bool CanPutIntoHands (EntityAI parent)
 
override bool CanPutInCargo (EntityAI parent)
 
bool ConditionOutOfHands (EntityAI player)
 
override bool CanBeRepairedToPristine ()
 
void RefreshAttachements ()
 
override void EEItemAttached (EntityAI item, string slot_name)
 
override void EEItemDetached (EntityAI item, string slot_name)
 
override int GetViewIndex ()
 
int GetState ()
 
int GetStateLocal ()
 
bool CanBePacked ()
 
bool CanBeManipulated ()
 
bool CanAttach (ItemBase item)
 
override bool IsIgnoredByConstruction ()
 
void Pack (bool update_navmesh, bool init=false)
 
void Pitch (bool update_navmesh, bool init=false)
 
void TryPitch (bool update_navmesh, bool init=false)
 
void UpdateVisuals ()
 
void UpdatePhysics ()
 
void Refresh ()
 
bool CanToggleAnimations (string selection)
 
void ResetToggle ()
 
void ManipulateEntrance ()
 
void ManipulateWindow ()
 
bool IsManipulatedEntrance ()
 
bool IsManipulatedWindow ()
 
void ToggleAnimation (string selection)
 
void HandleCamoNetAttachment (bool hide)
 
void AnimateCamonetToggle (ToggleAnimations toggle)
 
void AnimateCamonetByOpeningSelection (string opening_selection)
 
string GetSoundOpen ()
 
string GetSoundClose ()
 
string GetSoundOpenWindow ()
 
string GetSoundCloseWindow ()
 
void SoundTentOpenPlay ()
 
void SoundTentClosePlay ()
 
void SoundTentOpenWindowPlay ()
 
void SoundTentCloseWindowPlay ()
 
void RegenerateNavmesh ()
 
bool HasClutterCutter ()
 
string GetClutterCutter ()
 
void DestroyClutterCutter ()
 
override bool IsDeployable ()
 
override void OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0")
 
void PlayDeployLoopSound ()
 
void StopDeployLoopSound ()
 
override void SetActions ()
 
void HandleOpeningsVisuals ()
 
void HandleOpeningsPhysics ()
 
override int GetDamageSystemVersionChange ()
 
override bool CanReceiveItemIntoCargo (EntityAI item)
 
override bool CanLoadItemIntoCargo (EntityAI item)
 
override bool CanReceiveAttachment (EntityAI attachment, int slotId)
 
override bool CanLoadAttachment (EntityAI attachment)
 
override bool CanBePlaced (Man player, vector position)
 
void SetIsBeingPacked (bool isBeingPacked)
 
void ToolBase ()
 
int GetDisarmRate ()
 
override void OnRPC (PlayerIdentity sender, int rpc_type, ParamsReadContext ctx)
 

Private Attributes

int m_BurningState = RoadflareBurningState.NOT_BURNING
 
RoadflareLight m_Light
 
int m_ModelState = RoadflareModelStates.DEFAULT
 
ref NoiseParams m_NoisePar
 
float m_NoiseTimer
 
- Private Attributes inherited from ItemBase
ref array< ref Slotm_Slots
 
int m_SlotFertilityState = 0
 
int m_SlotWateredState = 0
 
int m_MaxWateredStateVal = 0
 
float m_DefaultFertility = 1
 
ref Timer m_CheckRainTimer
 
EffectSound m_DeployLoopSound
 
SoundOnVehicle m_BuzzSoundLoop
 
ref Timer m_SparkEvent
 
ref AreaDamageManager m_AreaDamage
 
bool m_TriggerActive
 
bool m_IsPlaced
 
bool m_IsMounted
 
bool m_LastMountedState
 
const string SOUND_MOUNT = "putDown_BarbedWire_SoundSet"
 
EffectSound m_MountSound
 
EffectSound m_Sound
 
ref map< string, ref AreaDamageManagerm_DamageTriggers
 
ref array< stringm_HybridAttachments
 
ref array< stringm_Mountables
 
const string ATTACHED_CLIPS_STATES [] = {SEL_CLIPS_CAR, SEL_CLIPS_TRUCK}
 
const int ATTACHED_CLIPS_STATES_COUNT = 2
 
int m_BatteryEnergy0To100
 
float m_ChargeEnergyPerSecond
 
ref Timer m_UpdateStatusLightsTimer
 
bool m_BlinkingStatusLightIsOn = false
 
BlowtorchLight m_Light
 
EffectSound m_SoundBurningLoop
 
bool m_DeployedRegularly
 
ref WrittenNoteData m_NoteContents
 
int PARTICLE_PATH
 
Particle m_Particle
 
EffectSound m_SoundTurnOn
 
EffectSound m_SoundTurnOff
 
const string FLAME_BUTANE_ON = "dz\\gear\\cooking\\data\\flame_butane_ca.paa"
 
const string FLAME_BUTANE_OFF = ""
 
 ATTACHMENT_COOKING_POT = Pot
 
 ATTACHMENT_FRYING_PAN = FryingPan
 
 ATTACHMENT_CAULDRON = Cauldron
 
const float PARAM_COOKING_TEMP_THRESHOLD = 100
 
const float PARAM_COOKING_EQUIP_TEMP_INCREASE = 10
 
const float PARAM_COOKING_EQUIP_MAX_TEMP = 250
 
const float PARAM_COOKING_TIME_INC_COEF = 0.5
 
ref UniversalTemperatureSource m_UTSource
 DEPRECATED Attached spark plug item.
 
ref UniversalTemperatureSourceSettings m_UTSSettings
 
ref UniversalTemperatureSourceLambdaConstant m_UTSLConst
 
EffectSound m_EngineLoop
 
EffectSound m_EngineStart
 
EffectSound m_EngineStop
 
ref Timer m_SoundLoopStartTimer
 
Effect m_Smoke
 
ItemBase m_SparkPlug
 
ref UniversalTemperatureSourceLambdaEngine m_UTSLEngine
 
ref Timer m_Timer
 
int m_State
 
int m_StateLocal = -1
 
bool m_IsEntrance
 
bool m_IsWindow
 
bool m_IsToggle
 
bool m_IsBeingPacked = false
 
int m_OpeningMask = 0
 
int m_OpeningMaskLocal = -1
 
ref map< ref ToggleAnimations, boolm_ToggleAnimations
 
ref array< stringm_ShowAnimationsWhenPitched
 
ref array< stringm_ShowAnimationsWhenPacked
 
Object m_ClutterCutter
 
CamoNet m_CamoNet
 
vector m_HalfExtents
 
int m_MineDisarmRate = 60
 
EntityAI m_Bait
 
bool m_IsActive
 
bool m_IsDeployed
 
bool m_IsInProgress
 
string m_AnimationPhaseSet
 
string m_AnimationPhaseTriggered
 
string m_AnimationPhaseUsed
 
ref array< stringm_PlaceableWaterSurfaceList
 DEPRECATED.
 
bool m_WaterSurfaceForSetup
 
ref multiMap< string, floatm_CatchesPond
 
ref multiMap< string, floatm_CatchesSea
 
ref multiMap< string, floatm_CatchesGroundAnimal
 
ref EffectSound m_DeployLoopSound
 
ref Timer m_PrevTimer
 
bool m_NeedInstalation
 
bool m_BaitNeeded
 
bool m_IsUsable
 

Static Private Attributes

static const string STANDS_FOLDED = "Sticks_Flare_Folded"
 
static const string STANDS_UNFOLDED = "Sticks_Flare_Unfolded"
 
static const string FLARE_CAP = "Flare_cap"
 
static const string UNIGNITED_TIP = "Pristine"
 
static const string IGNITED_TIP = "Burning"
 
static const string EXTINGUISHED_TIP = "Burned_out"
 
static const int SELECTION_Burning = 0
 
static const int SELECTION_Burned_out = 1
 
static const int SELECTION_Pristine = 2
 
static const int SELECTION_All = 3
 
static const string DEFAULT_TEXTURE = "dz\\gear\\consumables\\data\\road_flare_co.paa"
 
static const string BURNING_TEXTURE = "dz\\gear\\consumables\\data\\road_flare_e_co.paa"
 
static const string DEFAULT_MATERIAL = "dz\\gear\\consumables\\data\\road_flare.rvmat"
 
static const string BURNING_MATERIAL = "dz\\gear\\consumables\\data\\road_flare_on.rvmat"
 
- Static Private Attributes inherited from ItemBase
const string SEL_CLIPS_CAR = "clips_car_battery"
 
const string SEL_CLIPS_TRUCK = "clips_truck_battery"
 
const string SEL_CLIPS_DETACHED = "clips_detached"
 
const string SEL_CLIPS_FOLDED = "clips_folded"
 
const string SEL_SWITCH_ON = "switch_on"
 
const string SEL_SWITCH_OFF = "switch_off"
 
const string SEL_CORD_PLUGGED = "cord_plugged"
 
const string SEL_CORD_FOLDED = "cord_folded"
 
const string SEL_LIGHT_STATE_1 = "light_stand_by"
 
const string SEL_LIGHT_STATE_2 = "light_charging"
 
const string SEL_LIGHT_STATE_3 = "light_charged"
 
const string RED_LIGHT_GLOW = "dz\\gear\\camping\\data\\battery_charger_light_r.rvmat"
 
const string GREEN_LIGHT_GLOW = "dz\\gear\\camping\\data\\battery_charger_light_g.rvmat"
 
const string YELLOW_LIGHT_GLOW = "dz\\gear\\camping\\data\\battery_charger_light_y.rvmat"
 
const string SWITCH_LIGHT_GLOW = "dz\\gear\\camping\\data\\battery_charger_light_switch_on.rvmat"
 
const string DEFAULT_MATERIAL = "dz\\gear\\camping\\data\\battery_charger.rvmat"
 
float m_BlinkingStatusLightInterval = 0.4
 

Detailed Description

Definition at line 24 of file Roadflare.c.

Constructor & Destructor Documentation

◆ Roadflare()

void Roadflare::Roadflare ( )
inlineprivate

Definition at line 82 of file Roadflare.c.

83 {
84 RegisterNetSyncVariableInt("m_BurningState");
85 }

Member Function Documentation

◆ CanIgniteItem()

override bool Roadflare::CanIgniteItem ( EntityAI ignite_target = NULL)
inlineprivate

Definition at line 456 of file Roadflare.c.

457 {
458 return GetCompEM().IsWorking();
459 }

◆ CanPutInCargo()

override bool Roadflare::CanPutInCargo ( EntityAI parent)
inlineprivate

Definition at line 428 of file Roadflare.c.

429 {
430 if (!super.CanPutInCargo(parent))
431 return false;
432
433 if (parent && parent.IsInherited(FireplaceBase))
434 return true;
435
436 if (m_BurningState != RoadflareBurningState.NOT_BURNING)
437 return false;
438
439 return true;
440 }
RoadflareBurningState
Definition Roadflare.c:8
int m_BurningState
Definition Roadflare.c:30

References m_BurningState.

◆ DestroyAllParticles()

void Roadflare::DestroyAllParticles ( )
inlineprivate

Definition at line 394 of file Roadflare.c.

395 {
400 }
void DestroyParticleEx(out Particle p)
Definition Roadflare.c:387
Particle m_ParMainFire
Definition Roadflare.c:37
Particle m_ParFinalFire
Definition Roadflare.c:38
Particle m_ParJustSmoke
Definition Roadflare.c:39
Particle m_ParInitialFire
Definition Roadflare.c:36

References DestroyParticleEx(), m_ParFinalFire, m_ParInitialFire, m_ParJustSmoke, and m_ParMainFire.

Referenced by EEDelete(), and UpdateActiveParticles().

◆ DestroyParticle()

void Roadflare::DestroyParticle ( Particle p)
inlineprivate

Definition at line 378 of file Roadflare.c.

379 {
380 if (p)
381 {
382 p.SetWiggle(0, 0);
383 p.Stop();
384 }
385 }

Referenced by DestroyParticleEx().

◆ DestroyParticleEx()

void Roadflare::DestroyParticleEx ( out Particle p)
inlineprivate

Definition at line 387 of file Roadflare.c.

388 {
390 p = null;
391 }
void DestroyParticle(Particle p)
Definition Roadflare.c:378

References DestroyParticle().

Referenced by DestroyAllParticles(), and UpdateActiveParticles().

◆ EEDelete()

override void Roadflare::EEDelete ( EntityAI parent)
inlineprivate

Definition at line 94 of file Roadflare.c.

95 {
96 super.EEDelete(parent);
97
98 if (GetGame())
99 {
102 delete m_FinalSmokeTimer;
103 }
104
106
107 if (m_Light)
108 m_Light.FadeOut(0);
109 }
void DestroyAllParticles()
Definition Roadflare.c:394
EffectSound m_BurningSound
Definition Roadflare.c:47
RoadflareLight m_Light
Definition Roadflare.c:33
EffectSound m_IgniteSound
Definition Roadflare.c:48
ref Timer m_FinalSmokeTimer
Definition Roadflare.c:54
Manager class for managing Effect (EffectParticle, EffectSound)
static void DestroyEffect(Effect effect)
Unregisters, stops and frees the Effect.
proto native CGame GetGame()

References DestroyAllParticles(), SEffectManager::DestroyEffect(), GetGame(), m_BurningSound, m_FinalSmokeTimer, m_IgniteSound, and m_Light.

◆ OnActivatedByItem()

override void Roadflare::OnActivatedByItem ( notnull ItemBase item)
inlineprivate

Definition at line 450 of file Roadflare.c.

451 {
452 if (item.IsInherited(TripwireTrap))
453 GetCompEM().SwitchOn();
454 }

◆ OnInventoryEnter()

override void Roadflare::OnInventoryEnter ( Man player)
inlineprivate

Definition at line 442 of file Roadflare.c.

443 {
444 super.OnInventoryEnter(player);
445
446 HideSelection(STANDS_UNFOLDED);
447 ShowSelection(STANDS_FOLDED);
448 }
static const string STANDS_FOLDED
Definition Roadflare.c:60
static const string STANDS_UNFOLDED
Definition Roadflare.c:61

References STANDS_FOLDED, and STANDS_UNFOLDED.

◆ OnInventoryExit()

override void Roadflare::OnInventoryExit ( Man player)
inlineprivate

Definition at line 410 of file Roadflare.c.

411 {
412 super.OnInventoryExit(player);
413
414 if (m_BurningState != RoadflareBurningState.NOT_BURNING)
415 {
416 HideSelection(STANDS_FOLDED);
417 ShowSelection(STANDS_UNFOLDED);
418
419 if (player)
420 {
421 vector ori_rotate = player.GetOrientation();
422 ori_rotate = ori_rotate + Vector(180, 32, 0);
423 SetOrientation(ori_rotate);
424 }
425 }
426 }
proto native vector Vector(float x, float y, float z)
Vector constructor from components.

References m_BurningState, STANDS_FOLDED, STANDS_UNFOLDED, and Vector().

◆ OnStoreLoad()

override bool Roadflare::OnStoreLoad ( ParamsReadContext ctx,
int version )
inlineprivate

Definition at line 118 of file Roadflare.c.

119 {
120 if (!super.OnStoreLoad(ctx, version))
121 return false;
122
123 int state;
124 if (!ctx.Read(state))
125 state = RoadflareModelStates.DEFAULT;
126
128
129 return true;
130 }
RoadflareModelStates
Definition Roadflare.c:17
void SetModelState(int enum_state)
Definition Roadflare.c:88

References SetModelState().

◆ OnStoreSave()

override void Roadflare::OnStoreSave ( ParamsWriteContext ctx)
inlineprivate

Definition at line 111 of file Roadflare.c.

112 {
113 super.OnStoreSave(ctx);
114
115 ctx.Write(m_ModelState);
116 }
int m_ModelState
Definition Roadflare.c:57

References m_ModelState.

◆ OnVariablesSynchronized()

override void Roadflare::OnVariablesSynchronized ( )
inlineprivate

Definition at line 461 of file Roadflare.c.

462 {
463 super.OnVariablesSynchronized();
464
466 }
void UpdateActiveParticles()
Definition Roadflare.c:321

References UpdateActiveParticles().

◆ OnWork()

override void Roadflare::OnWork ( float consumed_energy)
inlineprivate

Definition at line 236 of file Roadflare.c.

237 {
238 if (GetGame().IsServer())
239 {
240 float burning_time = GetCompEM().GetEnergyMax() - GetCompEM().GetEnergy();
241
242 // Update burning states
243 if (m_BurningState == RoadflareBurningState.INITIAL_BURN)
244 {
247 }
248 else if (m_BurningState == RoadflareBurningState.MAIN_BURN)
249 {
250 /*if ( GetGame().GetWorld().IsNight() )
251 {
252 NoiseSystem noise = GetGame().GetNoiseSystem();
253 if ( noise )
254 {
255 noise.AddNoisePos( this, GetPosition(), m_NoisePar);
256 }
257 }*/
258
259 if (burning_time >= GetCompEM().GetEnergyMax() - FINAL_BURNING_STATE_TIME)
261 }
262
263 // Burn containers of this roadflare. This might be removed if lit roadflare can't be put into inventory.
264 /*EntityAI container_EAI = GetHierarchyParent();
265
266 if ( container_EAI && container_EAI.IsInherited(ItemBase) && !container_EAI.IsInherited(TripwireTrap) )
267 {
268 ItemBase container_IB = ItemBase.Cast( container_EAI );
269
270 int c_size = container_IB.GetItemSize();
271 if (c_size == 0)
272 c_size = 1;
273
274 container_IB.AddHealth("","",-10/c_size);
275 }*/
276 }
277
279 }
const int FINAL_BURNING_STATE_TIME
Definition Roadflare.c:28
void SetBurningStateSynchronized(int state_number)
Definition Roadflare.c:226
const int INITIAL_BURNING_STATE_TIME
Definition Roadflare.c:27

References FINAL_BURNING_STATE_TIME, GetGame(), INITIAL_BURNING_STATE_TIME, m_BurningState, SetBurningStateSynchronized(), and UpdateActiveParticles().

◆ OnWorkStart()

override void Roadflare::OnWorkStart ( )
inlineprivate

Definition at line 190 of file Roadflare.c.

191 {
192 if (!GetGame().IsServer() || !GetGame().IsMultiplayer())
193 {
194 PlaySoundSetLoop(m_BurningSound, BURNING_SOUND, 0.5, 0);
195 PlaySoundSet(m_IgniteSound, IGNITE_SOUND, 0, 0);
196
197 m_Light = RoadflareLight.Cast(ScriptedLightBase.CreateLight(RoadflareLight, Vector(0, 0, 0)));
198 m_Light.AttachOnMemoryPoint(this, m_Light.m_MemoryPoint);
199 }
200
201 if (GetGame().IsServer())
202 {
203 /*m_NoisePar = new NoiseParams();
204 m_NoisePar.LoadFromPath("cfgVehicles Roadflare NoiseRoadFlare");
205 if ( GetGame().GetWorld().IsNight() )
206 {
207 NoiseSystem noise = GetGame().GetNoiseSystem();
208 if ( noise )
209 {
210 noise.AddNoisePos( this, GetPosition(), m_NoisePar );
211 }
212 }*/
213 }
214
216 SetModelState(RoadflareModelStates.UNCAPPED_IGNITED);
217 }
const string IGNITE_SOUND
Definition Roadflare.c:50
void SetBurningState(int state_number)
Definition Roadflare.c:220
const string BURNING_SOUND
Definition Roadflare.c:49

References BURNING_SOUND, GetGame(), IGNITE_SOUND, m_BurningSound, m_IgniteSound, m_Light, SetBurningState(), SetModelState(), and Vector().

◆ OnWorkStop()

override void Roadflare::OnWorkStop ( )
inlineprivate

Definition at line 282 of file Roadflare.c.

283 {
284 if (GetGame().IsMissionMainMenu()) // This is singleplayer main menu so no synchronization here!
285 {
288 }
289 else
290 {
291 if (GetGame().IsServer())
292 {
293 //Safeguard if item is turned off by another event than running out of energy
294 if (GetCompEM().GetEnergy() > 0)
295 {
296 if (m_Light)
297 m_Light.FadeOut();
299 return;
300 }
302 SetHealth("", "", 0);
303 }
304
307 m_FinalSmokeTimer.Run(60, this, "StopSmoking", NULL, false);
308 }
309
310
311 if (m_BurningSound)
312 StopSoundSet(m_BurningSound);
313
314 if (m_Light)
315 m_Light.FadeOut();
316
317 SetModelState(RoadflareModelStates.UNCAPPED_BURNED_OUT);
318 }
float GetEnergy()
Definition ItemBase.c:8140
const int CALL_CATEGORY_SYSTEM
Definition tools.c:8

References CALL_CATEGORY_SYSTEM, GetEnergy(), GetGame(), m_BurningSound, m_FinalSmokeTimer, m_Light, SetBurningState(), SetBurningStateSynchronized(), SetModelState(), and UpdateActiveParticles().

◆ SetActions()

override void Roadflare::SetActions ( )
inlineprivate

Definition at line 468 of file Roadflare.c.

469 {
470 super.SetActions();
471
472 AddAction(ActionAttach);
476 }
void ActionDetach()
ActionLightItemOnFireCB ActionContinuousBaseCB ActionLightItemOnFire()
void AddAction(typename actionName)

References ActionDetach(), ActionLightItemOnFire(), and AddAction().

◆ SetBurningState()

void Roadflare::SetBurningState ( int state_number)
inlineprivate

Definition at line 220 of file Roadflare.c.

221 {
223 }

References m_BurningState.

Referenced by OnWorkStart(), and OnWorkStop().

◆ SetBurningStateSynchronized()

void Roadflare::SetBurningStateSynchronized ( int state_number)
inlineprivate

Definition at line 226 of file Roadflare.c.

227 {
228 if (GetGame().IsServer())
229 {
231 SetSynchDirty();
232 }
233 }

References GetGame(), and m_BurningState.

Referenced by OnWork(), OnWorkStop(), and StopSmoking().

◆ SetModelState()

void Roadflare::SetModelState ( int enum_state)
inlineprivate

Definition at line 88 of file Roadflare.c.

89 {
92 }
void UpdateModelSelections()
Definition Roadflare.c:132

References m_ModelState, and UpdateModelSelections().

Referenced by OnStoreLoad(), OnWorkStart(), and OnWorkStop().

◆ StopSmoking()

void Roadflare::StopSmoking ( )
inlineprivate

Definition at line 403 of file Roadflare.c.

References SetBurningStateSynchronized(), and UpdateActiveParticles().

◆ UpdateActiveParticles()

void Roadflare::UpdateActiveParticles ( )
inlineprivate

Definition at line 321 of file Roadflare.c.

322 {
323 if (GetGame().IsDedicatedServer())
324 return;
325
326 switch (m_BurningState)
327 {
328 case RoadflareBurningState.NOT_BURNING:
329
331 break;
332
333 case RoadflareBurningState.INITIAL_BURN:
334
335 if (!m_ParInitialFire)
336 {
338 m_ParInitialFire = ParticleManager.GetInstance().PlayOnObject(PARTICLE_INIT_FIRE, this, m_FlameLocalPos);
340 }
341 break;
342
343 case RoadflareBurningState.MAIN_BURN:
344
345 if (!m_ParMainFire)
346 {
347 m_ParMainFire = ParticleManager.GetInstance().PlayOnObject(PARTICLE_MAIN_FIRE, this, m_FlameLocalPos);
348 m_ParMainFire.SetWiggle(7, 0.3);
349 }
350
352
353 break;
354
355 case RoadflareBurningState.FINAL_BURN:
356
357 if (!m_ParFinalFire)
358 {
360 m_ParFinalFire = ParticleManager.GetInstance().PlayOnObject(PARTICLE_FINAL_FIRE, this, m_FlameLocalPos);
362 }
363 break;
364
365 case RoadflareBurningState.SMOKE_ONLY:
366
367 if (!m_ParJustSmoke)
368 {
370 m_ParJustSmoke = ParticleManager.GetInstance().PlayOnObject(PARTICLE_FINAL_SMOKE, this, m_FlameLocalPos);
372 }
373 break;
374 }
375 }
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor)
void SetWiggle(float random_angle, float random_interval)
Makes the particle change direction by random_angle every random_interval seconds.
Definition Particle.c:742
int PARTICLE_INIT_FIRE
Definition Roadflare.c:41
vector m_FlameLocalPos
Definition Roadflare.c:29
int PARTICLE_FINAL_FIRE
Definition Roadflare.c:43
int PARTICLE_FINAL_SMOKE
Definition Roadflare.c:44
int PARTICLE_MAIN_FIRE
Definition Roadflare.c:42

References DestroyAllParticles(), DestroyParticleEx(), GetGame(), m_BurningState, m_FlameLocalPos, m_ParFinalFire, m_ParInitialFire, m_ParJustSmoke, m_ParMainFire, PARTICLE_FINAL_FIRE, PARTICLE_FINAL_SMOKE, PARTICLE_INIT_FIRE, PARTICLE_MAIN_FIRE, ParticleManager(), and Particle::SetWiggle().

Referenced by OnVariablesSynchronized(), OnWork(), OnWorkStop(), and StopSmoking().

◆ UpdateModelSelections()

void Roadflare::UpdateModelSelections ( )
inlineprivate

Definition at line 132 of file Roadflare.c.

133 {
134 switch (m_ModelState)
135 {
136 case RoadflareModelStates.DEFAULT:
137
138 ShowSelection(FLARE_CAP);
139 ShowSelection(UNIGNITED_TIP);
140
141 HideSelection(IGNITED_TIP);
142 HideSelection(EXTINGUISHED_TIP);
143
144 SetObjectTexture(SELECTION_Pristine, DEFAULT_TEXTURE);
145 SetObjectMaterial(SELECTION_Pristine, DEFAULT_MATERIAL);
146
147 break;
148
149 case RoadflareModelStates.UNCAPPED_UNIGNITED:
150
151 ShowSelection(UNIGNITED_TIP);
152
153 HideSelection(FLARE_CAP);
154 HideSelection(IGNITED_TIP);
155 HideSelection(EXTINGUISHED_TIP);
156
157 SetObjectTexture(SELECTION_Pristine, DEFAULT_TEXTURE);
158 SetObjectMaterial(SELECTION_Pristine, DEFAULT_MATERIAL);
159
160 break;
161
162 case RoadflareModelStates.UNCAPPED_IGNITED:
163
164 ShowSelection(IGNITED_TIP);
165
166 HideSelection(UNIGNITED_TIP);
167 HideSelection(FLARE_CAP);
168 HideSelection(EXTINGUISHED_TIP);
169
170 // No texture/material change here because the model already contains them
171
172 break;
173
174 case RoadflareModelStates.UNCAPPED_BURNED_OUT:
175
176 ShowSelection(EXTINGUISHED_TIP);
177
178 HideSelection(UNIGNITED_TIP);
179 HideSelection(FLARE_CAP);
180 HideSelection(IGNITED_TIP);
181
182 SetObjectTexture(SELECTION_Burned_out, DEFAULT_TEXTURE);
183 SetObjectMaterial(SELECTION_Burned_out, DEFAULT_MATERIAL);
184
185 break;
186 }
187 }
static const string EXTINGUISHED_TIP
Definition Roadflare.c:65
static const int SELECTION_Pristine
Definition Roadflare.c:69
static const string DEFAULT_TEXTURE
Definition Roadflare.c:72
static const int SELECTION_Burned_out
Definition Roadflare.c:68
static const string UNIGNITED_TIP
Definition Roadflare.c:63
static const string IGNITED_TIP
Definition Roadflare.c:64
static const string DEFAULT_MATERIAL
Definition Roadflare.c:75
static const string FLARE_CAP
Definition Roadflare.c:62

References DEFAULT_MATERIAL, DEFAULT_TEXTURE, EXTINGUISHED_TIP, FLARE_CAP, IGNITED_TIP, m_ModelState, SELECTION_Burned_out, SELECTION_Pristine, and UNIGNITED_TIP.

Referenced by SetModelState().

Member Data Documentation

◆ BURNING_MATERIAL

const string Roadflare::BURNING_MATERIAL = "dz\\gear\\consumables\\data\\road_flare_on.rvmat"
staticprivate

Definition at line 76 of file Roadflare.c.

◆ BURNING_NOISE_RANGE

const int Roadflare::BURNING_NOISE_RANGE = 30
staticprotected

Definition at line 51 of file Roadflare.c.

◆ BURNING_SOUND

const string Roadflare::BURNING_SOUND = "roadflareLoop_SoundSet"
staticprotected

Definition at line 49 of file Roadflare.c.

Referenced by OnWorkStart().

◆ BURNING_TEXTURE

const string Roadflare::BURNING_TEXTURE = "dz\\gear\\consumables\\data\\road_flare_e_co.paa"
staticprivate

Definition at line 73 of file Roadflare.c.

◆ DEFAULT_MATERIAL

const string Roadflare::DEFAULT_MATERIAL = "dz\\gear\\consumables\\data\\road_flare.rvmat"
staticprivate

Definition at line 75 of file Roadflare.c.

Referenced by UpdateModelSelections().

◆ DEFAULT_TEXTURE

const string Roadflare::DEFAULT_TEXTURE = "dz\\gear\\consumables\\data\\road_flare_co.paa"
staticprivate

Definition at line 72 of file Roadflare.c.

Referenced by UpdateModelSelections().

◆ EXTINGUISHED_TIP

const string Roadflare::EXTINGUISHED_TIP = "Burned_out"
staticprivate

Definition at line 65 of file Roadflare.c.

Referenced by UpdateModelSelections().

◆ FINAL_BURNING_STATE_TIME

const int Roadflare::FINAL_BURNING_STATE_TIME = 60
staticprotected

Definition at line 28 of file Roadflare.c.

Referenced by OnWork().

◆ FLARE_CAP

const string Roadflare::FLARE_CAP = "Flare_cap"
staticprivate

Definition at line 62 of file Roadflare.c.

Referenced by UpdateModelSelections().

◆ IGNITE_SOUND

const string Roadflare::IGNITE_SOUND = "roadflareTurnOn_SoundSet"
staticprotected

Definition at line 50 of file Roadflare.c.

Referenced by OnWorkStart().

◆ IGNITED_TIP

const string Roadflare::IGNITED_TIP = "Burning"
staticprivate

Definition at line 64 of file Roadflare.c.

Referenced by UpdateModelSelections().

◆ INITIAL_BURNING_STATE_TIME

const int Roadflare::INITIAL_BURNING_STATE_TIME = 5
staticprotected

Definition at line 27 of file Roadflare.c.

Referenced by OnWork().

◆ m_BurningSound

EffectSound Roadflare::m_BurningSound
protected

Definition at line 47 of file Roadflare.c.

Referenced by EEDelete(), OnWorkStart(), and OnWorkStop().

◆ m_BurningState

◆ m_FinalSmokeTimer

ref Timer Roadflare::m_FinalSmokeTimer
protected

Definition at line 54 of file Roadflare.c.

Referenced by EEDelete(), and OnWorkStop().

◆ m_FlameLocalPos

vector Roadflare::m_FlameLocalPos = "0 0.285 0"
staticprotected

Definition at line 29 of file Roadflare.c.

Referenced by UpdateActiveParticles().

◆ m_IgniteSound

EffectSound Roadflare::m_IgniteSound
protected

Definition at line 48 of file Roadflare.c.

Referenced by EEDelete(), and OnWorkStart().

◆ m_Light

RoadflareLight Roadflare::m_Light
private

Definition at line 33 of file Roadflare.c.

Referenced by EEDelete(), OnWorkStart(), and OnWorkStop().

◆ m_ModelState

int Roadflare::m_ModelState = RoadflareModelStates.DEFAULT
private

Definition at line 57 of file Roadflare.c.

Referenced by OnStoreSave(), SetModelState(), and UpdateModelSelections().

◆ m_NoisePar

ref NoiseParams Roadflare::m_NoisePar
private

Definition at line 79 of file Roadflare.c.

◆ m_NoiseTimer

float Roadflare::m_NoiseTimer
private

Definition at line 80 of file Roadflare.c.

◆ m_ParFinalFire

Particle Roadflare::m_ParFinalFire
protected

Definition at line 38 of file Roadflare.c.

Referenced by DestroyAllParticles(), and UpdateActiveParticles().

◆ m_ParInitialFire

Particle Roadflare::m_ParInitialFire
protected

Definition at line 36 of file Roadflare.c.

Referenced by DestroyAllParticles(), and UpdateActiveParticles().

◆ m_ParJustSmoke

Particle Roadflare::m_ParJustSmoke
protected

Definition at line 39 of file Roadflare.c.

Referenced by DestroyAllParticles(), and UpdateActiveParticles().

◆ m_ParMainFire

Particle Roadflare::m_ParMainFire
protected

Definition at line 37 of file Roadflare.c.

Referenced by DestroyAllParticles(), and UpdateActiveParticles().

◆ PARTICLE_FINAL_FIRE

int Roadflare::PARTICLE_FINAL_FIRE = ParticleList.ROADFLARE_BURNING_ENDING
staticprotected

Definition at line 43 of file Roadflare.c.

Referenced by UpdateActiveParticles().

◆ PARTICLE_FINAL_SMOKE

int Roadflare::PARTICLE_FINAL_SMOKE = ParticleList.ROADFLARE_BURNING_SMOKE
staticprotected

Definition at line 44 of file Roadflare.c.

Referenced by UpdateActiveParticles().

◆ PARTICLE_INIT_FIRE

int Roadflare::PARTICLE_INIT_FIRE = ParticleList.ROADFLARE_BURNING_INIT
staticprotected

Definition at line 41 of file Roadflare.c.

Referenced by UpdateActiveParticles().

◆ PARTICLE_MAIN_FIRE

int Roadflare::PARTICLE_MAIN_FIRE = ParticleList.ROADFLARE_BURNING_MAIN
staticprotected

Definition at line 42 of file Roadflare.c.

Referenced by UpdateActiveParticles().

◆ SELECTION_All

const int Roadflare::SELECTION_All = 3
staticprivate

Definition at line 70 of file Roadflare.c.

◆ SELECTION_Burned_out

const int Roadflare::SELECTION_Burned_out = 1
staticprivate

Definition at line 68 of file Roadflare.c.

Referenced by UpdateModelSelections().

◆ SELECTION_Burning

const int Roadflare::SELECTION_Burning = 0
staticprivate

Definition at line 67 of file Roadflare.c.

◆ SELECTION_Pristine

const int Roadflare::SELECTION_Pristine = 2
staticprivate

Definition at line 69 of file Roadflare.c.

Referenced by UpdateModelSelections().

◆ STANDS_FOLDED

const string Roadflare::STANDS_FOLDED = "Sticks_Flare_Folded"
staticprivate

Definition at line 60 of file Roadflare.c.

Referenced by OnInventoryEnter(), and OnInventoryExit().

◆ STANDS_UNFOLDED

const string Roadflare::STANDS_UNFOLDED = "Sticks_Flare_Unfolded"
staticprivate

Definition at line 61 of file Roadflare.c.

Referenced by OnInventoryEnter(), and OnInventoryExit().

◆ UNIGNITED_TIP

const string Roadflare::UNIGNITED_TIP = "Pristine"
staticprivate

Definition at line 63 of file Roadflare.c.

Referenced by UpdateModelSelections().


The documentation for this class was generated from the following file: