Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
Roadflare Class Reference
Inheritance diagram for Roadflare:
ItemBase

Protected Attributes

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

Static Protected Attributes

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

Private Member Functions

void Roadflare ()
override bool CanIgniteItem (EntityAI ignite_target=NULL)
override bool CanPutInCargo (EntityAI parent)
void DestroyAllParticles ()
void DestroyParticle (Particle p)
void DestroyParticleEx (out Particle p)
override void EEDelete (EntityAI parent)
override void OnActivatedByItem (notnull ItemBase item)
override void OnInventoryEnter (Man player)
override void OnInventoryExit (Man player)
override bool OnStoreLoad (ParamsReadContext ctx, int version)
override void OnStoreSave (ParamsWriteContext ctx)
override void OnVariablesSynchronized ()
override void OnWork (float consumed_energy)
override void OnWorkStart ()
override void OnWorkStop ()
override void SetActions ()
void SetBurningState (int state_number)
void SetBurningStateSynchronized (int state_number)
void SetModelState (int enum_state)
void StopSmoking ()
void UpdateActiveParticles ()
void UpdateModelSelections ()
Private Member Functions inherited from ItemBase
void ~Paper ()
void ~PowerGeneratorBase ()
void ~TentBase ()
void ~TrapSpawnBase ()
void AddDefect ()
float AddFuel (float available_fuel)
void AdjustDetectionRange ()
override void AfterStoreLoad ()
override void AfterStoreLoad ()
void AlignCatch (ItemBase obj, string catch_name)
 DEPRECATED.
void AnimateCamonetByOpeningSelection (string opening_selection)
void AnimateCamonetToggle (ToggleAnimations toggle)
void AssembleKit ()
void BarbedWire ()
void BaseBuildingBase ()
void BatteryCharger ()
void CalcDamageAreaRotation (float angle_deg, out vector center, out vector orientation)
bool CanAddFuel (ItemBase container)
override bool CanAssignAttachmentsToQuickbar ()
bool CanAttach (ItemBase item)
override bool CanBeIgnitedBy (EntityAI igniter=null)
bool CanBeManipulated ()
bool CanBePacked ()
override bool CanBePlaced (Man player, vector position)
override bool CanBePlaced (Man player, vector position)
override bool CanBeRepairedByCrafting ()
override bool CanBeRepairedToPristine ()
bool CanBeTaken ()
override bool CanDisplayAttachmentCategory (string category_name)
override bool CanDisplayAttachmentSlot (int slot_id)
override bool CanDisplayAttachmentSlot (int slot_id)
override bool CanDisplayCargo ()
bool CanFoldBaseBuildingObject ()
override bool CanIgniteItem (EntityAI ignite_target=NULL)
override bool CanIgniteItem (EntityAI ignite_target=NULL)
override bool CanIgniteItem (EntityAI ignite_target=null)
override bool CanLoadAttachment (EntityAI attachment)
override bool CanLoadAttachment (EntityAI attachment)
override bool CanLoadAttachment (EntityAI attachment)
override bool CanLoadItemIntoCargo (EntityAI item)
bool CanManipulate ()
override bool CanObstruct ()
override bool CanProxyObstruct ()
override bool CanProxyObstructSelf ()
 prevents showing cargo when outside the tent geometry
override bool CanPutInCargo (EntityAI parent)
override bool CanPutInCargo (EntityAI parent)
override bool CanPutInCargo (EntityAI parent)
override bool CanPutInCargo (EntityAI parent)
override bool CanPutInCargo (EntityAI parent)
override bool CanPutInCargo (EntityAI parent)
override bool CanPutInCargo (EntityAI parent)
override bool CanPutInCargo (EntityAI parent)
bool CanPutInInventory (EntityAI player)
 DEPRECATED.
override bool CanPutIntoHands (EntityAI parent)
override bool CanPutIntoHands (EntityAI parent)
override bool CanPutIntoHands (EntityAI parent)
override bool CanPutIntoHands (EntityAI parent)
override bool CanPutIntoHands (EntityAI parent)
override bool CanPutIntoHands (EntityAI parent)
override bool CanPutIntoHands (EntityAI parent)
override bool CanReceiveAttachment (EntityAI attachment, int slotId)
override bool CanReceiveAttachment (EntityAI attachment, int slotId)
override bool CanReceiveAttachment (EntityAI attachment, int slotId)
override bool CanReceiveAttachment (EntityAI attachment, int slotId)
override bool CanReceiveAttachment (EntityAI attachment, int slotId)
override bool CanReceiveItemIntoCargo (EntityAI item)
override bool CanRemoveFromCargo (EntityAI parent)
override bool CanRemoveFromCargo (EntityAI parent)
override bool CanRemoveFromCargo (EntityAI parent)
override bool CanRemoveFromCargo (EntityAI parent)
override bool CanRemoveFromHands (EntityAI parent)
bool CanToggleAnimations (string selection)
override bool CanUseConstruction ()
override bool CanUseConstructionBuild ()
void CatchSetQuant (ItemBase catch)
 !DEPRECATED
void CheckForHybridAttachments (EntityAI item, string slot_name)
bool CheckLevelVerticalDistance (float max_dist, string selection, PlayerBase player)
bool CheckMemoryPointVerticalDistance (float max_dist, string selection, PlayerBase player)
bool CheckSlotVerticalDistance (int slot_id, PlayerBase player)
void ClearCatchingComponent ()
void ClearCookingEquipment (ItemBase pItem)
bool ConditionIntoInventory (EntityAI player)
bool ConditionOutOfHands (EntityAI player)
void ConstructionInit ()
void CookWithEquipment ()
void CreateAreaDamage (string slot_name, float rotation_angle=0)
ItemBase CreateConstructionKit ()
void CreateConstructionKitInHands (notnull PlayerBase player)
void CreateDamageTrigger ()
void CreateElectrifiedDamageTrigger ()
void CreateRope (Rope rope)
void DebugCustomState ()
void DestroyAreaDamage (string slot_name)
void DestroyClutterCutter ()
void DestroyConstruction ()
void DestroyConstructionKit (ItemBase construction_kit)
void DestroyDamageTrigger ()
void DestroyFireplace ()
void DetachAllAttachments ()
 detaches everything on catching end (some slots may not be accessible when folded)
void DisassembleKit (ItemBase item)
override bool DisassembleOnLastDetach ()
void DoMeasurement ()
override void EEDelete (EntityAI parent)
override void EEDelete (EntityAI parent)
override void EEHealthLevelChanged (int oldLevel, int newLevel, string zone)
override void EEHealthLevelChanged (int oldLevel, int newLevel, string zone)
override void EEInit ()
override void EEInit ()
override void EEInit ()
override void EEInit ()
override void EEInit ()
override void EEItemAttached (EntityAI item, string slot_name)
override void EEItemAttached (EntityAI item, string slot_name)
override void EEItemAttached (EntityAI item, string slot_name)
override void EEItemAttached (EntityAI item, string slot_name)
override void EEItemAttached (EntityAI item, string slot_name)
override void EEItemDetached (EntityAI item, string slot_name)
override void EEItemDetached (EntityAI item, string slot_name)
override void EEItemDetached (EntityAI item, string slot_name)
override void EEItemDetached (EntityAI item, string slot_name)
override void EEItemDetached (EntityAI item, string slot_name)
override void EEItemDetached (EntityAI item, string slot_name)
override void EEOnAfterLoad ()
override void EOnInit (IEntity other, int extra)
override void EOnInit (IEntity other, int extra)
void EvaluateCatch ()
void Fold ()
void Fold (bool keep_connected=false)
ItemBase FoldBaseBuildingObject ()
void FullyBuild ()
void GetAttachmentSlots (EntityAI entity, out array< string > attachment_slots)
string GetBuildSoundByMaterial (string part_name)
string GetClutterCutter ()
Construction GetConstruction ()
string GetConstructionKitType ()
ConstructionPart GetConstructionPartById (int id)
ItemBase GetCookingEquipment ()
override bool GetCookingTargetTemperature (out float temperature)
override int GetDamageSystemVersionChange ()
override int GetDamageSystemVersionChange ()
override void GetDebugActions (out TSelectableActionInfoArrayEx outputList)
override string GetDeploySoundset ()
override string GetDeploySoundset ()
override string GetDeploySoundset ()
override string GetDeploySoundset ()
override string GetDeploySoundset ()
int GetDisarmRate ()
string GetDismantleSoundByMaterial (string part_name)
override string GetFoldSoundset ()
float GetFuel ()
float GetFuelPercentage ()
EntityAI GetGasCanister ()
override int GetHideIconMask ()
override string GetInvulnerabilityTypeString ()
override string GetInvulnerabilityTypeString ()
int GetKeyCompatibilityType ()
 If used to un/lock doors, which does it open. Bitwise.
vector GetKitSpawnPosition ()
override float GetLiquidThroughputCoef ()
override string GetLoopDeploySoundset ()
override string GetLoopDeploySoundset ()
override string GetLoopDeploySoundset ()
override string GetLoopFoldSoundset ()
float GetMaxFuel ()
override int GetMeleeTargetType ()
bool GetSlotLockedState ()
vector GetSmokeParticleOrientation ()
vector GetSmokeParticlePosition ()
string GetSoundClose ()
string GetSoundCloseWindow ()
string GetSoundOpen ()
string GetSoundOpenWindow ()
int GetState ()
int GetStateLocal ()
override int GetViewIndex ()
override int GetViewIndex ()
override WrittenNoteData GetWrittenNoteData ()
void GreenLightOff ()
void GreenLightOn ()
void HandleBaitLoss ()
void HandleCamoNetAttachment (bool hide)
void HandleItemFalling (ConstructionPart part)
 Disconnected temporarily.
void HandleOpeningsPhysics ()
void HandleOpeningsVisuals ()
bool HasAttachmentsBesidesBase ()
bool HasBase ()
bool HasClutterCutter ()
bool HasEnoughEnergyForRepair (float pTime)
override bool HasFlammableMaterial ()
bool HasProperDistance (string selection, PlayerBase player)
override bool HasProxyParts ()
override bool HasProxyParts ()
bool HasSparkplug ()
void HideAllAnimationsAndProxyPhysics (bool hide_animations=true, bool hide_physics=true)
void HideAttachedClipsStates ()
override bool IgnoreOutOfReachCondition ()
void IncreaseElapsedTime ()
void InitBaseState ()
void InitCatchingComponent ()
override void InitItemSounds ()
override void InitItemSounds ()
void InitTrapValues ()
void InitVisuals ()
bool IsActive ()
bool IsAttachmentSlotLocked (EntityAI attachment)
bool IsAttachmentSlotLocked (string slot_name)
override bool IsBasebuildingKit ()
override bool IsDeployable ()
override bool IsDeployable ()
override bool IsDeployable ()
override bool IsDeployable ()
override bool IsDeployable ()
bool IsDeployed ()
override bool IsElectricAppliance ()
override bool IsElectricAppliance ()
bool IsFacingCamera (string selection)
override bool IsFacingPlayer (PlayerBase player, string selection)
bool IsFolded ()
override bool IsIgnited ()
override bool IsIgnited ()
override bool IsIgnoredByConstruction ()
override bool IsIgnoredByConstruction ()
override bool IsItemTent ()
bool IsManipulatedEntrance ()
bool IsManipulatedWindow ()
bool IsMounted ()
bool IsOpened ()
bool IsPartBuildInSyncData (int part_id)
bool IsPlaceable ()
bool IsPlaceableAtPosition (vector position)
override bool IsPlayerInside (PlayerBase player, string selection)
bool IsPlayerInVicinity ()
override bool IsSelfAdjustingTemperature ()
bool IsSurfaceWater (vector position)
override bool IsTakeable ()
override bool IsTakeable ()
override bool IsTakeable ()
override bool IsThisIgnitionSuccessful (EntityAI item_source=null)
void ItemFall (vector min, vector max)
 Disconnected temporarily.
void LockAttachmentSlot (bool lock_state)
void ManipulateEntrance ()
void ManipulateWindow ()
bool MustBeBuiltFromOutside ()
 Some buildings can only be built from outside.
override bool OnAction (int action_id, Man player, ParamsReadContext ctx)
void OnCatchSpawnClient ()
void OnCatchSpawnServer ()
override void OnCreatePhysics ()
override void OnDebugSpawn ()
override void OnDebugSpawn ()
override void OnDebugSpawn ()
override void OnDebugSpawn ()
array< stringOnDebugSpawnBuildExcludes ()
 Excludes certain parts from being built by OnDebugSpawn, uses Contains to compare.
override void OnEndPlacement ()
override void OnIgnitedTarget (EntityAI target_item)
override void OnIgnitedTarget (EntityAI target_item)
override void OnIgnitedThis (EntityAI fire_source)
override void OnInitEnergy ()
override void OnInitEnergy ()
override void OnInventoryEnter (Man player)
override void OnInventoryEnter (Man player)
override void OnInventoryExit (Man player)
override void OnIsPlugged (EntityAI source_device)
override void OnIsPlugged (EntityAI source_device)
override void OnIsUnplugged (EntityAI last_energy_source)
override void OnIsUnplugged (EntityAI last_energy_source)
override void OnItemLocationChanged (EntityAI old_owner, EntityAI new_owner)
override void OnItemLocationChanged (EntityAI old_owner, EntityAI new_owner)
override void OnItemLocationChanged (EntityAI old_owner, EntityAI new_owner)
override void OnItemLocationChanged (EntityAI old_owner, EntityAI new_owner)
override void OnItemLocationChanged (EntityAI old_owner, EntityAI new_owner)
override void OnItemLocationChanged (EntityAI old_owner, EntityAI new_owner)
override void OnOwnSocketReleased (EntityAI device)
override void OnOwnSocketTaken (EntityAI device)
void OnPartBuiltClient (string part_name, int action_id)
void OnPartBuiltServer (notnull Man player, string part_name, int action_id)
void OnPartDestroyedClient (string part_name, int action_id)
void OnPartDestroyedServer (Man player, string part_name, int action_id, bool destroyed_by_connected_part=false)
void OnPartDismantledClient (string part_name, int action_id)
void OnPartDismantledServer (notnull Man player, string part_name, int action_id)
override void OnPlacementCancelled (Man player)
override void OnPlacementCancelled (Man player)
override void OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0")
override void OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0")
override void OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0")
override void OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0")
override void OnPlacementStarted (Man player)
override void OnPlacementStarted (Man player)
override void OnRPC (PlayerIdentity sender, int rpc_type, ParamsReadContext ctx)
void OnSetSlotLock (int slotId, bool locked, bool was_locked)
override bool OnStoreLoad (ParamsReadContext ctx, int version)
override bool OnStoreLoad (ParamsReadContext ctx, int version)
override bool OnStoreLoad (ParamsReadContext ctx, int version)
override bool OnStoreLoad (ParamsReadContext ctx, int version)
override bool OnStoreLoad (ParamsReadContext ctx, int version)
override bool OnStoreLoad (ParamsReadContext ctx, int version)
override void OnStoreSave (ParamsWriteContext ctx)
override void OnStoreSave (ParamsWriteContext ctx)
override void OnStoreSave (ParamsWriteContext ctx)
override void OnStoreSave (ParamsWriteContext ctx)
override void OnStoreSave (ParamsWriteContext ctx)
override void OnStoreSave (ParamsWriteContext ctx)
override void OnSwitchOff ()
override void OnSwitchOff ()
override void OnSwitchOff ()
override void OnSwitchOff ()
override void OnSwitchOn ()
override void OnSwitchOn ()
override void OnSwitchOn ()
override void OnSwitchOn ()
void OnSynchronizedClient ()
override void OnVariablesSynchronized ()
override void OnVariablesSynchronized ()
override void OnVariablesSynchronized ()
override void OnVariablesSynchronized ()
override void OnVariablesSynchronized ()
 this event is called all variables are synchronized on client
override void OnWork (float consumed_energy)
override void OnWork (float consumed_energy)
override void OnWork (float consumed_energy)
override void OnWork (float consumed_energy)
override void OnWorkStart ()
override void OnWorkStart ()
override void OnWorkStart ()
override void OnWorkStart ()
override void OnWorkStart ()
override void OnWorkStart ()
override void OnWorkStart ()
override void OnWorkStart ()
override void OnWorkStop ()
override void OnWorkStop ()
override void OnWorkStop ()
override void OnWorkStop ()
override void OnWorkStop ()
override void OnWorkStop ()
override void OnWorkStop ()
override void OnWorkStop ()
void Pack (bool update_navmesh, bool init=false)
void Paper ()
void ParticleTest ()
bool PerformRoofCheckForBase (string partName, PlayerBase player, out bool result)
void Pitch (bool update_navmesh, bool init=false)
void PlayCatchEffectsClient ()
void PlayCatchEffectsServer ()
void PlayCatchNoise (YieldItemBase yItem)
void PlayCatchParticleSynced (YieldItemBase yItem)
void PlayCatchSound (YieldItemBase yItem)
void PlayDeployLoopSound ()
void PlayDeployLoopSound ()
void PlayDeployLoopSound ()
void PlayDeployLoopSound ()
void PlayDeployLoopSound ()
override void PostAreaDamageActions ()
void PowerGeneratorBase ()
override void PreAreaDamageActions ()
void PrepareMeasurement ()
void RedLightOff ()
void RedLightOn ()
void Refresh ()
void RefreshAttachements ()
void RefreshFlameVisual (bool working=false)
void RefreshFlameVisual (bool working=false, bool hasAttachment=false)
override void RefreshPhysics ()
override void RefreshPhysics ()
override void RefreshPhysics ()
void RegenerateNavmesh ()
void RegisterActionForSync (int part_id, int action_id)
void RegisterPartForSync (int part_id)
void RemoveCookingAudioVisuals ()
void ResetActionSyncData ()
void ResetActiveProgress ()
void ResetRunningTimerProgress ()
void ResetToggle ()
void RunTrappingTimer (float duration, string fnName)
 generic trapping launcher for traps, use this to store delta info
void SetActionFromSyncData ()
override void SetActions ()
override void SetActions ()
override void SetActions ()
override void SetActions ()
override void SetActions ()
override void SetActions ()
override void SetActions ()
override void SetActions ()
override void SetActions ()
override void SetActions ()
override void SetActions ()
override void SetActions ()
override void SetActions ()
void SetActive ()
void SetBaseState (bool has_base)
bool SetCanCatch (out EntityAI bait)
void SetCatchSuccessful (bool successful)
void SetCookingEquipment (ItemBase equipment)
void SetDeployed (bool newState)
void SetFuel (float fuel_amount)
void SetInactive ()
void SetIsBeingPacked (bool isBeingPacked)
void SetLowEnergyState (bool state)
void SetMountedState (bool is_mounted)
void SetPartFromSyncData (ConstructionPart part)
void SetPartsAfterStoreLoad ()
void SetPartsFromSyncData ()
void SetTrapEnviroMask (int value)
void SetupTrap ()
void SetupTrapPlayer (PlayerBase player, bool set_position=true)
void SetUsed ()
override bool ShowZonesHealth ()
void SoundBuildStart (string part_name)
void SoundBurningStart ()
void SoundBurningStart ()
void SoundBurningStart ()
void SoundBurningStop ()
void SoundBurningStop ()
void SoundBurningStop ()
void SoundBuzzLoopStart ()
void SoundBuzzLoopStop ()
void SoundCollision ()
void SoundCut ()
void SoundDestroyStart (string part_name)
void SoundDismantleStart (string part_name)
void SoundElectricShock ()
void SoundSpark ()
void SoundTentClosePlay ()
void SoundTentCloseWindowPlay ()
void SoundTentOpenPlay ()
 DEPRECATED.
void SoundTentOpenWindowPlay ()
void SoundTurnOff ()
void SoundTurnOff ()
void SoundTurnOff ()
void SoundTurnOn ()
void SoundTurnOn ()
void SoundTurnOn ()
void Spark ()
void SpawnCatch ()
void Spotlight ()
void StartActivate (PlayerBase player)
void StartLoopSound ()
void StartPeriodicMeasurement ()
void StopDeployLoopSound ()
 DEPRECATED.
void StopDeployLoopSound ()
 DEPRECATED.
void StopDeployLoopSound ()
 DEPRECATED.
void StopDeployLoopSound ()
 DEPRECATED.
void StopDeployLoopSound ()
 DEPRECATED.
void StopPeriodicMeasurement ()
void SwitchLightOff ()
void SwitchLightOn ()
void Synchronize ()
void SynchronizeBaseState ()
void TentBase ()
void ToggleAnimation (string selection)
void ToolBase ()
void TrapSpawnBase ()
void TryPitch (bool update_navmesh, bool init=false)
void TrySpawnCatch ()
void Unfold ()
void UnregisterPartForSync (int part_id)
void UpdateAllSelections ()
void UpdateAttachmentPhysics (string slot_name, bool is_locked)
void UpdateAttachmentSlot ()
void UpdateAttachmentVisuals (string slot_name, bool is_locked)
void UpdateFuelMeter ()
void UpdateNavmesh ()
void UpdatePhysics ()
void UpdatePhysics ()
void UpdatePhysics ()
void UpdatePreyPos ()
void UpdateStatusLights ()
void UpdateTrapEnviroMask ()
void UpdateVisuals ()
void UpdateVisuals ()
void UpdateVisuals ()
void YellowLightOff ()
void YellowLightOn ()

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
const string ATTACHED_CLIPS_STATES [] = {SEL_CLIPS_CAR, SEL_CLIPS_TRUCK}
const int ATTACHED_CLIPS_STATES_COUNT = 2
 ATTACHMENT_CAULDRON = Cauldron
 ATTACHMENT_COOKING_POT = Pot
 ATTACHMENT_FRYING_PAN = FryingPan
const string FLAME_BUTANE_OFF = ""
const string FLAME_BUTANE_ON = "dz\\gear\\cooking\\data\\flame_butane_ca.paa"
const string LOOP_LOW_FUEL_SOUND = "powerGenerator_low_Fuel_Loop_SoundSet"
const float LOW_ENERGY_FUEL_PERCENTAGE = 20
string m_AnimationPhaseSet
string m_AnimationPhaseTriggered
string m_AnimationPhaseUsed
ref AreaDamageManager m_AreaDamage
EntityAI m_Bait
 DEPRECATED.
float m_BaitCatchProb
bool m_BaitNeeded
 DEPRECATED.
int m_BatteryEnergy0To100
bool m_BlinkingStatusLightIsOn = false
CamoNet m_CamoNet
ref multiMap< string, floatm_CatchesGroundAnimal
 DEPRECATED.
ref multiMap< string, floatm_CatchesPond
 DEPRECATED.
ref multiMap< string, floatm_CatchesSea
 DEPRECATED.
ref CatchingContextTrapsBase m_CatchingContext
float m_ChargeEnergyPerSecond
ref Timer m_CheckRainTimer
Object m_ClutterCutter
ref map< string, ref AreaDamageManagerm_DamageTriggers
float m_DefaultFertility = 1
bool m_DeployedRegularly
ref EffectSound m_DeployLoopSound
 DEPRECATED.
EffectSound m_EngineLoop
EffectSound m_EngineStart
EffectSound m_EngineStop
float m_FinalCatchProb
 DEPRECATED.
vector m_HalfExtents
ref array< stringm_HybridAttachments
bool m_IsActive
bool m_IsBeingPacked = false
bool m_IsDeployed
bool m_IsEntrance
bool m_IsInProgress
 DEPRECATED.
bool m_IsLowEnergy
bool m_IsMounted
bool m_IsPastWaitingTime
bool m_IsPlaced
bool m_IsToggle
bool m_IsUsable
 DEPRECATED.
bool m_IsWindow
bool m_LastMountedState
BlowtorchLight m_Light
int m_MaxWateredStateVal = 0
int m_MineDisarmRate = 60
ref array< stringm_Mountables
EffectSound m_MountSound
float m_NoBaitCatchProb
 DEPRECATED.
ref WrittenNoteData m_NoteContents
int m_OpeningMask = 0
int m_OpeningMaskLocal = -1
Particle m_Particle
ref array< stringm_PlaceableWaterSurfaceList
const string m_PlaceableWaterType ref Timer m_PrevTimer
 DEPRECATED.
ref array< stringm_ShowAnimationsWhenPacked
ref array< stringm_ShowAnimationsWhenPitched
int m_SlotFertilityState = 0
int m_SlotFertilizerBitmap0
int m_SlotFertilizerBitmap1
int m_SlotFertilizerBitmap2
ref array< ref Slot > m_Slots
int m_SlotState = 0
int m_SlotWaterBitmap0
int m_SlotWaterBitmap1
int m_SlotWaterBitmap2
int m_SlotWateredState = 0
Effect m_Smoke
EffectSound m_Sound
EffectSound m_SoundBurningLoop
ref Timer m_SoundLoopStartTimer
EffectSound m_SoundTurnOff
EffectSound m_SoundTurnOn
ItemBase m_SparkPlug
int m_State
int m_StateLocal = -1
ref Timer m_Timer
ref map< ref ToggleAnimations, boolm_ToggleAnimations
bool m_TriggerActive
ref Timer m_UpdateStatusLightsTimer
ref UniversalTemperatureSourceLambdaConstant m_UTSLConst
ref UniversalTemperatureSourceLambdaConstant m_UTSLEngine
ref UniversalTemperatureSource m_UTSource
 DEPRECATED Attached spark plug item.
ref UniversalTemperatureSourceSettings m_UTSSettings
bool m_WaterSurfaceForSetup
 DEPRECATED.
const float PARAM_COOKING_EQUIP_MAX_TEMP = 400
 DEPRECATED.
const float PARAM_COOKING_EQUIP_TEMP_INCREASE = 10
 DEPRECATED.
const float PARAM_COOKING_TARGET_TEMP = 400
const float PARAM_COOKING_TEMP_THRESHOLD = 100
const float PARAM_COOKING_TIME_INC_COEF = 0.5
int PARTICLE_PATH
const string SOUND_MOUNT = "putDown_BarbedWire_SoundSet"

Static Private Attributes

static const string BURNING_MATERIAL = "dz\\gear\\consumables\\data\\road_flare_on.rvmat"
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 DEFAULT_TEXTURE = "dz\\gear\\consumables\\data\\road_flare_co.paa"
static const string EXTINGUISHED_TIP = "Burned_out"
static const string FLARE_CAP = "Flare_cap"
static const string IGNITED_TIP = "Burning"
static const int SELECTION_All = 3
static const int SELECTION_Burned_out = 1
static const int SELECTION_Burning = 0
static const int SELECTION_Pristine = 2
static const string STANDS_FOLDED = "Sticks_Flare_Folded"
static const string STANDS_UNFOLDED = "Sticks_Flare_Unfolded"
static const string UNIGNITED_TIP = "Pristine"
Static Private Attributes inherited from ItemBase
const string DEFAULT_MATERIAL = "dz\\gear\\camping\\data\\battery_charger.rvmat"
const string GREEN_LIGHT_GLOW = "dz\\gear\\camping\\data\\battery_charger_light_g.rvmat"
static const string LOOP_SOUND = "powerGeneratorLoop_SoundSet"
float m_BlinkingStatusLightInterval = 0.4
const string RED_LIGHT_GLOW = "dz\\gear\\camping\\data\\battery_charger_light_r.rvmat"
const string SEL_CLIPS_CAR = "clips_car_battery"
const string SEL_CLIPS_DETACHED = "clips_detached"
const string SEL_CLIPS_FOLDED = "clips_folded"
const string SEL_CLIPS_TRUCK = "clips_truck_battery"
const string SEL_CORD_FOLDED = "cord_folded"
const string SEL_CORD_PLUGGED = "cord_plugged"
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 SEL_SWITCH_OFF = "switch_off"
const string SEL_SWITCH_ON = "switch_on"
static const string START_SOUND = "powerGeneratorTurnOn_SoundSet"
static const string STOP_SOUND = "powerGeneratorTurnOff_SoundSet"
const string SWITCH_LIGHT_GLOW = "dz\\gear\\camping\\data\\battery_charger_light_switch_on.rvmat"
const string YELLOW_LIGHT_GLOW = "dz\\gear\\camping\\data\\battery_charger_light_y.rvmat"

Detailed Description

Definition at line 24 of file roadflare.c.

Constructor & Destructor Documentation

◆ Roadflare()

void Roadflare ( )
inlineprivate

Definition at line 82 of file roadflare.c.

Member Function Documentation

◆ CanIgniteItem()

override bool CanIgniteItem ( EntityAI ignite_target = NULL)
inlineprivate

Definition at line 464 of file roadflare.c.

◆ CanPutInCargo()

override bool CanPutInCargo ( EntityAI parent)
inlineprivate

Definition at line 434 of file roadflare.c.

References m_BurningState.

◆ DestroyAllParticles()

void DestroyAllParticles ( )
inlineprivate

◆ DestroyParticle()

void DestroyParticle ( Particle p)
inlineprivate

Definition at line 384 of file roadflare.c.

References Particle::SetWiggle(), and Particle::Stop().

Referenced by DestroyParticleEx().

◆ DestroyParticleEx()

void DestroyParticleEx ( out Particle p)
inlineprivate

Definition at line 393 of file roadflare.c.

References DestroyParticle().

Referenced by DestroyAllParticles(), and UpdateActiveParticles().

◆ EEDelete()

override void EEDelete ( EntityAI parent)
inlineprivate

◆ OnActivatedByItem()

override void OnActivatedByItem ( notnull ItemBase item)
inlineprivate

Definition at line 456 of file roadflare.c.

References TripwireTrap().

◆ OnInventoryEnter()

override void OnInventoryEnter ( Man player)
inlineprivate

Definition at line 448 of file roadflare.c.

References STANDS_FOLDED, and STANDS_UNFOLDED.

◆ OnInventoryExit()

override void OnInventoryExit ( Man player)
inlineprivate

Definition at line 416 of file roadflare.c.

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

◆ OnStoreLoad()

override bool OnStoreLoad ( ParamsReadContext ctx,
int version )
inlineprivate

Definition at line 118 of file roadflare.c.

References Serializer::Read(), and SetModelState().

◆ OnStoreSave()

override void OnStoreSave ( ParamsWriteContext ctx)
inlineprivate

Definition at line 111 of file roadflare.c.

References m_ModelState, and Serializer::Write().

◆ OnVariablesSynchronized()

override void OnVariablesSynchronized ( )
inlineprivate

Definition at line 469 of file roadflare.c.

References UpdateActiveParticles().

◆ OnWork()

override void OnWork ( float consumed_energy)
inlineprivate

◆ OnWorkStart()

override void OnWorkStart ( )
inlineprivate

◆ OnWorkStop()

◆ SetActions()

override void SetActions ( )
inlineprivate

Definition at line 476 of file roadflare.c.

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

◆ SetBurningState()

void SetBurningState ( int state_number)
inlineprivate

Definition at line 220 of file roadflare.c.

References m_BurningState.

Referenced by OnWorkStart(), and OnWorkStop().

◆ SetBurningStateSynchronized()

void SetBurningStateSynchronized ( int state_number)
inlineprivate

Definition at line 226 of file roadflare.c.

References g_Game, and m_BurningState.

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

◆ SetModelState()

void SetModelState ( int enum_state)
inlineprivate

◆ StopSmoking()

void StopSmoking ( )
inlineprivate

Definition at line 409 of file roadflare.c.

References SetBurningStateSynchronized(), and UpdateActiveParticles().

◆ UpdateActiveParticles()

◆ UpdateModelSelections()

void UpdateModelSelections ( )
inlineprivate

Field Documentation

◆ BURNING_MATERIAL

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

Definition at line 76 of file roadflare.c.

◆ BURNING_NOISE_RANGE

const int BURNING_NOISE_RANGE = 30
staticprotected

Definition at line 51 of file roadflare.c.

◆ BURNING_SOUND

const string BURNING_SOUND = "roadflareLoop_SoundSet"
staticprotected

Definition at line 49 of file roadflare.c.

Referenced by OnWorkStart().

◆ BURNING_TEXTURE

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

Definition at line 73 of file roadflare.c.

◆ DEFAULT_MATERIAL

const string 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 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 EXTINGUISHED_TIP = "Burned_out"
staticprivate

Definition at line 65 of file roadflare.c.

Referenced by UpdateModelSelections().

◆ FINAL_BURNING_STATE_TIME

const int FINAL_BURNING_STATE_TIME = 60
staticprotected

Definition at line 28 of file roadflare.c.

Referenced by OnWork().

◆ FLARE_CAP

const string FLARE_CAP = "Flare_cap"
staticprivate

Definition at line 62 of file roadflare.c.

Referenced by UpdateModelSelections().

◆ IGNITE_SOUND

const string IGNITE_SOUND = "roadflareTurnOn_SoundSet"
staticprotected

Definition at line 50 of file roadflare.c.

Referenced by OnWorkStart().

◆ IGNITED_TIP

const string IGNITED_TIP = "Burning"
staticprivate

Definition at line 64 of file roadflare.c.

Referenced by UpdateModelSelections().

◆ INITIAL_BURNING_STATE_TIME

const int INITIAL_BURNING_STATE_TIME = 5
staticprotected

Definition at line 27 of file roadflare.c.

Referenced by OnWork().

◆ m_BurningSound

EffectSound m_BurningSound
protected

Definition at line 47 of file roadflare.c.

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

◆ m_BurningState

◆ m_FinalSmokeTimer

ref Timer m_FinalSmokeTimer
protected

Definition at line 54 of file roadflare.c.

Referenced by EEDelete(), and OnWorkStop().

◆ m_FlameLocalPos

vector m_FlameLocalPos = "0 0.285 0"
staticprotected

Definition at line 29 of file roadflare.c.

Referenced by UpdateActiveParticles().

◆ m_IgniteSound

EffectSound m_IgniteSound
protected

Definition at line 48 of file roadflare.c.

Referenced by EEDelete(), and OnWorkStart().

◆ m_Light

RoadflareLight m_Light
private

Definition at line 33 of file roadflare.c.

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

◆ m_ModelState

int m_ModelState = RoadflareModelStates.DEFAULT
private

Definition at line 57 of file roadflare.c.

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

◆ m_NoisePar

ref NoiseParams m_NoisePar
private

Definition at line 79 of file roadflare.c.

◆ m_NoiseTimer

float m_NoiseTimer
private

Definition at line 80 of file roadflare.c.

◆ m_ParFinalFire

Particle m_ParFinalFire
protected

Definition at line 38 of file roadflare.c.

Referenced by DestroyAllParticles(), and UpdateActiveParticles().

◆ m_ParInitialFire

Particle m_ParInitialFire
protected

Definition at line 36 of file roadflare.c.

Referenced by DestroyAllParticles(), and UpdateActiveParticles().

◆ m_ParJustSmoke

Particle m_ParJustSmoke
protected

Definition at line 39 of file roadflare.c.

Referenced by DestroyAllParticles(), and UpdateActiveParticles().

◆ m_ParMainFire

Particle m_ParMainFire
protected

Definition at line 37 of file roadflare.c.

Referenced by DestroyAllParticles(), and UpdateActiveParticles().

◆ PARTICLE_FINAL_FIRE

int PARTICLE_FINAL_FIRE = ParticleList.ROADFLARE_BURNING_ENDING
staticprotected

Definition at line 43 of file roadflare.c.

Referenced by UpdateActiveParticles().

◆ PARTICLE_FINAL_SMOKE

int PARTICLE_FINAL_SMOKE = ParticleList.ROADFLARE_BURNING_SMOKE
staticprotected

Definition at line 44 of file roadflare.c.

Referenced by UpdateActiveParticles().

◆ PARTICLE_INIT_FIRE

int PARTICLE_INIT_FIRE = ParticleList.ROADFLARE_BURNING_INIT
staticprotected

Definition at line 41 of file roadflare.c.

Referenced by UpdateActiveParticles().

◆ PARTICLE_MAIN_FIRE

int PARTICLE_MAIN_FIRE = ParticleList.ROADFLARE_BURNING_MAIN
staticprotected

Definition at line 42 of file roadflare.c.

Referenced by UpdateActiveParticles().

◆ SELECTION_All

const int SELECTION_All = 3
staticprivate

Definition at line 70 of file roadflare.c.

◆ SELECTION_Burned_out

const int SELECTION_Burned_out = 1
staticprivate

Definition at line 68 of file roadflare.c.

Referenced by UpdateModelSelections().

◆ SELECTION_Burning

const int SELECTION_Burning = 0
staticprivate

Definition at line 67 of file roadflare.c.

◆ SELECTION_Pristine

const int SELECTION_Pristine = 2
staticprivate

Definition at line 69 of file roadflare.c.

Referenced by UpdateModelSelections().

◆ STANDS_FOLDED

const string STANDS_FOLDED = "Sticks_Flare_Folded"
staticprivate

Definition at line 60 of file roadflare.c.

Referenced by OnInventoryEnter(), and OnInventoryExit().

◆ STANDS_UNFOLDED

const string STANDS_UNFOLDED = "Sticks_Flare_Unfolded"
staticprivate

Definition at line 61 of file roadflare.c.

Referenced by OnInventoryEnter(), and OnInventoryExit().

◆ UNIGNITED_TIP

const string 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:
  • F:/Games/Dayz/scripts/4_world/entities/itembase/roadflare.c