Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
VehicleWheeledSimulation_SA.c
Go to the documentation of this file.
1 /*
2 ===========================================
3 Do not modify, this script is generated
4 ===========================================
5 */
6 
13 {
14 }
15 
16 class VehicleWheeledSimulation_SA: VehicleBaseSimulation
17 {
19  proto external float GetSpeedKmh();
23  proto external void ForceEnableSimulation();
25  proto external float GetSteering();
28  proto external void SetSteering(float in);
32  proto external float GetClutch();
35  proto external void SetClutch(float in);
37  proto external float GetBrake();
41  proto external void SetBreak(float in, bool hb);
43  proto external float GetThrottle();
46  proto external void SetThrottle(float in);
48  proto external int GetGear();
50  proto external void SetGear(int in);
52  proto external bool IsHandbrakeOn();
54  proto external void EngineStart();
56  proto external void EngineStop();
58  proto external bool EngineIsOn();
60  proto external float EngineGetRPMIdle();
62  proto external float EngineGetRPMPeakTorque();
64  proto external float EngineGetRPMPeakPower();
66  proto external float EngineGetRPMMax();
68  proto external float EngineGetRPM();
70  proto external float EngineGetRPMFeedback();
72  proto external float EngineGetLoad();
74  proto external float EngineGetPeakTorque();
76  proto external float EngineGetPeakTorqueState();
79  proto external void EngineSetPeakTorqueState(float peakTorque);
81  proto external float EngineGetPeakPower();
83  proto external float EngineGetPeakPowerState();
86  proto external void EngineSetPeakPowerState(float peakPower);
88  proto external float GearboxGetEfficiency();
90  proto external float GearboxGetEfficiencyState();
92  proto external void GearboxSetEfficiencyState(float efficiency);
94  proto external int GearboxGearsCount();
96  proto external int GearboxForwardGearsCount();
98  proto external int WheelCount();
100  proto external int WheelGetIndex(string name);
102  proto external string WheelGetName(int wheelIdx);
109  proto external vector WheelGetPosition(int wheelIdx, float displacement = 0.0);
111  proto external bool WheelHasContact(int wheelIdx);
113  proto external GameMaterial WheelGetContactMaterial(int wheelIdx);
115  proto external vector WheelGetContactPosition(int wheelIdx);
117  proto external vector WheelGetContactNormal(int wheelIdx);
119  proto external IEntity WheelGetContactEntity(int wheelIdx);
121  proto external EWheelContactLiquidState WheelGetContactLiquidState(int wheelIdx);
123  proto external GameMaterial WheelGetContactLiquidMaterial(int wheelIdx);
125  proto external vector WheelGetContactLiquidPosition(int wheelIdx);
127  proto external float WheelGetRPM(int wheelIdx);
129  proto external float WheelGetRadius(int wheelIdx);
131  proto external float WheelGetRadiusState(int wheelIdx);
133  proto external float WheelSetRadiusState(int wheelIdx, float radius);
135  proto external float WheelGetMass(int wheelIdx);
137  proto external float WheelGetMassState(int wheelIdx);
139  proto external float WheelSetMassState(int wheelIdx, float mass);
141  proto external float WheelGetLongitudinalSlip(int wheelIdx);
143  proto external float WheelGetLateralSlip(int wheelIdx);
145  proto external float WheelGetRollingDrag(int wheelIdx);
147  proto external void WheelSetRollingDrag(int wheelIdx, float drag);
149  proto external float WheelTyreGetRoughness(int wheelIdx);
151  proto external float WheelTyreGetRoughnessState(int wheelIdx);
153  proto external void WheelTyreSetRoughnessState(int wheelIdx, float roughness);
155  proto external float WheelTyreGetLongitudinalFriction(int wheelIdx);
157  proto external float WheelTyreGetLongitudinalFrictionState(int wheelIdx);
159  proto external void WheelTyreSetLongitudinalFrictionState(int wheelIdx, float lngFriction);
161  proto external float WheelTyreGetLateralFriction(int wheelIdx);
163  proto external float WheelTyreGetLateralFrictionState(int wheelIdx);
165  proto external void WheelTyreSetLateralFrictionState(int wheelIdx, float latFriction);
167  proto external float GetNoiseSteerSensitivity();
170  proto external void SetNoiseSteerSensitivity(float newValue);
172  proto external float GetRoughnessSensitivity();
175  proto external void SetRoughnessSensitivity(float newValue);
176 }
177 
WheelGetContactLiquidState
proto external EWheelContactLiquidState WheelGetContactLiquidState(int wheelIdx)
Returns whether and how is wheel in contact with some liquid.
GetNoiseSteerSensitivity
proto external float GetNoiseSteerSensitivity()
Returns sensitivity against noise steer value of surface in range < 0, 1 >
EngineGetRPM
proto external float EngineGetRPM()
Returns current engine's RPM.
EngineStop
proto external void EngineStop()
Stops the engine.
WheelTyreSetRoughnessState
proto external void WheelTyreSetRoughnessState(int wheelIdx, float roughness)
Sets current roughness of wheel's tyre surface.
WheelHasContact
proto external bool WheelHasContact(int wheelIdx)
Returns true if wheel has contact with ground or other object.
WheelGetIndex
proto external int WheelGetIndex(string name)
Returns stored index of the wheel based on its name.
GetSpeedKmh
VehicleWheeledSimulationClass VehicleBaseSimulationClass GetSpeedKmh()
Returns current vehicle speed in km/h (kilometres per hour).
GetGear
proto external int GetGear()
Returns index of currently engaged gear.
GetThrottle
proto external float GetThrottle()
returns current throttle input in range < 0, 1 >
EngineGetRPMFeedback
proto external float EngineGetRPMFeedback()
Returns RPM that is feeded back from rest of the powertrain.
GearboxForwardGearsCount
proto external int GearboxForwardGearsCount()
Returns number of forward gears.
WheelGetContactNormal
proto external vector WheelGetContactNormal(int wheelIdx)
Returns wheel contact normal.
EngineGetRPMPeakTorque
proto external float EngineGetRPMPeakTorque()
Returns rpm at which engine provides maximal torque.
WheelTyreGetRoughnessState
proto external float WheelTyreGetRoughnessState(int wheelIdx)
Returns current roughness of wheel's tyre surface.
WheelGetRPM
proto external float WheelGetRPM(int wheelIdx)
Returns current wheel's RPM.
IsHandbrakeOn
proto external bool IsHandbrakeOn()
Returns whether handbrake is currently applied.
SetBreak
proto external void SetBreak(float in, bool hb)
GearboxGearsCount
proto external int GearboxGearsCount()
Returns number of all gear ratios (neutral included).
EngineSetPeakTorqueState
proto external void EngineSetPeakTorqueState(float peakTorque)
WheelGetContactMaterial
proto external GameMaterial WheelGetContactMaterial(int wheelIdx)
Returns wheel contact material.
EngineGetPeakTorqueState
proto external float EngineGetPeakTorqueState()
Returns current engine's peak torque in Nm (newton-metre).
SetSteering
proto external void SetSteering(float in)
WheelTyreGetRoughness
proto external float WheelTyreGetRoughness(int wheelIdx)
Returns initial roughness of wheel's tyre surface.
EngineSetPeakPowerState
proto external void EngineSetPeakPowerState(float peakPower)
GetSteering
proto external float GetSteering()
Returns current steering input in range < -1, 1 >
WheelSetRollingDrag
proto external void WheelSetRollingDrag(int wheelIdx, float drag)
Sets current rolling drag percentage.
WheelSetRadiusState
proto external float WheelSetRadiusState(int wheelIdx, float radius)
Sets current wheel's radius.
WheelTyreGetLateralFrictionState
proto external float WheelTyreGetLateralFrictionState(int wheelIdx)
Returns tyre's current lateral friction.
SetNoiseSteerSensitivity
proto external void SetNoiseSteerSensitivity(float newValue)
WheelGetContactLiquidMaterial
proto external GameMaterial WheelGetContactLiquidMaterial(int wheelIdx)
Returns the material of the liquid which the wheel is in contact.
WheelTyreSetLateralFrictionState
proto external void WheelTyreSetLateralFrictionState(int wheelIdx, float latFriction)
Sets tyre's current lateral friction.
WheelGetContactPosition
proto external vector WheelGetContactPosition(int wheelIdx)
Returns wheel contact position in world space.
WheelGetRadiusState
proto external float WheelGetRadiusState(int wheelIdx)
Returns current wheel's radius.
GetClutch
proto external float GetClutch()
GearboxSetEfficiencyState
proto external void GearboxSetEfficiencyState(float efficiency)
Sets current gearbox efficiency.
GearboxGetEfficiency
proto external float GearboxGetEfficiency()
Returns initial gearbox efficiency.
EngineGetRPMIdle
proto external float EngineGetRPMIdle()
Returns idle rpm of the engine.
WheelTyreSetLongitudinalFrictionState
proto external void WheelTyreSetLongitudinalFrictionState(int wheelIdx, float lngFriction)
Sets tyre's current longitudinal friction.
WheelGetMass
proto external float WheelGetMass(int wheelIdx)
Returns initial wheel's mass.
GearboxGetEfficiencyState
proto external float GearboxGetEfficiencyState()
Returns current gearbox efficiency.
WheelGetPosition
proto external vector WheelGetPosition(int wheelIdx, float displacement=0.0)
WheelGetLongitudinalSlip
proto external float WheelGetLongitudinalSlip(int wheelIdx)
Returns longitudinal slip of tyre.
ForceEnableSimulation
proto external void ForceEnableSimulation()
WheelGetContactEntity
proto external IEntity WheelGetContactEntity(int wheelIdx)
Returns entity which is in contact with wheel.
GetBrake
proto external float GetBrake()
Returns current brake input in range < 0, 1 >
EngineGetPeakTorque
proto external float EngineGetPeakTorque()
Returns initial engine's peak torque in Nm (newton-metre).
WheelGetRollingDrag
proto external float WheelGetRollingDrag(int wheelIdx)
Returns current wheel's rolling drag percentage.
WheelGetLateralSlip
proto external float WheelGetLateralSlip(int wheelIdx)
Returns lateral slip of tyre.
WheelGetRadius
proto external float WheelGetRadius(int wheelIdx)
Returns initial wheel's radius.
EWheelContactLiquidState
EWheelContactLiquidState
Describes whether wheel is in contact with some liquid.
Definition: EWheelContactLiquidState.c:13
WheelGetName
proto external string WheelGetName(int wheelIdx)
Returns name of the wheel based on its index.
SetClutch
proto external void SetClutch(float in)
VehicleWheeledSimulation_SAClass
Definition: VehicleWheeledSimulation_SA.c:12
EngineIsOn
proto external bool EngineIsOn()
Returns true if engine is running.
SetThrottle
VehicleHelicopterSimulationClass VehicleBaseSimulationClass SetThrottle(float in)
GetRoughnessSensitivity
proto external float GetRoughnessSensitivity()
Returns sensitivity against roughness value of surface in range < 0, 1 >
WheelGetMassState
proto external float WheelGetMassState(int wheelIdx)
Returns current wheel's mass.
VehicleBaseSimulationClass
Definition: VehicleBaseSimulation.c:12
SetRoughnessSensitivity
proto external void SetRoughnessSensitivity(float newValue)
WheelCount
proto external int WheelCount()
Returns number of wheels.
WheelTyreGetLongitudinalFriction
proto external float WheelTyreGetLongitudinalFriction(int wheelIdx)
Returns tyre's initial longitudinal friction.
EngineGetRPMMax
proto external float EngineGetRPMMax()
Returns maximal working rpm before engine explodes.
EngineStart
proto external void EngineStart()
Starts the engine.
EngineGetPeakPowerState
proto external float EngineGetPeakPowerState()
Returns current engine's peak power in kW (kilowatts).
SetGear
proto external void SetGear(int in)
Switches to given gear.
EngineGetRPMPeakPower
proto external float EngineGetRPMPeakPower()
Returns rpm at which engine provides maximal power.
EngineGetPeakPower
proto external float EngineGetPeakPower()
Returns initial engine's peak power in kW (kilowatts).
WheelGetContactLiquidPosition
proto external vector WheelGetContactLiquidPosition(int wheelIdx)
Returns the position where the wheel touches a liquid surface.
GameMaterial
Definition: GameMaterial.c:12
WheelTyreGetLongitudinalFrictionState
proto external float WheelTyreGetLongitudinalFrictionState(int wheelIdx)
Returns tyre's current longitudinal friction.
EngineGetLoad
proto external float EngineGetLoad()
Returns current engine load in range < 0, 1 >
WheelTyreGetLateralFriction
proto external float WheelTyreGetLateralFriction(int wheelIdx)
Returns tyre's initial lateral friction.
WheelSetMassState
proto external float WheelSetMassState(int wheelIdx, float mass)
Sets current wheel's mass.