Gah - a solution with more questions. – EntropicLqd

UE3:UTProj_Grenade (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> Actor >> Projectile >> UTProjectile >> UTProj_Grenade
Package: 
UTGame
Direct subclass:
UTProj_HeroGrenade
This class in other games:
UDK

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

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

No new values.

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