The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:EnergyCannon (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2 Object >> Actor >> Inventory >> Weapon >> TurretWeapon >> EnergyCannon
Package: 
Weapons

null

Properties

EffectLocationA

Type: Object.Vector


EffectLocationB

Type: Object.Vector


EffectRotation

Type: Object.Rotator


FireA

Type: ParticleGenerator


FireB

Type: ParticleGenerator


MuzzleflashA

Type: ParticleGenerator


MuzzleFlashB

Type: ParticleGenerator


Default values

Property Value
AmmoAmount[0] 9999
AmmoFlags[0]
Member Value
bRapidFire True
AttachmentClass Class'Weapons.EnergyCannonAttachment'
AutoSwitchPriority 8
Crosshair "Crosshair_ER"
EnergyCost 0.0010
FireLastDownTime[0] 2.0
FireLastReloadTime[0] 2.0
FireLastRoundSound[0] Sound'WeaponsA.EnergyRifle.ER_FireLastRound'
FireLastRoundTime[0] 2.0
FirePitch[0]
Member Value
A 0.95
FireSound[0] Sound'WeaponsA.EnergyRifle.ER_Fire'
FireTime[0] 0.1
GroupOffset 1
IconIndex 7
InventoryGroup 4
ItemID "ER"
ItemName "Energy Cannon"
MaxAmmo[0] 9999
PickupAmmoCount 9999
PlayerViewOffset
Member Value
X 22.0
Y 1.0
Z -34.0
ReloadSound Sound'WeaponsA.EnergyRifle.ER_Reload'
ReloadTime 1.8
ReloadUnloadedSound Sound'WeaponsA.EnergyRifle.ER_ReloadUnloaded'
ReloadUnloadedTime 1.8
SelectSound Sound'WeaponsA.EnergyRifle.ER_Select'
ShakeMag[0] 1.0
SoundVolume 255

Functions

Events

Destroyed

simulated event Destroyed ()

Overrides: Weapon.Destroyed


PostBeginPlay

simulated event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


Other instance functions

AuthorityFire

function AuthorityFire ()

Overrides: Weapon.AuthorityFire


EverywhereFire

simulated function EverywhereFire ()

Overrides: Weapon.EverywhereFire


GetProjSpeed

function float GetProjSpeed (bool bAlt)

Overrides: Weapon.GetProjSpeed


HandleTargetDetails

simulated function HandleTargetDetails (Actor A, Canvas Canvas, Object.Vector ViewLoc, Object.Rotator ViewRot)

Overrides: Weapon.HandleTargetDetails


PlayFiring

simulated function PlayFiring ()

Overrides: Weapon.PlayFiring


States

Firing

Inherits from: Weapon.Firing

Modifiers: simulated

Ignores: AltFire, Fire

Firing.BeginState

simulated event BeginState ()

Overrides: Weapon.Firing.BeginState


Firing.EndState

simulated event EndState ()

Overrides: Weapon.Firing.EndState


Firing.Tick

simulated event Tick (float DeltaTime)

Overrides: Actor.Tick (global)