|
void | CarScript () |
|
override void | EEInit () |
|
override string | GetVehicleType () |
|
vector | GetEnginePosWS () |
|
vector | GetCoolantPtcPosWS () |
|
vector | GetEnginePointPosWS () |
|
vector | GetFrontPointPosWS () |
|
vector | GetBackPointPosWS () |
|
vector | Get_1_1PointPosWS () |
|
vector | Get_1_2PointPosWS () |
|
vector | Get_2_1PointPosWS () |
|
vector | Get_2_2PointPosWS () |
|
override float | GetLiquidThroughputCoef () |
|
override void | EEHitBy (TotalDamageResult damageResult, int damageType, EntityAI source, int component, string dmgZone, string ammo, vector modelPos, float speedCoef) |
|
override void | EEDelete (EntityAI parent) |
|
void | ~CarScript () |
|
void | CleanupEffects () |
|
void | CleanupSound (EffectSound sound) |
|
override void | GetDebugActions (out TSelectableActionInfoArrayEx outputList) |
|
override bool | OnAction (int action_id, Man player, ParamsReadContext ctx) |
|
override void | OnVariablesSynchronized () |
|
void | CreateCarDestroyedEffect () |
|
override void | EEItemAttached (EntityAI item, string slot_name) |
|
void | UpdateHeadlightState () |
|
override void | EEItemDetached (EntityAI item, string slot_name) |
|
override void | OnAttachmentRuined (EntityAI attachment) |
|
override bool | CanReceiveAttachment (EntityAI attachment, int slotId) |
|
override bool | CanReleaseAttachment (EntityAI attachment) |
|
bool | CanManipulateSpareWheel (string slotSelectionName) |
|
override void | EOnPostSimulate (IEntity other, float timeSlice) |
|
void | OnBrakesPressed () |
|
void | OnBrakesReleased () |
|
void | OnVehicleJumpOutServer (GetOutTransportActionData gotActionData) |
|
override bool | DetectFlipped (VehicleFlippedContext ctx) |
|
override void | OnUpdate (float dt) |
|
override void | EEKilled (Object killer) |
|
override void | OnContact (string zoneName, vector localPos, IEntity other, Contact data) |
| WARNING: Can be called very frequently in one frame, use with caution.
|
|
void | CheckContactCache () |
| Responsible for damaging the car according to contact events from OnContact.
|
|
void | DamageCrew (float dmg) |
| Responsible for damaging crew in a car crash.
|
|
override float | OnSound (CarSoundCtrl ctrl, float oldValue) |
|
override void | OnAnimationPhaseStarted (string animSource, float phase) |
|
void | HandleDoorsSound (string animSource, float phase) |
|
void | HandleSeatAdjustmentSound (string animSource, float phase) |
|
void | HandleCarHornSound (ECarHornState pState) |
|
void | HandleEngineSound (CarEngineSoundState state) |
|
override void | HandleByCrewMemberState (ECrewMemberState state) |
|
float | GetEnviroHeatComfortOverride () |
| DEPRECATED.
|
|
override void | OnFluidChanged (CarFluid fluid, float newValue, float oldValue) |
|
override bool | OnBeforeEngineStart () |
|
bool | CheckOperationalState () |
|
override void | OnGearChanged (int newGear, int oldGear) |
|
override void | OnEngineStart () |
| Gets called everytime the engine starts.
|
|
override void | OnEngineStop () |
| Gets called everytime the engine stops.
|
|
bool | OnBeforeSwitchLights (bool toOn) |
|
bool | IsScriptedLightsOn () |
| Propper way to get if light is swiched on. Use instead of IsLightsOn().
|
|
void | ToggleHeadlights () |
| Switches headlights on/off, including the illumination of the control panel and synchronizes this change to all clients.
|
|
void | UpdateLights (int new_gear=-1) |
|
void | UpdateLightsClient (int newGear=-1) |
|
void | UpdateLightsServer (int newGear=-1) |
|
void | BrakesRearLight () |
|
void | ReverseRearLight () |
|
void | BrakeAndReverseRearLight () |
|
void | NoRearLight () |
|
void | LeftFrontLightShineOn () |
|
void | RightFrontLightShineOn () |
|
void | LeftFrontLightShineOff () |
|
void | RightFrontLightShineOff () |
|
void | ReverseLightsShineOn () |
|
void | ReverseLightsShineOff () |
|
void | BrakeLightsShineOn () |
|
void | BrakeLightsShineOff () |
|
void | TailLightsShineOn () |
|
void | TailLightsShineOff () |
|
void | DashboardShineOn () |
|
void | DashboardShineOff () |
|
CarRearLightBase | CreateRearLight () |
|
CarLightBase | CreateFrontLight () |
|
void | CheckVitalItem (bool isVital, string itemName) |
|
void | LeakFluid (CarFluid fluid) |
|
void | CarPartsHealthCheck () |
|
bool | GetCrashLightSound () |
|
void | SynchCrashLightSound (bool play) |
|
void | PlayCrashLightSound () |
|
bool | GetCrashHeavySound () |
|
void | SynchCrashHeavySound (bool play) |
|
void | PlayCrashHeavySound () |
|
void | PlaySoundEx (string soundset, EffectSound sound, out bool soundbool) |
|
void | PlaySound (string soundset, EffectSound sound, out bool soundbool) |
|
string | GetAnimSourceFromSelection (string selection) |
|
string | GetDoorConditionPointFromSelection (string selection) |
|
string | GetDoorSelectionNameFromSeatPos (int posIdx) |
|
string | GetDoorInvSlotNameFromSeatPos (int posIdx) |
|
int | GetCrewIndex (string selection) |
|
override bool | CanReachSeatFromDoors (string pSeatSelection, vector pFromPos, float pDistance=1.0) |
|
bool | IsVitalCarBattery () |
|
bool | IsVitalTruckBattery () |
|
bool | IsVitalGlowPlug () |
|
bool | IsVitalEngineBelt () |
|
bool | IsVitalRadiator () |
|
bool | IsVitalFuelTank () |
|
bool | HasRadiator () |
|
EntityAI | GetRadiator () |
|
bool | IsMoving () |
|
bool | IsHandbrakeActive () |
|
override int | Get3rdPersonCameraType () |
| camera type
|
|
void | SetEngineStarted (bool started) |
|
int | GetCarDoorsState (string slotType) |
|
CarDoorState | TranslateAnimationPhaseToCarDoorState (string animation) |
|
string | GetActionCompNameCoolant () |
|
float | GetActionDistanceCoolant () |
|
string | GetActionCompNameOil () |
|
float | GetActionDistanceOil () |
|
string | GetActionCompNameBrakes () |
|
float | GetActionDistanceBrakes () |
|
override bool | CanPutIntoHands (EntityAI parent) |
|
void | InitializeActions () |
|
override void | GetActions (typename action_input_type, out array< ActionBase_Basic > actions) |
|
void | SetActions () |
|
void | AddAction (typename actionName) |
|
void | RemoveAction (typename actionName) |
|
override bool | IsInventoryVisible () |
|
override void | EEHealthLevelChanged (int oldLevel, int newLevel, string zone) |
|
override void | EEOnCECreate () |
|
void | ForceUpdateLightsStart () |
|
void | ForceUpdateLightsEnd () |
|
float | GetBatteryConsumption () |
|
float | GetBatteryRuntimeConsumption () |
|
float | GetBatteryRechargeRate () |
|
ItemBase | GetBattery () |
|
void | SetCarHornState (int pState) |
|
void | SetCarEngineSoundState (CarEngineSoundState pState) |
|
void | GenerateCarHornAINoise (int pState) |
|
override vector | GetDefaultHitPosition () |
|
float | GetPushForceCoefficientMultiplier () |
|
void | SpawnUniversalParts () |
|
void | SpawnAdditionalItems () |
|
void | FillUpCarFluids () |
|