There is no spoon

UE2:WeaponInvDispersion (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Inventory >> Weapon >> U2Weapon >> WeaponInvDispersion
Package: 
U2Weapons
Direct subclasses:
WeaponInvDispersionSmall, WeaponTutorialInvDispersion

WeaponInvDispersion.uc $Author: Mfox $ $Date: 12/13/02 2:31a $ $Revision: 52 $

Properties

Property group 'WeaponInvDispersion'

AltChargeTime

Type: float


Default value: 2.0

AltEnergyTimer

Type: float


Default value: 0.25

MaxAltEnergy

Type: int


Default value: 12

RampUpRate

Type: float


Default value: 0.4

Internal variables

AltEnergy

Type: int


FireMode

Type: EFireMode


RampUp

Type: float


Default values

Property Value
AIRating 0.4
AIRatingAltFire 0.35
AIRatingFire 0.4
AltProjectileClass Class'U2Weapons.projectileDispersionAlt'
AltRefireRate 1.0
AltShakeMag 1.0
AmmoName Class'U2Weapons.ammoInvDispersion'
bAltWarnTarget True
bCanThrow False
bCrosshairGlows True
bWarnTarget True
CrosshairName "DP_Cross"
FireOffset
Member Value
X 60.0
Y 9.0
Z -5.0
FireSound Sound'U2WeaponsA.Dispersion.DP_Fire'
FireTime 0.25
FirstPersonOffset
Member Value
X -12.0
Y 7.0
Z -5.0
FlashSkin Shader'WeaponFXT.Dispersion.DP_Skin2FX'
GroupOffset 2
IconIndex 1
ImpactHandlerClass Class'U2Weapons.impactDispersion'
InventoryGroup 4
ItemID "DP"
ItemName "DispersionPistol"
Mass 15.0
Mesh LegendMesh'GlmWeaponsG.DP_FP'
PickupAmmoCount 8
PickupClass Class'U2Weapons.weaponDispersion'
PlayerViewOffset
Member Value
X 0.0
Z 0.0
PreferCrouchingMultiplier 2.0
ProjectileClass Class'U2Weapons.projectileDispersion'
RangeIdealAltFire 384.0
RangeIdealFire 512.0
RangeLimitAltFire 32767.0
RangeLimitFire 32767.0
RangeMaxAltFire 1536.0
RangeMaxFire 1536.0
RangeMinAltFire 0.0
RangeMinFire 128.0
RatingRangeIdealAltFire 0.2
RatingRangeIdealFire 0.45
RatingRangeLimitFire 0.0010
RatingRangeMaxAltFire 0.1
RatingRangeMaxFire 0.1
RatingRangeMinAltFire 0.1
RatingRangeMinFire 0.25
RefireRate 0.2
ReloadTime 0.0
SelectSound Sound'U2WeaponsA.Dispersion.DP_Select'
ShakeMag 0.5
SoundVolume 255
ThirdPersonMesh LegendMesh'GlmWeaponsG.DP_TP'
WeaponAnimationType AT_Small

Enums

EFireMode

FM_None 
FM_Fire 
FM_Charged 
FM_AltFire 

Functions

Events

TravelPreAccept

event TravelPreAccept ()

Overrides: Weapon.TravelPreAccept


Other instance functions

AuthorityAltFire

function AuthorityAltFire ()

Overrides: U2Weapon.AuthorityAltFire


EverywhereAltFire

simulated function EverywhereAltFire ()

Overrides: U2Weapon.EverywhereAltFire


GetAltEnergyPct

simulated function float GetAltEnergyPct ()


GetAltFireAmmoUsed

simulated function int GetAltFireAmmoUsed ()

Overrides: U2Weapon.GetAltFireAmmoUsed


HandleTargetDetails

simulated function HandleTargetDetails (Actor A, Canvas Canvas, Object.Vector ViewLoc, Object.Rotator ViewRot)

Overrides: U2Weapon.HandleTargetDetails


IncAltEnergy

simulated function IncAltEnergy ()


IsAltCharging

simulated function bool IsAltCharging ()


NotifyPlaySoundSlot

simulated function NotifyPlaySoundSlot (string Slot)

Overrides: U2Weapon.NotifyPlaySoundSlot


PlayAltFiring

simulated function PlayAltFiring ()

Overrides: U2Weapon.PlayAltFiring


PlayFiring

simulated function PlayFiring ()

Overrides: U2Weapon.PlayFiring


PostSetAimingParameters

function PostSetAimingParameters (bool bAltFire, bool bInstant, float FireSpread, class<ProjectileProjClass, bool bWarnTarget, bool bTrySplash)

Overrides: U2Weapon.PostSetAimingParameters


PreSetAimingParameters

function bool PreSetAimingParameters (bool bAltFire, bool bInstant, float FireSpread, class<ProjectileProjClass, bool bWarnTarget, bool bTrySplash)

Overrides: U2Weapon.PreSetAimingParameters


ProjectileFire

function Projectile ProjectileFire (class<ProjectileProjClass)

Overrides: U2Weapon.ProjectileFire


SwitchAway

simulated function SwitchAway ()

Overrides: U2Weapon.SwitchAway


States

AltCharging

Modifiers: simulated

Ignores: AltFire, Fire

AltCharging.BeginState

simulated event BeginState ()

Overrides: Object.BeginState (global)


AltCharging.EndState

simulated event EndState ()

Overrides: Object.EndState (global)


AltCharging.Tick

simulated event Tick (float DeltaSeconds)

Overrides: Actor.Tick (global)


AltCharging.GetAltEnergyPct

simulated function float GetAltEnergyPct ()

Overrides: GetAltEnergyPct (global)


AltCharging.IncAltEnergy

simulated function IncAltEnergy ()

Overrides: IncAltEnergy (global)


AltCharging.IsAltCharging

simulated function bool IsAltCharging ()

Overrides: IsAltCharging (global)


Idle

Inherits from: U2Weapon.Idle

Modifiers: simulated