Always snap to grid

UE2:UT2K4OnslaughtPowerLinkDesigner (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
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[edit]

b_Clear[edit]

Type: GUIButton

Modifiers: automated


Default value: GUIButton'ClearButton'

b_DeleteSetup[edit]

Type: GUIButton

Modifiers: automated


Default value: GUIButton'DeleteSetupButton'

b_Export[edit]

Type: GUIButton

Modifiers: automated


Default value: GUIButton'ExportButton'

b_lClose[edit]

Type: GUIButton

Modifiers: automated


Default value: GUIButton'CloseButton'

b_SaveSetup[edit]

Type: GUIButton

Modifiers: automated


Default value: GUIButton'SaveSetupButton'

co_SetupName[edit]

Type: moComboBox

Modifiers: automated


Default value: moComboBox'SetupNameBox'

i_Map[edit]

Type: GUIImage

Modifiers: automated


Default value: GUIImage'LinkDesignerMap'

OnslaughtMapCenterX[edit]

Type: float


Default value: 0.5

OnslaughtMapCenterY[edit]

Type: float


Default value: 0.475

OnslaughtMapRadius[edit]

Type: float


Default value: 0.3

PRI[edit]

Type: ONSPlayerReplicationInfo


SelectedCore[edit]

Type: ONSPowerCore


SetupName[edit]

Type: string

name of setup we're currently editing

Default values[edit]

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

ClearButton[edit]

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

Class: XInterface.GUIButton

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

DeleteSetupButton[edit]

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

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

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

Class: XInterface.GUIToolTip

Property Value
ExpirationSeconds 5.0

SaveSetupButton[edit]

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

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

Events[edit]

Free[edit]

event Free ()

Overrides: GUIPage.Free


InitComponent[edit]

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: FloatingWindow.InitComponent


ResolutionChanged[edit]

event ResolutionChanged (int NewResX, int NewResY)

Overrides: FloatingWindow.ResolutionChanged


Other instance functions[edit]

AddSetupName[edit]

function AddSetupName (string SetupName)


DrawMap[edit]

function bool DrawMap (Canvas Canvas)


InternalListClick[edit]

function bool InternalListClick (GUIComponent Sender)


InternalOnChange[edit]

function InternalOnChange (GUIComponent Sender)


InternalOnClick[edit]

function bool InternalOnClick (GUIComponent Sender)


InternalOnMouseReleased[edit]

function InternalOnMouseReleased (GUIComponent Sender)


RemoveSetupName[edit]

function RemoveSetupName (string SetupName)


SetCurrentSetup[edit]

function SetCurrentSetup (string SetupName)


SetDefaultPosition[edit]

function SetDefaultPosition ()

Overrides: FloatingWindow.SetDefaultPosition


ShouldAnimate[edit]

function bool ShouldAnimate (GUIComponent C, optional bool bSetup)


UpdateGUIMapLists[edit]

function UpdateGUIMapLists ()