23 SetEnginePos(
"0 0.7 1.4");
47 super.OnEngineStart();
143 if (!
super.CanDisplayCargo())
162 case "Hatchback_02_Door_1_1":
165 case "Hatchback_02_Door_2_1":
168 case "Hatchback_02_Door_1_2":
171 case "Hatchback_02_Door_2_2":
174 case "Hatchback_02_Hood":
177 case "Hatchback_02_Trunk":
222 return "doors_driver";
225 return "doors_codriver";
228 return "doors_cargo1";
231 return "doors_cargo2";
235 return super.GetDoorSelectionNameFromSeatPos(
posIdx);
243 return "Hatchback_02_Door_1_1";
246 return "Hatchback_02_Door_2_1";
249 return "Hatchback_02_Door_1_2";
252 return "Hatchback_02_Door_2_2";
256 return super.GetDoorInvSlotNameFromSeatPos(
posIdx);
289 return "DoorsDriver";
290 case "doors_codriver":
291 return "DoorsCoDriver";
293 return "DoorsCargo1";
295 return "DoorsCargo2";
356 GetInventory().CreateInInventory(
"Hatchback_02_Wheel");
357 GetInventory().CreateInInventory(
"Hatchback_02_Wheel");
358 GetInventory().CreateInInventory(
"Hatchback_02_Wheel");
359 GetInventory().CreateInInventory(
"Hatchback_02_Wheel");
361 GetInventory().CreateInInventory(
"Hatchback_02_Door_1_1");
362 GetInventory().CreateInInventory(
"Hatchback_02_Door_1_2");
363 GetInventory().CreateInInventory(
"Hatchback_02_Door_2_1");
364 GetInventory().CreateInInventory(
"Hatchback_02_Door_2_2");
365 GetInventory().CreateInInventory(
"Hatchback_02_Hood");
366 GetInventory().CreateInInventory(
"Hatchback_02_Trunk");
369 GetInventory().CreateInInventory(
"Hatchback_02_Wheel");
370 GetInventory().CreateInInventory(
"Hatchback_02_Wheel");
382 GetInventory().CreateInInventory(
"Hatchback_02_Wheel");
383 GetInventory().CreateInInventory(
"Hatchback_02_Wheel");
384 GetInventory().CreateInInventory(
"Hatchback_02_Wheel");
385 GetInventory().CreateInInventory(
"Hatchback_02_Wheel");
387 GetInventory().CreateInInventory(
"Hatchback_02_Door_1_1_Black");
388 GetInventory().CreateInInventory(
"Hatchback_02_Door_1_2_Black");
389 GetInventory().CreateInInventory(
"Hatchback_02_Door_2_1_Black");
390 GetInventory().CreateInInventory(
"Hatchback_02_Door_2_2_Black");
391 GetInventory().CreateInInventory(
"Hatchback_02_Hood_Black");
392 GetInventory().CreateInInventory(
"Hatchback_02_Trunk_Black");
395 GetInventory().CreateInInventory(
"Hatchback_02_Wheel");
396 GetInventory().CreateInInventory(
"Hatchback_02_Wheel");
408 GetInventory().CreateInInventory(
"Hatchback_02_Wheel");
409 GetInventory().CreateInInventory(
"Hatchback_02_Wheel");
410 GetInventory().CreateInInventory(
"Hatchback_02_Wheel");
411 GetInventory().CreateInInventory(
"Hatchback_02_Wheel");
413 GetInventory().CreateInInventory(
"Hatchback_02_Door_1_1_Blue");
414 GetInventory().CreateInInventory(
"Hatchback_02_Door_1_2_Blue");
415 GetInventory().CreateInInventory(
"Hatchback_02_Door_2_1_Blue");
416 GetInventory().CreateInInventory(
"Hatchback_02_Door_2_2_Blue");
417 GetInventory().CreateInInventory(
"Hatchback_02_Hood_Blue");
418 GetInventory().CreateInInventory(
"Hatchback_02_Trunk_Blue");
421 GetInventory().CreateInInventory(
"Hatchback_02_Wheel");
422 GetInventory().CreateInInventory(
"Hatchback_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'.