Always snap to grid
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.
Open the Game ini file and set the following property:
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.
[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. Repeatedly
Ctrl+Clickto select overlapping controls.
Shiftto temporarily hide the selection rectangle.
Ctrl+ArrowDownto move the selected control.
- Alternatively, hold
Ctrl+Altwith the control selected to move it with the mouse. You can also use
Ctrl+Alt+Any Arrowto move the control 5 pixels at a time.
Ctrl+GrayMinusto change the horizontal size of the selected control.
Ctrl+Minus(on the alphanumeric keyboard) to change the vertical size of the selected control.
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