In the console first type "sv_cheats 1" to enable cheats and then input:
sk_max_357 no.# .... The numerical value for no.# is new max ammo for .357 Magnum
sk_max_ar2 no.# .... The numerical value for no.# is new max ammo for Pulse Rifle
sk_max_ar2_altfire no.# .... The numerical value for no.# is new max ammo for Pulse Rifle energy orbs
sk_max_buckshot no.# .... The numerical value for no.# is new max ammo for shotgun
sk_max_crossbow no.# .... The numerical value for no.# is new max ammo for crossbow
sk_max_grenade no.# .... The numerical value for no.# is new max ammo for hand grenades
sk_max_pistol no.# .... The numerical value for no.# is new max ammo for pistol
sk_max_rpg_round no.# .... The numerical value for no.# is new max ammo for RPG
sk_max_smg1 no.# .... The numerical value for no.# is new max ammo for submachine gun
sk_max_smg1_grenade no.# .... The numerical value for no.# is new max ammo for SMG grenades
sk_plr_dmg_pistol no.# .... The numerical value for no.# is new damage value for pistol
sk_plr_dmg_357 no.# .... The numerical value for no.# is new damage value for .357 Magnum
sk_plr_dmg_ar2 no.# .... The numerical value for no.# is new damage value for Pulse Rifle
sk_plr_dmg_buckshot no.# .... The numerical value for no.# is new damage value for shotgun
sk_plr_dmg_crossbow no.# .... The numerical value for no.# is new damage value for crossbow
sk_plr_dmg_crowbar no.# .... The numerical value for no.# is new damage value for crowbar
sk_plr_dmg_grenade no.# .... The numerical value for no.# is new damage value for grenades
sk_plr_dmg_rpg_round no.# .... The numerical value for no.# is new damage value for RPG rockets
sk_plr_dmg_smg1 no.# .... The numerical value for no.# is new damage value for submachine gun
sk_plr_dmg_smg1_grenade no.# .... The numerical value for no.# is new damage value for SMG grenades
Add the parameter -console to your hl2 executable. The best method is to create a new shortcut to the hl2.exe and change its command line by adding the cheat/console parameter and then saving the shortcut. This way, you can play Half-life 2 with or without cheats (you can rename your shortcut to reflect this).
For some versions of Half-Life 2, you may need to add a longer parameter string -applaunch -dev -tconsole instead of the previously mentioned parameter.
Bring DOWN the console and enter “sv_cheats 1”.
Bring DOWN the console and enter “sv_cheats 1”.
Note: The default value for the following cheat is 250.
When using the give weapon/item cheats, enter physcannon_maxmass 1000 (or more) to be able to grab any object in the game.
Submitted by Juke box
Corrected by burnt_out_and_faded_away__Akimb0
Enable cheats and use the “give” command.
List the map by enabling cheats and type “maps”. Load a map by typing “map ”.
To spawn a jeep hHit ~ and enter: Impulse 82
Enter npc_create_equipment weapon_alyxgun in the dev console then type npc_create npc_combine_s which spawns a combine trooper with Alyx's gun. Then simply kill the trooper ang get the gun. Note, when you pick up the gun looks like a giant block on the bottom left corner of your screen.
Enable cheats and use the “give” command.
Weapons names for the beta version of the game: <map>
</map>