Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Enumerations | |
enum | CarDoorState { DOORS_MISSING, DOORS_OPEN, DOORS_CLOSED } |
enum CarDoorState |
Enumerator | |
---|---|
DOORS_MISSING | |
DOORS_OPEN | |
DOORS_CLOSED |
Definition at line 1 of file carscript.c.
void AddAction | ( | typename actionName | ) |
Definition at line 2422 of file carscript.c.
protected void BrakeAndReverseRearLight | ( | ) |
Definition at line 1914 of file carscript.c.
protected void BrakeLightsShineOff | ( | ) |
Definition at line 1999 of file carscript.c.
protected void BrakeLightsShineOn | ( | ) |
Definition at line 1988 of file carscript.c.
protected void BrakesRearLight | ( | ) |
Definition at line 1904 of file carscript.c.
Definition at line 843 of file carscript.c.
override bool CanReachSeatFromDoors | ( | string | pSeatSelection, |
vector | pFromPos, | ||
float | pDistance = 1.0 |
||
) |
skip the height for now
Definition at line 2240 of file carscript.c.
Definition at line 782 of file carscript.c.
Definition at line 811 of file carscript.c.
protected void CarPartsHealthCheck | ( | ) |
Definition at line 2114 of file carscript.c.
void CarScript | ( | ) |
Definition at line 284 of file carscript.c.
void CheckContactCache | ( | ) |
Responsible for damaging the car according to contact events from OnContact.
Definition at line 1139 of file carscript.c.
Definition at line 2078 of file carscript.c.
void CleanupEffects | ( | ) |
Definition at line 516 of file carscript.c.
void CleanupSound | ( | EffectSound | sound | ) |
Definition at line 535 of file carscript.c.
void CreateCarDestroyedEffect | ( | ) |
Definition at line 638 of file carscript.c.
protected CarLightBase CreateFrontLight | ( | ) |
Definition at line 2073 of file carscript.c.
protected CarRearLightBase CreateRearLight | ( | ) |
Definition at line 2067 of file carscript.c.
void DamageCrew | ( | float | dmg | ) |
Responsible for damaging crew in a car crash.
Definition at line 1239 of file carscript.c.
protected void DashboardShineOff | ( | ) |
Definition at line 2056 of file carscript.c.
protected void DashboardShineOn | ( | ) |
Definition at line 2046 of file carscript.c.
override void EEDelete | ( | EntityAI | parent | ) |
Definition at line 502 of file carscript.c.
Definition at line 2471 of file carscript.c.
override void EEHitBy | ( | TotalDamageResult | damageResult, |
int | damageType, | ||
EntityAI | source, | ||
int | component, | ||
string | dmgZone, | ||
string | ammo, | ||
vector | modelPos, | ||
float | speedCoef | ||
) |
Definition at line 492 of file carscript.c.
override void EEInit | ( | ) |
Definition at line 401 of file carscript.c.
Definition at line 648 of file carscript.c.
Definition at line 723 of file carscript.c.
override void EEKilled | ( | Object | killer | ) |
Definition at line 1103 of file carscript.c.
override void EEOnCECreate | ( | ) |
Definition at line 2507 of file carscript.c.
actions runned when the engine on
leaking of coolant from radiator when damaged
Definition at line 848 of file carscript.c.
protected void FillUpCarFluids | ( | ) |
Definition at line 2700 of file carscript.c.
void ForceUpdateLightsEnd | ( | ) |
Definition at line 2525 of file carscript.c.
void ForceUpdateLightsStart | ( | ) |
Definition at line 2516 of file carscript.c.
protected void GenerateCarHornAINoise | ( | int | pState | ) |
Definition at line 2577 of file carscript.c.
override int Get3rdPersonCameraType | ( | ) |
camera type
Definition at line 2320 of file carscript.c.
vector Get_1_1PointPosWS | ( | ) |
Definition at line 469 of file carscript.c.
vector Get_1_2PointPosWS | ( | ) |
Definition at line 473 of file carscript.c.
vector Get_2_1PointPosWS | ( | ) |
Definition at line 477 of file carscript.c.
vector Get_2_2PointPosWS | ( | ) |
Definition at line 481 of file carscript.c.
string GetActionCompNameBrakes | ( | ) |
Definition at line 2378 of file carscript.c.
string GetActionCompNameCoolant | ( | ) |
Definition at line 2348 of file carscript.c.
string GetActionCompNameFuel | ( | ) |
Definition at line 2358 of file carscript.c.
string GetActionCompNameOil | ( | ) |
Definition at line 2368 of file carscript.c.
float GetActionDistanceBrakes | ( | ) |
Definition at line 2383 of file carscript.c.
float GetActionDistanceCoolant | ( | ) |
Definition at line 2353 of file carscript.c.
float GetActionDistanceFuel | ( | ) |
Definition at line 2363 of file carscript.c.
float GetActionDistanceOil | ( | ) |
Definition at line 2373 of file carscript.c.
override void GetActions | ( | typename action_input_type | , |
out array< ActionBase_Basic > | actions | ||
) |
Definition at line 2400 of file carscript.c.
Definition at line 2199 of file carscript.c.
vector GetBackPointPosWS | ( | ) |
Definition at line 465 of file carscript.c.
ItemBase GetBattery | ( | ) |
Definition at line 2550 of file carscript.c.
float GetBatteryConsumption | ( | ) |
Definition at line 2535 of file carscript.c.
float GetBatteryRechargeRate | ( | ) |
Definition at line 2545 of file carscript.c.
float GetBatteryRuntimeConsumption | ( | ) |
Definition at line 2540 of file carscript.c.
Definition at line 2331 of file carscript.c.
vector GetCoolantPtcPosWS | ( | ) |
Definition at line 447 of file carscript.c.
bool GetCrashHeavySound | ( | ) |
Definition at line 2151 of file carscript.c.
bool GetCrashLightSound | ( | ) |
Definition at line 2132 of file carscript.c.
Definition at line 2235 of file carscript.c.
override void GetDebugActions | ( | out TSelectableActionInfoArrayEx | outputList | ) |
Definition at line 540 of file carscript.c.
override vector GetDefaultHitPosition | ( | ) |
Definition at line 2592 of file carscript.c.
Definition at line 2204 of file carscript.c.
Definition at line 2230 of file carscript.c.
Definition at line 2225 of file carscript.c.
vector GetEnginePointPosWS | ( | ) |
Definition at line 457 of file carscript.c.
vector GetEnginePosWS | ( | ) |
Definition at line 442 of file carscript.c.
float GetEnviroHeatComfortOverride | ( | ) |
DEPRECATED
vector GetFrontPointPosWS | ( | ) |
Definition at line 461 of file carscript.c.
override float GetLiquidThroughputCoef | ( | ) |
Definition at line 486 of file carscript.c.
float GetMomentum | ( | ) |
Definition at line 2608 of file carscript.c.
float GetPushForceCoefficientMultiplier | ( | ) |
Definition at line 2613 of file carscript.c.
EntityAI GetRadiator | ( | ) |
Definition at line 2304 of file carscript.c.
vector GetRefillPointPosWS | ( | ) |
Definition at line 452 of file carscript.c.
override void HandleByCrewMemberState | ( | ECrewMemberState | state | ) |
Definition at line 1476 of file carscript.c.
protected void HandleCarHornSound | ( | ECarHornState | pState | ) |
Definition at line 1367 of file carscript.c.
Definition at line 1324 of file carscript.c.
void HandleEngineSound | ( | CarEngineSoundState | state | ) |
postpone the engine sound played from c++ on soundcontroller (via OnSound override)
Definition at line 1383 of file carscript.c.
Definition at line 1347 of file carscript.c.
bool HasEngineZoneReceivedHit | ( | ) |
Definition at line 2603 of file carscript.c.
bool HasRadiator | ( | ) |
Definition at line 2299 of file carscript.c.
void InitializeActions | ( | ) |
Definition at line 2388 of file carscript.c.
bool IsHandbrakeActive | ( | ) |
Definition at line 2314 of file carscript.c.
override bool IsInventoryVisible | ( | ) |
Definition at line 2466 of file carscript.c.
bool IsMoving | ( | ) |
Definition at line 2309 of file carscript.c.
bool IsScriptedLightsOn | ( | ) |
Propper way to get if light is swiched on. Use instead of IsLightsOn().
Definition at line 1648 of file carscript.c.
bool IsVitalCarBattery | ( | ) |
Definition at line 2264 of file carscript.c.
bool IsVitalEngineBelt | ( | ) |
Definition at line 2284 of file carscript.c.
bool IsVitalFuelTank | ( | ) |
Definition at line 2294 of file carscript.c.
bool IsVitalGlowPlug | ( | ) |
Definition at line 2279 of file carscript.c.
bool IsVitalRadiator | ( | ) |
Definition at line 2289 of file carscript.c.
bool IsVitalSparkPlug | ( | ) |
Definition at line 2274 of file carscript.c.
bool IsVitalTruckBattery | ( | ) |
Definition at line 2269 of file carscript.c.
protected void LeakFluid | ( | CarFluid | fluid | ) |
Definition at line 2091 of file carscript.c.
protected void LeftFrontLightShineOff | ( | ) |
Definition at line 1946 of file carscript.c.
protected void LeftFrontLightShineOn | ( | ) |
Definition at line 1926 of file carscript.c.
override void MarkCrewMemberDead | ( | int | crewMemberIndex | ) |
Definition at line 1467 of file carscript.c.
override void MarkCrewMemberUnconscious | ( | int | crewMemberIndex | ) |
Definition at line 1458 of file carscript.c.
protected void NoRearLight | ( | ) |
Definition at line 1920 of file carscript.c.
override bool OnAction | ( | int | action_id, |
Man | player, | ||
ParamsReadContext | ctx | ||
) |
Definition at line 565 of file carscript.c.
Definition at line 1316 of file carscript.c.
override void OnAttachmentRuined | ( | EntityAI | attachment | ) |
Definition at line 774 of file carscript.c.
override bool OnBeforeEngineStart | ( | ) |
Gets called everytime the game wants to start the engine. This callback is called on server only.
Definition at line 1547 of file carscript.c.
DEPRECATED Gets called everytime the game wants to switch the lights.
Definition at line 1642 of file carscript.c.
void OnBrakesPressed | ( | ) |
Definition at line 1017 of file carscript.c.
void OnBrakesReleased | ( | ) |
Definition at line 1022 of file carscript.c.
WARNING: Can be called very frequently in one frame, use with caution.
Definition at line 1110 of file carscript.c.
override void OnEngineStart | ( | ) |
Gets called everytime the engine starts.
Definition at line 1612 of file carscript.c.
override void OnEngineStop | ( | ) |
Gets called everytime the engine stops.
Definition at line 1628 of file carscript.c.
Gets called everytime when the specified vehicle's fluid changes its current value eg. when car is consuming fuel.
This callback is called on both server and client.
Definition at line 1519 of file carscript.c.
Definition at line 1605 of file carscript.c.
override float OnSound | ( | CarSoundCtrl | ctrl, |
float | oldValue | ||
) |
Gets called every sound simulation step. In this callback, user can modify behaviour of sound controllers The higher the return value is the more muted sound is.
Definition at line 1301 of file carscript.c.
override void OnUpdate | ( | float | dt | ) |
Definition at line 1027 of file carscript.c.
override void OnVariablesSynchronized | ( | ) |
Definition at line 620 of file carscript.c.
void PlayCrashHeavySound | ( | ) |
Definition at line 2165 of file carscript.c.
void PlayCrashLightSound | ( | ) |
Definition at line 2146 of file carscript.c.
void PlaySound | ( | string | soundset, |
ref EffectSound | sound, | ||
out bool | soundbool | ||
) |
Definition at line 2194 of file carscript.c.
void PlaySoundEx | ( | string | soundset, |
EffectSound | sound, | ||
out bool | soundbool | ||
) |
Definition at line 2170 of file carscript.c.
void RemoveAction | ( | typename actionName | ) |
Definition at line 2453 of file carscript.c.
protected void ReverseLightsShineOff | ( | ) |
Definition at line 1977 of file carscript.c.
protected void ReverseLightsShineOn | ( | ) |
Definition at line 1966 of file carscript.c.
protected void ReverseRearLight | ( | ) |
Definition at line 1909 of file carscript.c.
protected void RightFrontLightShineOff | ( | ) |
Definition at line 1956 of file carscript.c.
protected void RightFrontLightShineOn | ( | ) |
Definition at line 1936 of file carscript.c.
void SetActions | ( | ) |
Definition at line 2411 of file carscript.c.
void SetCarHornState | ( | int | pState | ) |
Definition at line 2564 of file carscript.c.
void SetEngineStarted | ( | bool | started | ) |
Definition at line 2326 of file carscript.c.
void SetEngineZoneReceivedHit | ( | bool | pState | ) |
Definition at line 2597 of file carscript.c.
protected void SpawnAdditionalItems | ( | ) |
Definition at line 2670 of file carscript.c.
protected void SpawnUniversalParts | ( | ) |
Definition at line 2632 of file carscript.c.
void SynchCrashHeavySound | ( | bool | play | ) |
Definition at line 2156 of file carscript.c.
void SynchCrashLightSound | ( | bool | play | ) |
Definition at line 2137 of file carscript.c.
protected void TailLightsShineOff | ( | ) |
Definition at line 2035 of file carscript.c.
protected void TailLightsShineOn | ( | ) |
Definition at line 2010 of file carscript.c.
void ToggleHeadlights | ( | ) |
Switches headlights on/off, including the illumination of the control panel and synchronizes this change to all clients.
Definition at line 1654 of file carscript.c.
CarDoorState TranslateAnimationPhaseToCarDoorState | ( | string | animation | ) |
Definition at line 2336 of file carscript.c.
void UpdateHeadlightState | ( | ) |
Definition at line 700 of file carscript.c.
void UpdateLights | ( | int | new_gear = -1 | ) |
Definition at line 1660 of file carscript.c.
void UpdateLightsClient | ( | int | newGear = -1 | ) |
Definition at line 1668 of file carscript.c.
void UpdateLightsServer | ( | int | newGear = -1 | ) |
Definition at line 1787 of file carscript.c.
void ~CarScript | ( | ) |
Definition at line 509 of file carscript.c.
const private float BATTERY_UPDATE_DELAY = 100 |
Definition at line 181 of file carscript.c.
enum CarDoorState BRAKES_ONLY |
enum CarDoorState LEFT |
enum CarDoorState LONG |
bool m_ActionsInitialize |
Definition at line 141 of file carscript.c.
protected vector m_backPos |
Definition at line 202 of file carscript.c.
protected float m_BatteryConsume = 15 |
Definition at line 177 of file carscript.c.
protected float m_BatteryContinuousConsume = 0.25 |
Definition at line 178 of file carscript.c.
protected float m_BatteryEnergyStartMin = 5.0 |
Definition at line 182 of file carscript.c.
protected float m_BatteryHealth |
Definition at line 172 of file carscript.c.
protected float m_BatteryRecharge = 0.15 |
Definition at line 179 of file carscript.c.
private float m_BatteryTimer = 0 |
Definition at line 180 of file carscript.c.
protected float m_BrakeAmmount |
Definition at line 157 of file carscript.c.
protected bool m_BrakesArePressed |
Definition at line 238 of file carscript.c.
string m_CarDoorCloseSound = "" |
Definition at line 216 of file carscript.c.
string m_CarDoorOpenSound = "" |
Definition at line 215 of file carscript.c.
string m_CarHornLongSoundName = "" |
Definition at line 221 of file carscript.c.
string m_CarHornShortSoundName = "" |
Definition at line 220 of file carscript.c.
protected ref EffectSound m_CarHornSoundEffect |
Definition at line 229 of file carscript.c.
protected int m_CarHornState |
Definition at line 245 of file carscript.c.
string m_CarSeatShiftInSound = "" |
Definition at line 217 of file carscript.c.
string m_CarSeatShiftOutSound = "" |
Definition at line 218 of file carscript.c.
enum CarDoorState m_CarTypeActionsMap = new map<typename, ref TInputActionMap> |
ref CarContactCache m_ContactCache |
Definition at line 144 of file carscript.c.
protected float m_CoolantAmmount |
Definition at line 155 of file carscript.c.
protected ref EffVehicleSmoke m_coolantFx |
Particles.
Definition at line 185 of file carscript.c.
protected int m_coolantPtcFx |
Definition at line 190 of file carscript.c.
protected vector m_coolantPtcPos |
Definition at line 196 of file carscript.c.
ref EffectSound m_CrashSoundHeavy |
Definition at line 224 of file carscript.c.
ref EffectSound m_CrashSoundLight |
Definition at line 223 of file carscript.c.
protected ref set<int> m_DeadCrewMemberIndices |
Definition at line 276 of file carscript.c.
protected float m_dmgContactCoef = 0.058 |
Definition at line 161 of file carscript.c.
protected float m_DrownTime |
Definition at line 165 of file carscript.c.
protected bool m_EngineBeforeStart |
Definition at line 270 of file carscript.c.
protected bool m_EngineDestroyed |
Definition at line 243 of file carscript.c.
protected ref EffVehicleSmoke m_engineFx |
Definition at line 186 of file carscript.c.
protected float m_EngineHealth |
Definition at line 169 of file carscript.c.
protected vector m_enginePos |
Definition at line 200 of file carscript.c.
protected int m_enginePtcFx |
Definition at line 189 of file carscript.c.
protected vector m_enginePtcPos |
Definition at line 195 of file carscript.c.
string m_EngineStartBattery = "" |
Definition at line 210 of file carscript.c.
protected bool m_EngineStartDoOnce |
Definition at line 271 of file carscript.c.
protected bool m_EngineStarted |
Definition at line 242 of file carscript.c.
string m_EngineStartFuel = "" |
Definition at line 212 of file carscript.c.
string m_EngineStartOK = "" |
Sounds.
Definition at line 209 of file carscript.c.
string m_EngineStartPlug = "" |
Definition at line 211 of file carscript.c.
string m_EngineStopFuel = "" |
Definition at line 213 of file carscript.c.
protected bool m_EngineZoneReceivedHit |
Definition at line 273 of file carscript.c.
protected float m_EnviroHeatComfortOverride |
Definition at line 162 of file carscript.c.
protected ref EffVehicleSmoke m_exhaustFx |
Definition at line 187 of file carscript.c.
protected vector m_exhaustPtcDir |
Definition at line 194 of file carscript.c.
protected int m_exhaustPtcFx |
Definition at line 191 of file carscript.c.
protected vector m_exhaustPtcPos |
Definition at line 193 of file carscript.c.
protected bool m_ForceUpdateLights |
Definition at line 241 of file carscript.c.
protected vector m_frontPos |
Definition at line 201 of file carscript.c.
protected float m_FuelAmmount |
keeps ammount of each fluid
Definition at line 154 of file carscript.c.
protected vector m_fuelPos |
Definition at line 198 of file carscript.c.
protected float m_FuelTankHealth |
Definition at line 171 of file carscript.c.
CarLightBase m_Headlight |
Definition at line 247 of file carscript.c.
protected bool m_HeadlightsOn |
Definition at line 236 of file carscript.c.
protected bool m_HeadlightsState |
Definition at line 237 of file carscript.c.
TInputActionMap m_InputActionMap |
Definition at line 140 of file carscript.c.
protected float m_MomentumPrevTick |
Definition at line 142 of file carscript.c.
protected ref NoiseParams m_NoisePar |
Definition at line 230 of file carscript.c.
protected NoiseSystem m_NoiseSystem |
Definition at line 231 of file carscript.c.
protected float m_OilAmmount |
Definition at line 156 of file carscript.c.
protected bool m_PlayCrashSoundHeavy |
Definition at line 234 of file carscript.c.
protected bool m_PlayCrashSoundLight |
Definition at line 233 of file carscript.c.
protected float m_PlugHealth |
Definition at line 173 of file carscript.c.
private ref EffectSound m_PreStartSound |
Definition at line 227 of file carscript.c.
protected EntityAI m_Radiator |
Definition at line 175 of file carscript.c.
protected float m_RadiatorHealth |
Definition at line 170 of file carscript.c.
CarRearLightBase m_RearLight |
Definition at line 248 of file carscript.c.
protected bool m_RearLightType |
Definition at line 239 of file carscript.c.
protected vector m_side_1_1Pos |
Definition at line 203 of file carscript.c.
protected vector m_side_1_2Pos |
Definition at line 204 of file carscript.c.
protected vector m_side_2_1Pos |
Definition at line 205 of file carscript.c.
protected vector m_side_2_2Pos |
Definition at line 206 of file carscript.c.
protected float m_Time |
Definition at line 146 of file carscript.c.
protected ref set<int> m_UnconsciousCrewMemberIndices |
Definition at line 275 of file carscript.c.
protected vector m_VelocityPrevTick |
Definition at line 143 of file carscript.c.
ref EffectSound m_WindowLarge |
Definition at line 226 of file carscript.c.
ref EffectSound m_WindowSmall |
Definition at line 225 of file carscript.c.
enum CarDoorState NONE |
enum CarDoorState OFF = 0 |
enum CarDoorState REVERSE_ONLY |
enum CarDoorState RIGHT |
enum CarDoorState SHORT = 1 |
enum CarDoorState START_NO_BATTERY |
enum CarDoorState START_NO_FUEL |
enum CarDoorState START_NO_SPARKPLUG |
enum CarDoorState START_OK |
enum CarDoorState STARTING |
enum CarDoorState STOP_OK |
enum CarDoorState typename |
Base script class for all motorized wheeled vehicles.