Menu Editor (In-Game UI)
Interface
Toolbar
Menu Tool
Viewport
Properties
Toolbar
Option | Description |
|---|---|
Squint | Applies the squint camera track. |
Enable FOV | Enables Field of View. |
FOV | The Field of View value. |
Draw Control Frames | Shows white frames around every menu control to show their size. |
Icon View | Preview icons on their textures when ui_icon is selected. |
Icon Grid | Icon grid used to snap icons in iconlib. |
Grid Size | Size of the Icon Grid. For example, if it's 32, the frame will move with a step of 32. |
Debug Input Type | Forces the input type to check the input-dependent controls visibility.
|
Menu Tool
RMB Utils
Option | Description |
|---|---|
Add menu... | Adds a new menu. |
Add Control | Adds a new menu element. |
Add Folder | Adds a new folder to the list. |
Delete | Removes the selected object from the list. |
Reload | Reloads all information from \content\menu\your_menu_file |
Rename... | Renames the selected object. |
Copy | Copies the selected menu object. |
Paste | Pastes the copied menu object. |
Reveal In Explorer | Navigates to the actual LUA-files of the menu object within your \content\maps\ folder. |
Expand | Expands the current list. |
Collapse | Collapses all lists. |
Expand All | Expands the hierarchy list (standard list explorer view option in the editor). |
Collapse All | Collapses the hierarchy list (standard list explorer view option in the editor). |
Filter | Uses the Find field to show only those items that satisfy the query (standard list explorer view option in the Editor). |
Plain Mode | Shows all objects in the alphabetical order without a hierarchy. |
Viewport
Main properties
Option | Description | |
|---|---|---|
Events | On Activate | Called when the menu is activated. |
On Deactivate | Called when the menu is deactivated. | |
On Confirm Close | Called before trying to close. | |
On Focused Changed | Called when the focused control is changed. | |
Type | If activated, these menu types use input, pause the game, and render the whole screen:
| |
Fade in time | Time during which the menu gains full alpha. | |
Offset | Menu's offset on the screen. | |
Force On Activate Event | On Activate called in the edit mode. | |
Scale Factor | Menu's scale. | |
Sound | Control Focused | The sound played when Focused Control changes. |
Control Activated | The sound played when Control is activated (e.g. button pressed). | |
Control Val Changed | The sound played when the options' values are changed. | |
Child Closed | The sound played when the child menu closes. | |
Hint Menu | Hint menu name, displayed along with the main menu. | |
Hint Menu Offset | Hint menu offset. | |
Layer | Drawing order, the menu with the highest order is rendered last, hence topmost. | |
Template Menu | Name of the other menu that will be applied as a template (all properties of all controls that appear both in the current menu and in the template one will be copied from the template one). | |
Tab Index | Sorting and selecting order. | |
Position | Size | Self-explanatory. |
Group | Group-control reference. | |
Layer | The drawing order, the control with the highest order will be rendered last, hence topmost. | |
Level Specific | Only displayed when the menu is shown on a specific level. | |