Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE2:SniperRifle (UT2003)

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

Sniper Rifle

Properties[edit]

Property group 'Gfx'[edit]

ArrowColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 0
G 0
R 255

borderX[edit]

Type: float


Default value: 60.0

borderY[edit]

Type: float


Default value: 60.0

ChargeColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 255
G 255
R 255

FocusColor[edit]

Type: Object.Color


Default value:

Member Value
A 215
B 126
G 90
R 71

focusX[edit]

Type: float


Default value: 135.0

focusY[edit]

Type: float


Default value: 105.0

innerArrowsX[edit]

Type: float


Default value: 42.0

innerArrowsY[edit]

Type: float


Default value: 42.0

NoTargetColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 200
G 200
R 200

RechargeOrigin[edit]

Type: Object.Vector


Default value:

Member Value
X 600.0
Y 330.0
Z 0.0

RechargeSize[edit]

Type: Object.Vector


Default value:

Member Value
X 10.0
Y -180.0
Z 0.0

TargetColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 255
G 255
R 255

testX[edit]

Type: float


Default value: 100.0

testY[edit]

Type: float


Default value: 100.0

Property group 'SniperRifle'[edit]

chargeEmitter[edit]

Type: xEmitter


zoomed[edit]

Type: bool


Internal variables[edit]

LastFOV[edit]

Type: float

Modifiers: transient


Default values[edit]

Property Value
AIRating 0.69
AttachmentClass Class'XWeapons.SniperAttachment'
BobDamping 2.3
bSniping True
CenteredOffsetY 0.0
CenteredYaw -500
CurrentRating 0.69
DefaultPriority 10
DisplayFOV 60.0
DrawScale 0.4
EffectOffset
Member Value
X 100.0
Y 28.0
Z -19.0
FireModeClass[0] XWeapons.SniperFire
FireModeClass[1] XWeapons.SniperZoom
HudColor
Member Value
A 255
B 255
G 170
R 185
IconCoords
Member Value
X1 322
X2 444
Y1 372
Y2 462
IconMaterial Material'InterfaceContent.Hud.SkinA'
InventoryGroup 9
ItemName "Lightning Gun"
LightBrightness 75.0
LightEffect LE_NonIncidence
LightHue 165
LightPeriod 3
LightRadius 4.0
LightSaturation 170
LightType LT_Steady
Mesh Mesh'Weapons.Sniper_1st'
PickupClass Class'XWeapons.SniperRiflePickup'
PlayerViewOffset
Member Value
X 0.0
Y 2.3
Z 0.0
PlayerViewPivot
Member Value
Pitch 0
Roll 0
Yaw 0
PutDownAnim 'PutDown'
SelectAnim 'PickUp'
SelectForce "SwitchToLightningGun"
SelectSound Sound'WeaponSounds.LightningGun.SwitchToLightningGun'
SmallViewOffset
Member Value
X 8.0
Y 6.3
Z -4.0
UV2Texture Material'XGameShaders.WeaponEnvShader'

Functions[edit]

Events[edit]

ClientStartFire[edit]

simulated event ClientStartFire (int mode)

Overrides: Weapon.ClientStartFire


ClientStopFire[edit]

simulated event ClientStopFire (int mode)

Overrides: Weapon.ClientStopFire


Destroyed[edit]

simulated event Destroyed ()

Overrides: Weapon.Destroyed


PostBeginPlay[edit]

simulated event PostBeginPlay ()

Overrides: Weapon.PostBeginPlay


RenderOverlays[edit]

simulated event RenderOverlays (Canvas Canvas)

Overrides: Weapon.RenderOverlays


Other instance functions[edit]

BestMode[edit]

function byte BestMode ()

Overrides: Weapon.BestMode


BringUp[edit]

simulated function BringUp (optional Weapon PrevWeapon)

Overrides: Weapon.BringUp


ClientWeaponThrown[edit]

simulated function ClientWeaponThrown ()

Overrides: Weapon.ClientWeaponThrown


GetAIRating[edit]

function float GetAIRating ()

Overrides: Weapon.GetAIRating


PutDown[edit]

simulated function bool PutDown ()

Overrides: Weapon.PutDown


RecommendRangedAttack[edit]

function bool RecommendRangedAttack ()

Overrides: Weapon.RecommendRangedAttack


SetZoomBlendColor[edit]

simulated function SetZoomBlendColor (Canvas c)


SuggestAttackStyle[edit]

function float SuggestAttackStyle ()

Overrides: Weapon.SuggestAttackStyle


SuggestDefenseStyle[edit]

function float SuggestDefenseStyle ()

Overrides: Weapon.SuggestDefenseStyle


States[edit]

TickEffects[edit]

TickEffects.Tick[edit]

simulated event Tick (float t)

Overrides: Actor.Tick (global)