Interactive GUI
Interactive GUI Design Mode lets you rearrange and resize widgets within the game, then copy their properties to the clipboard to put into your scripts.
Enabling GUI design mode
The interactive GUI design mode must first be enabled in config files.
UT2003
Open the Game ini file and set the following property:
UT2003.ini:
[XInterface.GUIController] bModAuthor=True
UT2004
In Unreal Tournament 2004 you'll need to edit the user.ini. Simply add the line bModAuthor=True to the right sections, as listed below.
user.ini:
[XInterface.GUIController] bModAuthor=True [GUI2K4.UT2K4GUIController] bModAuthor=True
Activating GUI design mode in game
Once in the game, press Ctrl+Alt+D to enter the interactive GUI design mode. In that mode, you can:
- Hold down
F1for a list of commands. The most common ones are mentioned below. Ctrl+Clicka control to select it. RepeatedlyCtrl+Clickto select overlapping controls.- Press
Shiftto temporarily hide the selection rectangle. - Press
Ctrl+ArrowUp,Ctrl+ArrowLeft,Ctrl+ArrowRightandCtrl+ArrowDownto move the selected control. - Alternatively, hold
Ctrl+Altwith the control selected to move it with the mouse. You can also useCtrl+Alt+Any Arrowto move the control 5 pixels at a time. - Press
Ctrl+GrayPlusandCtrl+GrayMinusto change the horizontal size of the selected control.
PressCtrl+PlusandCtrl+Minus(on the alphanumeric keyboard) to change the vertical size of the selected control.
Add Alt to the movement and sizing key combinations to move or size faster.
- Press Ctrl+C to copy the selected control's window metrics to the clipboard. You can directly paste them into your control's inline object definition in the
defaultpropertiessection.
