23 SetEnginePos(
"0 0.7 1.7");
47 super.OnEngineStart();
153 if (!
super.CanDisplayCargo())
172 case "Offroad_02_Door_1_1":
175 case "Offroad_02_Door_2_1":
178 case "Offroad_02_Door_1_2":
181 case "Offroad_02_Door_2_2":
184 case "Offroad_02_Hood":
187 case "Offroad_02_Trunk":
236 return "doors_driver";
239 return "doors_codriver";
242 return "doors_cargo1";
245 return "doors_cargo2";
249 return super.GetDoorSelectionNameFromSeatPos(
posIdx);
257 return "Offroad_02_Door_1_1";
259 return "Offroad_02_Door_2_1";
261 return "Offroad_02_Door_1_2";
263 return "Offroad_02_Door_2_2";
266 return super.GetDoorInvSlotNameFromSeatPos(
posIdx);
299 return "DoorsDriver";
300 case "doors_codriver":
301 return "DoorsCoDriver";
303 return "DoorsCargo1";
305 return "DoorsCargo2";
370 GetInventory().CreateInInventory(
"Offroad_02_Wheel");
371 GetInventory().CreateInInventory(
"Offroad_02_Wheel");
372 GetInventory().CreateInInventory(
"Offroad_02_Wheel");
373 GetInventory().CreateInInventory(
"Offroad_02_Wheel");
375 GetInventory().CreateInInventory(
"Offroad_02_Door_1_1");
376 GetInventory().CreateInInventory(
"Offroad_02_Door_1_2");
377 GetInventory().CreateInInventory(
"Offroad_02_Door_2_1");
378 GetInventory().CreateInInventory(
"Offroad_02_Door_2_2");
379 GetInventory().CreateInInventory(
"Offroad_02_Hood");
380 GetInventory().CreateInInventory(
"Offroad_02_Trunk");
383 GetInventory().CreateInInventory(
"Offroad_02_Wheel");
384 GetInventory().CreateInInventory(
"Offroad_02_Wheel");
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
string m_CarHornLongSoundName
string m_CarDoorOpenSound
ref UniversalTemperatureSourceLambdaEngine m_UTSLEngine
ref UniversalTemperatureSourceSettings m_UTSSettings
ref UniversalTemperatureSource m_UTSource
override float OnSound(CarSoundCtrl ctrl, float oldValue)
override float GetTransportCameraDistance()
override string GetDoorSelectionNameFromSeatPos(int posIdx)
override int GetAnimInstance()
override CarRearLightBase CreateRearLight()
override void OnDebugSpawn()
override string GetDoorInvSlotNameFromSeatPos(int posIdx)
override CarLightBase CreateFrontLight()
override int GetCarDoorsState(string slotType)
override bool IsVitalTruckBattery()
ref UniversalTemperatureSourceLambdaEngine m_UTSLEngine
override string GetAnimSourceFromSelection(string selection)
override bool CanDisplayCargo()
override bool CanReachDoorsFromSeat(string pDoorsSelection, int pCurrentSeat)
override void EOnPostSimulate(IEntity other, float timeSlice)
override void OnEngineStart()
override bool CanReleaseAttachment(EntityAI attachment)
override bool IsVitalRadiator()
override bool CrewCanGetThrough(int posIdx)
ref UniversalTemperatureSource m_UTSource
override bool CanReachSeatFromSeat(int currentSeat, int nextSeat)
override bool IsVitalSparkPlug()
bool CanManipulateSpareWheel(string slotSelectionName)
override void OnEngineStop()
override bool CanDisplayAttachmentCategory(string category_name)
override int GetSeatAnimationType(int posIdx)
ref UniversalTemperatureSourceSettings m_UTSSettings
Super root of all classes in Enforce script.
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 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'.