I'm a doctor, not a mechanic

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

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Talk)
 
(Talk)
Line 113: Line 113:
 
'''Overrides:''' {{tl|PostBeginPlay|UTProjectile}}
 
'''Overrides:''' {{tl|PostBeginPlay|UTProjectile}}
  
When this actor begins its life, play any ambient sounds attached to it
+
Set the initial velocity and cook time
  
 
====Timer====
 
====Timer====

Revision as of 05:24, 17 January 2010

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


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