I love the smell of UnrealEd crashing in the morning. – tarquin

UE2:ClassicSniperRifle (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> Inventory >> Weapon >> ClassicSniperRifle
Package: 
UTClassic
This class in other games:
UT2003

null

Properties[edit]

Property group 'ClassicSniperRifle'[edit]

zoomed[edit]

Type: bool


Internal variables[edit]

ChargeColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 255
G 255
R 255

LastFOV[edit]

Type: float

Modifiers: transient


Default values[edit]

Property Value
AIRating 0.69
AttachmentClass Class'UTClassic.ClassicSniperAttachment'
BobDamping 2.3
BringUpTime 0.6
bSniping True
CenteredOffsetY 0.0
CenteredYaw -500
CullDistance 5000.0
CurrentRating 0.69
CustomCrossHairColor
Member Value
A 255
B 255
G 170
R 185
Description "This high muzzle velocity sniper rifle with a 10X scope is a lethal weapon at any range, especially if you can land a head shot."
DisplayFOV 60.0
DrawScale 0.48
EffectOffset
Member Value
X 100.0
Y 28.0
Z -19.0
FireModeClass[0] UTClassic.ClassicSniperFire
FireModeClass[1] XWeapons.SniperZoom
GroupOffset 1
HighDetailOverlay Material'UT2004Weapons.WeaponSpecMap2'
HudColor
Member Value
A 255
B 255
G 170
R 185
IconCoords
Member Value
X1 420
X2 512
Y1 180
Y2 210
IconMaterial Material'HudContent.Generic.HUD'
InventoryGroup 9
ItemName "Sniper Rifle"
LightBrightness 255.0
LightEffect LE_NonIncidence
LightHue 30
LightPeriod 3
LightRadius 5.0
LightSaturation 170
LightType LT_Steady
Mesh Mesh'SniperAnims.SniperRifle_1st'
PickupClass Class'UTClassic.ClassicSniperRiflePickup'
PlayerViewOffset
Member Value
X 27.7
Y 5.3
Z -10.6
PlayerViewPivot
Member Value
Pitch 0
Roll 0
Yaw 16384
Priority 12
PutDownAnim 'PutDown'
PutDownAnimRate 0.78
PutDownTime 0.58
SelectAnim 'PickUp'
SelectAnimRate 0.75
SelectForce "NewSniperLoad"
SelectSound Sound'NewWeaponSounds.newsniper_load'
SmallViewOffset
Member Value
X 36.9
Y 10.0
Z -14.0

Functions[edit]

Events[edit]

ClientStartFire[edit]

simulated event ClientStartFire (int mode)

Overrides: Weapon.ClientStartFire


ClientStopFire[edit]

simulated event ClientStopFire (int mode)

Overrides: Weapon.ClientStopFire


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


IncrementFlashCount[edit]

simulated function IncrementFlashCount (int Mode)

Overrides: Weapon.IncrementFlashCount


PutDown[edit]

simulated function bool PutDown ()

Overrides: Weapon.PutDown


RecommendRangedAttack[edit]

function bool RecommendRangedAttack ()

Overrides: Weapon.RecommendRangedAttack


SuggestAttackStyle[edit]

function float SuggestAttackStyle ()

Overrides: Weapon.SuggestAttackStyle


SuggestDefenseStyle[edit]

function float SuggestDefenseStyle ()

Overrides: Weapon.SuggestDefenseStyle


WantsZoomFade[edit]

simulated function bool WantsZoomFade ()

Overrides: Weapon.WantsZoomFade