3 protected ref UniversalTemperatureSource
m_UTSource;
4 protected ref UniversalTemperatureSourceSettings
m_UTSSettings;
24 SetEnginePos(
"0 1.4 2.25");
47 super.OnEngineStart();
118 if (!super.CanReleaseAttachment(attachment))
123 if (EngineIsOn() && attachment.GetType() ==
"TruckBattery")
133 if (slotSelectionName ==
"wheel_spare_1")
135 return GetAnimationPhase(
"wheelSidePlate1") == 1.0);
138 if (slotSelectionName ==
"wheel_spare_2")
140 return GetAnimationPhase(
"wheelSidePlate2") == 1.0);
143 return super.CanManipulateSpareWheel(slotSelectionName);
172 return "doors_driver";
175 return "doors_codriver";
179 return super.GetDoorSelectionNameFromSeatPos(posIdx);
187 return "Truck_01_Door_1_1";
190 return "Truck_01_Door_2_1";
194 return super.GetDoorInvSlotNameFromSeatPos(posIdx);
219 return super.OnSound(ctrl, oldValue);
224 super.OnAnimationPhaseStarted(animSource, phase);
229 case "wheelsideplate1":
230 case "wheelsideplate2":
253 Class.
CastTo(carDoor, FindAttachmentBySlotName(slotType));
261 case "Truck_01_Door_1_1":
263 case "Truck_01_Door_2_1":
265 case "Truck_01_Hood":
277 return "DoorsDriver";
278 case "doors_codriver":
279 return "DoorsCoDriver";
284 case "wheelsideplate1":
285 return "WheelSidePlate1";
286 case "wheelsideplate2":
287 return "WheelSidePlate2";
298 return nextSeat == 1;
300 return nextSeat == 0;
308 switch (pCurrentSeat)
311 return pDoorsSelection ==
"DoorsDriver";
314 return pDoorsSelection ==
"DoorsCoDriver";
322 switch (pDoorSelection)
327 case "DoorsCoDriver":
378 GetInventory().CreateInInventory(
"Truck_01_Wheel");
379 GetInventory().CreateInInventory(
"Truck_01_Wheel");
381 GetInventory().CreateInInventory(
"Truck_01_WheelDouble");
382 GetInventory().CreateInInventory(
"Truck_01_WheelDouble");
383 GetInventory().CreateInInventory(
"Truck_01_WheelDouble");
384 GetInventory().CreateInInventory(
"Truck_01_WheelDouble");
386 GetInventory().CreateInInventory(
"Truck_01_Door_1_1");
387 GetInventory().CreateInInventory(
"Truck_01_Door_2_1");
388 GetInventory().CreateInInventory(
"Truck_01_Hood");
391 GetInventory().CreateInInventory(
"Truck_01_Wheel");
392 GetInventory().CreateInInventory(
"Truck_01_Wheel");
393 GetInventory().CreateInInventory(
"Truck_01_WheelDouble");
394 GetInventory().CreateInInventory(
"Truck_01_WheelDouble");
ActionDetachFromTarget_SpecificSlot_WoodenPlanks ActionDetachFromTarget_SpecificSlot ActionDetachFromTarget_SpecificSlot_MetalSheets()
ActionDetachFromTarget_SpecificSlotsCategory_Barrel ActionDetachFromTarget_SpecificSlotsCategory ActionDetachFromTarget_SpecificSlotsCategory_WoodenCrate()
ActionDetachFromTarget_SpecificSlotsCategory ActionDetachFromTarget ActionDetachFromTarget_SpecificSlot_WoodenLogs()
void AddAction(typename actionName)
CarSoundCtrl
Car's sound controller list. (native, do not change or extend)
void SpawnUniversalParts()
CarDoorState TranslateAnimationPhaseToCarDoorState(string animation)
void SpawnAdditionalItems()
string m_EngineStartOK
Sounds.
string m_CarDoorCloseSound
string m_EngineStartBattery
string m_CarHornShortSoundName
int GetCarDoorsState(string slotType)
string m_CarHornLongSoundName
string m_CarDoorOpenSound
ref UniversalTemperatureSourceLambdaEngine m_UTSLEngine
ref UniversalTemperatureSourceSettings m_UTSSettings
ref UniversalTemperatureSource m_UTSource
UniversalTemperatureSourceLambdaBaseImpl UniversalTemperatureSourceLambdaBase UniversalTemperatureSourceLambdaEngine()
override float OnSound(CarSoundCtrl ctrl, float oldValue)
override bool IsVitalEngineBelt()
override float GetTransportCameraDistance()
override string GetDoorSelectionNameFromSeatPos(int posIdx)
override int GetAnimInstance()
override CarRearLightBase CreateRearLight()
override void OnDebugSpawn()
override int GetSeatIndexFromDoor(string pDoorSelection)
override string GetDoorInvSlotNameFromSeatPos(int posIdx)
override CarLightBase CreateFrontLight()
override bool IsVitalGlowPlug()
override int GetCarDoorsState(string slotType)
ref UniversalTemperatureSourceLambdaEngine m_UTSLEngine
override void OnAnimationPhaseStarted(string animSource, float phase)
override string GetAnimSourceFromSelection(string selection)
override bool CanReachDoorsFromSeat(string pDoorsSelection, int pCurrentSeat)
override void EOnPostSimulate(IEntity other, float timeSlice)
override void OnEngineStart()
override bool CanReleaseAttachment(EntityAI attachment)
override void SetActions()
override bool IsVitalRadiator()
override bool CrewCanGetThrough(int posIdx)
override bool IsVitalCarBattery()
ref UniversalTemperatureSource m_UTSource
override bool CanReachSeatFromSeat(int currentSeat, int nextSeat)
override bool IsVitalSparkPlug()
bool CanManipulateSpareWheel(string slotSelectionName)
override void OnEngineStop()
override vector GetTransportCameraOffset()
override int GetSeatAnimationType(int posIdx)
ref UniversalTemperatureSourceSettings m_UTSSettings
Super root of all classes in Enforce script.
override void SetAutodestroy(bool auto_destroy)
Sets whether Effect automatically cleans up when it stops.
Wrapper class for managing sound through SEffectManager.
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.
Manager class for managing Effect (EffectParticle, EffectSound)
original Timer deletes m_params which is unwanted
DayZPlayerConstants
defined in C++
proto native CGame GetGame()
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
static const float ITEM_TEMPERATURE_NEUTRAL_ZONE_MIDDLE
static proto float Clamp(float value, float min, float max)
Clamps 'value' to 'min' if it is lower than 'min', or to 'max' if it is higher than 'max'.
class JsonUndergroundAreaTriggerData GetPosition