UE2:UDamagePack (UT2004): Difference between revisions
From Unreal Wiki, The Unreal Engine Documentation Site
Auto-generated page |
added descriptions |
||
Line 6: | Line 6: | ||
| parent4 = Object | | parent4 = Object | ||
}} | }} | ||
{{ | Pickup class for the [[liandri:Double Damage|Double Damage]] power-up. | ||
The Double Damage does not have its own {{cl|Inventory}} class. The entire functionality is handled by the various UDamage-related functions in {{cl|xPawn}} and the {{cl|UDamageTimer}} class. | |||
==Default values== | ==Default values== | ||
Line 70: | Line 71: | ||
|- | |- | ||
| {{tl|Style||Actor properties}} | | {{tl|Style||Actor properties}} | ||
| {{tl|ERenderStyle||Actor enums|STY_AlphaZ}} | | {{tl|ERenderStyle||Actor enums|STY_AlphaZ}}<noinclude> | ||
|- | |- | ||
| {{tl|TransientSoundRadius||Actor properties}} | | {{tl|TransientSoundRadius||Actor properties}} | ||
| 600.0 | | 600.0</noinclude> | ||
|} | |} | ||
<noinclude> | |||
==Functions== | ==Functions== | ||
===Static functions=== | ===Static functions=== | ||
Line 83: | Line 84: | ||
'''Overrides:''' {{tl|StaticPrecache|Pickup}} | '''Overrides:''' {{tl|StaticPrecache|Pickup}} | ||
Precaches the pickup mesh and material. | |||
===Instance functions=== | ===Instance functions=== | ||
Line 91: | Line 92: | ||
'''Overrides:''' {{tl|UpdatePrecacheMaterials|Actor|instance functions}} | '''Overrides:''' {{tl|UpdatePrecacheMaterials|Actor|instance functions}} | ||
Precaches the pickup material. | |||
====UpdatePrecacheStaticMeshes==== | ====UpdatePrecacheStaticMeshes==== | ||
Line 98: | Line 99: | ||
'''Overrides:''' {{tl|UpdatePrecacheStaticMeshes|Actor|instance functions}} | '''Overrides:''' {{tl|UpdatePrecacheStaticMeshes|Actor|instance functions}} | ||
< | Precaches the pickup mesh. | ||
</noinclude> | |||
==States== | ==States== | ||
===Pickup=== | ===Pickup=== | ||
Line 113: | Line 114: | ||
'''Overrides:''' {{tl|Pickup.Touch|Pickup}} | '''Overrides:''' {{tl|Pickup.Touch|Pickup}} | ||
Activates Double Damage for the player who picked it up by calling {{tl|EnableUDamage|xPawn|instance functions}}(). |
Latest revision as of 02:38, 27 July 2009
![]() |
Object >> Actor >> Pickup >> TournamentPickup >> UDamagePack |
- Package:
- XPickups
- Direct subclass:
- UDamageReward
- Known custom subclass:
- Crusha/UltimateMappingTools
- This class in other games:
Pickup class for the Double Damage power-up.
The Double Damage does not have its own Inventory class. The entire functionality is handled by the various UDamage-related functions in xPawn and the UDamageTimer class.
Default values
Property | Value | ||||
---|---|---|---|---|---|
AmbientGlow | 254 | ||||
bPredictRespawns | True | ||||
CollisionHeight | 23.0 | ||||
CollisionRadius | 32.0 | ||||
DrawScale | 0.9 | ||||
DrawType | DT_StaticMesh | ||||
Mass | 10.0 | ||||
MaxDesireability | 2.0 | ||||
Physics | PHYS_Rotating | ||||
PickupForce | "UDamagePickup" | ||||
PickupMessage | "DOUBLE DAMAGE!" | ||||
PickupSound | Sound'PickupSounds.UDamagePickUp' | ||||
RespawnTime | 90.0 | ||||
RotationRate |
| ||||
ScaleGlow | 0.6 | ||||
StaticMesh | StaticMesh'E_Pickups.Udamage' | ||||
Style | STY_AlphaZ | ||||
TransientSoundRadius | 600.0 |
Functions
Static functions
StaticPrecache
static function StaticPrecache (LevelInfo L)
Overrides: Pickup.StaticPrecache
Precaches the pickup mesh and material.
Instance functions
UpdatePrecacheMaterials
simulated function UpdatePrecacheMaterials ()
Overrides: Actor.UpdatePrecacheMaterials
Precaches the pickup material.
UpdatePrecacheStaticMeshes
simulated function UpdatePrecacheStaticMeshes ()
Overrides: Actor.UpdatePrecacheStaticMeshes
Precaches the pickup mesh.
States
Pickup
Inherits from: Pickup.Pickup
Modifiers: auto
Pickup.Touch
event Touch (Actor Other)
Overrides: Pickup.Pickup.Touch
Activates Double Damage for the player who picked it up by calling xPawn.EnableUDamage().