I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

Difference between revisions of "UE3:UTProj Grenade (UDK)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Talk)
m (1 revision: class descriptions for UDK January update (part 8))
 
(No difference)

Latest revision as of 06:02, 17 January 2010

UDK Object >> Actor >> Projectile >> UTProjectile >> UTProj_Grenade
Package: 
UTGame
This class in other games:
UT3


Default values[edit]

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[edit]

CollisionCylinder[edit]

Class: Engine.CylinderComponent

Inherits from: UTProjectile.CollisionCylinder

Property Value
ReplacementPrimitive None

Functions[edit]

Events[edit]

HitWall[edit]

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

Overrides: Projectile.HitWall

Give a little bounce

PhysicsVolumeChange[edit]

simulated event PhysicsVolumeChange (PhysicsVolume NewVolume)

Overrides: Actor.PhysicsVolumeChange

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

PostBeginPlay[edit]

simulated event PostBeginPlay ()

Overrides: UTProjectile.PostBeginPlay

Set the initial velocity and cook time

Timer[edit]

simulated event Timer ()

Overrides: Actor.Timer

Explode

Other instance functions[edit]

Init[edit]

function Init (Object.Vector Direction)

Overrides: UTProjectile.Init

Initialize the Projectile