Skip to main content

Console

The console in idStudio works much like the in-game console, with a few more advanced features.
console overview

Basic Controls​


ButtonDesired ActionDescriptionReference Image
console clear contentsClear contentsClear the contents of all console tabs. This has the same effect as typing clear into the console.
console settingsSettingsOpen the Settings menu. From the settings menu you can disable line wrapping and auto scroll (helpful when you're trying to copy log text), and configure tabs and filters. Changes to console settings will be saved to idStudio/layout.panes in your save game folder.console settings panel
console searchSearchBrowse/search all available console commands and variables.console search panel
Enter console commandsConsole commands can be entered via the text field at the bottom of the console window. Start typing and the auto complete menu will appear. Use the up and down keys to browse this menu. When the auto complete window is not visible you can use the up and down keys to browse the recent command history. Pressing Enter executes the current command.

Some log messages have links embedded in them. These are highlighted in blue. Clicking on them will open up the relevant editor and asset.
console links

Macro Buttons​


Macro buttons are user defined buttons that appear at the bottom of the console window and execute a specified command line when clicked. You can create your own macro buttons from the settings menu.

Macro Button Properties​

PropertyDescription
NameName that appears on the button
Command LineCommand line to be executed when button is clicked.

Example​

console macro button panel
console macro command line

Custom Tabs and Filters​


You can create your own custom tabs and filters from the Console Settings menu . These are structured in the same way as folders and rules in email. Tabs contain log messages, filters determine what happens to log messages when they are received.

Create a custom tab​

Creating a custom tab is very simple:

  1. Add a new tab to the list.
  2. Name the new tab.
  3. Click OK. (The new tab will now appear in the console window.)

Create a custom filter​

Creating a custom filter requires you to specify some basic rules to determine how it will be matched against incoming messages (category, severity and expression) and the action to be performed when a match is found.

info

All custom tabs and filters can be disabled independently, so you can keep as many as you like in your profile and only enable the ones you need at any given time. Standard tabs and filters cannot be modified, but they can also be disabled.

Filter properties​

PropertyDescription
NameOptional name, useful for identification
Category (Flags)Origin of message e.g. game, renderer or sound system
Severity (Flags)Severity of message e.g. debug, warning or error
ExpressionOptional regular expression.
ActionAction performed when matching message is received
TabSpecifies destination tab when the 'Send To Tab' action is selected
info

Heavy use of regular expressions may result in poor performance.

Filter Actions​

ActionDescription
RejectMessage will be rejected. This action overrides all others.
Send To TabSend message to tab specified by 'Tab' property.
Show PopupShow popup dialog containing message.