Enumerations | |
enum | CarDoorState { DOORS_MISSING , DOORS_OPEN , DOORS_CLOSED } |
enum CarDoorState |
void AddAction | ( | typename actionName | ) |
protected void BrakeAndReverseRearLight | ( | ) |
References m_RearLight.
Referenced by UpdateLightsClient().
protected void BrakeLightsShineOff | ( | ) |
References SELECTION_ID_BRAKE_LIGHT_L, and SELECTION_ID_BRAKE_LIGHT_R.
Referenced by UpdateLightsServer().
protected void BrakeLightsShineOn | ( | ) |
References SELECTION_ID_BRAKE_LIGHT_L, and SELECTION_ID_BRAKE_LIGHT_R.
Referenced by UpdateLightsServer().
protected void BrakesRearLight | ( | ) |
References m_RearLight.
Referenced by UpdateLightsClient().
override bool CanReachSeatFromDoors | ( | string | pSeatSelection, |
vector | pFromPos, | ||
float | pDistance = 1.0 |
||
) |
skip the height for now
References vector::Distance(), CarScript::GetDoorConditionPointFromSelection(), and string::Length().
protected void CarPartsHealthCheck | ( | ) |
References GetGame(), GetRadiator(), HasRadiator(), m_EngineHealth, m_FuelTankHealth, and m_RadiatorHealth.
Referenced by EOnPostSimulate().
void CarScript | ( | ) |
References vector::Direction(), GetGame(), m_backPos, m_BatteryHealth, m_CarEngineSoundState, m_CarHornState, m_ContactCache, m_coolantPtcFx, m_coolantPtcPos, m_DrownEnginePos, m_EngineHealth, m_enginePos, m_enginePtcFx, m_enginePtcPos, m_EnviroHeatComfortOverride, m_exhaustPtcDir, m_exhaustPtcFx, m_exhaustPtcPos, m_frontPos, m_FuelTankHealth, m_PlayCrashSoundHeavy, m_PlayCrashSoundLight, m_PlugHealth, m_RadiatorHealth, m_side_1_1Pos, m_side_1_2Pos, m_side_2_1Pos, m_side_2_2Pos, m_Time, m_WheelSmokeFx, m_WheelSmokePtcFx, vector::Normalized(), and vector::VectorToAngles().
void CheckContactCache | ( | ) |
Responsible for damaging the car according to contact events from OnContact.
References Math::AbsInt(), GameConstants::CARS_CONTACT_DMG_MIN, GameConstants::CARS_CONTACT_DMG_THRESHOLD, SEffectManager::CreateParticleServer(), DamageCrew(), dBodyGetMass(), vector::Dot(), string::Format(), GetDisplayName(), GetGame(), GetTime(), CGame::GetTime(), GetVelocity(), vector::Length(), Debug::Log(), m_ContactCache, m_dmgContactCoef, m_MomentumPrevTick, m_VelocityPrevTick, vector::Normalized(), SynchCrashHeavySound(), SynchCrashLightSound(), UpdateHeadlightState(), and UpdateLights().
Referenced by EOnPostSimulate().
bool CheckOperationalState | ( | ) |
Referenced by EOnPostSimulate().
void CleanupEffects | ( | ) |
References CleanupSound(), SEffectManager::DestroyEffect(), Effect(), m_CarHornSoundEffect, m_coolantFx, m_CrashSoundHeavy, m_CrashSoundLight, m_engineFx, m_exhaustFx, m_Headlight, m_RearLight, m_WheelSmokeFx, m_WheelSmokePtcFx, m_WindowLarge, and m_WindowSmall.
Referenced by EEDelete(), and ~CarScript().
void CleanupSound | ( | EffectSound | sound | ) |
References SEffectManager::DestroyEffect().
Referenced by CleanupEffects(), and HandleCarHornSound().
void CreateCarDestroyedEffect | ( | ) |
protected CarLightBase CreateFrontLight | ( | ) |
protected CarRearLightBase CreateRearLight | ( | ) |
void DamageCrew | ( | float | dmg | ) |
Responsible for damaging crew in a car crash.
References GameConstants::CARS_CONTACT_DMG_KILLCREW, GameConstants::CARS_CONTACT_DMG_THRESHOLD, Class::CastTo(), Math::Clamp(), Math::InverseLerp(), Math::Lerp(), and Debug::Log().
Referenced by CheckContactCache().
protected void DashboardShineOff | ( | ) |
References SELECTION_ID_DASHBOARD_LIGHT.
Referenced by UpdateLightsServer().
protected void DashboardShineOn | ( | ) |
References SELECTION_ID_DASHBOARD_LIGHT.
Referenced by UpdateLightsServer().
protected override bool DetectFlipped | ( | VehicleFlippedContext | ctx | ) |
References GameConstants::VEHICLE_FLIP_ANGLE_TOLERANCE, and GameConstants::VEHICLE_FLIP_WHEELS_LIMITED.
Referenced by EntityAI::IsActionFlipped(), and EntityAI::IsFlipped().
override void EEDelete | ( | EntityAI | parent | ) |
References CleanupEffects().
override void EEInit | ( | ) |
References GetGame(), CGame::GetNoiseSystem(), GetType(), m_NoisePar, m_NoiseSystem, and NoiseParams().
References GetGame(), m_BatteryHealth, m_PlugHealth, m_Radiator, m_RadiatorHealth, Synchronize(), UpdateHeadlightState(), and UpdateLights().
override void EEKilled | ( | Object | killer | ) |
References m_EngineDestroyed.
override void EEOnCECreate | ( | ) |
References Math::RandomFloat().
actions runned when the engine on
leaking of coolant from radiator when damaged
References Math::AbsFloat(), CarPartsHealthCheck(), GameConstants::CARS_FLUIDS_TICK, CheckContactCache(), CheckVitalItem(), GameConstants::DAMAGE_DAMAGED_VALUE, GameConstants::DAMAGE_RUINED_VALUE, dBodyGetVelocityAt(), GetGame(), GetVelocity(), Surface::GetWheelParticleID(), HandleByCrewMemberState(), vector::InvMultiply3(), SEffectManager::IsEffectExist(), CarScript::IsVitalCarBattery(), IsVitalFuelTank(), CarScript::IsVitalGlowPlug(), CarScript::IsVitalRadiator(), CarScript::IsVitalSparkPlug(), CarScript::IsVitalTruckBattery(), LeakFluid(), vector::Length(), Debug::Log(), m_coolantFx, m_coolantPtcFx, m_coolantPtcPos, m_EngineHealth, m_exhaustFx, m_exhaustPtcDir, m_exhaustPtcFx, m_exhaustPtcPos, m_FuelTankHealth, m_MomentumPrevTick, m_RadiatorHealth, m_Time, m_VelocityPrevTick, m_WheelSmokeFx, m_WheelSmokePtcFx, SEffectManager::PlayOnObject(), Math::RandomFloat(), EffectParticle::SetCurrentLocalPosition(), EffVehicleSmoke::SetParticleStateHeavy(), EffVehicleSmoke::SetParticleStateLight(), EffWheelSmoke::SetSurface(), EffectParticle::Start(), EffectParticle::Stop(), SEffectManager::Stop(), CGame::SurfaceGetType(), vector::Up, EffWheelSmoke::WHEEL_SMOKE_THRESHOLD, and vector::Zero.
protected void FillUpCarFluids | ( | ) |
void ForceUpdateLightsEnd | ( | ) |
References m_ForceUpdateLights.
Referenced by EEHitBy().
void ForceUpdateLightsStart | ( | ) |
References m_ForceUpdateLights.
Referenced by EEHitBy().
protected void GenerateCarHornAINoise | ( | int | pState | ) |
References NoiseSystem::AddNoiseTarget(), GetGame(), NoiseAIEvaluate::GetNoiseReduction(), GetPosition, m_NoisePar, and m_NoiseSystem.
Referenced by SetCarHornState().
override int Get3rdPersonCameraType | ( | ) |
camera type
References DayZPlayerCameras::DAYZCAMERA_3RD_VEHICLE.
vector Get_1_1PointPosWS | ( | ) |
References m_side_1_1Pos.
vector Get_1_2PointPosWS | ( | ) |
References m_side_1_2Pos.
vector Get_2_1PointPosWS | ( | ) |
References m_side_2_1Pos.
vector Get_2_2PointPosWS | ( | ) |
References m_side_2_2Pos.
string GetActionCompNameBrakes | ( | ) |
string GetActionCompNameCoolant | ( | ) |
string GetActionCompNameOil | ( | ) |
float GetActionDistanceBrakes | ( | ) |
float GetActionDistanceCoolant | ( | ) |
float GetActionDistanceOil | ( | ) |
override void GetActions | ( | typename action_input_type | , |
out array< ActionBase_Basic > | actions | ||
) |
References InitializeActions(), m_ActionsInitialize, and m_InputActionMap.
ItemBase GetBattery | ( | ) |
References CarScript::IsVitalCarBattery(), and CarScript::IsVitalTruckBattery().
Referenced by CheckOperationalState(), OnBeforeEngineStart(), OnEngineStart(), and OnUpdate().
float GetBatteryConsumption | ( | ) |
References m_BatteryConsume.
Referenced by OnEngineStart().
float GetBatteryRechargeRate | ( | ) |
References m_BatteryRecharge.
Referenced by OnUpdate().
float GetBatteryRuntimeConsumption | ( | ) |
References m_BatteryContinuousConsume.
Referenced by OnUpdate().
Referenced by CarScript::CrewCanGetThrough(), and CarScript::OnSound().
vector GetCoolantPtcPosWS | ( | ) |
References m_coolantPtcPos.
bool GetCrashHeavySound | ( | ) |
References m_PlayCrashSoundHeavy.
Referenced by OnVariablesSynchronized().
bool GetCrashLightSound | ( | ) |
References m_PlayCrashSoundLight.
Referenced by OnVariablesSynchronized().
override void GetDebugActions | ( | out TSelectableActionInfoArrayEx | outputList | ) |
References SAT_DEBUG_ACTION.
override vector GetDefaultHitPosition | ( | ) |
References vector::Zero.
vector GetEnginePointPosWS | ( | ) |
References m_enginePos.
vector GetEnginePosWS | ( | ) |
References m_DrownEnginePos.
Referenced by CreateCarDestroyedEffect(), and OnUpdate().
float GetEnviroHeatComfortOverride | ( | ) |
DEPRECATED
vector GetFrontPointPosWS | ( | ) |
References m_frontPos.
override float GetLiquidThroughputCoef | ( | ) |
References LIQUID_THROUGHPUT_CAR_DEFAULT.
float GetPushForceCoefficientMultiplier | ( | ) |
EntityAI GetRadiator | ( | ) |
References m_Radiator.
Referenced by CarPartsHealthCheck().
override string GetVehicleType | ( | ) |
override void HandleByCrewMemberState | ( | ECrewMemberState | state | ) |
Referenced by EOnPostSimulate().
protected void HandleCarHornSound | ( | ECarHornState | pState | ) |
References CleanupSound(), m_CarHornLongSoundName, m_CarHornShortSoundName, and m_CarHornSoundEffect.
Referenced by OnVariablesSynchronized().
References GetPosition, m_CarDoorCloseSound, m_CarDoorOpenSound, SEffectManager::PlaySound(), and EffectSound::SetAutodestroy().
Referenced by OnAnimationPhaseStarted().
void HandleEngineSound | ( | CarEngineSoundState | state | ) |
postpone the engine sound played from c++ on soundcontroller (via OnSound override)
References CALL_CATEGORY_GAMEPLAY, ScriptCallQueue::CallLater(), Class::CastTo(), SEffectManager::CreateSound(), CGame::GetCallQueue(), GetGame(), m_CarEngineLastSoundState, m_EngineStartOK, m_EngineStopFuel, m_PreStartSound, SEffectManager::PlaySound(), EffectSound::SetAutodestroy(), SetEngineStarted(), EffectSound::SetSoundFadeOut(), EffectSound::SetSoundWaveKind(), and EffectSound::SoundPlay().
Referenced by OnEngineStart(), OnEngineStop(), and OnVariablesSynchronized().
References GetPosition, m_CarSeatShiftInSound, m_CarSeatShiftOutSound, SEffectManager::PlaySound(), and EffectSound::SetAutodestroy().
Referenced by OnAnimationPhaseStarted().
bool HasRadiator | ( | ) |
References m_Radiator.
Referenced by CarPartsHealthCheck().
void InitializeActions | ( | ) |
References m_CarTypeActionsMap, m_InputActionMap, CarScript::SetActions(), and Type.
bool IsHandbrakeActive | ( | ) |
override bool IsInventoryVisible | ( | ) |
References GetGame(), and GetPlayer().
bool IsMoving | ( | ) |
Referenced by CanReleaseAttachment().
bool IsScriptedLightsOn | ( | ) |
Propper way to get if light is swiched on. Use instead of IsLightsOn().
References m_HeadlightsOn.
Referenced by EEItemDetached(), and OnUpdate().
bool IsVitalCarBattery | ( | ) |
bool IsVitalEngineBelt | ( | ) |
bool IsVitalFuelTank | ( | ) |
Referenced by EOnPostSimulate().
bool IsVitalGlowPlug | ( | ) |
bool IsVitalRadiator | ( | ) |
bool IsVitalTruckBattery | ( | ) |
protected void LeakFluid | ( | CarFluid | fluid | ) |
References m_EngineHealth, m_FuelTankHealth, m_RadiatorHealth, and Math::RandomFloat().
Referenced by EOnPostSimulate().
protected void LeftFrontLightShineOff | ( | ) |
References SELECTION_ID_FRONT_LIGHT_L.
Referenced by UpdateLightsServer().
protected void LeftFrontLightShineOn | ( | ) |
References SELECTION_ID_FRONT_LIGHT_L.
Referenced by UpdateLightsServer().
protected void NoRearLight | ( | ) |
References m_RearLight.
Referenced by UpdateLightsClient().
override bool OnAction | ( | int | action_id, |
Man | player, | ||
ParamsReadContext | ctx | ||
) |
References GetGame(), and SetCarHornState().
References HandleDoorsSound(), and HandleSeatAdjustmentSound().
override void OnAttachmentRuined | ( | EntityAI | attachment | ) |
References UpdateHeadlightState(), and UpdateLights().
override bool OnBeforeEngineStart | ( | ) |
Gets called everytime the game wants to start the engine. This callback is called on server only.
References GetBattery(), CarScript::IsVitalCarBattery(), CarScript::IsVitalGlowPlug(), CarScript::IsVitalSparkPlug(), CarScript::IsVitalTruckBattery(), m_BatteryEnergyStartMin, and SetCarEngineSoundState().
DEPRECATED Gets called everytime the game wants to switch the lights.
void OnBrakesPressed | ( | ) |
References UpdateLights().
Referenced by OnUpdate().
void OnBrakesReleased | ( | ) |
References UpdateLights().
Referenced by OnUpdate().
WARNING: Can be called very frequently in one frame, use with caution.
References vector::Dot(), GetGame(), GetVelocity(), Contact::Impulse, Debug::Log(), m_ContactCache, m_MomentumPrevTick, m_VelocityPrevTick, and vector::Normalized().
override void OnEngineStart | ( | ) |
Gets called everytime the engine starts.
References GetBattery(), GetBatteryConsumption(), GetGame(), HandleEngineSound(), and UpdateLights().
override void OnEngineStop | ( | ) |
Gets called everytime the engine stops.
References HandleEngineSound(), and UpdateLights().
Gets called everytime when the specified vehicle's fluid changes its current value eg. when vehicle is consuming fuel.
This callback is called on server.
References m_BrakeAmmount, m_CoolantAmmount, m_FuelAmmount, and m_OilAmmount.
References UpdateLights().
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.
References m_EngineStarted.
override void OnUpdate | ( | float | dt | ) |
References BATTERY_UPDATE_DELAY, DROWN_ENGINE_DAMAGE, DROWN_ENGINE_THRESHOLD, GetBattery(), GetBatteryRechargeRate(), GetBatteryRuntimeConsumption(), GetEnginePosWS(), GetGame(), IsScriptedLightsOn(), m_BatteryTimer, m_BrakesArePressed, m_DrownTime, m_ForceUpdateLights, OnBrakesPressed(), OnBrakesReleased(), ToggleHeadlights(), and UpdateLights().
override void OnVariablesSynchronized | ( | ) |
void OnVehicleJumpOutServer | ( | GetOutTransportActionData | gotActionData | ) |
References Class::CastTo(), Math::Clamp(), ActionGetOutTransport::DMG_FACTOR, ActionGetOutTransport::HEALTH_HIGH_SPEED_VALUE, ActionGetOutTransport::HEALTH_LOW_SPEED_VALUE, ActionGetOutTransport::HIGH_SPEED_VALUE, Math::InverseLerp(), ActionGetOutTransport::LOW_SPEED_VALUE, GetOutTransportActionData::m_Speed, Math::RandomInt(), Math::RandomIntInclusive(), and ActionGetOutTransport::SHOCK_FACTOR.
void PlayCrashHeavySound | ( | ) |
References m_CrashSoundHeavy, m_PlayCrashSoundHeavy, and PlaySoundEx().
Referenced by OnVariablesSynchronized().
void PlayCrashLightSound | ( | ) |
References m_CrashSoundLight, m_PlayCrashSoundLight, and PlaySoundEx().
Referenced by OnVariablesSynchronized().
void PlaySound | ( | string | soundset, |
EffectSound | sound, | ||
out bool | soundbool | ||
) |
References PlaySoundEx().
void PlaySoundEx | ( | string | soundset, |
EffectSound | sound, | ||
out bool | soundbool | ||
) |
void RemoveAction | ( | typename actionName | ) |
References GetGame(), ActionBase::GetInputType(), GetPlayer(), and m_InputActionMap.
protected void ReverseLightsShineOff | ( | ) |
References SELECTION_ID_REVERSE_LIGHT_L, and SELECTION_ID_REVERSE_LIGHT_R.
Referenced by UpdateLightsServer().
protected void ReverseLightsShineOn | ( | ) |
References SELECTION_ID_REVERSE_LIGHT_L, and SELECTION_ID_REVERSE_LIGHT_R.
Referenced by UpdateLightsServer().
protected void ReverseRearLight | ( | ) |
References m_RearLight.
Referenced by UpdateLightsClient().
protected void RightFrontLightShineOff | ( | ) |
References SELECTION_ID_FRONT_LIGHT_R.
Referenced by UpdateLightsServer().
protected void RightFrontLightShineOn | ( | ) |
References SELECTION_ID_FRONT_LIGHT_R.
Referenced by UpdateLightsServer().
void SetActions | ( | ) |
References ActionCarHornShort(), ActionPushCar(), and AddAction().
void SetCarEngineSoundState | ( | CarEngineSoundState | pState | ) |
References m_CarEngineSoundState.
Referenced by OnBeforeEngineStart().
void SetCarHornState | ( | int | pState | ) |
References GenerateCarHornAINoise(), GetGame(), and m_CarHornState.
Referenced by OnAction().
void SetEngineStarted | ( | bool | started | ) |
References m_EngineStarted.
Referenced by HandleEngineSound().
protected void SpawnAdditionalItems | ( | ) |
References Class::CastTo(), and LIQUID_WATER.
Referenced by CarScript::OnDebugSpawn(), CivilianSedan::OnDebugSpawn(), Hatchback_02::OnDebugSpawn(), Sedan_02::OnDebugSpawn(), and Truck_01_Covered::OnDebugSpawn().
protected void SpawnUniversalParts | ( | ) |
References CarScript::IsVitalCarBattery(), CarScript::IsVitalGlowPlug(), CarScript::IsVitalRadiator(), CarScript::IsVitalSparkPlug(), and CarScript::IsVitalTruckBattery().
Referenced by CarScript::OnDebugSpawn(), CivilianSedan::OnDebugSpawn(), Hatchback_02::OnDebugSpawn(), Sedan_02::OnDebugSpawn(), and Truck_01_Covered::OnDebugSpawn().
void SynchCrashHeavySound | ( | bool | play | ) |
References m_PlayCrashSoundHeavy.
Referenced by CheckContactCache().
void SynchCrashLightSound | ( | bool | play | ) |
References m_PlayCrashSoundLight.
Referenced by CheckContactCache().
protected void TailLightsShineOff | ( | ) |
References SELECTION_ID_TAIL_LIGHT_L, and SELECTION_ID_TAIL_LIGHT_R.
Referenced by UpdateLightsServer().
protected void TailLightsShineOn | ( | ) |
References m_HeadlightsState, SELECTION_ID_TAIL_LIGHT_L, and SELECTION_ID_TAIL_LIGHT_R.
Referenced by UpdateLightsServer().
void ToggleHeadlights | ( | ) |
Switches headlights on/off, including the illumination of the control panel and synchronizes this change to all clients.
References m_HeadlightsOn.
Referenced by EEItemDetached(), and OnUpdate().
CarDoorState TranslateAnimationPhaseToCarDoorState | ( | string | animation | ) |
Referenced by CarScript::GetCarDoorsState().
void UpdateHeadlightState | ( | ) |
References m_HeadlightsState.
Referenced by CheckContactCache(), EEItemAttached(), EEItemDetached(), and OnAttachmentRuined().
void UpdateLights | ( | int | new_gear = -1 | ) |
References UpdateLightsClient(), and UpdateLightsServer().
Referenced by CheckContactCache(), EEItemAttached(), EEItemDetached(), OnAttachmentRuined(), OnBrakesPressed(), OnBrakesReleased(), OnEngineStart(), OnEngineStop(), OnGearChanged(), OnUpdate(), and OnVariablesSynchronized().
void UpdateLightsClient | ( | int | newGear = -1 | ) |
References BrakeAndReverseRearLight(), BrakesRearLight(), CarScript::CreateFrontLight(), CarScript::CreateRearLight(), m_BrakesArePressed, m_Headlight, m_HeadlightsOn, m_HeadlightsState, m_LeftHeadlightPoint, m_LeftHeadlightTargetPoint, m_RearLight, m_RearLightType, m_ReverseLightPoint, m_RightHeadlightPoint, m_RightHeadlightTargetPoint, NoRearLight(), and ReverseRearLight().
Referenced by UpdateLights().
void UpdateLightsServer | ( | int | newGear = -1 | ) |
References BrakeLightsShineOff(), BrakeLightsShineOn(), DashboardShineOff(), DashboardShineOn(), LeftFrontLightShineOff(), LeftFrontLightShineOn(), m_BrakesArePressed, m_HeadlightsOn, m_HeadlightsState, m_RearLightType, ReverseLightsShineOff(), ReverseLightsShineOn(), RightFrontLightShineOff(), RightFrontLightShineOn(), TailLightsShineOff(), and TailLightsShineOn().
Referenced by UpdateLights().
void ~CarScript | ( | ) |
References CleanupEffects().
private const float BATTERY_UPDATE_DELAY = 100 |
Referenced by OnUpdate().
enum CarDoorState BRAKES_ONLY |
|
static |
Referenced by OnUpdate().
|
static |
Referenced by OnUpdate().
enum CarDoorState LEFT |
enum CarDoorState LONG |
bool m_ActionsInitialize |
protected vector m_backPos |
Referenced by CarScript(), and GetBackPointPosWS().
protected float m_BatteryConsume = 15 |
Referenced by GetBatteryConsumption().
protected float m_BatteryContinuousConsume = 0.25 |
Referenced by GetBatteryRuntimeConsumption().
protected float m_BatteryEnergyStartMin = 5.0 |
Referenced by CheckOperationalState(), and OnBeforeEngineStart().
protected float m_BatteryHealth |
Referenced by CarScript(), EEItemAttached(), and EEItemDetached().
protected float m_BatteryRecharge = 0.15 |
Referenced by GetBatteryRechargeRate().
private float m_BatteryTimer = 0 |
Referenced by OnUpdate().
protected float m_BrakeAmmount |
Referenced by OnFluidChanged().
protected bool m_BrakesArePressed |
Referenced by OnUpdate(), UpdateLightsClient(), and UpdateLightsServer().
string m_CarDoorCloseSound = "" |
string m_CarDoorOpenSound = "" |
protected int m_CarEngineLastSoundState |
Referenced by HandleEngineSound(), and OnVariablesSynchronized().
protected int m_CarEngineSoundState |
Referenced by CarScript(), OnVariablesSynchronized(), and SetCarEngineSoundState().
string m_CarHornLongSoundName = "" |
string m_CarHornShortSoundName = "" |
protected ref EffectSound m_CarHornSoundEffect |
Referenced by CleanupEffects(), and HandleCarHornSound().
protected int m_CarHornState |
Referenced by CarScript(), OnVariablesSynchronized(), and SetCarHornState().
string m_CarSeatShiftInSound = "" |
Referenced by HandleSeatAdjustmentSound(), and CarScript::OffroadHatchback().
string m_CarSeatShiftOutSound = "" |
Referenced by HandleSeatAdjustmentSound(), and CarScript::OffroadHatchback().
enum CarDoorState m_CarTypeActionsMap = new map<typename, ref TInputActionMap> |
Referenced by InitializeActions().
ref CarContactCache m_ContactCache |
Referenced by CarScript(), CheckContactCache(), and OnContact().
protected float m_CoolantAmmount |
Referenced by OnFluidChanged().
protected ref EffVehicleSmoke m_coolantFx |
Particles.
Referenced by CleanupEffects(), and EOnPostSimulate().
protected int m_coolantPtcFx |
Referenced by CarScript(), and EOnPostSimulate().
protected vector m_coolantPtcPos |
Referenced by CarScript(), EOnPostSimulate(), and GetCoolantPtcPosWS().
ref EffectSound m_CrashSoundHeavy |
Referenced by CleanupEffects(), and PlayCrashHeavySound().
ref EffectSound m_CrashSoundLight |
Referenced by CleanupEffects(), and PlayCrashLightSound().
protected float m_dmgContactCoef = 0.058 |
Referenced by CheckContactCache(), and CarScript::Sedan_02().
|
static |
|
static |
Referenced by CarScript(), and GetEnginePosWS().
protected float m_DrownTime |
Referenced by OnUpdate().
protected bool m_EngineDestroyed |
Referenced by EEKilled().
protected ref EffVehicleSmoke m_engineFx |
Referenced by CleanupEffects(), and CreateCarDestroyedEffect().
protected float m_EngineHealth |
Referenced by CarPartsHealthCheck(), CarScript(), EOnPostSimulate(), and LeakFluid().
protected vector m_enginePos |
Referenced by CarScript(), and GetEnginePointPosWS().
protected int m_enginePtcFx |
Referenced by CarScript(), and CreateCarDestroyedEffect().
protected vector m_enginePtcPos |
Referenced by CarScript(), CreateCarDestroyedEffect(), CarScript::Truck_01_Base(), and CarScript::Truck_02().
string m_EngineStartBattery = "" |
protected bool m_EngineStarted |
Referenced by OnSound(), and SetEngineStarted().
string m_EngineStartFuel = "" |
string m_EngineStartOK = "" |
string m_EngineStartPlug = "" |
string m_EngineStopFuel = "" |
protected float m_EnviroHeatComfortOverride |
Referenced by CarScript().
protected ref EffVehicleSmoke m_exhaustFx |
Referenced by CleanupEffects(), and EOnPostSimulate().
protected vector m_exhaustPtcDir |
Referenced by CarScript(), and EOnPostSimulate().
protected int m_exhaustPtcFx |
Referenced by CarScript(), and EOnPostSimulate().
protected vector m_exhaustPtcPos |
Referenced by CarScript(), and EOnPostSimulate().
protected bool m_ForceUpdateLights |
Referenced by ForceUpdateLightsEnd(), ForceUpdateLightsStart(), and OnUpdate().
protected vector m_frontPos |
Referenced by CarScript(), and GetFrontPointPosWS().
protected float m_FuelAmmount |
keeps ammount of each fluid
Referenced by OnFluidChanged().
protected float m_FuelTankHealth |
Referenced by CarPartsHealthCheck(), CarScript(), EOnPostSimulate(), and LeakFluid().
CarLightBase m_Headlight |
Referenced by CleanupEffects(), and UpdateLightsClient().
protected bool m_HeadlightsOn |
Referenced by IsScriptedLightsOn(), ToggleHeadlights(), UpdateLightsClient(), and UpdateLightsServer().
protected bool m_HeadlightsState |
Referenced by TailLightsShineOn(), UpdateHeadlightState(), UpdateLightsClient(), and UpdateLightsServer().
TInputActionMap m_InputActionMap |
|
static |
Referenced by UpdateLightsClient().
|
static |
Referenced by UpdateLightsClient().
protected float m_MomentumPrevTick |
Referenced by CheckContactCache(), EOnPostSimulate(), and OnContact().
protected ref NoiseParams m_NoisePar |
protected NoiseSystem m_NoiseSystem |
Referenced by EEInit(), and GenerateCarHornAINoise().
protected float m_OilAmmount |
Referenced by OnFluidChanged().
protected bool m_PlayCrashSoundHeavy |
Referenced by CarScript(), GetCrashHeavySound(), PlayCrashHeavySound(), and SynchCrashHeavySound().
protected bool m_PlayCrashSoundLight |
Referenced by CarScript(), GetCrashLightSound(), PlayCrashLightSound(), and SynchCrashLightSound().
protected float m_PlugHealth |
Referenced by CarScript(), EEItemAttached(), and EEItemDetached().
private ref EffectSound m_PreStartSound |
Referenced by HandleEngineSound().
protected EntityAI m_Radiator |
Referenced by EEItemAttached(), EEItemDetached(), GetRadiator(), and HasRadiator().
protected float m_RadiatorHealth |
Referenced by CarPartsHealthCheck(), CarScript(), EEItemAttached(), EOnPostSimulate(), and LeakFluid().
CarRearLightBase m_RearLight |
Referenced by BrakeAndReverseRearLight(), BrakesRearLight(), CleanupEffects(), NoRearLight(), ReverseRearLight(), and UpdateLightsClient().
protected bool m_RearLightType |
Referenced by UpdateLightsClient(), and UpdateLightsServer().
|
static |
Referenced by UpdateLightsClient().
|
static |
Referenced by UpdateLightsClient().
|
static |
Referenced by UpdateLightsClient().
protected vector m_side_1_1Pos |
Referenced by CarScript(), and Get_1_1PointPosWS().
protected vector m_side_1_2Pos |
Referenced by CarScript(), and Get_1_2PointPosWS().
protected vector m_side_2_1Pos |
Referenced by CarScript(), and Get_2_1PointPosWS().
protected vector m_side_2_2Pos |
Referenced by CarScript(), and Get_2_2PointPosWS().
protected float m_Time |
protected vector m_VelocityPrevTick |
Referenced by CheckContactCache(), EOnPostSimulate(), and OnContact().
protected ref array<ref EffWheelSmoke> m_WheelSmokeFx |
Referenced by CarScript(), CleanupEffects(), and EOnPostSimulate().
Referenced by CarScript(), CleanupEffects(), and EOnPostSimulate().
ref EffectSound m_WindowLarge |
Referenced by CleanupEffects(), and EEHealthLevelChanged().
ref EffectSound m_WindowSmall |
Referenced by CleanupEffects(), and EEHealthLevelChanged().
|
static |
enum CarDoorState NONE |
enum CarDoorState OFF = 0 |
enum CarDoorState REVERSE_ONLY |
enum CarDoorState RIGHT |
|
static |
Referenced by BrakeLightsShineOff(), and BrakeLightsShineOn().
|
static |
Referenced by BrakeLightsShineOff(), and BrakeLightsShineOn().
|
static |
Referenced by DashboardShineOff(), and DashboardShineOn().
|
static |
Referenced by LeftFrontLightShineOff(), and LeftFrontLightShineOn().
|
static |
Referenced by RightFrontLightShineOff(), and RightFrontLightShineOn().
|
static |
Referenced by ReverseLightsShineOff(), and ReverseLightsShineOn().
|
static |
Referenced by ReverseLightsShineOff(), and ReverseLightsShineOn().
|
static |
Referenced by TailLightsShineOff(), and TailLightsShineOn().
|
static |
Referenced by TailLightsShineOff(), and TailLightsShineOn().
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.