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

UE2:Minigun (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT2004 Object >> Actor >> Inventory >> Weapon >> Minigun

Contents

Package: 
XWeapons
Direct subclass:
ClassicMinigun
This class in other games:
RTNP, U1, UT, UT2003

Minigun

[edit] Properties

[edit] Property group 'Minigun'

[edit] AttachLoc

Type: Object.Vector


Default value:

Member Value
X -77.0
Y 6.0
Z 4.0

[edit] AttachRot

Type: Object.Rotator


Default value:

Member Value
Pitch 22000
Roll 0
Yaw -16384

[edit] Blend

Type: float


Default value: 1.0

[edit] GearOffset

Type: float


[edit] GearRatio

Type: float


Default value: -2.37

[edit] ShellCaseEmitter

Type: xEmitter


[edit] Internal variables

[edit] CurrentMode

Type: int


[edit] CurrentRoll

Type: float


[edit] RollSpeed

Type: float


[edit] Default values

Property Value
AIRating 0.71
AttachmentClass Class'XWeapons.MinigunAttachment'
BobDamping 2.25
CenteredOffsetY -6.0
CenteredRoll 0
CenteredYaw -500
CurrentRating 0.71
CustomCrosshair 12
CustomCrossHairTextureName "Crosshairs.Hud.Crosshair_Circle1"
Description The T23-A is the rotary cannon of choice for the discerning soldier."
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
HighDetailOverlay Material'UT2004Weapons.WeaponSpecMap2'
HudColor
Member Value
A 255
B 255
G 255
R 255
IconCoords
Member Value
X1 246
X2 332
Y1 80
Y2 106
IconMaterial Material'HudContent.Generic.HUD'
InventoryGroup 6
ItemName "Minigun"
LightBrightness 255.0
LightEffect LE_NonIncidence
LightHue 30
LightPeriod 3
LightRadius 5.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
Priority 9
PutDownAnim 'PutDown'
SelectForce "SwitchToMiniGun"
SelectSound Sound'WeaponSounds.Minigun.SwitchToMinigun'
SmallViewOffset
Member Value
X 8.0
Y 1.0
Z -2.0
SoundRadius 400.0

[edit] Functions

[edit] Events

[edit] AnimEnd

simulated event AnimEnd (int channel)

Overrides: Weapon.AnimEnd


[edit] Destroyed

simulated event Destroyed ()

Overrides: Weapon.Destroyed


[edit] PostBeginPlay

simulated event PostBeginPlay ()

Overrides: Weapon.PostBeginPlay


[edit] Other instance functions

[edit] BestMode

function byte BestMode ()

Overrides: Weapon.BestMode


[edit] BotFire

function bool BotFire (bool bFinished, optional name FiringMode)

Overrides: Weapon.BotFire


[edit] DetachFromPawn

simulated function DetachFromPawn (Pawn P)

Overrides: Weapon.DetachFromPawn


[edit] DropFrom

function DropFrom (Object.Vector StartLocation)

Overrides: Weapon.DropFrom


[edit] FirstPersonView

simulated function bool FirstPersonView ()


[edit] GetAIRating

function float GetAIRating ()

Overrides: Weapon.GetAIRating


[edit] OutOfAmmo

simulated function OutOfAmmo ()

Overrides: Weapon.OutOfAmmo


[edit] PutDown

simulated function bool PutDown ()

Overrides: Weapon.PutDown


[edit] ReturnToIdle

simulated function ReturnToIdle ()


[edit] SpawnShells

simulated function SpawnShells (float amountPerSec)


[edit] StartFire

simulated function bool StartFire (int mode)

Overrides: Weapon.StartFire


[edit] UpdateRoll

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