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

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

MaxBasicTextures[edit]

Value: 16


MaxSpecialTextures[edit]

Value: 32


Properties[edit]

Property group 'config'[edit]

BasicTextures[edit]

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

Type: string

Array size: 32 (MaxSpecialTextures)

list of special texture strings

Property group 'PPainter'[edit]

CurrentBasicTextureIndex[edit]

Type: int


Default value: 1

CurrentSpecialTextureIndex[edit]

Type: int


Default value: 1

DecalClass[edit]

Type: class<U2Decal>

decal class to use

Default value: Class'U2Test.PPainterDecal'

DecalSize[edit]

Type: float


Default value: 0.4

TimeBetweenAltFireBlobs[edit]

Type: float


Default value: 0.2

TimeBetweenAltFireBlobsInitial[edit]

Type: float

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

Default value: 1.0

TimeBetweenPriFireBlobs[edit]

Type: float


Default value: 0.05

Internal variables[edit]

CurrentTexture[edit]

Type: Texture


NextAltFireTime[edit]

Type: float


NextPriFireTime[edit]

Type: float


NumBasicTextures[edit]

Type: int


NumSpecialTextures[edit]

Type: int


Default values[edit]

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

Functions[edit]

Exec functions[edit]

ChangeSpecialTexture[edit]

exec function ChangeSpecialTexture (int Index)


ChangeTexture[edit]

exec function ChangeTexture (int Index)


SetTexture[edit]

exec function SetTexture (string TexStr)


Events[edit]

PreBeginPlay[edit]

event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


Other instance functions[edit]

AltFire[edit]

function AltFire ()

Overrides: U2Weapon.AltFire


ClientTraceImpact[edit]

simulated function ClientTraceImpact (Actor.CheckResult Hit)

Overrides: U2Weapon.ClientTraceImpact


Fire[edit]

function Fire ()

Overrides: U2Weapon.Fire


PlayFiring[edit]

simulated function PlayFiring ()

Overrides: U2Weapon.PlayFiring


States[edit]

AltFiring[edit]

Inherits from: WeaponInvFlameThrower.AltFiring

Ignores: AnimEnd

AltFiring.BeginState[edit]

event BeginState ()

Overrides: U2Weapon.AltFiring.BeginState


AltFiring.EndState[edit]

event EndState ()

Overrides: U2Weapon.AltFiring.EndState


AltFiring.Tick[edit]

event Tick (float DeltaTime)

Overrides: Actor.Tick (global)


AltFiring.Fire[edit]

function Fire ()

Overrides: Fire (global)


PriFiring[edit]

Ignores: AnimEnd

PriFiring.BeginState[edit]

event BeginState ()

Overrides: Object.BeginState (global)


PriFiring.EndState[edit]

event EndState ()

Overrides: Object.EndState (global)


PriFiring.Tick[edit]

event Tick (float DeltaTime)

Overrides: Actor.Tick (global)


PriFiring.AltFire[edit]

function AltFire ()

Overrides: AltFire (global)