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

UE2:LinkFire (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> WeaponFire >> LinkFire
Package: 
XWeapons
Direct subclass:
FM_LinkTurret_AltFire
This class in other games:
UT2003

null

Properties[edit]

Property group 'LinkFire'[edit]

bFeedbackDeath[edit]

Type: bool


Damage[edit]

Type: int


Default value: 9

DamageType[edit]

Type: class<DamageType>


Default value: Class'XWeapons.DamTypeLinkShaft'

LinkBreakDelay[edit]

Type: float


Default value: 0.5

LinkFlexibility[edit]

Type: float


Default value: 0.64

MomentumTransfer[edit]

Type: float


Default value: 2000.0

TraceRange[edit]

Type: float


Default value: 1100.0

Internal variables[edit]

bDoHit[edit]

Type: bool


Beam[edit]

Type: LinkBeamEffect


BeamEffectClass[edit]

Type: class<LinkBeamEffect>


Default value: Class'XWeapons.LinkBeamEffect'

BeamSounds[edit]

Type: Sound

Array size: 4


Default value, index 0: Sound'WeaponSounds.LinkGun.BLinkGunBeam1'

Default value, index 1: Sound'WeaponSounds.LinkGun.BLinkGunBeam2'

Default value, index 2: Sound'WeaponSounds.LinkGun.BLinkGunBeam3'

Default value, index 3: Sound'WeaponSounds.LinkGun.BLinkGunBeam4'

bInitAimError[edit]

Type: bool


Default value: True

bLinkFeedbackPlaying[edit]

Type: bool


bStartFire[edit]

Type: bool


CurrentAimError[edit]

Type: Object.Rotator


DesiredAimError[edit]

Type: Object.Rotator


LinkBreakTime[edit]

Type: float


LinkScale[edit]

Type: float

Array size: 6


Default value, index 1: 0.5

Default value, index 2: 0.9

Default value, index 3: 1.2

Default value, index 4: 1.4

Default value, index 5: 1.5

LinkVolume[edit]

Type: byte


Default value: 240

LockedPawn[edit]

Type: Pawn


MakeLinkForce[edit]

Type: string


Default value: "LinkActivated"

MakeLinkSound[edit]

Type: Sound


Default value: Sound'WeaponSounds.LinkGun.LinkActivated'

SentLinkVolume[edit]

Type: byte


UpTime[edit]

Type: float


Default values[edit]

Property Value
AmmoClass Class'XWeapons.LinkAmmo'
AmmoPerFire 1
BotRefireRate 0.99
bPawnRapidFireAnim True
FireAnim 'Idle'
FireEndAnim 'None'
FireRate 0.12
FlashEmitterClass Class'XEffects.LinkMuzFlashBeam1st'
NoAmmoSound Sound'WeaponSounds.P1Reload5'
ShakeOffsetMag
Member Value
X 0.0
Y 1.0
Z 1.0
ShakeOffsetRate
Member Value
X 1000.0
Y 1000.0
Z 1000.0
ShakeOffsetTime 3.0
ShakeRotMag
Member Value
X 0.0
Y 0.0
Z 60.0
ShakeRotRate
Member Value
X 0.0
Y 0.0
Z 4000.0
ShakeRotTime 6.0
WarnTargetPct 0.2

Functions[edit]

Events[edit]

ModeDoFire[edit]

event ModeDoFire ()

Overrides: WeaponFire.ModeDoFire


ModeTick[edit]

simulated event ModeTick (float dt)

Overrides: WeaponFire.ModeTick


Other instance functions[edit]

AddLink[edit]

function bool AddLink (int Size, Pawn Starter)


AdjustLinkDamage[edit]

simulated function float AdjustLinkDamage (LinkGun LinkGun, Actor Other, float Damage)


BoundError[edit]

function bool BoundError ()


DestroyEffects[edit]

simulated function DestroyEffects ()

Overrides: WeaponFire.DestroyEffects


DoFireEffect[edit]

function DoFireEffect ()

Overrides: WeaponFire.DoFireEffect


GetFireStart[edit]

simulated function Object.Vector GetFireStart (Object.Vector X, Object.Vector Y, Object.Vector Z)

Overrides: WeaponFire.GetFireStart


GetPlayerAim[edit]

simulated function Object.Rotator GetPlayerAim (Object.Vector StartTrace, float InAimError)


IsLinkable[edit]

function bool IsLinkable (Actor Other)


myHasAmmo[edit]

simulated function bool myHasAmmo (LinkGun LinkGun)


PlayFiring[edit]

function PlayFiring ()

Overrides: WeaponFire.PlayFiring


RemoveLink[edit]

function RemoveLink (int Size, Pawn Starter)


SetLinkTo[edit]

function SetLinkTo (Pawn Other)


StartBerserk[edit]

function StartBerserk ()

Overrides: WeaponFire.StartBerserk


StopBerserk[edit]

function StopBerserk ()

Overrides: WeaponFire.StopBerserk


StopFiring[edit]

function StopFiring ()

Overrides: WeaponFire.StopFiring


UpdateLinkColor[edit]

simulated function UpdateLinkColor (LinkAttachment.ELinkColor Color)