UE2:U2XMPItem (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
U2XMP Object >> Actor >> Inventory >> Weapon >> U2Weapon >> U2XMPItem
Package:
U2
Direct subclass:
DeployableInventory

$Workfile: U2XMPItem.uc $ Created By: Aaron Leiby Created On: 4/16/2002 $Author: Mbaldwin $ $Date: 12/10/02 8:16p $ $Revision: 26 $ Derived from U2Inventory

Properties

Property group 'U2XMPItem'

ActivateSound

Type: Sound


DeActivateSound

Type: Sound


EffectSound

Type: Sound


Internal variables

bActivatable

Type: bool

true if Item can be activated

Default values

Property Value
AIRating -50.0
AIRatingAltFire -50.0
AIRatingFire -50.0
AltFireLastReloadTime 0.0
AltShakeMag 0.0
AltShakeTime 0.0
AutoSwitchPriority 0
bRepeatAltFire False
bRepeatFire False
CrosshairName ""
DownTime 0.0
FireLastReloadTime 0.0
GroupOffset 3
InventoryGroup 5
ItemID "XX"
ItemName "U2 XMP Item"
PlayerViewOffset
Member Value
X 0.0
Z 0.0
RangeIdealAltFire 1024.0
RangeIdealFire 512.0
RangeLimitAltFire 1400.0
RangeLimitFire 32767.0
RangeMaxAltFire 1400.0
RangeMaxFire 2048.0
RangeMinAltFire 80.0
RangeMinFire 192.0
RatingInsideMinAltFire -20.0
RatingInsideMinFire -20.0
RatingRangeIdealAltFire 0.75
RatingRangeIdealFire 0.8
RatingRangeLimitAltFire 0.01
RatingRangeLimitFire 0.01
RatingRangeMaxAltFire 0.2
RatingRangeMaxFire 0.2
RatingRangeMinAltFire -0.5
RatingRangeMinFire -0.5
ReloadTime 0.0
SelectTime 0.0
ShakeMag 0.0
ShakeTime 0.0

Functions

Events

Tick

simulated event Tick (float DeltaSeconds)

Overrides: Actor.Tick


Other instance functions

Activate

function Activate (bool AltActivate)


ActivateUnit

function bool ActivateUnit (bool bAltActivate)


AdjustDamage

function AdjustDamage (out float Damage)


AltFire

simulated function AltFire ()

Overrides: U2Weapon.AltFire


AuthorityAltFire

function AuthorityAltFire ()

Overrides: U2Weapon.AuthorityAltFire


AuthorityFire

function AuthorityFire ()

Overrides: U2Weapon.AuthorityFire


BringUp

simulated function BringUp ()

Overrides: Weapon.BringUp


Deactivate

function Deactivate ()


DrawDecos

simulated function DrawDecos (Canvas Canvas)

Overrides: U2Weapon.DrawDecos


DrawWeapon

simulated function DrawWeapon (Canvas Canvas)

Overrides: U2Weapon.DrawWeapon


Fire

simulated function Fire ()

Overrides: U2Weapon.Fire


GetClipAmount

simulated function int GetClipAmount ()

Overrides: U2Weapon.GetClipAmount


GetClipSize

simulated function int GetClipSize ()

Overrides: U2Weapon.GetClipSize


GiveTo

function GiveTo (Pawn Other, optional bool bDontTryToSwitch)

Overrides: U2Weapon.GiveTo


HasEnoughAmmo

function bool HasEnoughAmmo (int MinUses)

Overrides: U2Weapon.HasEnoughAmmo


PostRender

simulated function PostRender (Canvas Canvas)

Overrides: Weapon.PostRender


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


States

Activated

Activated.Activate

function Activate (bool AltActivate)

Overrides: Activate (global)


Activated.Deactivate

function Deactivate ()

Overrides: Deactivate (global)


Inactive

Modifiers: auto

Inactive.Activate

function Activate (bool AltActivate)

Overrides: Activate (global)


Inactive.Deactivate

function Deactivate ()

Overrides: Deactivate (global)