Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

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[edit]

Property group 'WeaponInvDispersion'[edit]

AltChargeTime[edit]

Type: float


Default value: 2.0

AltEnergyTimer[edit]

Type: float


Default value: 0.25

MaxAltEnergy[edit]

Type: int


Default value: 12

RampUpRate[edit]

Type: float


Default value: 0.4

Internal variables[edit]

AltEnergy[edit]

Type: int


FireMode[edit]

Type: EFireMode


RampUp[edit]

Type: float


Default values[edit]

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[edit]

EFireMode[edit]

FM_None 
FM_Fire 
FM_Charged 
FM_AltFire 

Functions[edit]

Events[edit]

TravelPreAccept[edit]

event TravelPreAccept ()

Overrides: Weapon.TravelPreAccept


Other instance functions[edit]

AuthorityAltFire[edit]

function AuthorityAltFire ()

Overrides: U2Weapon.AuthorityAltFire


EverywhereAltFire[edit]

simulated function EverywhereAltFire ()

Overrides: U2Weapon.EverywhereAltFire


GetAltEnergyPct[edit]

simulated function float GetAltEnergyPct ()


GetAltFireAmmoUsed[edit]

simulated function int GetAltFireAmmoUsed ()

Overrides: U2Weapon.GetAltFireAmmoUsed


HandleTargetDetails[edit]

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

Overrides: U2Weapon.HandleTargetDetails


IncAltEnergy[edit]

simulated function IncAltEnergy ()


IsAltCharging[edit]

simulated function bool IsAltCharging ()


NotifyPlaySoundSlot[edit]

simulated function NotifyPlaySoundSlot (string Slot)

Overrides: U2Weapon.NotifyPlaySoundSlot


PlayAltFiring[edit]

simulated function PlayAltFiring ()

Overrides: U2Weapon.PlayAltFiring


PlayFiring[edit]

simulated function PlayFiring ()

Overrides: U2Weapon.PlayFiring


PostSetAimingParameters[edit]

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

Overrides: U2Weapon.PostSetAimingParameters


PreSetAimingParameters[edit]

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

Overrides: U2Weapon.PreSetAimingParameters


ProjectileFire[edit]

function Projectile ProjectileFire (class<ProjectileProjClass)

Overrides: U2Weapon.ProjectileFire


SwitchAway[edit]

simulated function SwitchAway ()

Overrides: U2Weapon.SwitchAway


States[edit]

AltCharging[edit]

Modifiers: simulated

Ignores: AltFire, Fire

AltCharging.BeginState[edit]

simulated event BeginState ()

Overrides: Object.BeginState (global)


AltCharging.EndState[edit]

simulated event EndState ()

Overrides: Object.EndState (global)


AltCharging.Tick[edit]

simulated event Tick (float DeltaSeconds)

Overrides: Actor.Tick (global)


AltCharging.GetAltEnergyPct[edit]

simulated function float GetAltEnergyPct ()

Overrides: GetAltEnergyPct (global)


AltCharging.IncAltEnergy[edit]

simulated function IncAltEnergy ()

Overrides: IncAltEnergy (global)


AltCharging.IsAltCharging[edit]

simulated function bool IsAltCharging ()

Overrides: IsAltCharging (global)


Idle[edit]

Inherits from: U2Weapon.Idle

Modifiers: simulated