VERC: Accessing the Half-Life Console Last edited 5 years ago2019-04-12 07:35:56 UTC

You are viewing an older revision of this wiki page. The current revision may be more detailed and up-to-date. Click here to see the current revision of this page.
Contrary to past Quake-engine games, Half-Life does not, by default, allow you to access the console from within the game. To activate the console, use the following method.
  1. Find the shortcut icon that loads up Half-Life. Right-click on it and select Properties from the pop-up menu.
  2. The properties dialog for the shortcut will come up. The first available text box, marked Target, is what you'll want to edit.
The default value here will be the path and executable of Half-Life. Something like c:\games\half-life\hl.exe for example. Change this to c:\games\half-life\hl.exe -console (the path will be different for you, so just add the ' -console' to the end of what's already there). Note that there is a space between "...hl.exe" and "-console".

You can add any other parameters you'd like to use here as well. For instance, I have the following parameter list: -dev -console -toconsole -startwindowed -noipx -numericping which causes the game to start in developers mode, with the console activated, starting at the console rather then the menu, with windowed modes enabled, with tcp/ip disabled (for lan games), and with pings displayed as numbers rather than dots (for net games).
This article was originally published on the Valve Editing Resource Collective (VERC).
TWHL only archives articles from defunct websites. For more information on TWHL's archiving efforts, please visit the TWHL Archiving Project page.

Comments

You must log in to post a comment. You can login or register a new account.