Cogito, ergo sum

UE2:PPainter (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Inventory >> Weapon >> U2Weapon >> WeaponInvFlameThrower >> PPainter
Package: 
U2Test

PPainter.uc Created By: Mike Fox Created On: 2/10/00 $Author: Mbaldwin $ $Date: 9/01/02 11:55p $ $Revision: 12 $

Constants

MaxBasicTextures

Value: 16


MaxSpecialTextures

Value: 32


Properties

Property group 'config'

BasicTextures

Type: Texture

Array size: 16 (MaxBasicTextures)

list of basic textures

Default value, index 0: Texture'U2Test.PaintBlobBlack'

Default value, index 1: Texture'U2Test.PaintBlobBlue'

Default value, index 2: Texture'U2Test.PaintBlobCyan'

Default value, index 3: Texture'U2Test.PaintBlobGreen'

Default value, index 4: Texture'U2Test.PaintBlobRed'

Default value, index 5: Texture'U2Test.PaintBlobMagenta'

Default value, index 6: Texture'U2Test.PaintBlobOrange'

Default value, index 7: Texture'U2Test.PaintBlobWhite'

Default value, index 8: Texture'U2Test.PaintBlobYellow'

SpecialTextures

Type: string

Array size: 32 (MaxSpecialTextures)

list of special texture strings

Property group 'PPainter'

CurrentBasicTextureIndex

Type: int


Default value: 1

CurrentSpecialTextureIndex

Type: int


Default value: 1

DecalClass

Type: class<U2Decal>

decal class to use

Default value: Class'U2Test.PPainterDecal'

DecalSize

Type: float


Default value: 0.4

TimeBetweenAltFireBlobs

Type: float


Default value: 0.2

TimeBetweenAltFireBlobsInitial

Type: float

delay between initial primary fire blob and subsequent rapid-fire blobs

Default value: 1.0

TimeBetweenPriFireBlobs

Type: float


Default value: 0.05

Internal variables

CurrentTexture

Type: Texture


NextAltFireTime

Type: float


NextPriFireTime

Type: float


NumBasicTextures

Type: int


NumSpecialTextures

Type: int


Default values

Property Value
AIRating 0.0010
AIRatingAltFire 0.0010
AIRatingFire 0.0010
bCanThrow False
InventoryGroup 5
ItemID "PP"
ItemName "PPainter"
PickupAmmoCount 999

Functions

Exec functions

ChangeSpecialTexture

exec function ChangeSpecialTexture (int Index)


ChangeTexture

exec function ChangeTexture (int Index)


SetTexture

exec function SetTexture (string TexStr)


Events

PreBeginPlay

event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


Other instance functions

AltFire

function AltFire ()

Overrides: U2Weapon.AltFire


ClientTraceImpact

simulated function ClientTraceImpact (Actor.CheckResult Hit)

Overrides: U2Weapon.ClientTraceImpact


Fire

function Fire ()

Overrides: U2Weapon.Fire


PlayFiring

simulated function PlayFiring ()

Overrides: U2Weapon.PlayFiring


States

AltFiring

Inherits from: WeaponInvFlameThrower.AltFiring

Ignores: AnimEnd

AltFiring.BeginState

event BeginState ()

Overrides: U2Weapon.AltFiring.BeginState


AltFiring.EndState

event EndState ()

Overrides: U2Weapon.AltFiring.EndState


AltFiring.Tick

event Tick (float DeltaTime)

Overrides: Actor.Tick (global)


AltFiring.Fire

function Fire ()

Overrides: Fire (global)


PriFiring

Ignores: AnimEnd

PriFiring.BeginState

event BeginState ()

Overrides: Object.BeginState (global)


PriFiring.EndState

event EndState ()

Overrides: Object.EndState (global)


PriFiring.Tick

event Tick (float DeltaTime)

Overrides: Actor.Tick (global)


PriFiring.AltFire

function AltFire ()

Overrides: AltFire (global)