I love the smell of UnrealEd crashing in the morning. – tarquin

UE2:Vehicle (U2)

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

null

Constants[edit]

HardMaxPassengers[edit]

Value: 5


FilterFrames[edit]

Value: 5


Properties[edit]

Property group 'Vehicle'[edit]

bAutoDrive[edit]

Type: bool


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]

bAllowThirdPersonCameraMovement[edit]

Type: bool


Default value: True

bGetOut[edit]

Type: byte

Array size: 5 (HardMaxPassengers)


bHistoryWarmup[edit]

Type: bool


Default value: True

bOldThrottling[edit]

Type: bool


bThrottling[edit]

Type: bool


bVehicleIsAltFiring[edit]

Type: byte

Array size: 5 (HardMaxPassengers)


bVehicleIsFiring[edit]

Type: byte

Array size: 5 (HardMaxPassengers)


CameraHistory[edit]

Type: Object.Vector

Array size: 5 (FilterFrames)


CollisionDamageMultiplier[edit]

Type: float


Default value: 1.0

CollisionMass[edit]

Type: float

2003.09.04 (mdf) used for colliding with force fields

DisplayName[edit]

Type: string

Modifiers: localized


FrontTireClass[edit]

Type: class<KTire>


InitialTurretRotation[edit]

Type: Object.Rotator

Array size: 5 (HardMaxPassengers)


LastOccupiedTeam[edit]

Type: int


Default value: 255

LastOccupiedTime[edit]

Type: float


MaxPassengers[edit]

Type: int


Default value: 10

MyDamageType[edit]

Type: class<DamageType>


Default value: Class'Engine.DamageType'

MyPassengerNumber[edit]

Type: int


Default value: -1

MyTurretRotation[edit]

Type: Object.Rotator


NextHistorySlot[edit]

Type: int


NumPassengers[edit]

Type: int


OnLine[edit]

Type: bool


ParentFactory[edit]

Type: VehicleFactory


PassengerControllers[edit]

Type: Controller

Array size: 5 (HardMaxPassengers)


PassengerPawns[edit]

Type: Pawn

Array size: 5 (HardMaxPassengers)


PassengerPRIs[edit]

Type: PlayerReplicationInfo

Array size: 5 (HardMaxPassengers)


SameTeamCollisionDamageMultiplier[edit]

Type: float


Default value: 0.5

SpawnOffset[edit]

Type: Object.Vector


SprintImpulseOffset[edit]

Type: Object.Vector


Stamina[edit]

Type: float


StaminaMax[edit]

Type: float


Default value: 100.0

StaminaRechargeRate[edit]

Type: float


Default value: 7.0

ThirdPersonCameraOffset[edit]

Type: Object.Vector


Default value:

Member Value
X -600.0

ThirdPersonLookAtPoint[edit]

Type: Object.Vector


Default value:

Member Value
X -100.0
Z 100.0

ThirdPersonRotationModifier[edit]

Type: Object.Rotator


TurretClass[edit]

Type: class<XMPVehicleTurret>

Array size: 5 (HardMaxPassengers)


TurretRotation[edit]

Type: Object.Rotator

Array size: 5 (HardMaxPassengers)


Turrets[edit]

Type: XMPVehicleTurret

Array size: 5 (HardMaxPassengers)


WheelVert[edit]

Type: float

Modifiers: const


Default values[edit]

Property Value
bActorShadows True
bBlockKarma True
bCanBeBaseForPawns True
bCanPickupInventory False
bCollideWorld False
bEdShouldSnap True
bNetInitialRotation True
bOwnerNoSee False
bSpecialCalcView True
bUseEnabled False
CollisionHeight 1.0
CollisionRadius 1.0
ControllerClass None
Physics PHYS_Karma

Functions[edit]

Events[edit]

Destroyed[edit]

simulated event Destroyed ()

Overrides: Pawn.Destroyed


EncroachedBy[edit]

event EncroachedBy (Actor Other)

Overrides: Pawn.EncroachedBy


PostNetBeginPlay[edit]

simulated event PostNetBeginPlay ()

Overrides: Pawn.PostNetBeginPlay


Tick[edit]

simulated event Tick (float deltaSeconds)

Overrides: Actor.Tick


VehicleStateReceived[edit]

event VehicleStateReceived ()


Other instance functions[edit]

See Vehicle instance functions.