UE2:UT2K4InvasionWaveConfig (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to navigation Jump to search
Package: 
GUI2K4

Created on: 09/17/2003 Custom page to handle configuration of the Waves property in SkaarjPack.Invasion

This is an example of how to write a GUIPage to handle a PlayInfo struct.

Written by Ron Prestenback © 2003, Epic Games, Inc. All Rights Reserved TODO: Override l_Title ondraw in order to have custom background color

Properties

ActiveWave

Type: int

Wave currently being edited

AIHint

Type: string

Modifiers: localized


Default value: "Allow/Disallow this monster"

DiffHint

Type: string

Modifiers: localized


Default value: "How hard should this wave be."

DurationHint

Type: string

Modifiers: localized


Default value: "How long should this wave last."

i_Background

Type: GUIImage

Modifiers: automated


lb_Waves

Type: GUIMultiOptionListBox

Modifiers: automated


Default value: GUIMultiOptionListBox'WavesList'

li_waves

Type: GUIMultiOptionList


MaxInvaderHint

Type: string

Modifiers: localized


Default value: "What is the maximum number of monsters to spawn for this wave."

nu_Duration

Type: moNumericEdit


nu_MaxMonster

Type: moNumericEdit


nu_Wave

Type: moNumericEdit

Modifiers: automated


Default value: moNumericEdit'WaveNumber'

PropName

Type: string


PropValue

Type: string


sl_Diff

Type: moSlider


WaveCopy

Type: WaveInfo

Array size: 16


WaveMonsters

Type: WaveMonster

Array size: 16


Default value, index 0:

Member Value
Mask 1
MName "Pupae"

Default value, index 1:

Member Value
Mask 2
MName "Razor Fly"

Default value, index 10:

Member Value
Mask 1024
MName "Fire Skaarj"

Default value, index 11:

Member Value
Mask 2048
MName "Warlord"

Default value, index 12:

Member Value
Mask 4096
MName "Pupae"

Default value, index 13:

Member Value
Mask 8192
MName "Pupae"

Default value, index 14:

Member Value
Mask 16384
MName "Razor Fly"

Default value, index 15:

Member Value
Mask 32768
MName "Razor Fly"

Default value, index 16:

Member Value
Mask 4
MName "Manta"

Default value, index 17:

Member Value
Mask 8
MName "Krall"

Default value, index 18:

Member Value
Mask 16
MName "Elite Krall"

Default value, index 19:

Member Value
Mask 32
MName "Gasbag"

Default value, index 20:

Member Value
Mask 64
MName "Brute"

Default value, index 21:

Member Value
Mask 128
MName "Skaarj"

Default value, index 22:

Member Value
Mask 256
MName "Behemoth"

Default value, index 23:

Member Value
Mask 512
MName "Ice Skaarj"

Waves

Type: array<string>


WaveText

Type: string

Modifiers: localized


Default values

Property Value
bDrawFocusedLast False
DefaultLeft 0.05
DefaultWidth 0.9
WinLeft 0.05
WinWidth 0.9

Subobjects

WaveNumber

Class: XInterface.moNumericEdit

Property Value
bAutoSizeCaption True
bBoundToParent True
bScaleToParent True
Caption "Wave No."
CaptionWidth 0.1
ComponentJustification TXTA_Center
ComponentWidth 0.3
Hint "Select the wave you'd like to configure"
MaxValue 15
MinValue 0
OnChange InternalOnChange
RenderWeight 0.7
WinHeight 0.042857
WinLeft 0.407353
WinTop 0.09299
WinWidth 0.22

WavesList

Class: XInterface.GUIMultiOptionListBox

Property Value
bBoundToParent True
bScaleToParent True
bVisibleWhenEmpty True
NumColumns 3
OnChange InternalOnChange
TabOrder 1
WinHeight 0.698149
WinLeft 0.0075
WinTop 0.150608
WinWidth 0.98375

Structs

WaveInfo

int WaveMask 
byte WaveMaxMonsters 
byte WaveDuration 
float WaveDifficulty 

WaveMonster

string MName 
int Mask 

Functions

Events

Closed

event Closed (GUIComponent Sender, bool bCancelled)

Overrides: GUIPage.Closed


InitComponent

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: LockedFloatingWindow.InitComponent


Other instance functions

AssembleWaveString

function AssembleWaveString ()


DisassembleWaveString

function DisassembleWaveString ()


GetDataString

function string GetDataString ()

Overrides: GUIPage.GetDataString


GetResult

function string GetResult ()


InitDifficulty

function InitDifficulty ()


InitDuration

function InitDuration ()


InitializeList

function InitializeList ()


InitMaxMonsters

function InitMaxMonsters ()


InitWaveControls

function InitWaveControls ()


InternalOnChange

function InternalOnChange (GUIComponent Sender)


SetOwner

function SetOwner (GUIComponent NewOwner)

Overrides: GUICustomPropertyPage.SetOwner


UpdateWaveValues

function UpdateWaveValues ()