Being an ex programmer (very ex, hated it, boring!) I couldn't resist getting into Quake related aliases and binds. Here's a list of the ones I use, their descriptions and some wicked bind related links. Toggle means you press the button once to activate, again to deactivate. Cycle means multiple presses of the key do different things.
=====
8/9/98 Shifted Chats
Ever wanted to bind more than one thing to a key? I wanted to say "Incoming" with my number 1 key and hold Shift down, press 1 and have it say "Incoming Quad". Well, try this:
// Shifted Chat Binds alias -Chats "bind 1 say_team INCOMING %l !!!;bind 2 say_team Defence needed NOW!!!;bind 3 say_team Have flag %l"
alias +Chats "bind 1 say_team INCOMING QUAD !!!;bind 2 say_team Base Overrun!!!;bind 3 say_team I'm recovering flag, stay with base."
Do a bind for chats to a key like Tab and you're away.
=====
11/8/98 Railgun Zoom/Fire REVISED by Harmer
Here's an interesting one I got from The Bind today. You turn it on with a key, select your railgun and when you press and hold the fire button, it zooms in. Release the button and it fires. Weird, but I'll give it a try! Oh, it doesn't seem to work without the waits in there.
// Zoom Railgun Shot
alias +railshot "zoom_on"
alias -railshot "+attack;wait;wait;-attack;zoom_off"
alias railshot_on "bind mouse1 +railshot; alias Selected railshot_off"
alias railshot_off "bind mouse1 +attack; alias Selected railshot_on"
alias railshot_toggle Selected
Just bind a key to railshot_toggle and make sure you have a zoom_on and zoom_off alias already.
=====
21/7/98 LMCTF Compass Changer
Heard of the new compass in LMCTF TE?? It shows you the way to your base, the direction you're facing or where the enemy flag is located. Sounds ok, but haven't used it in a real game yet. Anyway, here's a simple alias I made up for it:
alias CompassMode CompassOn
alias CompassOff "compass off;alias CompassMode CompassOn"
alias CompassOn "compass on;alias CompassMode CompassFacing"
alias CompassFacing "compass facing;alias CompassMode CompassFlag"
alias CompassFlag "compass flag;alias CompassMode CompassOff"
bind O CompassMode
=====
15/7/98 Set/Drop/Announce/Ask for Ammo Type
This isn't a single bind, more a set of binds for ammo usage. What I've done is bound groups of weapons to keys and set an ammo type against them. The idea came from a script on The Bind by Striker. eg.
bind r "cl_particles 0;set drop_stuff bullets;use machinegun;use chaingun"
So what happens here is I turn particles off when selecting the chain or machine gun (for frame rate increase), set my drop_stuff variable to bullets, and finally toggle between weapons. I have the B key bound to "drop $drop_stuff" so that when someone needs bullets, I select the chaingun and press B to drop some. I've also got a couple of message binds :
bind 5 "say_team Need $drop_stuff"
bind 6 "say_team Jump if you need $drop_stuff;wave 3"
...which either ask for the ammo type or announce that I have some.
=====
Grenade Trail (Toggle)
I was one of the early adopters of this alias in Perth. Soon after I fragged a heap of flag chasers, plenty of other people started using it! Basically you press a button and it starts laying out grenades for pursuers to trip on. It has its problems though : autofires the weapon you're holding if you don't have the grenade launcher and grenades, when you turn it off you have to release any movement keys and then continue moving again, when you die using it remember to switch it off.
// Grenade Trail Alias
alias "trailtog" "gren"
alias "gren" "msg 3;gren1;msg 1;echo Laying Grenade Trail!!"
alias "gren1" "use grenade launcher;+attack; alias trailtog norm"
alias "norm" "-attack;-forward;weaplast; alias trailtog gren"
bind ctrl "trailtog"
=====
Drop Stuff (Cycle)
This was developed recently by Harmer and myself to help us in our Clan Wars. Press the , (comma) key and an echo to the screen shows what you're about to drop. Press the . (period) key and you drop whatever you just selected.
*** Update *** Check out the Set/Drop/Announce/Ask alias above for the new way of doing most of this.
// Drop Stuff
alias drop_stuff "Echo Nothing Selected"
alias drop_pshield "Echo Drop Power Shield?;alias drop_change drop_cells;alias drop_stuff drop power shield"
alias drop_cells "Echo Drop 50 Cells?;alias drop_change drop_rockets;alias drop_stuff drop cells"
alias drop_rockets "Echo Drop 5 Rockets?;alias drop_change drop_pshield;alias drop_stuff drop rockets" alias drop_change "drop_pshield"
bind , "drop_change"
bind . "drop_stuff"
========================================
Links
The Bind
Probably THE best site for bind related material. The name says it all!
Farenheit 176
Not as complete as The Bind, but their aliases are very classy. I check both these sites regularly.
Joe Manio
Joe has a cool site with a bunch of really practical listings and explanations. I haven't finished going through his configs yet but they look well done.