I need help on binding a single key to a specific weapon and firing that weapon. I've looked around and can't figure out how to... For instance... press the "a" key and have that key switch to and fire a rocket... Press the "s" key and switch to and fire a grenade. I know it's simple but I've been away so long I just can't figure it out. Please help... I know it's something like "alias +rl" "impulse 7 +attack" Then you bind +rl to the "a" key? Is this correct? I've been busy with family today and haven't had time to "trial and error" this script. I HAVE BUNNIES RUNNING ALL THROUGH MY HOUSE! heh heh! Any help would be appreciated! Thanx...Dilli
Announcement
Collapse
No announcement yet.
old timer needs help plz...
Collapse
X
-
Code:alias gsnip "impulse 2" alias snip1 "impulse 1; alias gsnip "impulse 1"" alias snip2 "impulse 2; alias gsnip "impulse 2"" alias snip3 "impulse 3; alias gsnip "impulse 3"" alias snip4 "impulse 4; alias gsnip "impulse 4"" alias snip5 "impulse 5; alias gsnip "impulse 5"" alias snip6 "impulse 6; alias gsnip "impulse 6"" alias snip7 "impulse 7; alias gsnip "impulse 7"" alias snip8 "impulse 8; alias gsnip "impulse 8"" bind 1 snip1 bind 2 snip2 bind 3 snip3 bind 4 snip4 bind 5 snip5 bind 6 snip6 bind 7 snip7 bind 8 snip8 alias +rocketty "impulse 7;+attack" alias -rocketty "-attack;gsnip" alias +nadey "impulse 6;+attack" alias -nadey "-attack;gsnip" bind a +rocketty bind s +nadey
Last edited by Canadian*Sniper; 09-13-2006, 09:55 PM.
-
I'll explain. This was basically taken out of my DualWeapons.cfg file. It's my personal means of quick switching in Quake yet it's glitchy at times. I only gave Dilligaf what he/she needed.
gsnip is basically the last weapon you selected using the 1-8 keys. After you use a quick switch, it'll return to the last weapon you selected.
snip# basically replaces the impulse# with the same command but also updating gsnip. Some servers may cause you problems (I don't know why) with this configuration so if anyone knows a better solution, I'm all ears.
The rest should be quite obvious. no?
edit:
my bad, I updated the code in my 1st postLast edited by Canadian*Sniper; 09-13-2006, 09:55 PM.
Comment
Comment