The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

Difference between revisions of "UE3:UTHeroBerserk (UT3)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Talk)
 
m (1 revision: UT3 Titan Pack classes)
 
(No difference)

Latest revision as of 01:28, 16 August 2009

UT3 Object >> Actor >> Inventory >> UTInventory >> UTTimedPowerup >> UTHeroBerserk
Package: 
UTGame

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

Properties[edit]

FireRateMultiplier[edit]

Type: float

Multiplier applied to weapon fire rate

Default value: 1.7

OverlayMaterialInstance[edit]

Type: MaterialInterface

Overlay material applied to owner

Default value: Material'PICKUPS.Berserk.M_Berserk_Overlay'

Default values[edit]

Property Value
bDropOnDeath False
bDropOnDisrupt False
bReceiveOwnerEvents True
bRenderOverlays True

Subobjects[edit]

Sprite[edit]

Class: Engine.SpriteComponent

Inherits from: UTTimedPowerup.Sprite

No new values.

Functions[edit]

Static functions[edit]

AddWeaponOverlay[edit]

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

Events[edit]

Destroyed[edit]

simulated event Destroyed ()

Overrides: UTInventory.Destroyed


Other instance functions[edit]

AdjustPawn[edit]

simulated function AdjustPawn (UTPawn P, bool bRemoveBonus)

adds or removes our bonus from the given pawn

ClientGivenTo[edit]

reliable client function ClientGivenTo (Pawn NewOwner, bool bDoNotActivate)

Overrides: UTTimedPowerup.ClientGivenTo

(Description copied from Inventory.ClientGivenTo)
This Inventory Item has just been given to this Pawn (owning client only)

Parameters:

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

DisplayPowerup[edit]

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

Overrides: UTTimedPowerup.DisplayPowerup


GivenTo[edit]

function GivenTo (Pawn NewOwner, 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[edit]

function ItemRemovedFromInvManager ()

Overrides: Inventory.ItemRemovedFromInvManager

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