I love the smell of UnrealEd crashing in the morning. – tarquin
UE2:KVehicle (UE2Runtime)
From Unreal Wiki, The Unreal Engine Documentation Site
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
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]
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]
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<DamageType> damageType)
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]
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)