I don't need to test my programs. I have an error-correcting modem.

UE2:LinkGun (UT2004)

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

Link Gun

Properties

Property group 'LinkGun'

Linking

Type: bool


Links

Type: int


Default values

Property Value
AIRating 0.68
AttachmentClass Class'XWeapons.LinkAttachment'
bMatchWeapons True
BobDamping 1.575
CenteredOffsetY -5.0
CenteredRoll 3000
CenteredYaw -1000
CurrentRating 0.68
CustomCrosshair 10
CustomCrossHairColor
Member Value
A 255
B 128
G 255
R 128
CustomCrossHairTextureName "Crosshairs.Hud.Crosshair_Bracket1"
Description While the primary firing mode of the Link remains the same as its plasma-firing predecessor, the secondary cutting torch has been replaced with a switchable energy matrix. Upon contacting a teammate, it converts to a harmless carrier stream, offloading energy from the onboard cells to boost the output of any targeted player also using the Link.|It should be noted that while players are boosting a teammate, they are unable to defend themselves from attack."
DisplayFOV 60.0
EffectOffset
Member Value
X 100.0
Y 25.0
Z -3.0
FireModeClass[0] XWeapons.LinkAltFire
FireModeClass[1] XWeapons.LinkFire
HudColor
Member Value
A 255
B 128
G 255
R 128
IconCoords
Member Value
X1 169
X2 244
Y1 78
Y2 124
IconMaterial Material'HudContent.Generic.HUD'
IdleAnimRate 0.03
InventoryGroup 5
ItemName "Link Gun"
Mesh Mesh'NewWeapons2004.FatLinkGun'
OldCenteredOffsetY -12.0
OldCenteredRoll 3000
OldCenteredYaw -300
OldMesh Mesh'Weapons.LinkGun_1st'
OldPickup "WeaponStaticMesh.LinkGunPickup"
OldPlayerViewOffset
Member Value
X -2.0
Y -2.0
Z -3.0
OldPlayerViewPivot
Member Value
Pitch 0
Roll 0
Yaw 500
OldSmallViewOffset
Member Value
X 10.0
Y 4.0
Z -9.0
PickupClass Class'XWeapons.LinkGunPickup'
PlayerViewOffset
Member Value
X -5.0
Y -3.0
Z 0.0
PlayerViewPivot
Member Value
Pitch 0
Roll 0
Yaw 500
Priority 7
PutDownAnim 'PutDown'
SelectForce "SwitchToLinkGun"
SelectSound Sound'NewWeaponSounds.NewLinkSelect'
SmallViewOffset
Member Value
X 2.0
Y 0.0
Z -1.5

Functions

Events

Destroyed

simulated event Destroyed ()

Overrides: Weapon.Destroyed


RenderOverlays

simulated event RenderOverlays (Canvas Canvas)

Overrides: Weapon.RenderOverlays


WeaponTick

simulated event WeaponTick (float dt)

Overrides: Weapon.WeaponTick


Other instance functions

BestMode

function byte BestMode ()

Overrides: Weapon.BestMode


BringUp

simulated function BringUp (optional Weapon PrevWeapon)

Overrides: Weapon.BringUp


CanHeal

function bool CanHeal (Actor Other)

Overrides: Weapon.CanHeal


ConsumeAmmo

function bool ConsumeAmmo (int Mode, float load, optional bool bAmountNeededIsMax)

Overrides: Weapon.ConsumeAmmo


FocusOnLeader

function bool FocusOnLeader (bool bLeaderFiring)

Overrides: Weapon.FocusOnLeader


GetAIRating

function float GetAIRating ()

Overrides: Weapon.GetAIRating


GetEffectStart

simulated function Object.Vector GetEffectStart ()

Overrides: Weapon.GetEffectStart


HasAmmo

simulated function bool HasAmmo ()

Overrides: Weapon.HasAmmo


IncrementFlashCount

simulated function IncrementFlashCount (int mode)

Overrides: Weapon.IncrementFlashCount


LinkedConsumeAmmo

function bool LinkedConsumeAmmo (int Mode, float load, optional bool bAmountNeededIsMax)


LinkedTo

function bool LinkedTo (LinkGun L)


PutDown

simulated function bool PutDown ()

Overrides: Weapon.PutDown


StartFire

simulated function bool StartFire (int Mode)

Overrides: Weapon.StartFire


SuggestAttackStyle

function float SuggestAttackStyle ()

Overrides: Weapon.SuggestAttackStyle


SuggestDefenseStyle

function float SuggestDefenseStyle ()

Overrides: Weapon.SuggestDefenseStyle


UpdateLinkColor

simulated function UpdateLinkColor (LinkAttachment.ELinkColor Color)