Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

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[edit]

ShieldHitForce[edit]

Type: string


Default value: "ShieldReflection"

ShieldHitSound[edit]

Type: Sound


Default value: Sound'WeaponSounds.ShieldGun.ShieldReflection'

Default values[edit]

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[edit]

Events[edit]

AnimEnd[edit]

event AnimEnd (int channel)

Overrides: Weapon.AnimEnd


RenderOverlays[edit]

simulated event RenderOverlays (Canvas Canvas)

Overrides: Weapon.RenderOverlays


Timer[edit]

simulated event Timer ()

Overrides: Weapon.Timer


Other instance functions[edit]

AdjustPlayerDamage[edit]

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

Overrides: Weapon.AdjustPlayerDamage


BestMode[edit]

function byte BestMode ()

Overrides: Weapon.BestMode


CanAttack[edit]

function bool CanAttack (Actor Other)

Overrides: Weapon.CanAttack


CenteredEffectStart[edit]

simulated function Object.Vector CenteredEffectStart ()

Overrides: Weapon.CenteredEffectStart


ChargeBar[edit]

simulated function float ChargeBar ()

Overrides: Weapon.ChargeBar


CheckReflect[edit]

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

Overrides: Weapon.CheckReflect


ClientTakeHit[edit]

simulated function ClientTakeHit (int Drain)


DoAutoSwitch[edit]

simulated function DoAutoSwitch ()

Overrides: Weapon.DoAutoSwitch


DoReflectEffect[edit]

function DoReflectEffect (int Drain)

Overrides: Weapon.DoReflectEffect


FireHack[edit]

function FireHack (byte Mode)

Overrides: Weapon.FireHack


GetAIRating[edit]

function float GetAIRating ()

Overrides: Weapon.GetAIRating


GiveTo[edit]

function GiveTo (Pawn Other, optional Pickup Pickup)

Overrides: Weapon.GiveTo


SuggestAttackStyle[edit]

function float SuggestAttackStyle ()

Overrides: Weapon.SuggestAttackStyle


SuggestDefenseStyle[edit]

function float SuggestDefenseStyle ()

Overrides: Weapon.SuggestDefenseStyle