Mostly Harmless

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

Property group 'Minigun'

AttachLoc

Type: Object.Vector


Default value:

Member Value
X -77.0
Y 6.0
Z 4.0

AttachRot

Type: Object.Rotator


Default value:

Member Value
Pitch 22000
Roll 0
Yaw -16384

Blend

Type: float


Default value: 1.0

GearOffset

Type: float


GearRatio

Type: float


Default value: -2.37

ShellCaseEmitter

Type: xEmitter


Internal variables

CurrentMode

Type: int


CurrentRoll

Type: float


RollSpeed

Type: float


Default values

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

Events

AnimEnd

simulated event AnimEnd (int channel)

Overrides: Weapon.AnimEnd


Destroyed

simulated event Destroyed ()

Overrides: Weapon.Destroyed


PostBeginPlay

simulated event PostBeginPlay ()

Overrides: Weapon.PostBeginPlay


Other instance functions

BestMode

function byte BestMode ()

Overrides: Weapon.BestMode


BotFire

function bool BotFire (bool bFinished, optional name FiringMode)

Overrides: Weapon.BotFire


DetachFromPawn

simulated function DetachFromPawn (Pawn P)

Overrides: Weapon.DetachFromPawn


DropFrom

function DropFrom (Object.Vector StartLocation)

Overrides: Weapon.DropFrom


FirstPersonView

simulated function bool FirstPersonView ()


GetAIRating

function float GetAIRating ()

Overrides: Weapon.GetAIRating


OutOfAmmo

simulated function OutOfAmmo ()

Overrides: Weapon.OutOfAmmo


PutDown

simulated function bool PutDown ()

Overrides: Weapon.PutDown


ReturnToIdle

simulated function ReturnToIdle ()


SpawnShells

simulated function SpawnShells (float amountPerSec)


StartFire

simulated function bool StartFire (int mode)

Overrides: Weapon.StartFire


UpdateRoll

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