My program doesn't have bugs. It just develops random features.

UE2:KVehicle (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UE2Runtime Object >> Actor >> Pawn >> KVehicle
Package: 
Engine
This class in other games:
U2, U2XMP, UT2003, UT2004

Generic 'Karma Vehicle' base class that can be controlled by a Pawn.

Constants[edit]

FilterFrames[edit]

Value: 5


Properties[edit]

Property group 'KVehicle'[edit]

bAutoDrive[edit]

Type: bool


DestroyEffectClass[edit]

Type: class<Actor>


DrivePos[edit]

Type: Object.Vector

Position (rel to vehicle) to put player while driving.

DriveRot[edit]

Type: Object.Rotator


ExitPositions[edit]

Type: array<Object.Vector>

Positions (rel to vehicle) to try putting the player when exiting.

Steering[edit]

Type: float

between -1 and 1

Throttle[edit]

Type: float

between -1 and 1

Internal variables[edit]

bGetOut[edit]

Type: bool


bHistoryWarmup[edit]

Type: bool


Default value: True

bVehicleIsAltFiring[edit]

Type: bool


bVehicleIsFiring[edit]

Type: bool


CameraHistory[edit]

Type: Object.Vector

Array size: 5 (FilterFrames)


Driver[edit]

Type: Pawn


NextHistorySlot[edit]

Type: int


ParentFactory[edit]

Type: KVehicleFactory


Default values[edit]

Property Value
bAlwaysRelevant True
bBlockKarma True
bCanBeBaseForPawns True
bCollideWorld False
bEdShouldSnap True
bNetInitialRotation True
bSpecialCalcView True
CollisionHeight 1.0
CollisionRadius 1.0
Physics PHYS_Karma

Functions[edit]

Native functions[edit]

GraphData[edit]

native final function GraphData (string DataName, float DataValue)


Events[edit]

Destroyed[edit]

simulated event Destroyed ()

Overrides: Pawn.Destroyed


EncroachedBy[edit]

event EncroachedBy (Actor Other)

Overrides: Pawn.EncroachedBy


KVehicleUpdateParams[edit]

simulated event KVehicleUpdateParams ()


TakeDamage[edit]

event TakeDamage (int Damage, Pawn instigatedBy, Object.Vector hitlocation, Object.Vector momentum, class<DamageTypedamageType)

Overrides: Pawn.TakeDamage


Tick[edit]

simulated event Tick (float deltaSeconds)

Overrides: Actor.Tick


VehicleStateReceived[edit]

event VehicleStateReceived ()


Other instance functions[edit]

ClientKDriverEnter[edit]

simulated function ClientKDriverEnter (PlayerController pc)


ClientKDriverLeave[edit]

simulated function ClientKDriverLeave (PlayerController pc)


KDriverEnter[edit]

function KDriverEnter (Pawn p)


KDriverLeave[edit]

function bool KDriverLeave (bool bForceLeave)


SpecialCalcView[edit]

simulated function bool SpecialCalcView (out Actor ViewActor, out Object.Vector CameraLocation, out Object.Rotator CameraRotation)

Overrides: Pawn.SpecialCalcView


TryToDrive[edit]

function TryToDrive (Pawn p)


VehicleCeaseFire[edit]

function VehicleCeaseFire (bool bWasAltFire)


VehicleFire[edit]

function VehicleFire (bool bWasAltFire)