Half-Life: Best Weapon - Author: Mad Dog - 4/3/99
These aliases select the best available weapon which still has ammo. Using the in-game HUD weapon "slot" system, this script doesn't allow you to get tripped up by the fact that Half-Life allows you to select a weapon without ammo. Unfortunately this means that the weapon order can't be changed, which is why a separate key is dedicated to each slot. However, the string for best5 can be edited to your preference by reordering. This is because those "weapons" are really just ammo, and can't be selected if you're out of them. For this string, the last item should be your favorite, the first your least favorite. The tripmine is really a trap instead of a weapon, so I dedicated a separate key to it.
bind "your slot2 key" best2
bind "your slot3 key" best3
bind "your slot4 key" best4
bind "your slot5 key" best5
bind "your tripmine key" weapon_tripmine
alias best2 "slot2;wait;+attack;wait;-attack"
alias best3 "slot3;wait;+attack;wait;-attack"
alias best4 "slot4;wait;+attack;wait;-attack"
alias wt3 "wait;wait;wait;"
alias best5 "weapon_crowbar;wt3;weapon_handgrenade;wt3;weapon_satchel;wt3;weapon_snark"

Top of Page

Half-Life: Cancel Weapon Slots - Author: MD - 12/27/99
The normally-used "cancelselect" command (or the ESC key), which can be used for turning off a weapon slot display without selecting any weapons, has the annoying effect of kicking you out to the main menu when no slot display is active. This string still uses the "cancelselect" command, but makes sure a weapon slot is always selected first... so it will never kick you out to the menu.
bind "your key" "slot1;cancelselect"

Top of Page

Half-Life: Check Your Six - Author: MD - 4/29/99
Press and hold the bound key and you'll be looking behind you. Release it and your view returns to normal. Be advised that this will invert your view. Movement while this alias is active is not really advisable, since you will reverse direction. Disorienting but it has its uses.
bind "your key" +check6
alias +check6 "cl_pitchdown 180;cl_pitchup -180"
alias -check6 "cl_pitchup 89;cl_pitchdown 89;force_centerview"

Top of Page

Half-Life: Dual Quicksaves - Author: MD - 2/10/99
This script allows the easy maintainance of 2 quicksaved single-player games. Each time you save, use the "quicksave" key. Load the last saved game using the "primary quickload" key. The "secondary quickload" key will always load the previous saved game, if for some reason you don't want or can't load the primary quicksaved game. Only 2 saved games are maintained at any one time - under the names "q1" and "q2".
bind "your quicksave key" qsv
bind "your primary quickload key" qld_a
bind "your secondary quickload key" qld_b
alias qsv qsv1
alias qsv1 "alias qsv qsv2;alias qld_a qld1;alias qld_b qld2;echo Quicksaving...;wait;save q1"
alias qsv2 "alias qsv qsv1;alias qld_a qld2;alias qld_b qld1;echo Quicksaving...;wait;save q2"
alias qld_a qld1
alias qld_b qld2
alias qld1 "echo Quickloading...;wait;load q1"
alias qld2 "echo Quickloading...;wait;load q2"

Top of Page

Half-Life: Gauss Jump - Author: MD - 5/5/99
This can be used on the run or from a stationary position. You must prepare for its use by selecting and charging up the Gauss Gun, then face or run towards where you want to jump to. Hit the bound key and off you go. Depending on your machine and connection you may have to change the number of "waits" in the wt5 string.
bind "your key" gjump
alias wt5 "wait;wait;wait;wait;wait"
alias pitchrange "cl_pitchup 89;cl_pitchdown 89"
alias gjump "cl_pitchup -110;+back;wt5;+jump;wt5;-attack2;-jump;wt5;-back;pitchrange;force_centerview"

Top of Page

Half-Life: Jump and Duck Combos - Author: MD - 1/19/99
This script enables making LongJumps and DuckJumps consistently and reliably. 3 keys are needed: A jump, duck, and modifier key. The jump key is used for jumping and swimming up, the duck key is used for ducking and swimming down, and the modifier key does the real dirty work. When the modifier key is pressed and held, the jump key will yield a LongJump and duck key will yield a DuckJump. Release the modifier key and jumping and ducking is done normally.
bind "your jump key" +ups
bind "your duck key" +dns
bind "your modifier key" +sh
alias +lj "+duck;wait;+jump"
alias -lj "-duck;-jump;-moveup"
alias +up "+jump;+moveup"
alias -up "-jump;-moveup;-duck"
alias +dj "+jump;wait;+duck"
alias -dj "-jump;-duck;-movedown"
alias +dn "+duck;+movedown"
alias -dn "-duck;-movedown;-jump"
alias +sh "alias +ups +lj;alias -ups -lj;alias +dns +dj;alias -dns -dj"
alias -sh "alias +ups +up;alias -ups -up;alias +dns +dn;alias -dns -dn"
-sh

Top of Page

Half-Life: Jumping and Ducking - Author: MD - 1/19/99
Do you really need a key to jump, and another to move up? Or one key to crouch, and another to move down? Instead of 4 keys or buttons, use only 2.
bind "your jump key" +up
bind "your duck key" +down
alias +up "+jump;+moveup"
alias -up "-jump;-moveup"
alias +down "+duck;+movedown"
alias -down "-duck;-movedown"

Top of Page

Half-Life: Netgraph Toggle - Author: MD - 2/18/99
This toggles the netgraph (network performance indicator) for use in a 'net game. When displayed, the height of the bars depict latency. The colors show packets: green is a successful packet transfer, yellow or white indicates packet overflow, and red indicates a dropped packet. You want lots of nice, short green bars.
bind "your key" netgraf
alias netgraf netgraf1
alias netgraf1 "alias netgraf netgraf0;r_netgraph 1"
alias netgraf0 "alias netgraf netgraf1;r_netgraph 0"

Top of Page

Half-Life: Sniper 357mag - Authors: ??? & MD - 4/26/99
This allows you to quickly switch to the 357 magnum and enter sniper mode. How to use: Press and hold the bound key, and when the zoom kicks in, release it. Fire away. Press the bound key again to return to your previous weapon. Multiplayer ONLY - the 357 magnum has no sniper mode in single-player games.
bind "your key" +357mag
alias 357mag1 "use weapon_357;+attack2"
alias 357mag2 "-attack2;alias +357mag 357mag3;alias -357mag 357mag4"
alias 357mag3 lastinv
alias 357mag4 "alias +357mag 357mag1;alias -357mag 357mag2"
357mag4

Top of Page

Half-Life: Sniper Crossbow - Authors: ??? & MD - 4/26/99
This allows you to quickly switch to the crossbow and enter sniper mode. How to use: Press and hold the bound key, and when the zoom kicks in, release it. Fire away. Press the bound key again to return to your previous weapon.
bind "your key" +xbow
alias xbow1 "use weapon_crossbow;+attack2"
alias xbow2 "-attack2;alias +xbow xbow3;alias -xbow xbow4"
alias xbow3 lastinv
alias xbow4 "alias +xbow xbow1;alias -xbow xbow2"
xbow4

Top of Page

Half-Life: Volume Switcher - Author: PreMaN - 7/12/99
Using 2 keys you can adjust your sound volume up and down, with a "graphical" indicator echoed on the screen. Change the command in yellow to set your default volume level.
bind "key_volume_up" vup
bind "key_volume_down" vdn
alias vol_00 "alias vup vol_01;alias vdn vol_00;echo ****OFF***;volume 0.0"
alias vol_01 "alias vup vol_02;alias vdn vol_00;echo |*********;volume 0.1"
alias vol_02 "alias vup vol_03;alias vdn vol_01;echo *|********;volume 0.2"
alias vol_03 "alias vup vol_04;alias vdn vol_02;echo **|*******;volume 0.3"
alias vol_04 "alias vup vol_05;alias vdn vol_03;echo ***|******;volume 0.4"
alias vol_05 "alias vup vol_06;alias vdn vol_04;echo ****|*****;volume 0.5"
alias vol_06 "alias vup vol_07;alias vdn vol_05;echo *****|****;volume 0.6"
alias vol_07 "alias vup vol_08;alias vdn vol_06;echo ******|***;volume 0.7"
alias vol_08 "alias vup vol_09;alias vdn vol_07;echo *******|**;volume 0.8"
alias vol_09 "alias vup vol_10;alias vdn vol_08;echo ********|*;volume 0.9"
alias vol_10 "alias vup vol_10;alias vdn vol_09;echo *********|;volume 1.0"
vol_10

Top of Page