Mostly Harmless

UE3:UTBerserk (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> Actor >> Inventory >> UTInventory >> UTTimedPowerup >> UTBerserk
Package: 
UTGameContent
This class in other games:
UT3


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'
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
ReplacementPrimitive None
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
CachedMaxDrawDistance 8000.0
CastShadow False
CollideActors False
Materials[0] Material'Pickups.Berserk.Materials.M_Pickups_Berserk'
MaxDrawDistance 8000.0
ReplacementPrimitive None
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

Property Value
ReplacementPrimitive None

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, 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[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