Half-Life Aliases

ALIASES


Always Use


Author: Mad Dog

Description: This is for multiplayer only. It sets the +use command in a locked 'on' position, so that you don't have to bother to use it every time you walk over a powerup . . . it will charge up automatically. The real alias actually lets you hold down a key to turn +use OFF, and back on again when you release it (like if you wanted to push a box, etc.) Again, this is recommended for multiplayer only.

Put this in your config file:
bind "your key" +work //(You should replace 'your key' with the key you would like assigned for this alias)
alias +work -use
alias -work +use
+use



Automatic Centerview


Author: indian18

Description: This alias fixes the bug that doesn't allow you to use centerview while +mlook is enabled. Simply hold down the key until the view is centered (about a second), then let go.

Put this in your config file:
alias +center "-mlook;centerview"
alias -center "wait;+mlook"
bind "end" +center //(I used "end" as the key bound to centerview, but you can use anything)



Best Weapon Alias


Author: Scatman

Description: This is one of my favorite aliases. What it does is it cycles through all of the possible weapons, and selects the best one. The best weapon can be decided by you. All you have to do is change the scripting to the correct order of weapons. Don't forget, the weapon you like best should be LAST, not first, otherwise you will most likely be stuck with a crowbar or a handgun.

Put this in your config file:
bind "f" bestweap //(Again, I used a a specified key, in this case 'f' being the key, but you can still replace 'f' with your favorite key to execute this alias)
alias bestweap "qw1;qw2;qw3;qw4;qw5;echo best weapon . . ."
alias qw1 "weapon_crowbar;wait;weapon_9mmhandgun;wait;weapon_tripmine"
alias qw2 "weapon_hornetgun;wait;weapon_snark;wait;weapon_handgrenade"
alias qw3 "weapon_satchel;wait;weapon_357;wait;weapon_crossbow"
alias qw4 "weapon_shotgun;wait;weapon_9mmAR;wait;weapon_rpg"
alias qw5 "weapon_egon;wait;weapon_gauss"



Circle Strafe


Author: Scatman

Description: Just press the key that is bound to '+circ_r' to strafe right and turn left at the same time, or the key bound to '+circ_l' to strafe left and turn right. It can be used to strafe in circles around a newbie.

Put this in your config file:
alias +circ_l "+moveleft;+right"
alias -circ_l "-moveleft;-right"
alias +circ_r "+moveright;+left"
alias -circ_r "-moveright;-left"
bind "your key" +circ_r
bind "your key" +circ_l //(You should replace 'your key' with the key you would like to use for each alias. I reccommend 'q' and 'e' if you use WASD and the mouse to move around in half-life. That way, they are easily accessible)



Duck and Hold


Author: Scatman

Description: Press the key bound to this alias to duck and stay that way. Press it again and you pop right back up. Reccommended for yuo campArs who are lazyX0rz and yupo don't want to holdX0rz the computAr key downX0rz. I will haX0r yupo.

Put this in your config file:
alias duck_on "alias duck duck_off; +duck"
alias duck_off "alias duck duck_on; -duck"
alias duck duck_on
bind "z" duck //(Once again, you can change 'z' to any key you would like for this alias)



The Scatterang


Author: Scatman

Description: This is one of my favorite aliases. Press the key bound to this alias, and the rpg will pop up, but you must hold down the button, otherwise, it won't shoot. After it shoots the rpg rocket, let go of the button, and it will automatically switch to the 9mmAR. THIS IS THE KILLER COMBO!!! (Don't forget that you must reload the rpg before trying to execute the Scatterang combo again, otherwise it wont have any rocket to shoot)

Put this in your config file:
alias +attack_scatterang "+attack"
alias -attack_scatterang "-attack;weapon_9mmAR;bind mouse1 +attack"
alias scatterang_on "weapon_rpg;bind mouse1 +attack_scatterang"
bind "c" scatterang_on //(I made this combo for people who play Half-Life using WASD and the mouse to move around, and again, change the 'c' to any key you wish)



Jump/Crouch Combos


Author: Mad Dog

Description: In the example below, I have bound 3 keys: SHIFT, CTRL, and MOUSE3. The SHIFT key is used as the "jumping" key, CTRL is used as the "ducking" key, and MOUSE3 is a modifier button - when MOUSE3 is pressed and held, pressing SHIFT will result in a LongJump and pressing CTRL will result in a DuckJump. When MOUSE3 is released, SHIFT and CTRL will function as normal jumping and ducking keys. You can bind these commands to whatever 3 keys or buttons you like instead. This is very handy for setups where pressing "jump" and "duck" simultaneously is inconvenient. It's also nice if you find performing the key combos needed to make these jumps annoying or frustrating.

Put this in your config file:
bind SHIFT +ups //(you may change SHIFT to any key you wish)
bind CTRL +dns //(you may change CTRL to any key you wish)
bind MOUSE3 +sh //(you may change MOUSE3 to any key you wish)
alias +lj "+duck;wait;+jump"
alias -lj "-duck;-jump;-moveup"
alias +up "+jump;+moveup"
alias -up "-jump;-moveup;-duck"
alias +ups +up
alias -ups -up
alias +dj "+jump;wait;+duck"
alias -dj "-jump;-duck;-movedown"
alias +dn "+duck;+movedown;-jump"
alias +dns +dn
alias -dns -dn
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"



Mega Torch


Author: Seven^3

Description: Well, this alias basically lights up enemies and friends. Click the button once to light 'em up, and again to make it normal. It also illuminates your weapon.

Put this in your config file:
alias shine_on "r_fullbright 0;alias shine shine_off"
alias shine_off "r_fullbright 1;alias shine shine_on"
alias shine shine_on
bind F12 shine //(you may change F12 to any key you wish)



Quick Long Jump


Author: Scatman

Description: This one saves my butt all the time. Use this while running forward for a one touch long-jump. It won't work if you don't have the long jump module though. I would reccommend binding this alias to the ALT key, but you may wish to use any key you want.

Put this in your config file:
alias +lj "+duck;wait;+jump"
alias -lj "-duck;wait;-jump"
bind "ALT" "lj" //(like i said, i would reccommend using ALT for this alias, but feel free to change it to any key you wish)



Quick Tripmine


Author: Scatman

Description: Hold down the key to switch to tripmines and start setting them. Release the key to stop setting tripmines, and go back to the weapon you had before.

Put this in your config file:
bind "HOME" +quicktripmine //(again, you may change HOME to any key you wish)
alias "+quicktripmine" "weapon_tripmine;+attack"
alias "-quicktripmine" "echo Tripmine placed;-attack;lastinv"



Quicksnark


Author: Scatman

Description: Hold down the key to switch to snarks and start throwing, and release it to stop throwing and go to the weapon you had before.

Put this in your config file:
alias +quicksnark "weapon_snark;+attack"
alias -quicksnark "-attack;lastinv"
bind END +quicksnark //(you may used any key for this alias, but I would reccommend using END)



Walk on Water


Author: Naddy

Description: Hit the key once to "float" on top of the water, then hit it again to turn off floating.

Put this in your config file:
alias float_on "+moveup;echo Floating is ON;bind p float_off"
alias float_off "-moveup;echo Floating is OFF;bind p float_on"
bind p float_on //(ok, now I tried it, but I don't know if it works. Go ahead and try it for yourself, and feel free to change the key bound to this alias to any key you wish)



Wheel Walk


Author: Scatman
Description: Roll the whell forward to start and continue walking. Roll it back one click to stop, and back again to walk backwards(later I will make it so you roll once forward to walk slowly, twice or more to walk normal/run, and then back till you go backwards).

Put this in your config file:
//Logitech or any other mouse that supports mouse wheelup/down
//Use the Mouse Wheel to move forward and back
bind mwheelup mwup
bind mwheeldown mwdown
alias mwup mwup_s
alias mwdown mwdown_s
alias mwup_s "+forward;alias mwdown nwdown_f;unbind mwheelup"
alias mwdown_s "+back;alias mwup mwup_b;unbind mwheeldown"
alias mwdown_f "-forward;bind mwheelup mwup;alias mwdown mwdown_s"
alias mwup_b "-back;bind mwheeldown mwdown;alias mwup mwup_s"


Hosted by www.Geocities.ws

1