VERC: Accessing the Half-Life Console Last edited 1 year ago2022-09-29 07:54:01 UTC

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 Valve Editing Resource Collective (VERC).
The archived page is available here.
TWHL only publishes archived articles from defunct websites, or with permission. 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.