I'm a doctor, not a mechanic

UE2:SCar (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
(Redirected from UE2:SCarState (U2))
Jump to: navigation, search
U2 Object >> Actor >> Pawn >> Vehicle >> SVehicle >> SCar

Contents

Package: 
Vehicles
Direct subclass:
XMPSVehicle

null

Properties[edit]

Property group 'SCar'[edit]

ChangeDownPoint[edit]

Type: float


ChangeUpPoint[edit]

Type: float


ChassisTorqueScale[edit]

Type: float


EngineBrakeFactor[edit]

Type: float


EngineBrakeRPMScale[edit]

Type: float


EngineBraking[edit]

Type: bool


EngineInertia[edit]

Type: float

Pre-gear box engine inertia (racing flywheel etc.)

EngineRPMSoundRange[edit]

Type: float


FTScale[edit]

Type: float


GearRatios[edit]

Type: float

Array size: 5

0 is reverse, 1-4 are forward

HandbrakeThresh[edit]

Type: float


IdleRPM[edit]

Type: float


LSDFactor[edit]

Type: float


MaxBrakeTorque[edit]

Type: float


MaxSteerAngle[edit]

Type: float

degrees

MinBrakeFriction[edit]

Type: float


SprintForce[edit]

Type: float


SprintTime[edit]

Type: float


SteerBoneAxis[edit]

Type: Object.EAxis


SteerBoneMaxAngle[edit]

Type: float


SteerBoneName[edit]

Type: name


SteerSpeed[edit]

Type: float

degrees per second

StopThreshold[edit]

Type: float


TorqueCurve[edit]

Type: Object.InterpCurve

Engine output torque

TransRatio[edit]

Type: float

Other (constant) gearing

WheelAdhesion[edit]

Type: float


WheelHandbrakeFriction[edit]

Type: float


WheelHandbrakeSlip[edit]

Type: float


WheelInertia[edit]

Type: float


WheelLatFrictionScale[edit]

Type: float


WheelLatSlipFunc[edit]

Type: Object.InterpCurve


WheelLongFrictionFunc[edit]

Type: Object.InterpCurve


WheelLongFrictionScale[edit]

Type: float


WheelLongSlip[edit]

Type: float


WheelPenScale[edit]

Type: float


WheelRestitution[edit]

Type: float


WheelSoftness[edit]

Type: float


WheelSuspensionOffset[edit]

Type: float


WheelSuspensionTravel[edit]

Type: float


Internal variables[edit]

ActualSteering[edit]

Type: float


bIsDriving[edit]

Type: bool


bIsInverted[edit]

Type: bool


bNewCarState[edit]

Type: bool


CarMPH[edit]

Type: float


CarState[edit]

Type: SCarState


ChassisState[edit]

Type: Actor.KRigidBodyState


EnergyAccumulator[edit]

Type: float


EngineRPM[edit]

Type: float


ForwardVel[edit]

Type: float


Gear[edit]

Type: int


NumPoweredWheels[edit]

Type: float


OfflineSound[edit]

Type: Sound


OutputBrake[edit]

Type: float


OutputGas[edit]

Type: float


OutputHandbrake[edit]

Type: bool


SprintSound[edit]

Type: Sound


Default value: Sound'U2Ambient2A.ShipEngines.Dropship_AttitudeEnd'

SprintTimeLeft[edit]

Type: float


TotalSpinVel[edit]

Type: float


Default values[edit]

Property Value
bUseCompressedPosition False

Structs[edit]

SCarState[edit]

Modifiers: native

Actor.KRBVec ChassisPosition 
Object.Quat ChassisQuaternion 
Actor.KRBVec ChassisLinVel 
Actor.KRBVec ChassisAngVel 
float ServerHandbrake 
float ServerBrake 
float ServerGas 
int ServerGear 
float ServerSteering 
int bNewState 
bools inside structs == scary!

Functions[edit]

Events[edit]

KApplyForce[edit]

simulated event KApplyForce (out Object.Vector Force, out Object.Vector Torque)

Overrides: Actor.KApplyForce


KUpdateState[edit]

simulated event bool KUpdateState (out Actor.KRigidBodyState newState)

Overrides: Actor.KUpdateState


PostNetBeginPlay[edit]

simulated event PostNetBeginPlay ()

Overrides: SVehicle.PostNetBeginPlay


SVehicleUpdateParams[edit]

simulated event SVehicleUpdateParams ()

Overrides: SVehicle.SVehicleUpdateParams


Tick[edit]

simulated event Tick (float Delta)

Overrides: Vehicle.Tick


Other instance functions[edit]

DoSprint[edit]

simulated function DoSprint ()

Overrides: Vehicle.DoSprint


DrawHUD[edit]

function DrawHUD (Canvas Canvas)

Overrides: Pawn.DrawHUD


ServerSprint[edit]

function ServerSprint ()