I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE1:Rifle (U1)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U1 Object >> Actor >> Inventory >> Weapon >> Rifle
Package: 
UnrealI
This class in other games:
RTNP, UT

Rifle.

Properties

NumFire

Type: int


Default values

Property Value
AIRating 0.7
AltRefireRate 0.3
AmmoName Class'UnrealI.RifleAmmo'
AutoSwitchPriority 9
bAltInstantHit True
bInstantHit True
bNoSmooth False
CollisionHeight 8.0
CollisionRadius 28.0
DeathMessage "%k put a bullet through %o's head."
FireOffset
Member Value
Y -5.0
Z -2.0
FireSound Sound'UnrealI.Rifle.RifleShot'
InventoryGroup 9
ItemName "Sniper Rifle"
Mesh LodMesh'UnrealI.RiPick'
PickupAmmoCount 8
PickupMessage "You got the Rifle"
PickupSound Sound'UnrealShare.Pickups.WeaponPickup'
PickupViewMesh LodMesh'UnrealI.RiPick'
PlayerViewMesh LodMesh'UnrealI.RifleM'
PlayerViewOffset
Member Value
X 3.2
Y -1.2
Z -1.7
RefireRate 0.6
SelectSound Sound'UnrealI.Rifle.RiflePickup'
ShakeMag 400.0
ShakeTime 0.15
ShakeVert 8.0
ThirdPersonMesh LodMesh'UnrealI.Rifle3rd'

Functions

Events

Timer

event Timer ()

Overrides: Actor.Timer


Other instance functions

AltFire

function AltFire (float Value)

Overrides: Weapon.AltFire


Finish

function Finish ()

Overrides: Weapon.Finish


PlayAltFiring

function PlayAltFiring ()

Overrides: Weapon.PlayAltFiring


PlayFiring

function PlayFiring ()

Overrides: Weapon.PlayFiring


PlayIdleAnim

function PlayIdleAnim ()

Overrides: Weapon.PlayIdleAnim


ProcessTraceHit

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

Overrides: Weapon.ProcessTraceHit


RateSelf

function float RateSelf (out int bUseAltMode)

Overrides: Weapon.RateSelf


States

AltFiring

AltFiring.Timer

event Timer ()

Overrides: Timer (global)


Idle

Idle.BeginState

event BeginState ()

Overrides: Object.BeginState (global)


Idle.EndState

event EndState ()

Overrides: Object.EndState (global)


Idle.AltFire

function AltFire (float Value)

Overrides: AltFire (global)


Idle.Fire

function Fire (float Value)

Overrides: Weapon.Fire (global)


NormalFire

NormalFire.AltFire

function AltFire (float F)

Overrides: Weapon.NormalFire.AltFire


NormalFire.Fire

function Fire (float F)

Overrides: Weapon.NormalFire.Fire