Mostly Harmless

UE2:Pistol (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2 Object >> Actor >> Inventory >> Weapon >> Pistol
Package: 
Weapons

null

Properties

MuzzleflashA

Type: ParticleGenerator


MuzzleflashB

Type: ParticleGenerator


Default values

Property Value
AmmoAmount[0] 9
AmmoAmount[1] 9
AmmoFlags[0]
Member Value
bInstantHit True
AmmoFlags[1]
Member Value
bInstantHit True
AmmoUsed[1] 3
AttachmentClass Class'Weapons.PistolAttachment'
AutoSwitchPriority 7
BloodEffect[0] Class'Weapons.Blood'
BloodEffect[1] Class'Weapons.Blood'
Crosshair "Crosshair_Pistol"
Damage[0] 40
Damage[1] 65
DirtEffect[0] Class'Weapons.Dirt'
DirtEffect[1] Class'Weapons.Dirt'
FireLastDownTime[0] 2.44
FireLastDownTime[1] 2.43
FireLastReloadTime[0] 2.4
FireLastReloadTime[1] 2.4
FireLastRoundSound[0] Sound'WeaponsA.Pistol.P_FireLastRound'
FireLastRoundSound[1] Sound'WeaponsA.Pistol.P_AltFireLastRound'
FireLastRoundTime[0] 2.1
FireLastRoundTime[1] 2.1
FireSound[0] Sound'WeaponsA.Pistol.P_Fire'
FireSound[1] Sound'WeaponsA.Pistol.P_AltFire'
FireTime[0] 0.6
FireTime[1] 1.1
GroupOffset 1
IconIndex 2
InventoryGroup 2
ItemID "P"
ItemName "Pistol"
MaxAmmo[0] 36
MaxAmmo[1] 36
Mesh SkeletalMesh'WeaponsK.P_FP'
MomentumTransfer[0] 4000.0
MomentumTransfer[1] 8000.0
MyDamageType[0] Class'U2.PistolDamage'
MyDamageType[1] Class'U2.PistolDamage'
PickupAmmoCount 45
PlayerViewOffset
Member Value
X 10.0
Y 1.0
Z -22.0
ReloadSound Sound'WeaponsA.Pistol.P_Reload'
ReloadTime 1.888
ReloadUnloadedSound Sound'WeaponsA.Pistol.P_ReloadUnloaded'
ReloadUnloadedTime 1.33
SelectSound Sound'WeaponsA.Pistol.P_Select'
ShakeMag[0] 1.0
ShakeMag[1] 1.5
ShakeTime[0] 0.1
ShakeTime[1] 0.15
SparkEffect[0] Class'Weapons.Sparks'
SparkEffect[1] Class'Weapons.Sparks'
TraceDist 4800.0
TraceSpread[1] 0.15

Functions

Events

Destroyed

simulated event Destroyed ()

Overrides: Weapon.Destroyed


PostBeginPlay

simulated event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


Other instance functions

PlayFiring

simulated function PlayFiring ()

Overrides: Weapon.PlayFiring


States

Firing

Inherits from: Weapon.Firing

Modifiers: simulated

Firing.Fire

simulated function Fire ()

Overrides: Weapon.Fire (global)