23 SetEnginePos(
"0 0.7 1.6");
47 super.OnEngineStart();
149 if (!
super.CanDisplayCargo())
168 case "CivSedanDriverDoors":
172 case "CivSedanCoDriverDoors":
176 case "CivSedanCargo1Doors":
180 case "CivSedanCargo2Doors":
184 case "CivSedanTrunk":
238 return "doors_driver";
241 return "doors_codriver";
244 return "doors_cargo1";
247 return "doors_cargo2";
251 return super.GetDoorSelectionNameFromSeatPos(
posIdx);
259 return "CivSedanDriverDoors";
262 return "CivSedanCoDriverDoors";
265 return "CivSedanCargo1Doors";
268 return "CivSedanCargo2Doors";
272 return super.GetDoorInvSlotNameFromSeatPos(
posIdx);
313 return "DoorsDriver";
314 case "doors_codriver":
315 return "DoorsCoDriver";
317 return "DoorsCargo1";
319 return "DoorsCargo2";
385 GetInventory().CreateInInventory(
"CivSedanWheel");
386 GetInventory().CreateInInventory(
"CivSedanWheel");
387 GetInventory().CreateInInventory(
"CivSedanWheel");
388 GetInventory().CreateInInventory(
"CivSedanWheel");
390 GetInventory().CreateInInventory(
"CivSedanDoors_Driver");
391 GetInventory().CreateInInventory(
"CivSedanDoors_CoDriver");
392 GetInventory().CreateInInventory(
"CivSedanDoors_BackLeft");
393 GetInventory().CreateInInventory(
"CivSedanDoors_BackRight");
394 GetInventory().CreateInInventory(
"CivSedanHood");
395 GetInventory().CreateInInventory(
"CivSedanTrunk");
398 GetInventory().CreateInInventory(
"CivSedanWheel");
399 GetInventory().CreateInInventory(
"CivSedanWheel");
416 GetInventory().CreateInInventory(
"CivSedanWheel");
417 GetInventory().CreateInInventory(
"CivSedanWheel");
418 GetInventory().CreateInInventory(
"CivSedanWheel");
419 GetInventory().CreateInInventory(
"CivSedanWheel");
421 GetInventory().CreateInInventory(
"CivSedanDoors_Driver_Wine");
422 GetInventory().CreateInInventory(
"CivSedanDoors_CoDriver_Wine");
423 GetInventory().CreateInInventory(
"CivSedanDoors_BackLeft_Wine");
424 GetInventory().CreateInInventory(
"CivSedanDoors_BackRight_Wine");
425 GetInventory().CreateInInventory(
"CivSedanHood_Wine");
426 GetInventory().CreateInInventory(
"CivSedanTrunk_Wine");
429 GetInventory().CreateInInventory(
"CivSedanWheel");
430 GetInventory().CreateInInventory(
"CivSedanWheel");
442 GetInventory().CreateInInventory(
"CivSedanWheel");
443 GetInventory().CreateInInventory(
"CivSedanWheel");
444 GetInventory().CreateInInventory(
"CivSedanWheel");
445 GetInventory().CreateInInventory(
"CivSedanWheel");
447 GetInventory().CreateInInventory(
"CivSedanDoors_Driver_Black");
448 GetInventory().CreateInInventory(
"CivSedanDoors_CoDriver_Black");
449 GetInventory().CreateInInventory(
"CivSedanDoors_BackLeft_Black");
450 GetInventory().CreateInInventory(
"CivSedanDoors_BackRight_Black");
451 GetInventory().CreateInInventory(
"CivSedanHood_Black");
452 GetInventory().CreateInInventory(
"CivSedanTrunk_Black");
455 GetInventory().CreateInInventory(
"CivSedanWheel");
456 GetInventory().CreateInInventory(
"CivSedanWheel");
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 UniversalTemperatureSourceSettings m_UTSSettings
ref UniversalTemperatureSourceLambdaEngine m_UTSLEngine
ref UniversalTemperatureSource m_UTSource
override int GetCarDoorsState(string slotType)
class Hatchback_02_Blue extends Hatchback_02 OnDebugSpawn
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 bool IsVitalGlowPlug()
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 CrewCanGetThrough(int posIdx)
ref UniversalTemperatureSource m_UTSource
override bool CanReachSeatFromSeat(int currentSeat, int nextSeat)
bool CanManipulateSpareWheel(string slotSelectionName)
override float GetPushForceCoefficientMultiplier()
override void OnEngineStop()
override bool CanDisplayAttachmentCategory(string category_name)
override int GetSeatAnimationType(int posIdx)
ref UniversalTemperatureSourceSettings m_UTSSettings
override void OnDebugSpawn()
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'.