My program doesn't have bugs. It just develops random features.

UE2:Minigun (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2003 Object >> Actor >> Inventory >> Weapon >> Minigun
Package: 
XWeapons
Direct subclass:
ClassicMinigun
This class in other games:
RTNP, U1, UT, UT2004

Minigun

Properties[edit]

Property group 'Minigun'[edit]

AttachLoc[edit]

Type: Object.Vector


Default value:

Member Value
X -77.0
Y 6.0
Z 4.0

AttachRot[edit]

Type: Object.Rotator


Default value:

Member Value
Pitch 22000
Roll 0
Yaw -16384

Blend[edit]

Type: float


Default value: 1.0

GearOffset[edit]

Type: float


GearRatio[edit]

Type: float


Default value: -2.37

ShellCaseEmitter[edit]

Type: xEmitter


Internal variables[edit]

CurrentMode[edit]

Type: int


CurrentRoll[edit]

Type: float


RollSpeed[edit]

Type: float


Default values[edit]

Property Value
AIRating 0.71
AttachmentClass Class'XWeapons.MinigunAttachment'
BobDamping 2.25
CenteredOffsetY -6.0
CenteredRoll 0
CenteredYaw -500
CurrentRating 0.71
DefaultPriority 7
DisplayFOV 60.0
DrawScale 0.4
EffectOffset
Member Value
X 100.0
Y 18.0
Z -16.0
FireModeClass[0] XWeapons.MinigunFire
FireModeClass[1] XWeapons.MinigunAltFire
HudColor
Member Value
A 255
B 255
G 255
R 255
IconCoords
Member Value
X1 200
X2 321
Y1 372
Y2 462
IconMaterial Material'InterfaceContent.Hud.SkinA'
InventoryGroup 6
ItemName "Minigun"
LightBrightness 150.0
LightEffect LE_NonIncidence
LightHue 30
LightPeriod 3
LightRadius 4.0
LightSaturation 150
LightType LT_Pulse
Mesh Mesh'Weapons.Minigun_1st'
PickupClass Class'XWeapons.MinigunPickup'
PlayerViewOffset
Member Value
X 2.0
Y -1.0
Z 0.0
PlayerViewPivot
Member Value
Pitch 0
Roll 0
Yaw 500
PutDownAnim 'PutDown'
SelectForce "SwitchToMiniGun"
SelectSound Sound'WeaponSounds.Minigun.SwitchToMinigun'
SmallViewOffset
Member Value
X 8.0
Y 1.0
Z -2.0
SoundRadius 400.0
UV2Texture Material'XGameShaders.WeaponEnvShader'

Functions[edit]

Events[edit]

AnimEnd[edit]

simulated event AnimEnd (int channel)

Overrides: Weapon.AnimEnd


Destroyed[edit]

simulated event Destroyed ()

Overrides: Weapon.Destroyed


PostBeginPlay[edit]

simulated event PostBeginPlay ()

Overrides: Weapon.PostBeginPlay


Other instance functions[edit]

BestMode[edit]

function byte BestMode ()

Overrides: Weapon.BestMode


BotFire[edit]

function bool BotFire (bool bFinished, optional name FiringMode)

Overrides: Weapon.BotFire


DetachFromPawn[edit]

simulated function DetachFromPawn (Pawn P)

Overrides: Weapon.DetachFromPawn


DropFrom[edit]

function DropFrom (Object.Vector StartLocation)

Overrides: Weapon.DropFrom


FirstPersonView[edit]

simulated function bool FirstPersonView ()


GetAIRating[edit]

function float GetAIRating ()

Overrides: Weapon.GetAIRating


OutOfAmmo[edit]

simulated function OutOfAmmo ()

Overrides: Weapon.OutOfAmmo


PutDown[edit]

simulated function bool PutDown ()

Overrides: Weapon.PutDown


ReturnToIdle[edit]

simulated function ReturnToIdle ()


SpawnShells[edit]

simulated function SpawnShells (float amountPerSec)


StartFire[edit]

simulated function bool StartFire (int mode)

Overrides: Weapon.StartFire


UpdateRoll[edit]

simulated function UpdateRoll (float dt, float speed, int mode)