Always snap to grid
UE3:UTVehicleBase (UT3)
Contents
- 1 Properties
- 2 Functions
- 2.1 Events
- 2.2 Other instance functions
- 2.2.1 AdjacentSeat
- 2.2.2 ApplyWeaponEffects
- 2.2.3 BotFire
- 2.2.4 ChooseFireMode
- 2.2.5 DetachDriver
- 2.2.6 DisplayHud
- 2.2.7 DriverEnter
- 2.2.8 DriverLeft
- 2.2.9 DrivingStatusChanged
- 2.2.10 EjectDriver
- 2.2.11 GetDamageScaling
- 2.2.12 GetPowerLevel
- 2.2.13 GetQuickPickCells
- 2.2.14 GetVehicleDrivingStatName
- 2.2.15 HandleDeadVehicleDriver
- 2.2.16 NeedToTurn
- 2.2.17 QuickPick
- 2.2.18 ServerAdjacentSeat
- 2.2.19 ServerChangeSeat
- 2.2.20 StopFiringWeapon
- 2.2.21 SwitchWeapon
- 2.2.22 TakeHeadShot
- Package:
- UTGame
- Direct subclasses:
- UTVehicle, UTWeaponPawn
- This class in other games:
- UDK
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. |
Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.
Properties[edit]
bHasBarGraph[edit]
Type: bool
HUD should draw bar graph to indicate charge / ammo for this vehicle
bShouldEject[edit]
Type: bool
If true the driver will be ejected if he leaves
HudCoords[edit]
Type: UIRoot.TextureCoordinates
HudIcons[edit]
Type: Texture2D
HUD
Default value: Texture2D'UI_HUD.HUD.UI_HUD_BaseB'
Default values[edit]
Property | Value |
---|---|
bCanBeAdheredTo | True |
bCanBeFrictionedTo | True |
SightRadius | 12000.0 |
StayUprightConstraintInstance | RB_ConstraintInstance'UTGame.Default__UTVehicleBase:MyStayUprightConstraintInstance' |
StayUprightConstraintSetup | RB_StayUprightSetup'UTGame.Default__UTVehicleBase:MyStayUprightSetup' |
Subobjects[edit]
CollisionCylinder[edit]
Class: Engine.CylinderComponent
Inherits from: SVehicle.CollisionCylinder
No new values.
MyStayUprightConstraintInstance[edit]
Class: Engine.RB_ConstraintInstance
Inherits from: SVehicle.MyStayUprightConstraintInstance
No new values.
MyStayUprightSetup[edit]
Class: Engine.RB_StayUprightSetup
Inherits from: SVehicle.MyStayUprightSetup
No new values.
SVehicleMesh[edit]
Class: Engine.SkeletalMeshComponent
Inherits from: SVehicle.SVehicleMesh
No new values.
Functions[edit]
Events[edit]
HoldGameObject[edit]
HoldGameObject() Attach GameObject to mesh.
Parameters:
- GameObj - Game object to hold
Other instance functions[edit]
AdjacentSeat[edit]
request change to adjacent vehicle seat
ApplyWeaponEffects[edit]
applies weapon effects based on the passed in bitfield
BotFire[edit]
Overrides: Pawn.BotFire
AI - An AI controller wants to fire
Parameters:
- bFinished - unused
ChooseFireMode[edit]
Overrides: Pawn.ChooseFireMode
AI - Returns the best firing mode for this weapon
DetachDriver[edit]
Overrides: Vehicle.DetachDriver
Detach Driver from vehicle. Network : ALL
DisplayHud[edit]
DriverEnter[edit]
Overrides: Vehicle.DriverEnter
DriverEnter() Make Pawn P the new driver of this vehicle
DriverLeft[edit]
Overrides: Vehicle.DriverLeft
Called on both the server an owning client when the player leaves the vehicle. We want to make sure any active weapon is shut down
DrivingStatusChanged[edit]
Overrides: SVehicle.DrivingStatusChanged
EjectDriver[edit]
EjectDriver() throws the driver out at high velocity
GetDamageScaling[edit]
Overrides: Pawn.GetDamageScaling
Returns:
- the scale factor to apply to damage affecting this vehicle
GetPowerLevel[edit]
Gets the powerlevel for this vehicle - primarily used for charge bars
Parameters:
- PowerLevel - out) - how full the charge bar should be (0 to 1)
Returns:
- whether this vehicle's HUD should display a charge bar
GetQuickPickCells[edit]
GetVehicleDrivingStatName[edit]
Statistics gathering
HandleDeadVehicleDriver[edit]
Overrides: Vehicle.HandleDeadVehicleDriver
handles the driver pawn of the dead vehicle (decide whether to ragdoll it, etc)
NeedToTurn[edit]
Overrides: Pawn.NeedToTurn
Returns:
- true if the AI needs to turn towards a target
QuickPick[edit]
ServerAdjacentSeat[edit]
request change to adjacent vehicle seat
ServerChangeSeat[edit]
Called when a client is requesting a seat change
Network: Server-Side
StopFiringWeapon[edit]
Shut down the weapon
SwitchWeapon[edit]
TakeHeadShot[edit]
TakeHeadShot()
Parameters:
- Impact - impact information (where the shot hit)
- HeadShotDamageType - damagetype to use if this is a headshot
- HeadDamage - amount of damage the weapon causes if this is a headshot
- AdditionalScale - head sphere scaling for head hit determination
Returns:
- true if pawn handled this as a headshot, in which case the weapon doesn't need to cause damage to the pawn.