I love the smell of UnrealEd crashing in the morning. – tarquin

UE3:UTProj_FlakShardMain (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> Actor >> Projectile >> UTProjectile >> UTProj_FlakShard >> UTProj_FlakShardMain
Package: 
UTGame

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

Properties

CenteredDamageBonus

Type: float

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

Default value: 100.0

CenteredMomentumBonus

Type: float

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

Default value: 90000.0

MaxBonusTime

Type: float

max time when any bonus still applies

Default value: 0.2

Default values

Property Value
Bounces 3

Subobjects

CollisionCylinder

Class: Engine.CylinderComponent

Inherits from: UTProj_FlakShard.CollisionCylinder

No new values.

Instance functions

GetDamage

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

simulated function float GetMomentumTransfer ()

Overrides: UTProj_FlakShard.GetMomentumTransfer

Increase momentum imparted based on how recently this shard was fired