Mostly Harmless

UE1:ShockRifle (UT)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT Object >> Actor >> Inventory >> Weapon >> TournamentWeapon >> ShockRifle
Package: 
BotPack
Direct subclass:
SuperShockRifle
This class in other games:
UT2003, UT2004

ShockRifle.

Properties[edit]

Property group 'ShockRifle'[edit]

HitDamage[edit]

Type: int


Default value: 40

Internal variables[edit]

bBotSpecialMove[edit]

Type: bool


TapTime[edit]

Type: float


Tracked[edit]

Type: Projectile


Default values[edit]

Property Value
AIRating 0.63
AltFireSound Sound'UnrealShare.ASMD.TazerAltFire'
AltProjectileClass Class'BotPack.ShockProj'
AltRefireRate 0.7
AmmoName Class'BotPack.ShockCore'
AutoSwitchPriority 4
bAltWarnTarget True
bInstantHit True
bNoSmooth False
BobDamping 0.975
bSplashDamage True
CollisionHeight 8.0
CollisionRadius 34.0
DeathMessage "%k inflicted mortal damage upon %o with the %w."
FireOffset
Member Value
X 10.0
Y -5.0
Z -8.0
FireSound Sound'UnrealShare.ASMD.TazerFire'
FiringSpeed 2.0
Icon Texture'Botpack.Icons.UseASMD'
InstFlash -0.4
InstFog
Member Value
Z 800.0
InventoryGroup 4
ItemName "Shock Rifle"
Mass 50.0
Mesh LodMesh'Botpack.ASMD2pick'
MyDamageType 'jolted'
NameColor
Member Value
G 0
R 128
PickupAmmoCount 20
PickupMessage "You got the ASMD Shock Rifle."
PickupSound Sound'UnrealShare.Pickups.WeaponPickup'
PickupViewMesh LodMesh'Botpack.ASMD2pick'
PlayerViewMesh LodMesh'Botpack.ASMD2M'
PlayerViewOffset
Member Value
X 4.4
Y -1.7
Z -1.6
PlayerViewScale 2.0
SelectSound Sound'UnrealShare.ASMD.TazerSelect'
StatusIcon Texture'Botpack.Icons.UseASMD'
ThirdPersonMesh LodMesh'Botpack.ASMD2hand'
WeaponDescription "Classification: Energy Rifle\n\nPrimary Fire: Instant hit laser beam.\n\nSecondary Fire: Large, slow moving plasma balls.\n\nTechniques: Hitting the secondary fire plasma balls with the regular fire's laser beam will cause an immensely powerful explosion."

Functions[edit]

Events[edit]

Timer[edit]

event Timer ()

Overrides: Actor.Timer


Other instance functions[edit]

AltFire[edit]

function AltFire (float Value)

Overrides: TournamentWeapon.AltFire


Finish[edit]

function Finish ()

Overrides: TournamentWeapon.Finish


PlayAltFiring[edit]

simulated function PlayAltFiring ()

Overrides: Weapon.PlayAltFiring


PlayFiring[edit]

simulated function PlayFiring ()

Overrides: Weapon.PlayFiring


PlayIdleAnim[edit]

simulated function PlayIdleAnim ()

Overrides: TournamentWeapon.PlayIdleAnim


ProcessTraceHit[edit]

function ProcessTraceHit (Actor Other, Object.Vector HitLocation, Object.Vector HitNormal, Object.Vector X, Object.Vector Y, Object.Vector Z)

Overrides: Weapon.ProcessTraceHit


ProjectileFire[edit]

function Projectile ProjectileFire (class<ProjectileProjClass, float ProjSpeed, bool bWarn)

Overrides: Weapon.ProjectileFire


RateSelf[edit]

function float RateSelf (out int bUseAltMode)

Overrides: Weapon.RateSelf


SpawnEffect[edit]

function SpawnEffect (Object.Vector HitLocation, Object.Vector SmokeLocation)


TraceFire[edit]

function TraceFire (float Accuracy)

Overrides: Weapon.TraceFire


States[edit]

ClientFiring[edit]

ClientFiring.AnimEnd[edit]

simulated event AnimEnd ()

Overrides: TournamentWeapon.ClientFiring.AnimEnd


ClientFiring.BeginState[edit]

simulated event BeginState ()

Overrides: Object.BeginState (global)


ClientFiring.EndState[edit]

simulated event EndState ()

Overrides: TournamentWeapon.ClientFiring.EndState


ClientFiring.ClientAltFire[edit]

simulated function bool ClientAltFire (float Value)

Overrides: TournamentWeapon.ClientFiring.ClientAltFire


ClientFiring.ClientFire[edit]

simulated function bool ClientFire (float Value)

Overrides: TournamentWeapon.ClientFiring.ClientFire


ComboMove[edit]

ComboMove.Tick[edit]

event Tick (float DeltaTime)

Overrides: Actor.Tick (global)


ComboMove.AltFire[edit]

function AltFire (float F)

Overrides: AltFire (global)


ComboMove.Fire[edit]

function Fire (float F)

Overrides: TournamentWeapon.Fire (global)


Idle[edit]

Idle.BeginState[edit]

event BeginState ()

Overrides: Object.BeginState (global)


Idle.EndState[edit]

event EndState ()

Overrides: Object.EndState (global)