UE2:ONSPRV (UT2004)
Object >> Actor >> Pawn >> Vehicle >> SVehicle >> ONSVehicle >> ONSWheeledCraft >> ONSPRV |
- Package:
- Onslaught
The Hellbender.
Properties
See ONSPRV properties.
Functions
Static functions
StaticPrecache
Overrides: ONSVehicle.StaticPrecache
Precaches all StaticMeshes and Materials related to the Hellbender itself, its weapons and projectiles.
Events
Destroyed
Overrides: ONSWheeledCraft.Destroyed
Releases the LicensePlate to the global ObjectPool.
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
Overrides: ONSWheeledCraft.PostBeginPlay
Allocates a ScriptedTexture for the license plate from the global ObjectPool.
RenderTexture
Overrides: Actor.RenderTexture
Draws the reduced driver name while driven or "HELLBNDR" while not driven on the license plate.
Other instance functions
BotDesireability
Overrides: Vehicle.BotDesireability
Only makes the Hellbender interesting for bots at match startup or if at least two bots are nearby.
FindEntryVehicle
Overrides: ONSVehicle.FindEntryVehicle
UpdatePrecacheMaterials
Overrides: ONSVehicle.UpdatePrecacheMaterials
Precaches all Materials related to the Hellbender itself, its weapons and projectiles.
UpdatePrecacheStaticMeshes
Overrides: ONSVehicle.UpdatePrecacheStaticMeshes
Precaches all StaticMeshes related to the Hellbender itself, its weapons and projectiles.
VehicleFire
Overrides: Vehicle.VehicleFire
Plays the vehicle horn, since the driver doesn't control any weapons.