How to Enable the Console (for Cheats)
To enable cheats, you have to run Half-life with the "-dev -console" command. Here's how to do it:
On your Windows [Start] menu, choose Find -> Files or Folders
Type "hl.exe" into the "Named:" box (do not type the quotes)
Make sure "Look in" is set to "My Computer", or the hard drive with Half-life on it
Click the [Find Now] button
In a few seconds a red Halflife icon will appear in the large white window at the bottom of the Find dialog.
Click the icon ONCE with the RIGHT mouse button. In the popup menu, choose [Copy]
Then put the mouse over your desktop (not in a window or folder, just the anywhere on the background), and click the RIGHT mouse button again. This time choose [Paste Shortcut]
This will create a new Halflife icon on your desktop called "Shortcut to hl.exe". Click it with the right mouse button, and select [Properties].
In the "Shortcut to hl.exe Properties" dialog that appears, click on the Shortcut tab at the top.
Click inside the white Target: box and add " -console" (no quotes) to the end. So you should have something link
C:\SIERRA\Half-Life\hl.exe -dev -console
NOTE: If your path to hl.exe contains spaces, you MUST put double quotes before the C: and after the hl.exe, but not around the -console. For example:
"C:\Program Files\SIERRA\Half-Life\hl.exe" -dev -console
Then click [OK]. That's it! Use this icon to start Half-life, and then you'll be able to access the console within Half-life.
How to Access The Console
You can get to the console by clicking the gray "Console" button in the upper-left corner of the main menu or, once you are playing the game, hit the quote [`] key (they key with the ~ tilde symbol on it -- but don't hold down shift).
If this doesn't down the console, try clicking the CONSOLE button on the main menu. If that works, you can then try binding a key to toggleconsole ('bind c toggleconsole' without the quotes). If that works, you can permanently bind the key by creating a text file named autoexec.cfg in Half-Life/Sierra/Valve containing the line 'bind c toggleconsole' (no quotes, and you can replace the 'c' with any key you want.
How to Enter Cheat Codes
After you have added "-dev -console" as described above, press Press ` to display the console
Type "sv_cheats 1" to enable cheat mode.
You must now restart or reload your game, and cheats should be enabled.
To use the cheats, open the console and type any of the following:
Code Description
/god God mode
/noclip No clipping mode
/map(map name) Map select
/give(item name) Obtain item (see below)
Item name list:
item_airtank
item_antidote
item_battery
item_healthkit
item_longjump
item_security
item_sodacan
item_suit
ammo_357
ammo_9mmAR
ammo_9mmbox
ammo_9mmclip
ammo_ARgrenades
ammo_buckshot
ammo_crossbow
ammo_egonclip
ammo_gaussclip
ammo_glockclip
ammo_mp5clip
ammo_mp5grenades
ammo_rpgclip
weapon_357
weapon_9mmAR
weapon_9mmhandgun
weapon_crossbow
weapon_crowbar
weapon_egon
weapon_gauss
weapon_glock
weapon_handgrenade
weapon_hornetgun
weapon_mp5
weapon_python
weapon_rpg
weapon_satchel
weapon_shotgun
weapon_snark
weapon_tripmine
|