Always snap to grid

UE2:KVehicle (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:10, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UE2Runtime Object >> Actor >> Pawn >> KVehicle
Package: 
Engine
This class in other games:
U2XMP, U2, UT2004, UT2003

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

Constants

FilterFrames

Value: 5


Properties

Property group 'KVehicle'

bAutoDrive

Type: bool


DestroyEffectClass

Type: class<Actor>


DrivePos

Type: Object.Vector

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

DriveRot

Type: Object.Rotator


ExitPositions

Type: array<Object.Vector>

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

Steering

Type: float

between -1 and 1

Throttle

Type: float

between -1 and 1

Internal variables

bGetOut

Type: bool


bHistoryWarmup

Type: bool


Default value: True

bVehicleIsAltFiring

Type: bool


bVehicleIsFiring

Type: bool


CameraHistory

Type: Object.Vector

Array size: 5 (FilterFrames)


Driver

Type: Pawn


NextHistorySlot

Type: int


ParentFactory

Type: KVehicleFactory


Default values

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

Native functions

GraphData

native final function GraphData (string DataName, float DataValue)


Events

Destroyed

simulated event Destroyed ()

Overrides: Pawn.Destroyed


EncroachedBy

event EncroachedBy (Actor Other)

Overrides: Pawn.EncroachedBy


KVehicleUpdateParams

simulated event KVehicleUpdateParams ()


TakeDamage

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

Overrides: Pawn.TakeDamage


Tick

simulated event Tick (float deltaSeconds)

Overrides: Actor.Tick


VehicleStateReceived

event VehicleStateReceived ()


Other instance functions

ClientKDriverEnter

simulated function ClientKDriverEnter (PlayerController pc)


ClientKDriverLeave

simulated function ClientKDriverLeave (PlayerController pc)


KDriverEnter

function KDriverEnter (Pawn p)


KDriverLeave

function bool KDriverLeave (bool bForceLeave)


SpecialCalcView

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

Overrides: Pawn.SpecialCalcView


TryToDrive

function TryToDrive (Pawn p)


VehicleCeaseFire

function VehicleCeaseFire (bool bWasAltFire)


VehicleFire

function VehicleFire (bool bWasAltFire)