DayZ 1.24
|
DEPRECATED class left for backwards compatibility, methods are available on car itself now. More...
Private Member Functions | |
void | CarController () |
void | ~CarController () |
proto float | GetSteering () |
Returns the current steering value in range <-1, 1>. | |
proto void | SetSteering (float in, bool analog=false) |
proto float | GetThrustTurbo () |
Returns the current thrust turbo modifier value in range <0, 1>. | |
proto float | GetThrustGentle () |
Returns the current thrust gentle modifier value in range <0, 1>. | |
proto float | GetThrust () |
Returns the current thrust value in range <0, 1>. | |
proto void | SetThrust (float in, float gentle=0, float turbo=0) |
proto float | GetBrake () |
Returns the current brake value in range <0, 1>. | |
proto void | SetBrake (float in, float panic=0) |
proto int | GetGear () |
Returns index of the current gear. | |
proto void | ShiftUp () |
proto void | ShiftTo (CarGear gear) |
proto void | ShiftDown () |
DEPRECATED class left for backwards compatibility, methods are available on car itself now.
Returns the current steering value in range <-1, 1>.
Returns the current thrust gentle modifier value in range <0, 1>.
Returns the current thrust turbo modifier value in range <0, 1>.
Sets the brake value.
in | should be in range <0, 1> |
panic | should be in range <0, 1> |
Sets the steering value.
in | should be in range <-1, 1> |
analog | indicates if the input value was taken from analog controller |
Sets the thrust value.
in | should be in range <0, 1> |
gentle | should be in range <0, 1>, thrust modifier |
turbo | should be in range <0, 1>, thrust modifier |