Mostly Harmless

UE2:Tab_ControlSettings (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2003 Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUIPanel >> GUITabPanel >> Tab_ControlSettings
Package: 
XInterface
Direct subclass:
Tab_SpeechBinder
This class in other games:
UE2Runtime, UT2004

(C) 2002, Epic Games

Constants[edit]

DefaultBindings[edit]

Value: 54

  1. of default bindings there are

Properties[edit]

Bindings[edit]

Type: array<KeyBinding>

Holds the array of key bindings

Default value, index 0:

Member Value
Alias ""
bIsSectionLabel True
KeyLabel "Movement"

Default value, index 1:

Member Value
Alias "MoveForward"
bIsSectionLabel False
KeyLabel "Forwards"

Default value, index 10:

Member Value
Alias "TurnLeft"
bIsSectionLabel False
KeyLabel "Turn Left"

Default value, index 11:

Member Value
Alias "TurnRight"
bIsSectionLabel False
KeyLabel "Turn Right"

Default value, index 12:

Member Value
Alias "LookUp"
bIsSectionLabel False
KeyLabel "Look Up"

Default value, index 13:

Member Value
Alias "LookDown"
bIsSectionLabel False
KeyLabel "Look Down"

Default value, index 14:

Member Value
Alias "CenterView"
bIsSectionLabel False
KeyLabel "Center View"

Default value, index 15:

Member Value
Alias ""
bIsSectionLabel True
KeyLabel "Weapons"

Default value, index 16:

Member Value
Alias "Fire"
bIsSectionLabel False
KeyLabel "Fire"

Default value, index 17:

Member Value
Alias "AltFire"
bIsSectionLabel False
KeyLabel "Alt-Fire"

Default value, index 18:

Member Value
Alias "ThrowWeapon"
bIsSectionLabel False
KeyLabel "Throw Weapon"

Default value, index 19:

Member Value
Alias "SwitchToBestWeapon"
bIsSectionLabel False
KeyLabel "Best Weapon"

Default value, index 20:

Member Value
Alias "MoveBackward"
bIsSectionLabel False
KeyLabel "Backwards"

Default value, index 21:

Member Value
Alias "NextWeapon"
bIsSectionLabel False
KeyLabel "Next Weapon"

Default value, index 22:

Member Value
Alias "PrevWeapon"
bIsSectionLabel False
KeyLabel "Prev Weapon"

Default value, index 23:

Member Value
Alias "SwitchToLastWeapon"
bIsSectionLabel False
KeyLabel "Last Weapon"

Default value, index 24:

Member Value
Alias ""
bIsSectionLabel True
KeyLabel "Weapon Selection"

Default value, index 25:

Member Value
Alias "SwitchWeapon 0"
bIsSectionLabel False
KeyLabel "Super Weapon"

Default value, index 26:

Member Value
Alias "SwitchWeapon 1"
bIsSectionLabel False
KeyLabel "Shield Gun"

Default value, index 27:

Member Value
Alias "SwitchWeapon 2"
bIsSectionLabel False
KeyLabel "Assault Rifle"

Default value, index 28:

Member Value
Alias "SwitchWeapon 3"
bIsSectionLabel False
KeyLabel "Bio-Rifle"

Default value, index 29:

Member Value
Alias "SwitchWeapon 4"
bIsSectionLabel False
KeyLabel "Shock Rifle"

Default value, index 30:

Member Value
Alias "SwitchWeapon 5"
bIsSectionLabel False
KeyLabel "Link Gun"

Default value, index 31:

Member Value
Alias "StrafeLeft"
bIsSectionLabel False
KeyLabel "Strafe Left"

Default value, index 32:

Member Value
Alias "SwitchWeapon 6"
bIsSectionLabel False
KeyLabel "Minigun"

Default value, index 33:

Member Value
Alias "SwitchWeapon 7"
bIsSectionLabel False
KeyLabel "Flak Cannon"

Default value, index 34:

Member Value
Alias "SwitchWeapon 8"
bIsSectionLabel False
KeyLabel "Rocket Launcher"

Default value, index 35:

Member Value
Alias "SwitchWeapon 9"
bIsSectionLabel False
KeyLabel "Lightning Rifle"

Default value, index 36:

Member Value
Alias "SwitchWeapon 10"
bIsSectionLabel False
KeyLabel "Translocator"

Default value, index 37:

Member Value
Alias ""
bIsSectionLabel True
KeyLabel "Communication"

Default value, index 38:

Member Value
Alias "Talk"
bIsSectionLabel False
KeyLabel "Say"

Default value, index 39:

Member Value
Alias "TeamTalk"
bIsSectionLabel False
KeyLabel "Team Say"

Default value, index 40:

Member Value
Alias "SpeechMenuToggle"
bIsSectionLabel False
KeyLabel "Speech Menu"

Default value, index 41:

Member Value
Alias ""
bIsSectionLabel True
KeyLabel "Taunts"

Default value, index 42:

Member Value
Alias "StrafeRight"
bIsSectionLabel False
KeyLabel "Strafe Right"

Default value, index 43:

Member Value
Alias "taunt pthrust"
bIsSectionLabel False
KeyLabel "Pelvic Thrust"

Default value, index 44:

Member Value
Alias "taunt asssmack"
bIsSectionLabel False
KeyLabel "Ass Smack"

Default value, index 45:

Member Value
Alias "taunt throatcut"
bIsSectionLabel False
KeyLabel "Throat Cut"

Default value, index 46:

Member Value
Alias ""
bIsSectionLabel True
KeyLabel "Hud"

Default value, index 47:

Member Value
Alias "GrowHud"
bIsSectionLabel False
KeyLabel "Grow Hud"

Default value, index 48:

Member Value
Alias "ShrinkHud"
bIsSectionLabel False
KeyLabel "Shrink Hud"

Default value, index 49:

Member Value
Alias ""
bIsSectionLabel True
KeyLabel "Miscellaneous"

Default value, index 50:

Member Value
Alias "Pause"
bIsSectionLabel False
KeyLabel "Pause"

Default value, index 51:

Member Value
Alias "shot"
bIsSectionLabel False
KeyLabel "Screenshot"

Default value, index 52:

Member Value
Alias "ShowMenu"
bIsSectionLabel False
KeyLabel "Menu"

Default value, index 53:

Member Value
Alias "Jump"
bIsSectionLabel False
KeyLabel "Jump"

Default value, index 54:

Member Value
Alias "ShowScores"
bIsSectionLabel False
KeyLabel "ScoreBoard"

Default value, index 55:

Member Value
Alias "ScoreToggle"
bIsSectionLabel False
KeyLabel "ScoreBoard Toggle"

Default value, index 56:

Member Value
Alias "InGameChat"
bIsSectionLabel False
KeyLabel "In Game Chat"

Default value, index 57:

Member Value
Alias "ServerInfo"
bIsSectionLabel False
KeyLabel "Server Info"

Default value, index 58:

Member Value
Alias "Walking"
bIsSectionLabel False
KeyLabel "Walk"

Default value, index 59:

Member Value
Alias "Duck"
bIsSectionLabel False
KeyLabel "Crouch"

Default value, index 60:

Member Value
Alias "Strafe"
bIsSectionLabel False
KeyLabel "Strafe Toggle"

Default value, index 61:

Member Value
Alias ""
bIsSectionLabel True
KeyLabel "Looking"

BkColor[edit]

Type: Object.Color


Default value:

Member Value
A 200
B 100
G 24
R 24

bListInitialised[edit]

Type: bool


bSetNextKeyPress[edit]

Type: bool


Footer[edit]

Type: string

Modifiers: localized


Default value: "] Perform this action "

HackIndex[edit]

Type: int

Hacky Hacky

Header[edit]

Type: string

Modifiers: localized


Default value: "["

Labels[edit]

Type: string

Array size: 54

Modifiers: localized

fixed-length array for localization. accesses clamped to [0,74]

Default value, index 0: "Movement"

Default value, index 1: "Forwards"

Default value, index 10: "Turn Left"

Default value, index 11: "Turn Right"

Default value, index 12: "Look Up"

Default value, index 13: "Look Down"

Default value, index 14: "Center View"

Default value, index 15: "Weapons"

Default value, index 16: "Fire"

Default value, index 17: "Alt-Fire"

Default value, index 18: "Throw Weapon"

Default value, index 19: "Best Weapon"

Default value, index 20: "Backwards"

Default value, index 21: "Next Weapon"

Default value, index 22: "Prev Weapon"

Default value, index 23: "Last Weapon"

Default value, index 24: "Weapon Selection"

Default value, index 25: "Super Weapon"

Default value, index 26: "Shield Gun"

Default value, index 27: "Assault Rifle"

Default value, index 28: "Bio-Rifle"

Default value, index 29: "Shock Rifle"

Default value, index 30: "Link Gun"

Default value, index 31: "Strafe Left"

Default value, index 32: "Minigun"

Default value, index 33: "Flak Cannon"

Default value, index 34: "Rocket Launcher"

Default value, index 35: "Lightning Rifle"

Default value, index 36: "Translocator"

Default value, index 37: "Communication"

Default value, index 38: "Say"

Default value, index 39: "Team Say"

Default value, index 40: "Speech Menu"

Default value, index 41: "Taunts"

Default value, index 42: "Strafe Right"

Default value, index 43: "Pelvic Thrust"

Default value, index 44: "Ass Smack"

Default value, index 45: "Throat Cut"

Default value, index 46: "Hud"

Default value, index 47: "Grow Hud"

Default value, index 48: "Shrink Hud"

Default value, index 49: "Miscellaneous"

Default value, index 50: "Pause"

Default value, index 51: "Screenshot"

Default value, index 52: "Menu"

Default value, index 53: "Jump"

Default value, index 54: "ScoreBoard"

Default value, index 55: "ScoreBoard Toggle"

Default value, index 56: "In Game Chat"

Default value, index 57: "Server Info"

Default value, index 58: "Walk"

Default value, index 59: "Crouch"

Default value, index 60: "Strafe Toggle"

Default value, index 61: "Looking"

MyListBox[edit]

Type: GUIListBox


NewIndex[edit]

Type: int


NewSubIndex[edit]

Type: int


row[edit]

Type: int


SectionLabelMargin[edit]

Type: float


Default value: 10.0

SelStyle[edit]

Type: GUIStyles


Default values[edit]

Property Value
Controls[0] GUIListBox'KeyConfigKeyList'
Controls[1] GUIImage'KeyConfigBK1'
Controls[2] GUIImage'KeyConfigBK2'
Controls[3] GUIImage'KeyConfigBK3'
Controls[4] GUILabel'KeyConfigAliasLabel'
Controls[5] GUILabel'KeyConfigAliasLabel2'
Controls[6] GUILabel'KeyConfigAliasLabel3'
Controls[7] GUIButton'KeyResetButton'
WinHeight 0.74
WinTop 0.15

Subobjects[edit]

KeyConfigAliasLabel[edit]

Class: XInterface.GUILabel

Property Value
Caption "Action"
TextAlign TXTA_Center
TextColor
Member Value
A 255
B 255
G 255
R 255
TextFont "UT2HeaderFont"
WinHeight 32.0
WinLeft 0.124414
WinTop 0.004167
WinWidth 0.25

KeyConfigAliasLabel2[edit]

Class: XInterface.GUILabel

Property Value
Caption "Key 1"
TextAlign TXTA_Center
TextColor
Member Value
A 255
B 255
G 255
R 255
TextFont "UT2HeaderFont"
WinHeight 32.0
WinLeft 0.449414
WinTop 0.004167
WinWidth 0.25

KeyConfigAliasLabel3[edit]

Class: XInterface.GUILabel

Property Value
Caption "Key 2"
TextAlign TXTA_Center
TextColor
Member Value
A 255
B 255
G 255
R 255
TextFont "UT2HeaderFont"
WinHeight 32.0
WinLeft 0.686914
WinTop 0.004167
WinWidth 0.25

KeyConfigBK1[edit]

Class: XInterface.GUIImage

Property Value
bAcceptsInput True
bNeverFocus True
Image Material'InterfaceContent.Menu.BorderBoxD'
ImageColor
Member Value
A 160
B 255
G 255
R 255
ImageRenderStyle MSTY_Alpha
ImageStyle ISTY_Stretched
WinHeight 0.834063
WinLeft 0.021641
WinTop 0.083281
WinWidth 0.431248

KeyConfigBK2[edit]

Class: XInterface.GUIImage

Property Value
Image Material'InterfaceContent.Menu.BorderBoxD'
ImageColor
Member Value
A 160
B 255
G 255
R 255
ImageRenderStyle MSTY_Alpha
ImageStyle ISTY_Stretched
WinHeight 0.834063
WinLeft 0.460078
WinTop 0.083281
WinWidth 0.230937

KeyConfigBK3[edit]

Class: XInterface.GUIImage

Property Value
Image Material'InterfaceContent.Menu.BorderBoxD'
ImageColor
Member Value
A 160
B 255
G 255
R 255
ImageRenderStyle MSTY_Alpha
ImageStyle ISTY_Stretched
WinHeight 0.834063
WinLeft 0.688828
WinTop 0.083281
WinWidth 0.232499

KeyConfigKeyList[edit]

Class: XInterface.GUIListBox

Property Value
bVisibleWhenEmpty True
Hint "Select Control to config"
StyleName "BindBox"
WinHeight 0.82004
WinLeft 0.027188
WinTop 0.094218
WinWidth 0.929493

KeyResetButton[edit]

Class: XInterface.GUIButton

Property Value
Caption "RESET"
Hint "Reset keys to default values"
OnClick ResetClicked
StyleName "SquareMenuButton"
WinHeight 0.06875
WinLeft 0.6875
WinTop 0.933333
WinWidth 0.23125

Structs[edit]

KeyBinding[edit]

bool bIsSectionLabel 
string KeyLabel 
string Alias 
array<int> Binds 
array<string> BindKeyNames 
array<string> BindLocalizedKeyNames 

Instance functions[edit]

AddNewKey[edit]

function AddNewKey (int Index, int SubIndex, byte NewKey)


AddToBindings[edit]

function AddToBindings (string Alias, string KeyLabel, bool bSectionLabel)


DrawBinding[edit]

function DrawBinding (Canvas Canvas, int Item, float X, float Y, float W, float H, bool bSelected)


GetCurrentKeyBind[edit]

function string GetCurrentKeyBind (int index, int bind)


GetNewKey[edit]

function bool GetNewKey (GUIComponent Sender)


InitBindings[edit]

function InitBindings ()


InitComponent[edit]

function InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIPanel.InitComponent


ListChange[edit]

function ListChange (GUIComponent Sender)


ListOnKeyEvent[edit]

function bool ListOnKeyEvent (out byte Key, out byte State, float delta)


MyOnAdjustTop[edit]

function MyOnAdjustTop (GUIComponent Sender)


RawKey[edit]

function bool RawKey (byte NewKey)


RemoveAllOccurance[edit]

function RemoveAllOccurance (byte NewKey)


RemoveExistingKey[edit]

function RemoveExistingKey (int Index, int SubIndex)


ResetClicked[edit]

function bool ResetClicked (GUIComponent Sender)


SearchDown[edit]

function SearchDown (int OldIndex)


SearchUp[edit]

function SearchUp (int OldIndex)


ShowPanel[edit]

function ShowPanel (bool bShow)

Overrides: GUITabPanel.ShowPanel


Swap[edit]

function Swap (int index, int a, int b)


UpdateHint[edit]

function UpdateHint (int index)


Weight[edit]

function int Weight (int i)