Thread View: alt.games.quake2
4 messages
4 total messages
Started by Jim
Wed, 01 Jun 2005 12:50
Best Weapon Script
Author: Jim
Date: Wed, 01 Jun 2005 12:50
Date: Wed, 01 Jun 2005 12:50
18 lines
1633 bytes
1633 bytes
I used to play Q2 and I had a script bound to a key that would scroll through all weapons. The best weapons were at the end of the script so the last weapon I actually had would be chosen. I thought it looks like this: bind a "use Blaster";"use Shotgun";"use Super Shotgun";"use Machinegun";"use Chaingun";"use Grenade Launcher";"use Railgun";"use HyperBlaster";"use Rocket Launcher" I tried removing the quotes, I tried adding the commands to a new cfg file and binding exec to that cfg file, etc. I cant get it to work. Any help? Jim
Re: Best Weapon Script
Author: Grieve
Date: Wed, 01 Jun 2005 14:35
Date: Wed, 01 Jun 2005 14:35
44 lines
2375 bytes
2375 bytes
"Jim" <Jim@no.com> schrieb im Newsbeitrag news:e6ine.35796$8S5.29199@bignews3.bellsouth.net... > I used to play Q2 and I had a script bound to a key that would scroll > through all weapons. The best weapons were at the end of the script so > the last weapon I actually had would be chosen. > > I thought it looks like this: > > bind a "use Blaster";"use Shotgun";"use Super Shotgun";"use > Machinegun";"use Chaingun";"use Grenade Launcher";"use Railgun";"use > HyperBlaster";"use Rocket Launcher" > > I tried removing the quotes, I tried adding the commands to a new cfg > file and binding exec to that cfg file, etc. > > I cant get it to work. > > Any help? > > Jim all this must be in ONE quote, seperated by semicolons. and define an alias when you want to bind more than one function to one key. in my config, I get the best available heavy weapon with mousewheel up, the best available fireweapon with mousewheel down, and the best available alternate weapon ( especially grenades) with v ( which is right besides my movement keys ). ------------------- ( autoexec.cfg : ) alias handwep "use shotgun; use machinegun; use super shotgun; use chaingun" bind MWHEELUP handwep alias heavywep "use hyperblaster; use railgun; use rocket launcher" bind MWHEELDOWN heavywep alias alternatewep "use blaster; use grenades; use grenade launcher; use bfg10k" bind v alternatewep
Re: Best Weapon Script
Author: Jim
Date: Wed, 01 Jun 2005 15:17
Date: Wed, 01 Jun 2005 15:17
56 lines
2955 bytes
2955 bytes
Grieve wrote on 6/1/2005 10:35 AM: > "Jim" <Jim@no.com> schrieb im Newsbeitrag > news:e6ine.35796$8S5.29199@bignews3.bellsouth.net... > >>I used to play Q2 and I had a script bound to a key that would scroll >>through all weapons. The best weapons were at the end of the script so >>the last weapon I actually had would be chosen. >> >>I thought it looks like this: >> >>bind a "use Blaster";"use Shotgun";"use Super Shotgun";"use >>Machinegun";"use Chaingun";"use Grenade Launcher";"use Railgun";"use >>HyperBlaster";"use Rocket Launcher" >> >>I tried removing the quotes, I tried adding the commands to a new cfg >>file and binding exec to that cfg file, etc. >> >>I cant get it to work. >> >>Any help? >> >>Jim > > > > all this must be in ONE quote, seperated by semicolons. and define an alias > when you want to bind more than one function to one key. > > in my config, I get the best available heavy weapon with mousewheel up, the > best available fireweapon with mousewheel down, and the best available > alternate weapon ( especially grenades) with v ( which is right besides my > movement keys ). > > ------------------- > > ( autoexec.cfg : ) > > alias handwep "use shotgun; use machinegun; use super shotgun; use chaingun" > bind MWHEELUP handwep > > alias heavywep "use hyperblaster; use railgun; use rocket launcher" > bind MWHEELDOWN heavywep > > alias alternatewep "use blaster; use grenades; use grenade launcher; use > bfg10k" > bind v alternatewep > > THANK YOU! That worked. I thought I tried that but I didnt have a space after the semicolon. I wonder if that broke it. Anyway. You Rock! Jim
Re: Best Weapon Script
Author: Havard C Skale
Date: Wed, 01 Jun 2005 15:17
Date: Wed, 01 Jun 2005 15:17
65 lines
3194 bytes
3194 bytes
In article <429dc6de$0$23578$91cee783@newsreader02.highway.telekom.at>,
nospam@nospam.com says...
>
> "Jim" <Jim@no.com> schrieb im Newsbeitrag
> news:e6ine.35796$8S5.29199@bignews3.bellsouth.net...
> > I used to play Q2 and I had a script bound to a key that would scroll
> > through all weapons. The best weapons were at the end of the script so
> > the last weapon I actually had would be chosen.
> >
> > I thought it looks like this:
> >
> > bind a "use Blaster";"use Shotgun";"use Super Shotgun";"use
> > Machinegun";"use Chaingun";"use Grenade Launcher";"use Railgun";"use
> > HyperBlaster";"use Rocket Launcher"
> >
> > I tried removing the quotes, I tried adding the commands to a new cfg
> > file and binding exec to that cfg file, etc.
> >
> > I cant get it to work.
> >
> > Any help?
> >
> > Jim
>
>
> all this must be in ONE quote, seperated by semicolons. and define an alias
> when you want to bind more than one function to one key.
>
> in my config, I get the best available heavy weapon with mousewheel up, the
> best available fireweapon with mousewheel down, and the best available
> alternate weapon ( especially grenades) with v ( which is right besides my
> movement keys ).
>
> -------------------
>
> ( autoexec.cfg : )
>
> alias handwep "use shotgun; use machinegun; use super shotgun; use chaingun"
> bind MWHEELUP handwep
>
> alias heavywep "use hyperblaster; use railgun; use rocket launcher"
> bind MWHEELDOWN heavywep
>
> alias alternatewep "use blaster; use grenades; use grenade launcher; use
> bfg10k"
> bind v alternatewep
>
>
>
//BESTWEAPON
alias "bl" "use blaster"
alias "sg" "use shotgun;use machinegun"
alias "mg" "use super shotgun;use chaingun"
alias "gl" "use grenade launcher;use hyperblaster"
alias "rl" "use railgun;use rocket launcher"
alias "BWeap" "bl;wait;sg;wait;mg;wait;gl;wait;rl"
bind "w" "bweap"
its a bit too bloated for just a bestweapon, since I use the aliases in
other scripts, but I guess you get the drift
--
Ole.C.Brumm[AGQ2] aka Skyvalker[AGQ2]
One Server to rule them all, One Server to find them,
One Server to bring them all and in the darkness bind them
In the Haus of Sigil where the Shadows lie.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads