Console: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(added example of find command)
mNo edit summary
Line 2: Line 2:
[[Image:Developer-console.jpg|thumb|The Console]]
[[Image:Developer-console.jpg|thumb|The Console]]


The '''console''' allows you to enter commands to the Source engine while testing a map or mod. In order to use it, click the Advanced button of the Keyboard tab in the game options and check the option for turning on the console with the ~ key. Then click Apply. Henceforth, the console can be opened or closed with the ~ key.
The [[console]] allows you to enter commands to the Source engine while testing a map or mod. In order to use it, click the Advanced button of the Keyboard tab in the game options and check the option for turning on the console with the '''~''' key. Then click Apply. Henceforth, the console can be opened or closed with the '''~''' key.


Enter commands by typing in the box at the bottom. Typing <code>help</code> will provide some instructions.
Enter commands by typing in the box at the bottom. Typing <code>[[help]]</code> will provide some instructions.


Type <code>find &lt;substring&gt;</code> to look for console commands related to a specific topic (i.e. typing <code>find npc</code> would show a listing of NPC debugging commands such as <code>npc_go</code> and <code>npc_create</code>.
Type <code>[[find]] &lt;substring&gt;</code> to look for [[console command]]s related to a specific topic (i.e. typing <code>find npc</code> would show a listing of [[NPC Debugging Command]]s such as [[npc_go]] and [[npc_create]].


See [[Developer Console]] for detailed instructions in using the console.
See [[Developer Console]] for detailed instructions in using the console.

Revision as of 06:31, 27 September 2005

The Console

The console allows you to enter commands to the Source engine while testing a map or mod. In order to use it, click the Advanced button of the Keyboard tab in the game options and check the option for turning on the console with the ~ key. Then click Apply. Henceforth, the console can be opened or closed with the ~ key.

Enter commands by typing in the box at the bottom. Typing help will provide some instructions.

Type find <substring> to look for console commands related to a specific topic (i.e. typing find npc would show a listing of NPC Debugging Commands such as npc_go and npc_create.

See Developer Console for detailed instructions in using the console.