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

UE3:UTBerserk (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 07:40, 23 May 2008 by (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT3 Object >> Actor >> Inventory >> UTInventory >> UTTimedPowerup >> UTBerserk
Package: 
UTGameContent
This class in other games:
UDK

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

Properties[edit]

BerserkAmbientSound[edit]

Type: SoundCue

ambient sound on the pawn when Berserk is active

Default value: SoundCue'A_Pickups_Powerups.PowerUps.A_Powerup_Berzerk_PowerLoopCue'

BerserkFadingSound[edit]

Type: SoundCue

sound played when the Berserk is running out

Default value: SoundCue'A_Pickups_Powerups.PowerUps.A_Powerup_Berzerk_WarningCue'

OverlayMaterialInstance[edit]

Type: MaterialInterface

overlay material applied to owner

Default value: Material'PICKUPS.Berserk.M_Berserk_Overlay'

VehicleWeaponEffect[edit]

Type: UTGameReplicationInfo.MeshEffect

particle effect played on vehicle weapons

Default value:

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

Default values[edit]

Property Value
bReceiveOwnerEvents True
bRenderOverlays True
DroppedPickupMesh StaticMeshComponent'MeshComponentA'
DroppedPickupParticles UTParticleSystemComponent'BerserkParticles'
HudIndex 1
IconCoords
Member Value
U 744.0
UL 35.0
VL 55.0
PickupFactoryMesh StaticMeshComponent'MeshComponentA'
PickupMessage "BERSERK!"
PickupSound SoundCue'A_Pickups_Powerups.PowerUps.A_Powerup_Berzerk_PickupCue'
PowerupOverSound SoundCue'A_Pickups_Powerups.PowerUps.A_Powerup_Berzerk_EndCue'
PowerupStatName 'POWERUPTIME_BERSERK'
PP_Scene_HighLights
Member Value
X -0.15
Y -0.08
Z 0.05

Subobjects[edit]

BerserkParticles[edit]

Class: UTGame.UTParticleSystemComponent

Property Value
bAutoActivate False
Template ParticleSystem'PICKUPS.Berserk.Effects.P_Pickups_Berserk_Idle'
Translation
Member Value
X 0.0
Y 0.0
Z 5.0

MeshComponentA[edit]

Class: Engine.StaticMeshComponent

Property Value
bCastDynamicShadow False
bForceDirectLightMap True
BlockRigidBody False
bUseAsOccluder False
CachedCullDistance 8000.0
CastShadow False
CollideActors False
CullDistance 8000.0
Materials[0] Material'PICKUPS.Berserk.Materials.M_Pickups_Berserk'
Scale3D
Member Value
X 0.7
Y 0.7
Z 0.7
StaticMesh StaticMesh'PICKUPS.Berserk.Mesh.S_Pickups_Berserk'
Translation
Member Value
X 0.0
Y 0.0
Z 5.0

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

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

PlayBerserkFadingSound[edit]

function PlayBerserkFadingSound ()

called on a timer to play Berserk ending sound