UE2:ONSPRV (UT2004): Difference between revisions

From Unreal Wiki, The Unreal Engine Documentation Site
Auto-generated page
 
m added descriptions
 
Line 9: Line 9:
| parent7 = Object
| parent7 = Object
}}
}}
{{autogenerated}}
The [[liandri:Hellbender|Hellbender]].
<!-- enter class description -->


==Properties==
==Properties==
Line 22: Line 21:
'''Overrides:''' {{tl|StaticPrecache|ONSVehicle}}
'''Overrides:''' {{tl|StaticPrecache|ONSVehicle}}


<!-- enter function description -->
Precaches all {{cl|StaticMesh}}es and {{cl|Material}}s related to the Hellbender itself, its weapons and projectiles.


===Events===
===Events===
Line 30: Line 29:
'''Overrides:''' {{tl|Destroyed|ONSWheeledCraft}}
'''Overrides:''' {{tl|Destroyed|ONSWheeledCraft}}


<!-- enter event description -->
Releases the {{tl|LicensePlate||ONSPRV properties}} to the global {{cl|ObjectPool}}.


====DrivingStatusChanged====
====DrivingStatusChanged====
Line 37: Line 36:
'''Overrides:''' {{tl|DrivingStatusChanged|ONSWheeledCraft}}
'''Overrides:''' {{tl|DrivingStatusChanged|ONSWheeledCraft}}


<!-- enter event description -->
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====
====PostBeginPlay====
Line 44: Line 43:
'''Overrides:''' {{tl|PostBeginPlay|ONSWheeledCraft}}
'''Overrides:''' {{tl|PostBeginPlay|ONSWheeledCraft}}


<!-- enter function description -->
Allocates a {{cl|ScriptedTexture}} for the license plate from the global {{cl|ObjectPool}}.


====RenderTexture====
====RenderTexture====
Line 51: Line 50:
'''Overrides:''' {{tl|RenderTexture|Actor|events}}
'''Overrides:''' {{tl|RenderTexture|Actor|events}}


<!-- enter event description -->
Draws the reduced driver name while driven or "HELLBNDR" while not driven on the license plate.


===Other instance functions===
===Other instance functions===
Line 59: Line 58:
'''Overrides:''' {{tl|BotDesireability|Vehicle|instance functions}}
'''Overrides:''' {{tl|BotDesireability|Vehicle|instance functions}}


<!-- enter function description -->
Only makes the Hellbender interesting for bots at match startup or if at least two bots are nearby.


====FindEntryVehicle====
====FindEntryVehicle====
Line 73: Line 72:
'''Overrides:''' {{tl|UpdatePrecacheMaterials|ONSVehicle|instance functions}}
'''Overrides:''' {{tl|UpdatePrecacheMaterials|ONSVehicle|instance functions}}


<!-- enter function description -->
Precaches all {{cl|Material}}s related to the Hellbender itself, its weapons and projectiles.


====UpdatePrecacheStaticMeshes====
====UpdatePrecacheStaticMeshes====
Line 80: Line 79:
'''Overrides:''' {{tl|UpdatePrecacheStaticMeshes|ONSVehicle|instance functions}}
'''Overrides:''' {{tl|UpdatePrecacheStaticMeshes|ONSVehicle|instance functions}}


<!-- enter function description -->
Precaches all {{cl|StaticMesh}}es related to the Hellbender itself, its weapons and projectiles.


====VehicleFire====
====VehicleFire====
Line 87: Line 86:
'''Overrides:''' {{tl|VehicleFire|Vehicle|instance functions}}
'''Overrides:''' {{tl|VehicleFire|Vehicle|instance functions}}


<!-- enter function description -->
Plays the vehicle horn, since the driver doesn't control any weapons.

Latest revision as of 01:26, 15 August 2009

UT2004 Object >> Actor >> Pawn >> Vehicle >> SVehicle >> ONSVehicle >> ONSWheeledCraft >> ONSPRV
Package:
Onslaught

The Hellbender.

Properties

See ONSPRV properties.

Functions

Static functions

StaticPrecache

static function StaticPrecache (LevelInfo L)

Overrides: ONSVehicle.StaticPrecache

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

Events

Destroyed

simulated event Destroyed ()

Overrides: ONSWheeledCraft.Destroyed

Releases the LicensePlate to the global ObjectPool.

DrivingStatusChanged

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

simulated event PostBeginPlay ()

Overrides: ONSWheeledCraft.PostBeginPlay

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

RenderTexture

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

BotDesireability

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

function Vehicle FindEntryVehicle (Pawn P)

Overrides: ONSVehicle.FindEntryVehicle


UpdatePrecacheMaterials

simulated function UpdatePrecacheMaterials ()

Overrides: ONSVehicle.UpdatePrecacheMaterials

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

UpdatePrecacheStaticMeshes

simulated function UpdatePrecacheStaticMeshes ()

Overrides: ONSVehicle.UpdatePrecacheStaticMeshes

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

VehicleFire

function VehicleFire (bool bWasAltFire)

Overrides: Vehicle.VehicleFire

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