Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UTGame.UTProj_FlakShardMain

Extends
UTProj_FlakShard

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

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.Projectile
      |   
      +-- UTGame.UTProjectile
         |   
         +-- UTGame.UTProj_FlakShard
            |   
            +-- UTGame.UTProj_FlakShardMain

Variables Summary
floatCenteredDamageBonus
floatCenteredMomentumBonus
floatMaxBonusTime
Inherited Variables from UTGame.UTProj_FlakShard
bCheckShortRangeKill, Bounces, BounceTemplate, bShrinking, DamageAttenuation, DefaultHitSound, HitPawnSound, LastImpactEffect, RockSmokeTemplate, ShortRangeKillAnim, ShrinkTimer
Inherited Variables from UTGame.UTProjectile
AccelRate, AmbientSound, bAdvanceExplosionEffect, bAttachExplosionToPawns, bAttachExplosionToVehicles, bCheckProjectileLight, bImportantAmbientSound, bShuttingDown, bSuppressExplosionFX, bSuppressSounds, Buoyancy, bWaitForEffects, bWideCheck, CheckRadius, CustomGravityScaling, DecalDissolveParamName, DecalHeight, DecalWidth, DurationOfDecal, ExplosionDecal, ExplosionLightClass, ExplosionSound, InstigatorBaseVehicle, MaxEffectDistance, MaxExplosionLightDistance, ProjectileLight, ProjectileLightClass, ProjEffects, ProjExplosionTemplate, ProjFlightTemplate, TerminalVelocity, TossZ

Functions Summary
functionfloat GetDamage (Actor Other, vector HitLocation))
functionfloat GetMomentumTransfer ()))
Inherited Functions from UTGame.UTProj_FlakShard
GetDamage, GetMomentumTransfer, HitWall, Init, InternalSpawnFlightEffects, Landed, MyOnParticleSystemFinished, ProcessTouch, SpawnFlightEffects, SpawnImpactEffect, StartToShrink
Inherited Functions from UTGame.UTProjectile
CalcCamera, CalculateTravelTime, CanSplash, CheckMaxEffectDistance, CreateProjectileLight, Destroyed, EffectIsRelevant, Explode, GetHomingTarget, GetPawnOwner, GetRange, GetTerminalVelocity, GetTimeToLocation, HideProjectile, Init, Landed, MyOnParticleSystemFinished, PostBeginPlay, PreBeginPlay, ProcessTouch, ProjectileHurtRadius, SetExplosionEffectParameters, SetInitialState, ShouldSpawnExplosionLight, Shutdown, SpawnExplosionEffects, SpawnFlightEffects, StaticGetTimeToLocation, Tick, TornOff


Variables Detail

CenteredDamageBonus Source code

var float CenteredDamageBonus;
max bonus damage when (this) center flak shard hits enemy pawn

CenteredMomentumBonus Source code

var float CenteredMomentumBonus;
max bonus momentum when (this) center flak shard hits enemy pawn

MaxBonusTime Source code

var float MaxBonusTime;
max time when any bonus still applies


Functions Detail

GetDamage Source code

simulated function float GetDamage ( Actor Other, vector HitLocation) )
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 Source code

simulated function float GetMomentumTransfer ( ) )
Increase momentum imparted based on how recently this shard was fired


Defaultproperties

defaultproperties
{
   CenteredDamageBonus=100.000000
   CenteredMomentumBonus=90000.000000
   MaxBonusTime=0.200000
   Bounces=3
   Begin Object Class=CylinderComponent Name=CollisionCylinder ObjName=CollisionCylinder Archetype=CylinderComponent'UTGame.Default__UTProj_FlakShard:CollisionCylinder'
      ObjectArchetype=CylinderComponent'UTGame.Default__UTProj_FlakShard:CollisionCylinder'
   End Object
   CylinderComponent=CollisionCylinder
   Components(0)=CollisionCylinder
   CollisionComponent=CollisionCylinder
   Name="Default__UTProj_FlakShardMain"
   ObjectArchetype=UTProj_FlakShard'UTGame.Default__UTProj_FlakShard'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 10:00:55.117 - Created with UnCodeX