Half-Life 2: The Orange Box - HalfLife 2 Cheat mode

Half-Life 2: The Orange Box - HalfLife 2 Cheat mode
Half-Life 2: Cheat mode
Start the game with the -console command line parameter. Press during game play to display the console window. Enter svcheats 1 at the console to enable cheat modes. Then, enter one of the following codes to activate the corresponding cheat function.

You can also modify your existing half-life 2 episode twoep2cfgconfig.cfg and change conenable to "1" to enable the console.

Effect - Code:
God mode Server only - god
No clipping mode - noclip
All weapons - impulse 101
Enemies do not target you - notarget
Map list - maps
Cannot die due to damage - budda
Damage player by indicated amount - hurtme [number]
Spawn Jeep impulse 82
Crosshairs on - hudquickhelp/text? 1
Run script file - exec [filename]
Developer mode - developer [0-2]
Toggle HUD - cldrawhud [0 or 1]
Toggle HUD - clenablehud [0 or 1]
Toggle framerate display - showfps
Spawn NPC - npccreateaimed
Spawn NPC - npccreate
Picker mode - picker
Set gravity - svgravity [number]
Set vertical view - svwaterdist [number]
Set air density - airdensity [number]
Set explosion length - dspexplosioneffectduration [number]
Limit texture units - matnumtexttureunits [number]
Bounding box debug - propdebug
Set bounce multiplier - svbounce [number]
Set minimum stopping - speed svstopspeed [number]
Set pitch yaw - setang [number]
Set friction - svfriction [number]
Set maximum velocity - svmaxvelocity [number]
Load indicated map - map [map name]
Spawn indicated weapon or item - give [weapon or item name]

Half-Life 2: Map names
Use one of the following entries with the map code.
d1canals01
d1canals02
d1canalsend
d1tempanals02
d1town01
d1town02
d1town03
d1town04
d1town05
d1trainstation01
d1trainstation02
d1trainstation03
d1trainstation05
d1under01
d1under02
d1under03
d1under04
d2coast01
d2coast02
d2coast03
d2coast04
d2coast04dx60
d2coast05
d2coast06
d2coast07
d2coast08
d2prison01
d2prison02
d2prison03
d2prison04
d2prison05
d3c1703
d3c1704
d3c1705
d3c1706a
d3c1706b
d3c1707

Half-Life 2: Weapon and item names
Use one of the following entries with the give code.
weaponalyxgun
weaponar1
weaponar2
weaponbugbait
weaponcguard
weaponcrowbar
weaponextinguisher
weaponflaregun
weaponfrag
weapongauss
weaponhopwire
weaponiceaxe
weaponphyscannon
weaponphysgun
weaponpistol
weaponrpg
weaponshotgun
weaponsmg1
weaponsmg2
weaponstickylauncher
weaponstunstick
weaponthumper
weaponsniperrifle
weaponrollerwand
weaponmolotov
weaponmanhack
weaponimmolator
weaponirifle
weaponslam
weaponhmg1
weaponcubemap
weaponbinoculars
weaponml
weaponbrickbat
itemboxbuckshot
itemboxmrounds
itemboxsniperrounds
itemboxsrounds
itemhealthkit
itembattery
itemsuit
itemmlgrenade
itemar2grenade
itemhealthvial

Half-Life 2: Command line parameters
Start the game with the following command line parameters to activate the corresponding function.

Set width and height of window -width [number] -height [number]
Full screen mode -fullscreen
Set heap size -heapsize [number]
Unknown -ranamorphic 0
Unknown -netgraph 3
Unknown -matpreloadshaders
Unknown -preload
Unknown -dx9
Unknown -dxlevel 90
Unknown -mouselook
Unknown -dx8
Unknown -sw
Unknown -condebug
Unknown -startwindowed
Unknown -window
Unknown -windowed

Portal: Cheat mode
Enter the options menu, select "Controls", then "Advanced". Turn on the option for the console. Then press during game play to display the console window. Type svcheats 1 to enable cheat mode. Then, enter one of the following codes at the console window to activate the corresponding cheat function.

Effect - Code
Allow separate sets of portals to be created - changeportalgunlinkageid [0-3]
Spawn Weighted Storage Cube - entcreateportalweightbox
Fire an energy ball - fireenergyball
Portal placement cannot be bumped - svportalplacementneverbump 1
Portals can be placed on almost any surface - svportalplacementneverfail 1
Allow use of second portal placement - upgradeportalgun