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

UE2:RedeemerFire (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 12:28, 30 November 2008 by Wormbo (Talk | contribs) (added descriptions)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT2004 Object >> WeaponFire >> ProjectileFire >> RedeemerFire
Package: 
XWeapons
Direct subclass:
RedeemerGuidedFire
This class in other games:
UT2003

Primary, unguided fire mode of the Redeemer weapon.

Default values[edit]

Property Value
AmmoClass Class'XWeapons.RedeemerAmmo'
AmmoPerFire 1
BotRefireRate 0.5
bRecommendSplashDamage True
bSplashDamage True
FireForce "redeemer_shoot"
FireRate 1.0
FireSound Sound'WeaponSounds.redeemer_shoot'
ProjectileClass Class'XWeapons.RedeemerProjectile'
ProjSpawnOffset
Member Value
X 100.0
Y 0.0
Z 0.0
ShakeOffsetMag
Member Value
X -20.0
Y 0.0
Z 0.0
ShakeOffsetRate
Member Value
X -1000.0
Y 0.0
Z 0.0
ShakeOffsetTime 2.0
ShakeRotMag
Member Value
X 0.0
Y 0.0
Z 0.0
ShakeRotRate
Member Value
X 0.0
Y 0.0
Z 0.0
ShakeRotTime 2.0
TransientSoundVolume 1.0

Instance functions[edit]

MaxRange[edit]

function float MaxRange ()

Overrides: WeaponFire.MaxRange

Returns the fixed maximum range of 20000UU for the AI.

SpawnProjectile[edit]

function Projectile SpawnProjectile (Object.Vector Start, Object.Rotator Dir)

Overrides: ProjectileFire.SpawnProjectile

Attempts to spawn the RedeemerProjectile at the Start location and if that fails at the Instigator's Location. If the redeemer rocket can't be spawned at all, a SmallRedeemerExplosion is spawned instead and 500 points of damage are applied to anyone within a radius of 400UU, including the player attempting to fire the redeemer.