Gah - a solution with more questions. – EntropicLqd

UE3:UTHeroDamage (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 03:16, 16 August 2009 by (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT3 Object >> Actor >> Inventory >> UTInventory >> UTTimedPowerup >> UTHeroDamage
Package: 
UTGame

Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.

Properties

DamageAmbientSound

Type: SoundCue

ambient sound played while active

Default value: SoundCue'A_Titan_Extras.Powerups.A_Powerup_UDamage_PowerLoopCue'

LastUDamageSoundTime

Type: float

last time we played that sound, so it isn't too often

OverlayMaterialInstance

Type: MaterialInterface

overlay material applied to owner

Default value: Material'PICKUPS.UDamage.M_UDamage_Overlay'

UDamageFireSound

Type: SoundCue

sound played when our owner fires

Default value: SoundCue'A_Titan_Extras.Powerups.A_Powerup_UDamage_FireCue'

VehicleWeaponEffect

Type: UTGameReplicationInfo.MeshEffect

particle effect played on vehicle weapons

Default value:

Member Value
Material Material'Envy_Effects.Energy.Materials.M_VH_UDamage'
Mesh StaticMesh'Envy_Effects.Mesh.S_VH_Powerups'

Default values

Property Value
bDropOnDeath False
bDropOnDisrupt False
bReceiveOwnerEvents True
bRenderOverlays True

Subobjects

Sprite

Class: Engine.SpriteComponent

Inherits from: UTTimedPowerup.Sprite

No new values.

Functions

Static functions

AddWeaponOverlay

simulated static function AddWeaponOverlay (UTGameReplicationInfo GRI)

Overrides: UTInventory.AddWeaponOverlay

(Description copied from UTInventory.AddWeaponOverlay)
adds weapon overlay material this item uses (if any) to the GRI in the correct spot

See: UTPawn.WeaponOverlayFlags, UTWeapon::SetWeaponOverlayFlags

Instance functions

DisplayPowerup

simulated function DisplayPowerup (Canvas Canvas, UTHUD HUD, float ResolutionScale, out float YPos)

Overrides: UTTimedPowerup.DisplayPowerup


GivenTo

function GivenTo (Pawn NewOwner, optional bool bDoNotActivate)

Overrides: UTTimedPowerup.GivenTo

(Description copied from Inventory.GivenTo)
This Inventory Item has just been given to this Pawn (server only)

Parameters:

  • thisPawn - new Inventory owner
  • bDoNotActivate - If true, this item will not try to activate

ItemRemovedFromInvManager

function ItemRemovedFromInvManager ()

Overrides: Inventory.ItemRemovedFromInvManager

Event called when Item is removed from Inventory Manager. Network: Authority

OwnerEvent

simulated function OwnerEvent (name EventName)

Overrides: Inventory.OwnerEvent


PlayUDamageFadingSound

function PlayUDamageFadingSound ()