Cheats automated

sjwcolol

Infected
Joined
Mar 30, 2016
Messages
2
Reaction score
0
to automate cheats basically you assign a button to run a script
first open C:\Program Files\Steam\steamapps\common\Half-Life 2\hl2\cfg
25522686003_ac27f97f5e_b.jpg


right click > new > text document
in the text document write any cheats you want as you would in the console
all the cheats you write will be able to run at the push of a button in the game.
the same way you hit "E" to use I set up "N" to exec cheats.
to start type
sv_cheats 1
imulse 101
bind n "exec cheats.rc"
25524686054_cd6ccaacd6_m.jpg

click file
save as cheats
25522946623_d90f64e443_m.jpg

25852747500_a5b3a12979_m.jpg

now in
C:\Program Files\Steam\steamapps\common\Half-Life 2\hl2\cfg
you have a file cheats.rc
this will be important later
25852814880_3813c8e036_m.jpg

now your ready to open the game

open half life 2
load a game doesn't matter where you are in the game as long as its after
gordon dawns his containment suit. using impulse 101 before that point causes interesting problems
1. you can't put on the suit
2. alex is supposed to rescue you after being knocked out.
if you can't be knocked out the game stops progressing
other issues arise but, take my word for it use cheats after putting on the suit.

now in order to use cheat you must engage dev (developer mode)
in order to do this go into the game and hit esc
a menu pops up click options
26129598945_43bba5cb4f_m.jpg


25524857764_7d0f951412_b.jpg

click on keyboard
then click on advanced
26129665625_f304f593d3_b.jpg


25524858454_3da3645533_b.jpg

now click enable developer console then click ok.
click ok again and click resume game.
now to the left of the number 1 on your keyboard is what's called a tilde ~ mark.
push that then it will pause the game and bring up the console.

25856910090_211713d361_b.jpg

1. is saying that this is the console
2. is a running script of the program. most cheats you enter will show up here
3. is where you can type

go to box 3. and type
bind n "exec cheats.rc"
now every time you push n you will run the file cheats.rc which is a script telling it to run what ever cheats you want. mine is a long list.
all the cheats do different things including run other script files I created.
some like bind , "npc_create_aimed npc_citizen"
makes is so I can spawn citizens and they help me or I can
bind . "npc_create_aimed npc_combine_s" and spawn enemies for them to fight and watch what happens.

sv_cheats 1
npc_create_aimed
developer 1
sv_infinite_aux_power 1
npc_citizen_squad_marker 1
npc_citizen_insignia 1
sk_plr_num_shotgun_pellets 444
npc_citizen_auto_player_squad_allow_use 1

physcannon_tracelength 999
physcannon_pullforce 999
physcannon_maxmass 999
physcannon_ball_cone 999
physcannon_cone 999
physcannon_mega_pullforce 9999
physcannon_mega_tracelength 9999
physcannon_megacannon 1

bind m "impulse 101"
bind , "npc_create_aimed npc_citizen"
bind . "npc_create_aimed npc_combine_s"
bind / "npc_create_aimed npc_antlion"
bind j "givecurrentammo"
bind k "npc_create_aimed npc_antlionguard"
bind b "npc_create_aimed npc_gman"
bind y "npc_create_equipment weapon_smg1"
bind u "npc_create_equipment weapon_shotgun"
bind - "impulse 82"
bind i "npc_create_equipment weapon_ar2"
bind o "npc_create_equipment weapon_rpg"
bind \ "npc_kill"
bind n "exec cheats.rc"
bind P "npc heal"
bind [ "npc_create_aimed npc_turret_floor"
bind b "give item_ammo_ar2_altfire"
bind - "give item_battery"
bind 0 "exec ammo.rc"
bind alt "give item_healthkit"
bind t "npc_create_equipment weapon_frag"
bind ] "exec turret.rc"
bind ; "exec ai_disable 1"
bind ' "exec ai_disable 0"
bind = "exec airboat.rc"

sk_plr_dmg_alyxgun 9999
sk_plr_dmg_grenade 9999
sk_plr_dmg_357 9999
sk_plr_dmg_crossbow 9999
sk_plr_dmg_crowbar 9999
sk_plr_dmg_pistol 9999
sk_plr_dmg_ar2 9999
sk_plr_dmg_rpg_round 9999999
sk_plr_dmg_buckshot 9999
sk_plr_dmg_smg1 9999
sk_max_smg1_grenade 9999
sk_max_alyxgun 9999
sk_max_grenade 9999
sk_max_smg1 9999
sk_max_357 9999
sk_max_crossbow 9999
sk_max_pistol 9999
sk_max_ar2 9999
sk_max_ar2_altfire 9999
sk_max_rpg_round 9999
sk_max_buckshot 9999
sk_max_ar2 9999
sk_max_ar2_altfire 999
sk_plr_dmg_ar2 9999

ent_fire npc_citizen setrelationship "npc_helicopter D_HT 99"
 
you can use the same method to do cheats for any half life game though not recommended for the multi player games like team fortress and counter strike.

I use other scripts for things I would only want to create every once and a while like a turret or airboat with the gun attached.
from the list bind = "exec airboat.rc"
I have a separate script when I push = it will do all these cheats at once and spawn an airboat with the gun attached instantly

sv_cheats 1
impulse 83
ent_fire airboat enablegun 1
sk_plr_dmg_airboat 9999
sk_airboat_recharge_rate 9999
sk_airboat_max_ammo 9999

also improving the guns ammo capacity and recharge rate.
 
Back
Top