Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel
UE2:KVehicle (UE2Runtime)
From Unreal Wiki, The Unreal Engine Documentation Site
Contents |
- Package:
- Engine
| This is an auto-generated page and may need human attention. Please remove this 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.
[edit] Constants
[edit] FilterFrames
Value: 5
[edit] Properties
[edit] Property group 'KVehicle'
[edit] bAutoDrive
Type: bool
[edit] DestroyEffectClass
[edit] DrivePos
Type: Object.Vector
Position (rel to vehicle) to put player while driving.
[edit] DriveRot
Type: Object.Rotator
[edit] ExitPositions
Type: array<Object.Vector>
Positions (rel to vehicle) to try putting the player when exiting.
[edit] Steering
Type: float
between -1 and 1
[edit] Throttle
Type: float
between -1 and 1
[edit] Internal variables
[edit] bGetOut
Type: bool
[edit] bHistoryWarmup
Type: bool
Default value: True
[edit] bVehicleIsAltFiring
Type: bool
[edit] bVehicleIsFiring
Type: bool
[edit] CameraHistory
Type: Object.Vector
Array size: 5 (FilterFrames)
[edit] Driver
Type: Pawn
[edit] NextHistorySlot
Type: int
[edit] ParentFactory
Type: KVehicleFactory
[edit] 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 |
[edit] Functions
[edit] Native functions
[edit] GraphData
[edit] Events
[edit] Destroyed
simulated event Destroyed ()
Overrides: Pawn.Destroyed
[edit] EncroachedBy
event EncroachedBy (Actor Other)
Overrides: Pawn.EncroachedBy
[edit] KVehicleUpdateParams
simulated event KVehicleUpdateParams ()
[edit] TakeDamage
event TakeDamage (int Damage, Pawn instigatedBy, Object.Vector hitlocation, Object.Vector momentum, class<DamageType> damageType)
Overrides: Pawn.TakeDamage
[edit] Tick
simulated event Tick (float deltaSeconds)
Overrides: Actor.Tick
[edit] VehicleStateReceived
event VehicleStateReceived ()
[edit] Other instance functions
[edit] ClientKDriverEnter
simulated function ClientKDriverEnter (PlayerController pc)
[edit] ClientKDriverLeave
simulated function ClientKDriverLeave (PlayerController pc)
[edit] KDriverEnter
function KDriverEnter (Pawn p)
[edit] KDriverLeave
[edit] SpecialCalcView
simulated function bool SpecialCalcView (out Actor ViewActor, out Object.Vector CameraLocation, out Object.Rotator CameraRotation)
Overrides: Pawn.SpecialCalcView
[edit] TryToDrive
function TryToDrive (Pawn p)
[edit] VehicleCeaseFire
function VehicleCeaseFire (bool bWasAltFire)
[edit] VehicleFire
function VehicleFire (bool bWasAltFire)
