Half-Life 2 Guide

Console Commands(Cheat Codes) Guide for Half-Life 2

Console Commands(Cheat Codes) Guide

Overview

These are ALL the codes We learned for HL2We each gave a fair share so you thank one you should thank all of us if you like it( Honor Guard,Myback,Reloaded)We will continue to update this guide upon request.

For Starters

here some simple stuff (yes ,I finally fixed that misspell)

A few codes may crash the game if spammed or used in mutiplayer REMEMBER YOU BEEN WARNED THAT IT MAY

They may work HL2DM most will

P.S to enable the console go to Options > controls > Advanced button > check Dev console

Binding

example

bind a “npc_create npc_citizen”

More less it goes like this

bind * “code”

* is the key you want to bind to

NPCs

here afew ways to make NPCs

npc_create npc_ (let them spawn with a gun where you point)

ent_create npc_ (they spawn where you point)

give npc_ (they spawn in you)

I use npc_create npc_ most for A you can give them guns and do certian things

Weapons for you to use with npc_create npc_
Note you must use below in order for them to get a weapon

npc_create_equipment weapon_***

In place of the *** put one of the following

crowbar
stunstick
pistol
357 (kind of works they do fire but well it goes in a kind of different spot then what you think)
alyxgun
smg1
annabelle(shoots 357 ammo/gun father Grigori uses)
ar2(pulse rifle)
shotgun
rpg

THESE DO NOT WORK CORRECTLY ON ALL NPCS THAT USE WEAPONS
crossbow
physcannon (gravity gun)
frag (grenade)

if you like to delete all use npc_kill

NPC list

As you recall, NPCs (Non Playable Characters) are programmed from the game’s code, and can be spawned using three methods. Two of these methods can be used in-game via developer console.

citizen(rebel – the suit execpt in HL2 E1)
combine_s (Combine Soldier)
metropolice (Police in City 17)
voltigaunt
antlion
zombie
zombie_fast(May lag game if spammed)
headcrab
antlionguard
headcrab_fast
poisonzombie
rollermine
manhack
stalker
turret_floor
cscanner(KILL OR DELETE AFTER IN HL2DM OR IT CRASHES BY TAKING A PICTURE IT A MEGA BAD IDEA IN HL2DM TO SPAWN)
seagull
pigeon
zombie_torso
combinegunship
headcrab_poison
monk (Father Grigori)
dog
barney
mossman
eli
breen
grenade_frag (if picked up by hand or Gravity gun it shall immediately become a live grenade)

STATS EFFECTING CODES

They are different codes for dmg bewteen your dmg and NPC *** is where you put weapon name here a example

“sk_plr_dmg_357 40000”
“sk_max_ar2 600″(600 is max regular ammo for the pulse rifle now.)

-weapons
sk_plr_dmg_***
sk_npc_dmg_***
sk_max_***
sk_combine_guard_kick ***

-NPCs
******* is npc
sk_******_health

Weapons/Ammo spawning

This shall be a bit of a repeat, but rather useful info to know

ent_create ****
give ****

Replace **** with one below

Weapons

weapon_crowbar

weapon_stunstick (suit energy in HL2 or in Gmod/HL2DM the weapon)

weapon_pistol

weapon_smg1

weapon_ar2

weapon_crossbow

weapon_rpg

weapon_frag

Ammo
These are best for RP reasons or such

givecurrentammo – Gives moreless any ammo needed at time

Handguns
item_box_srounds (9mm rounds) or item_ammo_

item_ammo_357 (357 ammo) or item_ammo_357

SMG
item_box_mrounds (SMG ammo) or item_ammo_smg1

item_ar2_grenade (SMG grenades,odd ain’t it? )

Shotgun
item_box_buckshot

Crossbow
item_ammo_crossbow

RPG rockets
item_ml_grenade
item_rpg_round

AR2 Primary
item_box_lrounds (ar2 pulse ammo)
item_ammo_ar2

AR2 Secondary
item_ammo_ar2_altfire

BATTLE MAKING

here how you make a battle where it NPC vs NPC
STEP 1
sv_cheats 1

Step 2
think of where you want it in ,the battle like citizens vs combine ,antlions vs combine and such else

Step 3
noclip
notarget

step 4
ai_disable

step 5
bind the npcs you want to fight

make sure you used npc_create_equipment weapon_ to give them a weapon if they are combine_s,metropolice or citizen

step 6
ai_disable

step 7
WATCH THE FIGHT

Note this is fun specally if you set up obstacles,cover,short cuts,traps,and safer zones
A tip make a room closed off with zoms in it closed by destroyable items

I find the antlion beachs after the lighthouse fight a very good spot

NOTE experiment it gets old watching a fight made in a similar manner

More Advanced codes

any codes that needs sv_cheats 1 will have * beside it

impulse 203(deletes ANYTHING on ANY HL2 INCLUDING HL2DM IT WILL CRASH THE SERVER IF YOU USED ON A PLAYER)*
impulse 82 or ch_createjeep (makes a jeep that yes you can drive and shoot as well as get ammo from back)*
impulse 101 (gives you all default weapons)*
impulse 83 or ch_createairboat (spawn hoverboat unarmed)*
sv_infinite_aux_power 1 *
sv_cheats 1 (enables commands,but you will not earn achievements until you restart the game)
sbox_weapons 0

These are more of help me codes

give item_healthkit (25 hp)
give item_healthvial (15 hp)
physcannon_mega_enabled 1 (makes your gravity gun mega)

And this one just for fun
r_screenoverlay effects/combine_binocoverlay.vmt Combine vision

Other codes

These codes MAY work in HL2DM

ent_create (spawns where you aim)
give (spawns in you)

buddha (goes to 1 hp but no lower unless attacked by a script)
impulse 101 (refills ammo)

These use
give or ent_create

weapon_crowbar
weapon_stunstick
weapon_ar2
weapon_bugbait
weapon_crowbar
weapon_frag
weapon_crossbow
weapon_alyxgun
weapon_physcannon
weapon_pistol
weapon_rpg
weapon_shotgun
weapon_smg1
weapon_alyxgun
item_battery

for ammo it goes like item_ammo_(gun name)

prop_thumper (a working thumper may not work in HL2DM)
item_suitcharger
item_healthcharger
weapon_striderbuster(HL2 E2 ONLY)

Abit of help
ent_rotate 90(rotates any item or npc to turn to right)
e_rotate 90(rotates them to more less go up or down like a circle upwards/downwards)

impulse 200 (removes weapon model)
thirdperson (3rd person view)
firstperson (first person view)

Afew spare NPC codes

ent_name (name here – the () ) that code names the NPC,or object your pointing at to help make like a Boss NPC

ent_fire (named NPC,or general NPC) ent_fire changes stats such as like i want a rebel to go medic i could name it G then type ent_fire g setmedicon

or for a ammo supplier ent_fire g setammoresupplieron

to turn those off,just instead of having on at back,put off ,easy

cl_showfps 1 (shows Frames per second)

impulse 102 (skulls spawner)

Impulse 76 (Grunt O matic)

adding the gun to the airboat/hoverboat (currently Broke)

step 1 spawn a airboat(impulse 83 or ch_createairboat)

step 2 name it by aimming at it then put in console
ent_name g
ent_fire g enablegun 1

AND YOU GET 1 ARMED AIRBOAT

If there any codes you want tell me in comments and HG will try to find them

I’ll read any comment but I delete ones that do not relate to the guide.to HL2 Console commands,help requests or such (HG)
Myback and Reloaded told me at the very LEAST 60%-75%

SteamSolo.com