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

UE2:ShieldGun (UT2003)

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

Shield Gun

Properties

ShieldHitForce

Type: string


Default value: "ShieldReflection"

ShieldHitSound

Type: Sound


Default value: Sound'WeaponSounds.ShieldGun.ShieldReflection'

Default values

Property Value
AIRating 0.35
AttachmentClass Class'XWeapons.ShieldAttachment'
bCanThrow False
bMeleeWeapon True
BobDamping 2.2
bShowChargingBar True
CenteredOffsetY -9.0
CenteredRoll 1000
CurrentRating 0.35
DefaultPriority 2
DisplayFOV 60.0
DrawScale 0.4
EffectOffset
Member Value
X 15.0
Y 5.5
Z 2.0
FireModeClass[0] XWeapons.ShieldFire
FireModeClass[1] XWeapons.ShieldAltFire
HudColor
Member Value
A 255
B 121
G 188
R 255
IconCoords
Member Value
X1 200
X2 321
Y1 281
Y2 371
IconMaterial Material'InterfaceContent.Hud.SkinA'
ItemName "Shield Gun"
Mesh Mesh'Weapons.ShieldGun_1st'
PickupClass Class'XWeapons.ShieldGunPickup'
PlayerViewOffset
Member Value
X 2.0
Y -0.7
Z -2.7
PlayerViewPivot
Member Value
Pitch 500
Roll 0
Yaw 500
PutDownAnim 'PutDown'
SelectForce "ShieldGun_change"
SelectSound Sound'WeaponSounds.ShieldGun_change'
SmallViewOffset
Member Value
X 10.0
Y 3.3
Z -6.7
UV2Texture Material'XGameShaders.WeaponEnvShader'

Functions

Events

AnimEnd

event AnimEnd (int channel)

Overrides: Weapon.AnimEnd


RenderOverlays

simulated event RenderOverlays (Canvas Canvas)

Overrides: Weapon.RenderOverlays


Timer

simulated event Timer ()

Overrides: Weapon.Timer


Other instance functions

AdjustPlayerDamage

function AdjustPlayerDamage (out int Damage, Pawn InstigatedBy, Object.Vector HitLocation, out Object.Vector Momentum, class<DamageTypeDamageType)

Overrides: Weapon.AdjustPlayerDamage


BestMode

function byte BestMode ()

Overrides: Weapon.BestMode


CanAttack

function bool CanAttack (Actor Other)

Overrides: Weapon.CanAttack


CenteredEffectStart

simulated function Object.Vector CenteredEffectStart ()

Overrides: Weapon.CenteredEffectStart


ChargeBar

simulated function float ChargeBar ()

Overrides: Weapon.ChargeBar


CheckReflect

function bool CheckReflect (Object.Vector HitLocation, out Object.Vector RefNormal, int AmmoDrain)

Overrides: Weapon.CheckReflect


ClientTakeHit

simulated function ClientTakeHit (int Drain)


DoAutoSwitch

simulated function DoAutoSwitch ()

Overrides: Weapon.DoAutoSwitch


DoReflectEffect

function DoReflectEffect (int Drain)

Overrides: Weapon.DoReflectEffect


FireHack

function FireHack (byte Mode)

Overrides: Weapon.FireHack


GetAIRating

function float GetAIRating ()

Overrides: Weapon.GetAIRating


GiveTo

function GiveTo (Pawn Other, optional Pickup Pickup)

Overrides: Weapon.GiveTo


SuggestAttackStyle

function float SuggestAttackStyle ()

Overrides: Weapon.SuggestAttackStyle


SuggestDefenseStyle

function float SuggestDefenseStyle ()

Overrides: Weapon.SuggestDefenseStyle