DayZ 1.24
|
Go to the source code of this file.
Enumerations | |
enum | CarDoorState { DOORS_MISSING , DOORS_OPEN , DOORS_CLOSED } |
Enumerator | |
---|---|
DOORS_MISSING | |
DOORS_OPEN | |
DOORS_CLOSED |
Definition at line 1 of file CarScript.c.
|
protected |
Definition at line 2323 of file CarScript.c.
References Debug::ActionLog(), LogManager::IsActionLogEnable(), Debug::LogError(), m_ActionsInitialize, and m_InputActionMap.
|
protected |
Definition at line 1839 of file CarScript.c.
References m_RearLight.
Referenced by UpdateLightsClient().
|
protected |
Definition at line 1916 of file CarScript.c.
References SELECTION_ID_BRAKE_LIGHT_L, and SELECTION_ID_BRAKE_LIGHT_R.
Referenced by UpdateLightsServer().
|
protected |
Definition at line 1905 of file CarScript.c.
References SELECTION_ID_BRAKE_LIGHT_L, and SELECTION_ID_BRAKE_LIGHT_R.
Referenced by UpdateLightsServer().
|
protected |
Definition at line 1829 of file CarScript.c.
References m_RearLight.
Referenced by UpdateLightsClient().
Definition at line 799 of file CarScript.c.
|
protected |
skip the height for now
Definition at line 2147 of file CarScript.c.
References vector::Distance(), and CarScript::GetDoorConditionPointFromSelection().
Definition at line 744 of file CarScript.c.
References CarScript::CanManipulateSpareWheel(), and InventorySlots::GetSelectionForSlotId().
Definition at line 771 of file CarScript.c.
References CarScript::CanManipulateSpareWheel(), InventorySlots::GetSelectionForSlotId(), and IsMoving().
|
protected |
Definition at line 2027 of file CarScript.c.
References GetGame(), GetRadiator(), HasRadiator(), m_EngineHealth, m_FuelTankHealth, and m_RadiatorHealth.
Referenced by EOnPostSimulate().
|
protected |
Definition at line 282 of file CarScript.c.
References vector::Direction(), m_backPos, m_BatteryHealth, m_CarHornState, m_ContactCache, m_coolantPtcFx, m_coolantPtcPos, m_DeadCrewMemberIndices, m_DrownEnginePos, m_EngineHealth, m_enginePos, m_enginePtcFx, m_enginePtcPos, m_EnviroHeatComfortOverride, m_exhaustPtcDir, m_exhaustPtcFx, m_exhaustPtcPos, m_frontPos, m_fuelPos, 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_UnconsciousCrewMemberIndices, and vector::Normalized().
|
protected |
Responsible for damaging the car according to contact events from OnContact.
Definition at line 1085 of file CarScript.c.
References Math::AbsInt(), GameConstants::CARS_CONTACT_DMG_MIN, GameConstants::CARS_CONTACT_DMG_THRESHOLD, DamageCrew(), dBodyGetMass(), vector::Dot(), GetGame(), GetMomentum(), GetTime(), GetVelocity(), vector::Length(), Debug::Log(), m_ContactCache, m_dmgContactCoef, m_MomentumPrevTick, m_VelocityPrevTick, vector::Normalized(), SynchCrashHeavySound(), SynchCrashLightSound(), UpdateHeadlightState(), and UpdateLights().
Referenced by EOnPostSimulate().
Definition at line 1991 of file CarScript.c.
Referenced by EOnPostSimulate().
|
protected |
Definition at line 514 of file CarScript.c.
References CleanupSound(), SEffectManager::DestroyEffect(), m_CarHornSoundEffect, m_coolantFx, m_CrashSoundHeavy, m_CrashSoundLight, m_engineFx, m_exhaustFx, m_Headlight, m_RearLight, m_WindowLarge, and m_WindowSmall.
Referenced by EEDelete(), and ~CarScript().
|
protected |
Definition at line 533 of file CarScript.c.
References SEffectManager::DestroyEffect().
Referenced by CleanupEffects(), and HandleCarHornSound().
|
protected |
Definition at line 630 of file CarScript.c.
References GetEnginePosWS(), GetGame(), SEffectManager::IsEffectExist(), m_engineFx, m_enginePtcFx, m_enginePtcPos, SEffectManager::PlayOnObject(), and Vector().
Referenced by EEHealthLevelChanged().
|
protected |
Definition at line 1986 of file CarScript.c.
|
protected |
Definition at line 1980 of file CarScript.c.
Responsible for damaging crew in a car crash.
Definition at line 1184 of file CarScript.c.
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 |
Definition at line 1971 of file CarScript.c.
References SELECTION_ID_DASHBOARD_LIGHT.
Referenced by UpdateLightsServer().
|
protected |
Definition at line 1963 of file CarScript.c.
References SELECTION_ID_DASHBOARD_LIGHT.
Referenced by UpdateLightsServer().
Definition at line 500 of file CarScript.c.
References CleanupEffects().
Definition at line 2368 of file CarScript.c.
References CreateCarDestroyedEffect(), m_Initialized, m_WindowLarge, m_WindowSmall, PlaySoundEx(), and GameConstants::STATE_RUINED.
|
protected |
Definition at line 490 of file CarScript.c.
References CALL_CATEGORY_GAMEPLAY, component, ForceUpdateLightsEnd(), ForceUpdateLightsStart(), GetGame(), and SetEngineZoneReceivedHit().
Definition at line 399 of file CarScript.c.
References GetGame(), GetType(), m_NoisePar, m_NoiseSystem, and NoiseParams().
Definition at line 640 of file CarScript.c.
References GetGame(), m_BatteryHealth, m_PlugHealth, m_Radiator, m_RadiatorHealth, Synchronize(), UpdateHeadlightState(), and UpdateLights().
Definition at line 695 of file CarScript.c.
References GetGame(), IsScriptedLightsOn(), m_BatteryHealth, m_PlugHealth, m_Radiator, Synchronize(), ToggleHeadlights(), UpdateHeadlightState(), and UpdateLights().
Definition at line 2400 of file CarScript.c.
References Math::RandomFloat().
actions runned when the engine on
leaking of coolant from radiator when damaged
Definition at line 804 of file CarScript.c.
References CarPartsHealthCheck(), GameConstants::CARS_FLUIDS_TICK, CheckContactCache(), CheckVitalItem(), GameConstants::DAMAGE_DAMAGED_VALUE, GameConstants::DAMAGE_RUINED_VALUE, GetGame(), GetMomentum(), GetVelocity(), HandleByCrewMemberState(), SEffectManager::IsEffectExist(), CarScript::IsVitalCarBattery(), IsVitalFuelTank(), CarScript::IsVitalGlowPlug(), CarScript::IsVitalRadiator(), CarScript::IsVitalSparkPlug(), CarScript::IsVitalTruckBattery(), LeakFluid(), 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, SEffectManager::PlayOnObject(), Math::RandomFloat(), SetEngineZoneReceivedHit(), SEffectManager::Stop(), and vector::Zero.
|
protected |
Definition at line 2578 of file CarScript.c.
Referenced by CarScript::OnDebugSpawn(), CivilianSedan::OnDebugSpawn(), Hatchback_02::OnDebugSpawn(), Sedan_02::OnDebugSpawn(), and Truck_01_Covered::OnDebugSpawn().
|
protected |
Definition at line 2418 of file CarScript.c.
References m_ForceUpdateLights.
Referenced by EEHitBy().
|
protected |
Definition at line 2409 of file CarScript.c.
References m_ForceUpdateLights.
Referenced by EEHitBy().
Definition at line 2463 of file CarScript.c.
References NoiseSystem::AddNoiseTarget(), GetPosition, m_NoisePar, and m_NoiseSystem.
Referenced by SetCarHornState().
camera type
Definition at line 2225 of file CarScript.c.
References DayZPlayerCameras::DAYZCAMERA_3RD_VEHICLE.
|
protected |
Definition at line 467 of file CarScript.c.
References m_side_1_1Pos.
|
protected |
Definition at line 471 of file CarScript.c.
References m_side_1_2Pos.
|
protected |
Definition at line 475 of file CarScript.c.
References m_side_2_1Pos.
|
protected |
Definition at line 479 of file CarScript.c.
References m_side_2_2Pos.
|
protected |
Definition at line 2279 of file CarScript.c.
|
protected |
Definition at line 2249 of file CarScript.c.
|
protected |
Definition at line 2259 of file CarScript.c.
|
protected |
Definition at line 2269 of file CarScript.c.
|
protected |
Definition at line 2284 of file CarScript.c.
|
protected |
Definition at line 2254 of file CarScript.c.
|
protected |
Definition at line 2264 of file CarScript.c.
|
protected |
Definition at line 2274 of file CarScript.c.
|
protected |
Definition at line 2301 of file CarScript.c.
References InitializeActions(), m_ActionsInitialize, and m_InputActionMap.
Definition at line 2106 of file CarScript.c.
|
protected |
Definition at line 463 of file CarScript.c.
References m_backPos.
|
protected |
Definition at line 2443 of file CarScript.c.
References CarScript::IsVitalCarBattery(), and CarScript::IsVitalTruckBattery().
Referenced by OnBeforeEngineStart(), OnEngineStart(), and OnUpdate().
|
protected |
Definition at line 2428 of file CarScript.c.
References m_BatteryConsume.
Referenced by OnEngineStart().
|
protected |
Definition at line 2438 of file CarScript.c.
References m_BatteryRecharge.
Referenced by OnUpdate().
|
protected |
Definition at line 2433 of file CarScript.c.
References m_BatteryContinuousConsume.
Referenced by OnUpdate().
Definition at line 2236 of file CarScript.c.
Referenced by CarScript::CrewCanGetThrough(), and CarScript::OnSound().
|
protected |
Definition at line 445 of file CarScript.c.
References m_coolantPtcPos.
|
protected |
Definition at line 2060 of file CarScript.c.
References m_PlayCrashSoundHeavy.
Referenced by OnVariablesSynchronized().
|
protected |
Definition at line 2041 of file CarScript.c.
References m_PlayCrashSoundLight.
Referenced by OnVariablesSynchronized().
Definition at line 2142 of file CarScript.c.
|
protected |
Definition at line 538 of file CarScript.c.
References SAT_DEBUG_ACTION.
Definition at line 2478 of file CarScript.c.
References vector::Zero.
Definition at line 2111 of file CarScript.c.
Definition at line 2137 of file CarScript.c.
Definition at line 2132 of file CarScript.c.
|
protected |
Definition at line 455 of file CarScript.c.
References m_enginePos.
|
protected |
Definition at line 440 of file CarScript.c.
References m_DrownEnginePos.
Referenced by CreateCarDestroyedEffect(), and OnUpdate().
|
protected |
DEPRECATED.
|
protected |
Definition at line 459 of file CarScript.c.
References m_frontPos.
|
protected |
Definition at line 2494 of file CarScript.c.
References dBodyGetMass(), and GetVelocity().
Referenced by CheckContactCache(), EOnPostSimulate(), and OnContact().
|
protected |
Definition at line 2499 of file CarScript.c.
|
protected |
Definition at line 2209 of file CarScript.c.
References m_Radiator.
Referenced by CarPartsHealthCheck().
|
protected |
Definition at line 450 of file CarScript.c.
References m_fuelPos.
|
protected |
Definition at line 1415 of file CarScript.c.
References m_DeadCrewMemberIndices, and m_UnconsciousCrewMemberIndices.
Referenced by EOnPostSimulate().
|
protected |
Definition at line 1310 of file CarScript.c.
References CleanupSound(), m_CarHornLongSoundName, m_CarHornShortSoundName, and m_CarHornSoundEffect.
Referenced by OnVariablesSynchronized().
Definition at line 1267 of file CarScript.c.
References GetPosition, m_CarDoorCloseSound, m_CarDoorOpenSound, and SEffectManager::PlaySound().
Referenced by OnAnimationPhaseStarted().
|
protected |
postpone the engine sound played from c++ on soundcontroller (via OnSound override)
Definition at line 1326 of file CarScript.c.
References CALL_CATEGORY_GAMEPLAY, Class::CastTo(), SEffectManager::CreateSound(), GetGame(), m_EngineStartOK, m_EngineStopFuel, m_PreStartSound, SEffectManager::PlaySound(), and SetEngineStarted().
Referenced by OnBeforeEngineStart(), OnEngineStart(), and OnEngineStop().
Definition at line 1290 of file CarScript.c.
References GetPosition, m_CarSeatShiftInSound, m_CarSeatShiftOutSound, and SEffectManager::PlaySound().
Referenced by OnAnimationPhaseStarted().
|
protected |
|
protected |
Definition at line 2204 of file CarScript.c.
References m_Radiator.
Referenced by CarPartsHealthCheck().
|
protected |
Definition at line 2289 of file CarScript.c.
References m_CarTypeActionsMap, m_InputActionMap, CarScript::SetActions(), and Type.
|
protected |
Definition at line 2219 of file CarScript.c.
Definition at line 2363 of file CarScript.c.
References GetCommand_Vehicle(), GetGame(), and GetPlayer().
|
protected |
Definition at line 2214 of file CarScript.c.
Referenced by CanReleaseAttachment().
|
protected |
Propper way to get if light is swiched on. Use instead of IsLightsOn().
Definition at line 1585 of file CarScript.c.
References m_HeadlightsOn.
Referenced by EEItemDetached(), and OnUpdate().
|
protected |
Definition at line 2169 of file CarScript.c.
|
protected |
Definition at line 2189 of file CarScript.c.
|
protected |
Definition at line 2199 of file CarScript.c.
Referenced by EOnPostSimulate().
|
protected |
Definition at line 2184 of file CarScript.c.
|
protected |
Definition at line 2194 of file CarScript.c.
|
protected |
Definition at line 2179 of file CarScript.c.
|
protected |
Definition at line 2174 of file CarScript.c.
Definition at line 2004 of file CarScript.c.
References m_EngineHealth, m_FuelTankHealth, m_RadiatorHealth, and Math::RandomFloat().
Referenced by EOnPostSimulate().
|
protected |
Definition at line 1867 of file CarScript.c.
References SELECTION_ID_FRONT_LIGHT_L.
Referenced by UpdateLightsServer().
|
protected |
Definition at line 1851 of file CarScript.c.
References SELECTION_ID_FRONT_LIGHT_L.
Referenced by UpdateLightsServer().
Definition at line 1397 of file CarScript.c.
References m_UnconsciousCrewMemberIndices.
|
protected |
Definition at line 1845 of file CarScript.c.
References m_RearLight.
Referenced by UpdateLightsClient().
|
protected |
Definition at line 563 of file CarScript.c.
References GetGame(), and SetCarHornState().
Definition at line 1259 of file CarScript.c.
References HandleDoorsSound(), and HandleSeatAdjustmentSound().
Definition at line 736 of file CarScript.c.
References UpdateHeadlightState(), and UpdateLights().
Gets called everytime the game wants to start the engine. This callback is called on server only.
Definition at line 1486 of file CarScript.c.
References GetBattery(), HandleEngineSound(), CarScript::IsVitalCarBattery(), CarScript::IsVitalGlowPlug(), CarScript::IsVitalSparkPlug(), CarScript::IsVitalTruckBattery(), m_BatteryEnergyStartMin, m_EngineBeforeStart, and m_EngineStartDoOnce.
DEPRECATED Gets called everytime the game wants to switch the lights.
Definition at line 1579 of file CarScript.c.
|
protected |
|
protected |
WARNING: Can be called very frequently in one frame, use with caution.
Definition at line 1058 of file CarScript.c.
References vector::Dot(), GetGame(), GetMomentum(), GetVelocity(), Debug::Log(), m_ContactCache, m_MomentumPrevTick, m_VelocityPrevTick, and vector::Normalized().
Gets called everytime the engine starts.
Definition at line 1551 of file CarScript.c.
References GetBattery(), GetBatteryConsumption(), GetGame(), HandleEngineSound(), m_EngineBeforeStart, and UpdateLights().
Gets called everytime the engine stops.
Definition at line 1565 of file CarScript.c.
References HandleEngineSound(), m_EngineBeforeStart, SetEngineZoneReceivedHit(), and UpdateLights().
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 1458 of file CarScript.c.
References m_BrakeAmmount, m_CoolantAmmount, m_FuelAmmount, and m_OilAmmount.
Definition at line 1544 of file CarScript.c.
References UpdateLights().
|
protected |
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 1246 of file CarScript.c.
References m_EngineStarted.
Definition at line 979 of file CarScript.c.
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(), SetEngineZoneReceivedHit(), ToggleHeadlights(), and UpdateLights().
Definition at line 616 of file CarScript.c.
References GetCrashHeavySound(), GetCrashLightSound(), HandleCarHornSound(), m_CarHornState, PlayCrashHeavySound(), PlayCrashLightSound(), and UpdateLights().
|
protected |
Definition at line 2074 of file CarScript.c.
References m_CrashSoundHeavy, m_PlayCrashSoundHeavy, and PlaySoundEx().
Referenced by OnVariablesSynchronized().
|
protected |
Definition at line 2055 of file CarScript.c.
References m_CrashSoundLight, m_PlayCrashSoundLight, and PlaySoundEx().
Referenced by OnVariablesSynchronized().
Definition at line 2101 of file CarScript.c.
References PlaySoundEx().
|
protected |
Definition at line 2079 of file CarScript.c.
References GetPosition, and SEffectManager::PlaySoundCachedParams().
Referenced by EEHealthLevelChanged(), PlayCrashHeavySound(), PlayCrashLightSound(), and PlaySound().
|
protected |
Definition at line 2352 of file CarScript.c.
References GetGame(), GetPlayer(), and m_InputActionMap.
|
protected |
Definition at line 1894 of file CarScript.c.
References SELECTION_ID_REVERSE_LIGHT_L, and SELECTION_ID_REVERSE_LIGHT_R.
Referenced by UpdateLightsServer().
|
protected |
Definition at line 1883 of file CarScript.c.
References SELECTION_ID_REVERSE_LIGHT_L, and SELECTION_ID_REVERSE_LIGHT_R.
Referenced by UpdateLightsServer().
|
protected |
Definition at line 1834 of file CarScript.c.
References m_RearLight.
Referenced by UpdateLightsClient().
|
protected |
Definition at line 1875 of file CarScript.c.
References SELECTION_ID_FRONT_LIGHT_R.
Referenced by UpdateLightsServer().
|
protected |
Definition at line 1859 of file CarScript.c.
References SELECTION_ID_FRONT_LIGHT_R.
Referenced by UpdateLightsServer().
|
protected |
Definition at line 2312 of file CarScript.c.
References ActionCarHornShort(), and AddAction().
Definition at line 2453 of file CarScript.c.
References GenerateCarHornAINoise(), GetGame(), and m_CarHornState.
Referenced by OnAction().
Definition at line 2231 of file CarScript.c.
References m_EngineStarted.
Referenced by HandleEngineSound().
Definition at line 2483 of file CarScript.c.
References m_EngineZoneReceivedHit.
Referenced by EEHitBy(), EOnPostSimulate(), OnEngineStop(), and OnUpdate().
|
protected |
Definition at line 2554 of file CarScript.c.
References Class::CastTo(), and LIQUID_WATER.
Referenced by CarScript::OnDebugSpawn(), CivilianSedan::OnDebugSpawn(), Hatchback_02::OnDebugSpawn(), Sedan_02::OnDebugSpawn(), and Truck_01_Covered::OnDebugSpawn().
|
protected |
Definition at line 2516 of file CarScript.c.
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().
Definition at line 2065 of file CarScript.c.
References m_PlayCrashSoundHeavy.
Referenced by CheckContactCache().
Definition at line 2046 of file CarScript.c.
References m_PlayCrashSoundLight.
Referenced by CheckContactCache().
|
protected |
Definition at line 1952 of file CarScript.c.
References SELECTION_ID_TAIL_LIGHT_L, and SELECTION_ID_TAIL_LIGHT_R.
Referenced by UpdateLightsServer().
|
protected |
Definition at line 1927 of file CarScript.c.
References m_HeadlightsState, SELECTION_ID_TAIL_LIGHT_L, and SELECTION_ID_TAIL_LIGHT_R.
Referenced by UpdateLightsServer().
|
protected |
Switches headlights on/off, including the illumination of the control panel and synchronizes this change to all clients.
Definition at line 1591 of file CarScript.c.
References m_HeadlightsOn.
Referenced by EEItemDetached(), and OnUpdate().
|
protected |
Definition at line 2241 of file CarScript.c.
Referenced by CarScript::GetCarDoorsState().
|
protected |
Definition at line 680 of file CarScript.c.
References m_HeadlightsState.
Referenced by CheckContactCache(), EEItemAttached(), EEItemDetached(), and OnAttachmentRuined().
Definition at line 1597 of file CarScript.c.
References UpdateLightsClient(), and UpdateLightsServer().
Referenced by CheckContactCache(), EEItemAttached(), EEItemDetached(), OnAttachmentRuined(), OnBrakesPressed(), OnBrakesReleased(), OnEngineStart(), OnEngineStop(), OnGearChanged(), OnUpdate(), and OnVariablesSynchronized().
Definition at line 1605 of file CarScript.c.
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().
Definition at line 1716 of file CarScript.c.
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().
Definition at line 507 of file CarScript.c.
References CleanupEffects().
Definition at line 179 of file CarScript.c.
Referenced by OnUpdate().
enum CarDoorState BRAKES_ONLY |
|
staticprotected |
Definition at line 147 of file CarScript.c.
Referenced by OnUpdate().
|
staticprotected |
Definition at line 146 of file CarScript.c.
Referenced by OnUpdate().
enum CarDoorState LEFT |
enum CarDoorState LONG |
bool m_ActionsInitialize |
Definition at line 139 of file CarScript.c.
|
protected |
Definition at line 200 of file CarScript.c.
Referenced by CarScript(), and GetBackPointPosWS().
|
protected |
Definition at line 175 of file CarScript.c.
Referenced by GetBatteryConsumption().
|
protected |
Definition at line 176 of file CarScript.c.
Referenced by GetBatteryRuntimeConsumption().
|
protected |
Definition at line 180 of file CarScript.c.
Referenced by OnBeforeEngineStart().
|
protected |
Definition at line 170 of file CarScript.c.
Referenced by CarScript(), EEItemAttached(), and EEItemDetached().
|
protected |
Definition at line 177 of file CarScript.c.
Referenced by GetBatteryRechargeRate().
|
private |
Definition at line 178 of file CarScript.c.
Referenced by OnUpdate().
|
protected |
Definition at line 155 of file CarScript.c.
Referenced by OnFluidChanged().
|
protected |
Definition at line 236 of file CarScript.c.
Referenced by OnUpdate(), UpdateLightsClient(), and UpdateLightsServer().
|
protected |
Definition at line 214 of file CarScript.c.
Referenced by CarScript::CivilianSedan(), HandleDoorsSound(), CarScript::Hatchback_02(), CarScript::Offroad_02(), CarScript::OffroadHatchback(), CarScript::Sedan_02(), and CarScript::Truck_01_Base().
|
protected |
Definition at line 213 of file CarScript.c.
Referenced by CarScript::CivilianSedan(), HandleDoorsSound(), CarScript::Hatchback_02(), CarScript::Offroad_02(), CarScript::OffroadHatchback(), CarScript::Sedan_02(), and CarScript::Truck_01_Base().
|
protected |
Definition at line 219 of file CarScript.c.
Referenced by CarScript::CivilianSedan(), HandleCarHornSound(), CarScript::Hatchback_02(), CarScript::Offroad_02(), CarScript::OffroadHatchback(), CarScript::Sedan_02(), and CarScript::Truck_01_Base().
|
protected |
Definition at line 218 of file CarScript.c.
Referenced by CarScript::CivilianSedan(), HandleCarHornSound(), CarScript::Hatchback_02(), CarScript::Offroad_02(), CarScript::OffroadHatchback(), CarScript::Sedan_02(), and CarScript::Truck_01_Base().
|
protected |
Definition at line 227 of file CarScript.c.
Referenced by CleanupEffects(), and HandleCarHornSound().
|
protected |
Definition at line 243 of file CarScript.c.
Referenced by CarScript(), OnVariablesSynchronized(), and SetCarHornState().
|
protected |
Definition at line 215 of file CarScript.c.
Referenced by HandleSeatAdjustmentSound(), and CarScript::OffroadHatchback().
|
protected |
Definition at line 216 of file CarScript.c.
Referenced by HandleSeatAdjustmentSound(), and CarScript::OffroadHatchback().
enum CarDoorState m_CarTypeActionsMap = new map<typename, ref TInputActionMap> |
Referenced by InitializeActions().
|
protected |
Definition at line 142 of file CarScript.c.
Referenced by CarScript(), CheckContactCache(), and OnContact().
|
protected |
Definition at line 153 of file CarScript.c.
Referenced by OnFluidChanged().
|
protected |
Particles.
Definition at line 183 of file CarScript.c.
Referenced by CleanupEffects(), and EOnPostSimulate().
|
protected |
Definition at line 188 of file CarScript.c.
Referenced by CarScript(), and EOnPostSimulate().
|
protected |
Definition at line 194 of file CarScript.c.
Referenced by CarScript(), EOnPostSimulate(), and GetCoolantPtcPosWS().
|
protected |
Definition at line 222 of file CarScript.c.
Referenced by CleanupEffects(), and PlayCrashHeavySound().
|
protected |
Definition at line 221 of file CarScript.c.
Referenced by CleanupEffects(), and PlayCrashLightSound().
Definition at line 274 of file CarScript.c.
Referenced by CarScript(), HandleByCrewMemberState(), and MarkCrewMemberDead().
|
protected |
Definition at line 159 of file CarScript.c.
Referenced by CheckContactCache(), and CarScript::Sedan_02().
|
staticprotected |
Definition at line 254 of file CarScript.c.
|
staticprotected |
Definition at line 164 of file CarScript.c.
Referenced by CarScript(), and GetEnginePosWS().
|
protected |
Definition at line 163 of file CarScript.c.
Referenced by OnUpdate().
|
protected |
Definition at line 268 of file CarScript.c.
Referenced by OnBeforeEngineStart(), OnEngineStart(), and OnEngineStop().
|
protected |
Definition at line 241 of file CarScript.c.
Referenced by EEKilled().
|
protected |
Definition at line 184 of file CarScript.c.
Referenced by CleanupEffects(), and CreateCarDestroyedEffect().
|
protected |
Definition at line 167 of file CarScript.c.
Referenced by CarPartsHealthCheck(), CarScript(), EOnPostSimulate(), and LeakFluid().
|
protected |
Definition at line 198 of file CarScript.c.
Referenced by CarScript(), and GetEnginePointPosWS().
|
protected |
Definition at line 187 of file CarScript.c.
Referenced by CarScript(), and CreateCarDestroyedEffect().
|
protected |
Definition at line 193 of file CarScript.c.
Referenced by CarScript(), CreateCarDestroyedEffect(), CarScript::Truck_01_Base(), and CarScript::Truck_02().
|
protected |
Definition at line 208 of file CarScript.c.
Referenced by CarScript::CivilianSedan(), CarScript::Hatchback_02(), CarScript::Offroad_02(), CarScript::OffroadHatchback(), CarScript::Sedan_02(), and CarScript::Truck_01_Base().
|
protected |
Definition at line 269 of file CarScript.c.
Referenced by OnBeforeEngineStart().
|
protected |
Definition at line 240 of file CarScript.c.
Referenced by OnSound(), and SetEngineStarted().
|
protected |
Definition at line 210 of file CarScript.c.
Referenced by CarScript::CivilianSedan(), CarScript::Hatchback_02(), CarScript::Offroad_02(), CarScript::OffroadHatchback(), CarScript::Sedan_02(), and CarScript::Truck_01_Base().
|
protected |
Sounds.
Definition at line 207 of file CarScript.c.
Referenced by CarScript::CivilianSedan(), HandleEngineSound(), CarScript::Hatchback_02(), CarScript::Offroad_02(), CarScript::OffroadHatchback(), CarScript::Sedan_02(), and CarScript::Truck_01_Base().
|
protected |
Definition at line 209 of file CarScript.c.
Referenced by CarScript::CivilianSedan(), CarScript::Hatchback_02(), CarScript::Offroad_02(), CarScript::OffroadHatchback(), CarScript::Sedan_02(), and CarScript::Truck_01_Base().
|
protected |
Definition at line 211 of file CarScript.c.
Referenced by CarScript::CivilianSedan(), HandleEngineSound(), CarScript::Hatchback_02(), CarScript::Offroad_02(), CarScript::OffroadHatchback(), CarScript::Sedan_02(), and CarScript::Truck_01_Base().
|
protected |
Definition at line 271 of file CarScript.c.
Referenced by HasEngineZoneReceivedHit(), and SetEngineZoneReceivedHit().
|
protected |
Definition at line 160 of file CarScript.c.
Referenced by CarScript().
|
protected |
Definition at line 185 of file CarScript.c.
Referenced by CleanupEffects(), and EOnPostSimulate().
|
protected |
Definition at line 192 of file CarScript.c.
Referenced by CarScript(), and EOnPostSimulate().
|
protected |
Definition at line 189 of file CarScript.c.
Referenced by CarScript(), and EOnPostSimulate().
|
protected |
Definition at line 191 of file CarScript.c.
Referenced by CarScript(), and EOnPostSimulate().
|
protected |
Definition at line 239 of file CarScript.c.
Referenced by ForceUpdateLightsEnd(), ForceUpdateLightsStart(), and OnUpdate().
|
protected |
Definition at line 199 of file CarScript.c.
Referenced by CarScript(), and GetFrontPointPosWS().
|
protected |
keeps ammount of each fluid
Definition at line 152 of file CarScript.c.
Referenced by OnFluidChanged().
|
protected |
Definition at line 196 of file CarScript.c.
Referenced by CarScript(), and GetRefillPointPosWS().
|
protected |
Definition at line 169 of file CarScript.c.
Referenced by CarPartsHealthCheck(), CarScript(), EOnPostSimulate(), and LeakFluid().
|
protected |
Definition at line 245 of file CarScript.c.
Referenced by CleanupEffects(), and UpdateLightsClient().
|
protected |
Definition at line 234 of file CarScript.c.
Referenced by IsScriptedLightsOn(), ToggleHeadlights(), UpdateLightsClient(), and UpdateLightsServer().
|
protected |
Definition at line 235 of file CarScript.c.
Referenced by TailLightsShineOn(), UpdateHeadlightState(), UpdateLightsClient(), and UpdateLightsServer().
TInputActionMap m_InputActionMap |
Definition at line 138 of file CarScript.c.
|
staticprotected |
Definition at line 250 of file CarScript.c.
Referenced by UpdateLightsClient().
|
staticprotected |
Definition at line 252 of file CarScript.c.
Referenced by UpdateLightsClient().
|
protected |
Definition at line 140 of file CarScript.c.
Referenced by CheckContactCache(), EOnPostSimulate(), and OnContact().
|
protected |
Definition at line 228 of file CarScript.c.
|
protected |
Definition at line 229 of file CarScript.c.
Referenced by EEInit(), and GenerateCarHornAINoise().
|
protected |
Definition at line 154 of file CarScript.c.
Referenced by OnFluidChanged().
|
protected |
Definition at line 232 of file CarScript.c.
Referenced by CarScript(), GetCrashHeavySound(), PlayCrashHeavySound(), and SynchCrashHeavySound().
|
protected |
Definition at line 231 of file CarScript.c.
Referenced by CarScript(), GetCrashLightSound(), PlayCrashLightSound(), and SynchCrashLightSound().
|
protected |
Definition at line 171 of file CarScript.c.
Referenced by CarScript(), EEItemAttached(), and EEItemDetached().
|
private |
Definition at line 225 of file CarScript.c.
Referenced by HandleEngineSound().
|
protected |
Definition at line 173 of file CarScript.c.
Referenced by EEItemAttached(), EEItemDetached(), GetRadiator(), and HasRadiator().
|
protected |
Definition at line 168 of file CarScript.c.
Referenced by CarPartsHealthCheck(), CarScript(), EEItemAttached(), EOnPostSimulate(), and LeakFluid().
|
protected |
Definition at line 246 of file CarScript.c.
Referenced by BrakeAndReverseRearLight(), BrakesRearLight(), CleanupEffects(), NoRearLight(), ReverseRearLight(), and UpdateLightsClient().
|
protected |
Definition at line 237 of file CarScript.c.
Referenced by UpdateLightsClient(), and UpdateLightsServer().
|
staticprotected |
Definition at line 249 of file CarScript.c.
Referenced by UpdateLightsClient().
|
staticprotected |
Definition at line 251 of file CarScript.c.
Referenced by UpdateLightsClient().
|
staticprotected |
Definition at line 253 of file CarScript.c.
Referenced by UpdateLightsClient().
|
protected |
Definition at line 201 of file CarScript.c.
Referenced by CarScript(), and Get_1_1PointPosWS().
|
protected |
Definition at line 202 of file CarScript.c.
Referenced by CarScript(), and Get_1_2PointPosWS().
|
protected |
Definition at line 203 of file CarScript.c.
Referenced by CarScript(), and Get_2_1PointPosWS().
|
protected |
Definition at line 204 of file CarScript.c.
Referenced by CarScript(), and Get_2_2PointPosWS().
|
protected |
Definition at line 144 of file CarScript.c.
Referenced by CarScript(), EOnPostSimulate(), SymptomBase::OnUpdateClient(), UIScriptedMenu::Play(), and UIScriptedMenu::Update().
Definition at line 273 of file CarScript.c.
Referenced by CarScript(), HandleByCrewMemberState(), and MarkCrewMemberUnconscious().
|
protected |
Definition at line 141 of file CarScript.c.
Referenced by CheckContactCache(), EOnPostSimulate(), and OnContact().
|
protected |
Definition at line 224 of file CarScript.c.
Referenced by CleanupEffects(), and EEHealthLevelChanged().
|
protected |
Definition at line 223 of file CarScript.c.
Referenced by CleanupEffects(), and EEHealthLevelChanged().
Definition at line 149 of file CarScript.c.
enum CarDoorState NONE |
enum CarDoorState OFF = 0 |
enum CarDoorState REVERSE_ONLY |
enum CarDoorState RIGHT |
Definition at line 260 of file CarScript.c.
Referenced by BrakeLightsShineOff(), and BrakeLightsShineOn().
Definition at line 261 of file CarScript.c.
Referenced by BrakeLightsShineOff(), and BrakeLightsShineOn().
Definition at line 266 of file CarScript.c.
Referenced by DashboardShineOff(), and DashboardShineOn().
Definition at line 258 of file CarScript.c.
Referenced by LeftFrontLightShineOff(), and LeftFrontLightShineOn().
Definition at line 259 of file CarScript.c.
Referenced by RightFrontLightShineOff(), and RightFrontLightShineOn().
Definition at line 262 of file CarScript.c.
Referenced by ReverseLightsShineOff(), and ReverseLightsShineOn().
Definition at line 263 of file CarScript.c.
Referenced by ReverseLightsShineOff(), and ReverseLightsShineOn().
Definition at line 264 of file CarScript.c.
Referenced by TailLightsShineOff(), and TailLightsShineOn().
Definition at line 265 of file CarScript.c.
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.