23 SetEnginePos(
"0 0.7 -1.7");
47 super.OnEngineStart();
159 if (!
super.CanDisplayCargo())
178 case "Sedan_02_Door_1_1":
181 case "Sedan_02_Door_2_1":
184 case "Sedan_02_Door_1_2":
187 case "Sedan_02_Door_2_2":
190 case "Sedan_02_Hood":
193 case "Sedan_02_Trunk":
242 return "doors_driver";
245 return "doors_codriver";
248 return "doors_cargo1";
251 return "doors_cargo2";
255 return super.GetDoorSelectionNameFromSeatPos(
posIdx);
263 return "Sedan_02_Door_1_1";
266 return "Sedan_02_Door_2_1";
269 return "Sedan_02_Door_1_2";
272 return "Sedan_02_Door_2_2";
276 return super.GetDoorInvSlotNameFromSeatPos(
posIdx);
309 return "DoorsDriver";
310 case "doors_codriver":
311 return "DoorsCoDriver";
313 return "DoorsCargo1";
315 return "DoorsCargo2";
382 GetInventory().CreateInInventory(
"Sedan_02_Wheel");
383 GetInventory().CreateInInventory(
"Sedan_02_Wheel");
384 GetInventory().CreateInInventory(
"Sedan_02_Wheel");
385 GetInventory().CreateInInventory(
"Sedan_02_Wheel");
386 GetInventory().CreateInInventory(
"Sedan_02_Wheel");
388 GetInventory().CreateInInventory(
"Sedan_02_Door_1_1");
389 GetInventory().CreateInInventory(
"Sedan_02_Door_1_2");
390 GetInventory().CreateInInventory(
"Sedan_02_Door_2_1");
391 GetInventory().CreateInInventory(
"Sedan_02_Door_2_2");
392 GetInventory().CreateInInventory(
"Sedan_02_Hood");
393 GetInventory().CreateInInventory(
"Sedan_02_Trunk");
396 GetInventory().CreateInInventory(
"Sedan_02_Wheel");
397 GetInventory().CreateInInventory(
"Sedan_02_Wheel");
409 GetInventory().CreateInInventory(
"Sedan_02_Wheel");
410 GetInventory().CreateInInventory(
"Sedan_02_Wheel");
411 GetInventory().CreateInInventory(
"Sedan_02_Wheel");
412 GetInventory().CreateInInventory(
"Sedan_02_Wheel");
414 GetInventory().CreateInInventory(
"Sedan_02_Door_1_1_Red");
415 GetInventory().CreateInInventory(
"Sedan_02_Door_1_2_Red");
416 GetInventory().CreateInInventory(
"Sedan_02_Door_2_1_Red");
417 GetInventory().CreateInInventory(
"Sedan_02_Door_2_2_Red");
418 GetInventory().CreateInInventory(
"Sedan_02_Hood_Red");
419 GetInventory().CreateInInventory(
"Sedan_02_Trunk_Red");
422 GetInventory().CreateInInventory(
"Sedan_02_Wheel");
423 GetInventory().CreateInInventory(
"Sedan_02_Wheel");
435 GetInventory().CreateInInventory(
"Sedan_02_Wheel");
436 GetInventory().CreateInInventory(
"Sedan_02_Wheel");
437 GetInventory().CreateInInventory(
"Sedan_02_Wheel");
438 GetInventory().CreateInInventory(
"Sedan_02_Wheel");
440 GetInventory().CreateInInventory(
"Sedan_02_Door_1_1_Grey");
441 GetInventory().CreateInInventory(
"Sedan_02_Door_1_2_Grey");
442 GetInventory().CreateInInventory(
"Sedan_02_Door_2_1_Grey");
443 GetInventory().CreateInInventory(
"Sedan_02_Door_2_2_Grey");
444 GetInventory().CreateInInventory(
"Sedan_02_Hood_Grey");
445 GetInventory().CreateInInventory(
"Sedan_02_Trunk_Grey");
448 GetInventory().CreateInInventory(
"Sedan_02_Wheel");
449 GetInventory().CreateInInventory(
"Sedan_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
class Hatchback_02_Blue extends Hatchback_02 OnDebugSpawn
ref UniversalTemperatureSourceSettings m_UTSSettings
ref UniversalTemperatureSourceLambdaEngine m_UTSLEngine
ref UniversalTemperatureSource m_UTSource
override int GetCarDoorsState(string slotType)
override float OnSound(CarSoundCtrl ctrl, float oldValue)
override string GetDoorSelectionNameFromSeatPos(int posIdx)
override int GetAnimInstance()
override CarRearLightBase CreateRearLight()
override void OnDebugSpawn()
override string GetDoorInvSlotNameFromSeatPos(int posIdx)
override CarLightBase CreateFrontLight()
override bool IsVitalGlowPlug()
override int GetCarDoorsState(string slotType)
override bool IsVitalTruckBattery()
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 CrewCanGetThrough(int posIdx)
override bool CanReachSeatFromSeat(int currentSeat, int nextSeat)
bool CanManipulateSpareWheel(string slotSelectionName)
override void OnEngineStop()
override bool CanDisplayAttachmentCategory(string category_name)
override int GetSeatAnimationType(int posIdx)
Super root of all classes in Enforce script.
override void OnDebugSpawn()
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'.