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

Difference between revisions of "UE3:UTProj FlakShardMain (UT3)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Auto-generated page)
 
(Talk)
 
Line 29: Line 29:
  
 
max time when any bonus still applies
 
max time when any bonus still applies
 +
 +
'''Default value:''' 0.2
  
 
===Default values===
 
===Default values===

Latest revision as of 08:40, 23 May 2008

UT3 Object >> Actor >> Projectile >> UTProjectile >> UTProj_FlakShard >> UTProj_FlakShardMain
Package: 
UTGame

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

Properties[edit]

CenteredDamageBonus[edit]

Type: float

max bonus damage when (this) center flak shard hits enemy pawn

Default value: 100.0

CenteredMomentumBonus[edit]

Type: float

max bonus momentum when (this) center flak shard hits enemy pawn

Default value: 90000.0

MaxBonusTime[edit]

Type: float

max time when any bonus still applies

Default value: 0.2

Default values[edit]

Property Value
Bounces 3

Subobjects[edit]

CollisionCylinder[edit]

Class: Engine.CylinderComponent

Inherits from: UTProj_FlakShard.CollisionCylinder

No new values.

Instance functions[edit]

GetDamage[edit]

simulated function float GetDamage (Actor Other, Object.Vector HitLocation)

Overrides: UTProj_FlakShard.GetDamage

Increase damage to UTPawns based on how centered this shard is on target. If it is within the time MaxBonusTime time period. e.g. point blank shot with the flak cannon you will do mega damage. Once MaxBonusTime passes then this shard becomes a normal shard.

GetMomentumTransfer[edit]

simulated function float GetMomentumTransfer ()

Overrides: UTProj_FlakShard.GetMomentumTransfer

Increase momentum imparted based on how recently this shard was fired