Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE2:ONSPRV (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> Pawn >> Vehicle >> SVehicle >> ONSVehicle >> ONSWheeledCraft >> ONSPRV
Package: 
Onslaught

The Hellbender.

Properties[edit]

See ONSPRV properties.

Functions[edit]

Static functions[edit]

StaticPrecache[edit]

static function StaticPrecache (LevelInfo L)

Overrides: ONSVehicle.StaticPrecache

Precaches all StaticMeshes and Materials related to the Hellbender itself, its weapons and projectiles.

Events[edit]

Destroyed[edit]

simulated event Destroyed ()

Overrides: ONSWheeledCraft.Destroyed

Releases the LicensePlate to the global ObjectPool.

DrivingStatusChanged[edit]

simulated event DrivingStatusChanged ()

Overrides: ONSWheeledCraft.DrivingStatusChanged

Updates the license plate if a new driver entered. If the driver's name is longer than 8 characters, it is stripped of all (round, square, curly and angle) brackets. If it is still longer than 8 chars, all characters outside the range A-Z are removed from right to left until only 8 chars are left. If that didn't help either, vowels are removed from right to left in the same fashion. And finally if the name still consists of more than 8 consonants, it is cut off to only contain the first 8 of them.

PostBeginPlay[edit]

simulated event PostBeginPlay ()

Overrides: ONSWheeledCraft.PostBeginPlay

Allocates a ScriptedTexture for the license plate from the global ObjectPool.

RenderTexture[edit]

simulated event RenderTexture (ScriptedTexture Tex)

Overrides: Actor.RenderTexture

Draws the reduced driver name while driven or "HELLBNDR" while not driven on the license plate.

Other instance functions[edit]

BotDesireability[edit]

function float BotDesireability (Actor S, int TeamIndex, Actor Objective)

Overrides: Vehicle.BotDesireability

Only makes the Hellbender interesting for bots at match startup or if at least two bots are nearby.

FindEntryVehicle[edit]

function Vehicle FindEntryVehicle (Pawn P)

Overrides: ONSVehicle.FindEntryVehicle


UpdatePrecacheMaterials[edit]

simulated function UpdatePrecacheMaterials ()

Overrides: ONSVehicle.UpdatePrecacheMaterials

Precaches all Materials related to the Hellbender itself, its weapons and projectiles.

UpdatePrecacheStaticMeshes[edit]

simulated function UpdatePrecacheStaticMeshes ()

Overrides: ONSVehicle.UpdatePrecacheStaticMeshes

Precaches all StaticMeshes related to the Hellbender itself, its weapons and projectiles.

VehicleFire[edit]

function VehicleFire (bool bWasAltFire)

Overrides: Vehicle.VehicleFire

Plays the vehicle horn, since the driver doesn't control any weapons.