An alias is a string of console commands put together to form one main
function. For example rather than pressing 2 keys 'duck' & 'jump' to
perform a longjump you can write an alias to do this all for you in one simple
press of a key. Below are well known & used alias codes by top HL players
to use them yourself simply copy and paste the alias into your autoexec.cfg or
into your own custom .cfg file and activate it through your autoexec.cfg. Then
all you are required to do is to bind a key to the alias eg: bind<key>"<alias_name>" into
your config.cfg that's it.
By holdding and releasing one key you will perform what is known as a 'gauss
jump'. Can I take this time to say, this script is really for first time
players and newbies. This script will not help you against the better players
to beat them you will need to master gauss jumping manually to allow you far
more freedom and ability when performing such a move.
For those who have no idea what a gauss jump is let me explain. The Gauss jump
is whereby a player using the Half-Life weapon 'known as the Guass Gun' with a
full charge aim by holding the secondary fire button down for a few seconds and
then aims towards the ground about 35 degrees and then release the shot. The
force of the shot will then throw the player into the air allowing you to get
on top high level areas of the map or fly through the air at high speed..
// weapon to switch to at end of jump...
(changes back to your previous weapon)
alias gj_weapon "lastinv"
alias gs_weapon "lastinv"
// gauss bits
alias gprep "weapon_gauss;wait;+attack2"
alias glnch_fwd "+lj;wait;gausslook;wait;-attack2;wait4;looknorm;-lj"
// gauss jumping
bind <key> "+gj"
alias +gj "gprep"
alias -gj " alias gausslook lookgauss;glnch_fwd;gj_weapon"
// gauss skimming
bind <key> "+gs"
alias +gs "gprep"
alias -gs "alias gausslook lookskim;glnch_fwd;gs_weapon"
// gauss jump backwards
bind <key> "gjback"
alias +gjback "gprep" alias -gjback "
alias gausslook lookgauss_bwd;glnch_bwd;gj_weapon"
// gauss skim backwards
bind <key> "gsback"
alias +gsback "gprep"
alias -gsback "alias gausslook lookskim_bwd;glnch_bwd;gs_weapon"
This script is used by 90% of all top Half-Life players. What it does is takes
out the effort required to long jump in Half-Life making you a much faster
player. Again full credit to those players who do manual long jumps but in the
eyes of most players the long jump script is not seen as a cheat but yet an
improvement to the current game controls. Rather than using duck & jump
keys together to perform a long jump this script does all that for you all in
one simple key press. Note that backwards long jumping was a side effect
produced by the script and therefore impossible to do under normal Half-Life.
Many top players see the backwards long jump as a lame script and under the AG
patch is now blocked but can still be used in standard valve DM servers.
// Long Jump
bind <key> "+lj"
alias +lj "+duck;wait;+jump" alias -lj "-jump;-duck"
// the backwards longjump (known as a lame script in AG servers)
alias -blj "-lj"
// left and right longjump
alias +llj "turn_side;+lj;lt;rt;turn_end"
alias -llj "-lj" alias +rlj "turn_side;+lj;rt;lt;turn_end"
alias -rlj "-lj"
// silent lj (needs to be performed from a stand still after tapping
alias -silent_lj "-lj;wait;+back;wait8;wait2;-back"
// setting up directional longjumps
alias lj_st "alias +longjump +silent_lj;alias
alias lj_fd "alias +longjump +lj;alias -longjump -lj"
alias lj_bk "alias +longjump +blj;alias -longjump -blj"
alias lj_lt "alias +longjump +llj;alias -longjump -llj"
alias lj_rt "alias +longjump +rlj;alias -longjump -rlj" lj_st"
// aliases when moving... // ...backwards
alias +mback "lj_bk;back_on;+back"
alias -mback "-back;back_off;lj_st"
alias +mleft "lj_lt;+moveleft"
alias -mleft "-moveleft;lj_fd"
alias +mright "lj_rt;+moveright"
alias -mright "-moveright;lj_fd"
alias +mforward "lj_fd;+forward"
alias -mforward "-forward;lj_fd"
The pitch script is required in some of the scripts listed here such as gauss
jumps & quick attacks scripts. So it's recommended that you copy them into
your autoexec.cfg or custom .cfg file. Pitch aliases perform fast looking
angles in record time allowing you to pull out super fast aliase moves. They
also tell the HL console where to position your view. Really they assistant
other scripts/aliases on their own they are petty useless.
// pitch-view control
alias lookroof "cl_pitchup 90 ;cl_pitchdown
alias lookback "cl_pitchup -180;cl_pitchdown 180"
alias lookfeet "cl_pitchup -90 ;cl_pitchdown 90"
alias lookface "cl_pitchup 0 ;cl_pitchdown 0"
alias looknorm "cl_pitchup 89 ;cl_pitchdown 89;force_centerview"
alias lookgauss "cl_pitchup -120;cl_pitchdown 120"
alias lookskim "cl_pitchup -171;cl_pitchdown 171"
alias lookgauss_bwd "cl_pitchup -85 ;cl_pitchdown 85"
alias lookskim_bwd "cl_pitchup -26 ;cl_pitchdown 26"
// yaw-view control
alias lt "+left ;wait;-left"
alias rt "+right;wait;-right"
alias turn_end "fps_max 60;cl_yawspeed 210"
alias turn_side "fps_max 20;cl_yawspeed 3550;wait"
alias turn_back "fps_max 20;cl_yawspeed 7100;force_centerview;wait"
The wait script performs a function required in many scripts to work correctly.
some scripts/aliases require waiting gabs between strings of commands this is
where the 'wait' script comes in.
alias wait2 "wait;wait"
alias wait4 "wait2;wait2"
alias wait8 "wait4;wait4"
alias wait16 "wait8;wait8"
alias wait32 "wait16;wait16"
alias wait64 "wait32;wait32"
alias wait128 "wait64;wait64"
This script is for fast weapon changes as well as other extras like auto-reload
which can cause you more problems and you may find you need to disable it.
// weapon aliases
alias w_crowbar "normal;weapon_crowbar;alias
alias w_9mmhandgun "normal;weapon_9mmhandgun;alias back_attack
alias w_shotgun "normal;weapon_shotgun;alias back_attack back_fast"
alias w_357 "normal;weapon_357;alias back_attack back_slow"
alias w_9mmAR "normal;weapon_9mmAR;alias back_attack back_fast"
alias w_crossbow "normal;weapon_crossbow;alias back_attack back_fast"
alias w_rpg "normal;weapon_rpg;alias back_attack back_slow"
alias w_gauss "normal;weapon_gauss;alias back_attack back_slow"
alias w_egon "normal;weapon_egon;alias back_attack back_slow"
alias w_hornetgun "normal;weapon_hornetgun;alias back_attack
alias w_handgrenade "normal;weapon_handgrenade;alias back_attack
alias w_satchel "normal;weapon_satchel;alias back_attack back_slow"
alias w_tripmine "normal;weapon_tripmine;alias back_attack back_slow"
alias w_snark "normal;weapon_snark;alias back_attack back_slow"
alias w_lastinv "normal;lastinv" alias w_drop "normal;drop"
// fire/reload (auto reload after every
alias +f_reload "+attack;+reload"
alias -f_reload "-reload;-attack"
// Backwards attack
alias back_slow "turn_back;rt;+attack;wait;-attack;lt;turn_end"
alias back_attack "back_slow"
Very useful script that allows you to rotate through your weapons quicker.
Remember to replace the <key> with your key of choice.
// weapon cycle (quick weapons change without
menu pop up)
bind <key> "weapnext"
bind <key> "weapprev"
This script was developed for AG players to pull out what is known as the
'finisher' move. Firing an RPG rocket followed quickly by an 9mmAR grenade
(known as a spam). So quick that both should hit the target at the same time
for max damage. However this script soon became history when pro players showed
that they could perform the move as quick & with more control manually than
any script. Script requires the weapon scripts above to work.
// finisher (rpg attack followed by a quick
weapon change to 9mmAR for spamming)
bind <key> "finisher"
alias +fattack "+f_reload"
alias -fattack "-f_reload;wait;w_9mmAR"
alias finisher "w_rpg;alias +primary +fattack;alias
Xbow Quick Kill
This script borders on 'lame' it removes the need to zoom or scope for a cross
bow kill. Under the normal game un-scoped shots wont kill on a direct hit with
this script you can fire an un-scoped killer shot & by holding the attack
button down fire repeated un-scoped shots. The script does have a few bugs and
was developed back in 2001 so things have moved on.
// quick-kill X-bow (modified so that if the
secondary attack is held, it will continue to fire zoomed bolts)
bind <key> "xbow"
alias +quick "+attack2;+attack;wait2;-attack2"
alias -quick "-attack;lastinv;lastinv"
alias xbow "w_crossbow;alias +primary normal;alias
+secondary +quick;alias -secondary -quick"
These are used throughout the scripts above to reset the values during running
This script gives you the correct jump type to perform a 'bunny hop' Bunny
hopping only works in AG and does not work in Valve DM. Bunny hopping is where
you can hop around maps bit like a bunny at super fast speed. The top players
can bunny hop around large maps faster than any long jump. Although this
script/alias gives you the bunny hop jump you still require skill to perform
When recording demos to prevent over copying the same demo file here is a
script that will write to different file names in one demo record button.
bind <record-key> "dem1"
bind <stop-key> "stop"
alias dem1 "record demo1; say_team recording demo;
bind <record-key> dem2"
alias dem2 "record demo2; say_team recording demo;
bind <record-key> dem3"
alias dem3 "record demo3; say_team recording demo;
bind <record-key> dem4"
alias dem4 "record demo4; say_team recording demo;
bind <record-key> dem1"
This is a script I knocked up for mainly for myself as I wanted a single button
to perform both long jumping & bunny hopping and many players have tried
this have asked me how do I play with this enabled, still I love it. By the use
of the jump-switch script you can change from a long jump to a bunny hop etc.
This script does require both Long Jump & Bunny Hop scripts running in your
config for it to work. The key this script is bound to will allow you to toggle
between either bunny hopping or jump jumping modes. Just replace the
<switch-key> & the <jump-key> to the keyboard or mouse key you
wish to assign.
//jump switcher (allows you to use 1 key for
both long-jump & bunny-hopping)
bind <switch-key> "jumpmode1"
alias jumpmode1 "bind <jump-key> +lj; bind
alias jumpmode2 "bind <jump-key> +decentjump;
bind <switch-key> jumpmode1"
Quick Gauss & 9mmAR Combo
This is another script I knocked up for a quick Gauss & 9mmAR combo attack.
Works super in arena mode in AG. Guass into the air quick switch to 9mmAR to
spam the other player & then back to Gauss to repeat the attack or to
escape. It uses MOUSE1 for the combo & MOUSE2 free to Gauss charge &
spam attack from the 9mmAR. To use it charge the Gauss with MOUSE2 release
& when in the air hit MOUSE1 now the 9mmAR is selected use MOUSE2 to fire a
spam grenade & hit MOUSE1 to return back to Gauss.
//gauss & 9mmAR combo (binds mouse1 attack
to 9mmAP weapon change for easy use for in flight attacks)
bind <key> "combo1"
alias combo1 "weapon_gauss; bind MOUSE1 combo2"
alias combo2 "weapon_9mmAR; bind MOUSE1