I'm a doctor, not a mechanic

UE2:ProjectileMiniRocket (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Projectile >> U2Projectile >> ProjectileMiniRocket
Package: 
U2Weapons

projectileMiniRocket.uc -- spawned by the weaponRocketLauncher AltFire() $Author: Mfox $ $Date: 1/05/03 8:50p $ $Revision: 23 $

Properties[edit]

Property group 'projectileMiniRocket'[edit]

MidPointOffset[edit]

Type: float


Default value: 512.0

PeriodRange[edit]

Type: Object.Range


Default value:

Member Value
A 0.8
B 1.5

SpreadRate[edit]

Type: float

MJL: does this break replication?

Default value: 128.0

TurnRate[edit]

Type: float


Default value: 2.0

TurnRateRampUp[edit]

Type: float


Default value: 0.6

xMagRange[edit]

Type: Object.Range


Default value:

Member Value
A 16.0
B 48.0

yMagRange[edit]

Type: Object.Range

spiral parameters.

Default value:

Member Value
A 16.0
B 48.0

Internal variables[edit]

MidPoint[edit]

Type: Object.Vector


MidPointTimer[edit]

Type: float


PaintedTarget[edit]

Type: Actor


Sal[edit]

Type: ParticleSalamander


xMag[edit]

Type: float


xPeriods[edit]

Type: float


yMag[edit]

Type: float


yPeriods[edit]

Type: float


Default values[edit]

Property Value
AmbientSound Sound'U2WeaponsA.RocketLauncher.RL_Rocket'
bNoStaticMeshCollide True
Damage 70.0
DamageRadius 80.0
DrawType DT_StaticMesh
ExplosionEffect Class'U2Weapons.RL_ExplosionAlt'
ExplosionSound Sound'U2WeaponsA.RocketLauncher.RL_ExplodeMini'
ImpactHandlerClass Class'U2Weapons.impactMiniRocket'
LifeSpan 12.0
LightBrightness 255
LightEffect LE_NonIncidence
LightHue 28
LightRadius 6
LightType LT_Steady
MaxSpeed 1200.0
MomentumTransfer 25000.0
MyDamageType Class'U2.DamageTypePhysical'
RemoteRole ROLE_None
ShakeDuration 0.3
ShakeMagnitude 20.0
ShakeRadius 512.0
SoundPitch 100
SoundRadius 100.0
SoundVolume 255
SpawnSound Sound'U2WeaponsA.RocketLauncher.RL_ExplodeMini'
Speed 1200.0
StaticMesh StaticMesh'343M.Projectiles.Rocket_Small'

Functions[edit]

Events[edit]

Destroyed[edit]

simulated event Destroyed ()

Overrides: U2Projectile.Destroyed


PhysicsVolumeChange[edit]

event PhysicsVolumeChange (PhysicsVolume NewVolume)

Overrides: U2Projectile.PhysicsVolumeChange


PostBeginPlay[edit]

simulated event PostBeginPlay ()

Overrides: U2Projectile.PostBeginPlay


Other instance functions[edit]

CalcLocation[edit]

simulated function Object.Vector CalcLocation ()


SetCorrectLocation[edit]

simulated function SetCorrectLocation (optional float DeltaTime)


SetTarget[edit]

simulated function bool SetTarget (Actor A)


SetupData[edit]

simulated function SetupData (out int RandSeed)


TakeDamage[edit]

function TakeDamage (int Damage, Pawn InstigatedBy, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType)

Overrides: U2Projectile.TakeDamage


States[edit]

Guided[edit]

Guided.Tick[edit]

simulated event Tick (float DeltaTime)

Overrides: Actor.Tick (global)


UnGuided[edit]

UnGuided.Tick[edit]

simulated event Tick (float DeltaTime)

Overrides: Actor.Tick (global)