I love the smell of UnrealEd crashing in the morning. – tarquin

Difference between revisions of "UE2:UDamagePack (UT2003)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Auto-generated page)
 
(same as UT2004, minus TransientSoundVolume and some functions)
 
Line 1: Line 1:
{{infobox class
+
{{UE2:UDamagePack (UT2004)}}
| package = XPickups
+
| parent1 = TournamentPickup
+
| parent2 = Pickup
+
| parent3 = Actor
+
| parent4 = Object
+
}}
+
{{autogenerated}}
+
UDamagePack
+
 
+
==Default values==
+
{| class="list defaults"
+
! Property
+
! Value
+
|-
+
| {{tl|AmbientGlow||Actor properties}}
+
| 254
+
|-
+
| {{tl|bPredictRespawns||Pickup}}
+
| True
+
|-
+
| {{tl|CollisionHeight||Actor properties}}
+
| 23.0
+
|-
+
| {{tl|CollisionRadius||Actor properties}}
+
| 32.0
+
|-
+
| {{tl|DrawScale||Actor properties}}
+
| 0.9
+
|-
+
| {{tl|DrawType||Actor properties}}
+
| {{tl|EDrawType||Actor enums|DT_StaticMesh}}
+
|-
+
| {{tl|Mass||Actor properties}}
+
| 10.0
+
|-
+
| {{tl|MaxDesireability||Pickup}}
+
| 2.0
+
|-
+
| {{tl|Physics||Actor properties}}
+
| {{tl|EPhysics||Actor enums|PHYS_Rotating}}
+
|-
+
| {{tl|PickupForce||Pickup}}
+
| "UDamagePickup"
+
|-
+
| {{tl|PickupMessage||Pickup}}
+
| "DOUBLE DAMAGE!"
+
|-
+
| {{tl|PickupSound||Pickup}}
+
| {{cl|Sound}}'PickupSounds.UDamagePickUp'
+
|-
+
| {{tl|RespawnTime||Pickup}}
+
| 90.0
+
|-
+
| {{tl|RotationRate||Actor properties}}
+
|
+
{| class="list defaults"
+
! {{tl|Rotator||Object structs|Member}}
+
! Value
+
|-
+
| Yaw
+
| 24000
+
|}
+
|-
+
| {{tl|ScaleGlow||Actor properties}}
+
| 0.6
+
|-
+
| {{tl|StaticMesh||Actor properties}}
+
| {{cl|StaticMesh}}'E_Pickups.Udamage'
+
|-
+
| {{tl|Style||Actor properties}}
+
| {{tl|ERenderStyle||Actor enums|STY_AlphaZ}}
+
|}
+
 
+
==States==
+
===Pickup===
+
<!-- enter state description -->
+
 
+
'''Inherits from:''' {{tl|Pickup|Pickup}}
+
 
+
'''[[States#Modifiers|Modifiers]]:''' auto
+
 
+
====Pickup.Touch====
+
{{code|event '''Touch''' ({{cl|Actor}}&nbsp;'''Other''')}}
+
 
+
'''Overrides:''' {{tl|Pickup.Touch|Pickup}}
+
 
+
<!-- enter function description -->
+

Latest revision as of 01:30, 27 July 2009

UT2003 Object >> Actor >> Pickup >> TournamentPickup >> UDamagePack
Package: 
XPickups
This class in other games:
UT2004

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[edit]

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
Member Value
Yaw 24000
ScaleGlow 0.6
StaticMesh StaticMesh'E_Pickups.Udamage'
Style STY_AlphaZ

States[edit]

Pickup[edit]

Inherits from: Pickup.Pickup

Modifiers: auto

Pickup.Touch[edit]

event Touch (Actor Other)

Overrides: Pickup.Pickup.Touch

Activates Double Damage for the player who picked it up by calling xPawn.EnableUDamage().