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

UTGame.UTProj_Grenade

Extends
UTProjectile
Modifiers
native

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

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.Projectile
      |   
      +-- UTGame.UTProjectile
         |   
         +-- UTGame.UTProj_Grenade

Direct Known Subclasses:

UTProj_HeroGrenade

Variables Summary
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
Inherited Variables from Engine.Projectile
bBegunPlay, bBlockedByInstigator, bInitRotationFromVelocity, bNotBlockedByShield, bRotationFollowsVelocity, bSwitchToZeroCollision, CylinderComponent, Damage, DamageRadius, ImpactedActor, ImpactSound, InstigatorController, MaxSpeed, MomentumTransfer, MyDamageType, NetCullDistanceSquared, SpawnSound, Speed, ZeroCollider, ZeroColliderComponent

Functions Summary
event HitWall (vector HitNormal, Actor Wall, PrimitiveComponent WallComp))
function Init (vector Direction))
function PhysicsVolumeChange (PhysicsVolume NewVolume ))
function PostBeginPlay ()))
function Timer ()))
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
Inherited Functions from Engine.Projectile
CanSplash, EncroachedBy, EncroachingOn, Explode, FellOutOfWorld, GetRange, GetTeamNum, GetTimeToLocation, HitWall, HurtRadius, Init, IsStationary, PostBeginPlay, PreBeginPlay, ProcessTouch, RandSpin, Reset, StaticGetTimeToLocation, Touch


Functions Detail

HitWall Source code

simulated event HitWall ( vector HitNormal, Actor Wall, PrimitiveComponent WallComp) )
Give a little bounce

Init Source code

function Init ( vector Direction) )

PhysicsVolumeChange Source code

simulated function PhysicsVolumeChange ( PhysicsVolume NewVolume ) )
When a grenade enters the water, kill effects/velocity and let it sink

PostBeginPlay Source code

simulated function PostBeginPlay ( ) )
Set the initial velocity and cook time

Timer Source code

simulated function Timer ( ) )
Explode


Defaultproperties

defaultproperties
{
   ExplosionSound=SoundCue'A_Weapon_RocketLauncher.Cue.A_Weapon_RL_Impact_Cue'
   ProjFlightTemplate=ParticleSystem'WP_RocketLauncher.Effects.P_WP_RocketLauncher_Smoke_Trail'
   ProjExplosionTemplate=ParticleSystem'WP_RocketLauncher.Effects.P_WP_RocketLauncher_RocketExplosion'
   ExplosionDecal=MaterialInstanceTimeVarying'WP_RocketLauncher.Decals.MITV_WP_RocketLauncher_Impact_Decal01'
   DecalWidth=128.000000
   DecalHeight=128.000000
   TossZ=245.000000
   CheckRadius=36.000000
   ExplosionLightClass=Class'UTGame.UTRocketExplosionLight'
   CustomGravityScaling=0.500000
   Speed=700.000000
   MaxSpeed=1000.000000
   Damage=100.000000
   DamageRadius=200.000000
   MomentumTransfer=50000.000000
   MyDamageType=Class'UTGame.UTDmgType_Grenade'
   ImpactSound=SoundCue'A_Weapon_RocketLauncher.Cue.A_Weapon_RL_GrenadeFloor_Cue'
   Begin Object Class=CylinderComponent Name=CollisionCylinder ObjName=CollisionCylinder Archetype=CylinderComponent'UTGame.Default__UTProjectile:CollisionCylinder'
      ObjectArchetype=CylinderComponent'UTGame.Default__UTProjectile:CollisionCylinder'
   End Object
   CylinderComponent=CollisionCylinder
   Components(0)=CollisionCylinder
   Physics=PHYS_Falling
   bNetTemporary=False
   bBounce=True
   LifeSpan=0.000000
   CollisionComponent=CollisionCylinder
   Name="Default__UTProj_Grenade"
   ObjectArchetype=UTProjectile'UTGame.Default__UTProjectile'
}

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