Mostly Harmless

UE2:SniperRifle (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site

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

Contents

Package: 
XWeapons
This class in other games:
U2, UT, UT2003

Sniper Rifle

[edit] Properties

[edit] Property group 'Gfx'

[edit] ArrowColor

Type: Object.Color


Default value:

Member Value
A 255
B 0
G 0
R 255

[edit] borderX

Type: float


Default value: 60.0

[edit] borderY

Type: float


Default value: 60.0

[edit] ChargeColor

Type: Object.Color


Default value:

Member Value
A 255
B 255
G 255
R 255

[edit] FocusColor

Type: Object.Color


Default value:

Member Value
A 215
B 126
G 90
R 71

[edit] focusX

Type: float


Default value: 135.0

[edit] focusY

Type: float


Default value: 105.0

[edit] innerArrowsX

Type: float


Default value: 42.0

[edit] innerArrowsY

Type: float


Default value: 42.0

[edit] NoTargetColor

Type: Object.Color


Default value:

Member Value
A 255
B 200
G 200
R 200

[edit] RechargeOrigin

Type: Object.Vector


Default value:

Member Value
X 600.0
Y 330.0
Z 0.0

[edit] RechargeSize

Type: Object.Vector


Default value:

Member Value
X 10.0
Y -180.0
Z 0.0

[edit] TargetColor

Type: Object.Color


Default value:

Member Value
A 255
B 255
G 255
R 255

[edit] testX

Type: float


Default value: 100.0

[edit] testY

Type: float


Default value: 100.0

[edit] Property group 'SniperRifle'

[edit] chargeEmitter

Type: xEmitter


[edit] zoomed

Type: bool


[edit] Internal variables

[edit] LastFOV

Type: float

Modifiers: transient


[edit] Default values

Property Value
AIRating 0.69
AttachmentClass Class'XWeapons.SniperAttachment'
BobDamping 2.3
BringUpTime 0.36
bSniping True
CenteredOffsetY 0.0
CenteredYaw -500
CurrentRating 0.69
CustomCrossHairColor
Member Value
A 255
B 255
G 170
R 185
Description "The Lightning Gun is a high-power energy rifle capable of ablating even the heaviest carapace armor. Acquisition of a target at long range requires a steady hand, but the anti-jitter effect of the optical system reduces the weapon's learning curve significantly. Once the target has been acquired, the operator depresses the trigger, painting a proton 'patch' on the target. Milliseconds later the rifle emits a high voltage arc of electricity, which seeks out the charge differential and annihilates the target."
DisplayFOV 60.0
DrawScale 0.4
EffectOffset
Member Value
X 100.0
Y 28.0
Z -26.0
FireModeClass[0] XWeapons.SniperFire
FireModeClass[1] XWeapons.SniperZoom
HighDetailOverlay Material'UT2004Weapons.WeaponSpecMap2'
HudColor
Member Value
A 255
B 255
G 170
R 185
IconCoords
Member Value
X1 246
X2 331
Y1 182
Y2 210
IconMaterial Material'HudContent.Generic.HUD'
InventoryGroup 9
ItemName "Lightning Gun"
LightBrightness 255.0
LightEffect LE_NonIncidence
LightHue 165
LightPeriod 3
LightRadius 5.0
LightSaturation 170
LightType LT_Steady
Mesh Mesh'Weapons.Sniper_1st'
MinReloadPct 0.25
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
Priority 11
PutDownAnim 'PutDown'
SelectAnim 'PickUp'
SelectAnimRate 1.25
SelectForce "SwitchToLightningGun"
SelectSound Sound'WeaponSounds.LightningGun.SwitchToLightningGun'
SmallEffectOffset
Member Value
X 92.0
Y 32.0
Z -35.0
SmallViewOffset
Member Value
X 8.0
Y 6.3
Z -4.0

[edit] Functions

[edit] Events

[edit] ClientStartFire

simulated event ClientStartFire (int mode)

Overrides: Weapon.ClientStartFire


[edit] ClientStopFire

simulated event ClientStopFire (int mode)

Overrides: Weapon.ClientStopFire


[edit] Destroyed

simulated event Destroyed ()

Overrides: Weapon.Destroyed


[edit] PostBeginPlay

simulated event PostBeginPlay ()

Overrides: Weapon.PostBeginPlay


[edit] RenderOverlays

simulated event RenderOverlays (Canvas Canvas)

Overrides: Weapon.RenderOverlays


[edit] Other instance functions

[edit] BestMode

function byte BestMode ()

Overrides: Weapon.BestMode


[edit] BringUp

simulated function BringUp (optional Weapon PrevWeapon)

Overrides: Weapon.BringUp


[edit] ClientWeaponThrown

simulated function ClientWeaponThrown ()

Overrides: Weapon.ClientWeaponThrown


[edit] GetAIRating

function float GetAIRating ()

Overrides: Weapon.GetAIRating


[edit] IncrementFlashCount

simulated function IncrementFlashCount (int Mode)

Overrides: Weapon.IncrementFlashCount


[edit] PutDown

simulated function bool PutDown ()

Overrides: Weapon.PutDown


[edit] RecommendRangedAttack

function bool RecommendRangedAttack ()

Overrides: Weapon.RecommendRangedAttack


[edit] SetZoomBlendColor

simulated function SetZoomBlendColor (Canvas c)


[edit] SuggestAttackStyle

function float SuggestAttackStyle ()

Overrides: Weapon.SuggestAttackStyle


[edit] SuggestDefenseStyle

function float SuggestDefenseStyle ()

Overrides: Weapon.SuggestDefenseStyle


[edit] States

[edit] TickEffects

[edit] TickEffects.Tick

simulated event Tick (float t)

Overrides: Actor.Tick (global)