UE3:UTProj_Grenade (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 05:24, 17 January 2010 by Unknown user (talk)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
UDK Object >> Actor >> Projectile >> UTProjectile >> UTProj_Grenade
Package:
UTGame
This class in other games:


Default values

Property Value
bBounce True
bNetTemporary False
CheckRadius 36.0
CustomGravityScaling 0.5
Damage 100.0
DamageRadius 200.0
DecalHeight 128.0
DecalWidth 128.0
ExplosionDecal MaterialInstanceTimeVarying'WP_RocketLauncher.Decals.MITV_WP_RocketLauncher_Impact_Decal01'
ExplosionLightClass Class'UTGame.UTRocketExplosionLight'
ExplosionSound SoundCue'A_Weapon_RocketLauncher.Cue.A_Weapon_RL_Impact_Cue'
ImpactSound SoundCue'A_Weapon_RocketLauncher.Cue.A_Weapon_RL_GrenadeFloor_Cue'
LifeSpan 0.0
MaxSpeed 1000.0
MomentumTransfer 50000.0
MyDamageType Class'UTGame.UTDmgType_Grenade'
Physics PHYS_Falling
ProjExplosionTemplate ParticleSystem'WP_RocketLauncher.Effects.P_WP_RocketLauncher_RocketExplosion'
ProjFlightTemplate ParticleSystem'WP_RocketLauncher.Effects.P_WP_RocketLauncher_Smoke_Trail'
Speed 700.0
TossZ 245.0

Subobjects

CollisionCylinder

Class: Engine.CylinderComponent

Inherits from: UTProjectile.CollisionCylinder

Property Value
ReplacementPrimitive None

Functions

Events

HitWall

simulated event HitWall (Object.Vector HitNormal, Actor Wall, PrimitiveComponent WallComp)

Overrides: Projectile.HitWall

Give a little bounce

PhysicsVolumeChange

simulated event PhysicsVolumeChange (PhysicsVolume NewVolume)

Overrides: Actor.PhysicsVolumeChange

When a grenade enters the water, kill effects/velocity and let it sink

PostBeginPlay

simulated event PostBeginPlay ()

Overrides: UTProjectile.PostBeginPlay

Set the initial velocity and cook time

Timer

simulated event Timer ()

Overrides: Actor.Timer

Explode

Other instance functions

Init

function Init (Object.Vector Direction)

Overrides: UTProjectile.Init

Initialize the Projectile