UE2:UT2K4OnslaughtPowerLinkDesigner (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
UT2004 Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUIPage >> UT2K4GUIPage >> PopupPageBase >> FloatingWindow >> LargeWindow >> UT2K4OnslaughtPowerLinkDesigner
Package:
GUI2K4

Onslaught PowerLink Designer - page for creating custom powercore link setups

Written by Matt Oelfke (C) 2003, Epic Games, Inc. All Rights Reserved

Properties

b_Clear

Type: GUIButton

Modifiers: automated


Default value: GUIButton'ClearButton'

b_DeleteSetup

Type: GUIButton

Modifiers: automated


Default value: GUIButton'DeleteSetupButton'

b_Export

Type: GUIButton

Modifiers: automated


Default value: GUIButton'ExportButton'

b_lClose

Type: GUIButton

Modifiers: automated


Default value: GUIButton'CloseButton'

b_SaveSetup

Type: GUIButton

Modifiers: automated


Default value: GUIButton'SaveSetupButton'

co_SetupName

Type: moComboBox

Modifiers: automated


Default value: moComboBox'SetupNameBox'

i_Map

Type: GUIImage

Modifiers: automated


Default value: GUIImage'LinkDesignerMap'

OnslaughtMapCenterX

Type: float


Default value: 0.5

OnslaughtMapCenterY

Type: float


Default value: 0.475

OnslaughtMapRadius

Type: float


Default value: 0.3

PRI

Type: ONSPlayerReplicationInfo


SelectedCore

Type: ONSPowerCore


SetupName

Type: string

name of setup we're currently editing

Default values

Property Value
bAllowedAsLast True
Hint "Click on any PowerCore or PowerNode to select it, then click on another PowerCore or PowerNode to create a link between the two."
OnMouseRelease InternalOnMouseReleased
ToolTip GUIToolTip'MapToolTip'
WinHeight 0.9
WinTop 0.05

Subobjects

ClearButton

Class: XInterface.GUIButton

Property Value
Caption "Clear Links"
Hint "Clear all links on the map."
OnClick InternalOnClick
WinHeight 0.05
WinLeft 0.4
WinTop 0.731979
WinWidth 0.2

CloseButton

Class: XInterface.GUIButton

Property Value
Caption "Close"
OnClick InternalOnClick
WinHeight 0.05
WinLeft 0.425
WinTop 0.861979
WinWidth 0.15

DeleteSetupButton

Class: XInterface.GUIButton

Property Value
Caption "Delete"
Hint "Delete the currently selected Link Setup."
MenuState MSAT_Disabled
OnClick InternalOnClick
WinHeight 0.05
WinLeft 0.3
WinTop 0.155
WinWidth 0.15

ExportButton

Class: XInterface.GUIButton

Property Value
Caption "Export to UnrealEd"
Hint "LEVEL DESIGNERS ONLY: Export the current Link Setup to the clipboard. You can then open the map in UnrealEd and use Paste to create an Official Link Setup actor, making this Link Setup an Official Link Setup for your map."
OnClick InternalOnClick
WinHeight 0.05
WinLeft 0.4
WinTop 0.791979
WinWidth 0.2

LinkDesignerMap

Class: XInterface.GUIImage

Property Value
Hint "Click on any PowerCore or PowerNode to select it, then click on another PowerCore or PowerNode to create a link between the two."
Image Material'MenuWhite'
ImageRenderStyle MSTY_Normal
OnDraw DrawMap

MapToolTip

Class: XInterface.GUIToolTip

Property Value
ExpirationSeconds 5.0

SaveSetupButton

Class: XInterface.GUIButton

Property Value
Caption "Save"
Hint "Save the current Link Setup."
MenuState MSAT_Disabled
OnClick InternalOnClick
WinHeight 0.05
WinLeft 0.55
WinTop 0.155
WinWidth 0.15

SetupNameBox

Class: XInterface.moComboBox

Property Value
Caption "Name"
CaptionWidth 0.25
Hint "The name of this Link Setup. Type a name and click Save to create a new link setup."
MenuState MSAT_Disabled
OnChange InternalOnChange
WinHeight 0.03
WinLeft 0.3
WinTop 0.094531
WinWidth 0.4

Functions

Events

Free

event Free ()

Overrides: GUIPage.Free


InitComponent

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: FloatingWindow.InitComponent


ResolutionChanged

event ResolutionChanged (int NewResX, int NewResY)

Overrides: FloatingWindow.ResolutionChanged


Other instance functions

AddSetupName

function AddSetupName (string SetupName)


DrawMap

function bool DrawMap (Canvas Canvas)


InternalListClick

function bool InternalListClick (GUIComponent Sender)


InternalOnChange

function InternalOnChange (GUIComponent Sender)


InternalOnClick

function bool InternalOnClick (GUIComponent Sender)


InternalOnMouseReleased

function InternalOnMouseReleased (GUIComponent Sender)


RemoveSetupName

function RemoveSetupName (string SetupName)


SetCurrentSetup

function SetCurrentSetup (string SetupName)


SetDefaultPosition

function SetDefaultPosition ()

Overrides: FloatingWindow.SetDefaultPosition


ShouldAnimate

function bool ShouldAnimate (GUIComponent C, optional bool bSetup)


UpdateGUIMapLists

function UpdateGUIMapLists ()