UE2:ONSPRV (UT2004): Difference between revisions
Auto-generated page |
m added descriptions |
||
Line 9: | Line 9: | ||
| parent7 = Object | | parent7 = Object | ||
}} | }} | ||
The [[liandri:Hellbender|Hellbender]]. | |||
==Properties== | ==Properties== | ||
Line 22: | Line 21: | ||
'''Overrides:''' {{tl|StaticPrecache|ONSVehicle}} | '''Overrides:''' {{tl|StaticPrecache|ONSVehicle}} | ||
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}} | ||
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}} | ||
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}} | ||
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}} | ||
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}} | ||
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}} | ||
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}} | ||
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}} | ||
Plays the vehicle horn, since the driver doesn't control any weapons. |
Latest revision as of 01:26, 15 August 2009
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.