Welcome to GameHourz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Best Weapon Script

 
   Game Forums (Home) -> Quake -> Quake2 RSS
Next:  Q2 Server Co-op Rogue All welcome  
Author Message
Jim

External


Since: Nov 09, 2004
Posts: 69



(Msg. 1) Posted: Wed Jun 01, 2005 8:50 am
Post subject: Best Weapon Script
Archived from groups: alt>games>quake2 (more info?)

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

 >> Stay informed about: Best Weapon Script 
Back to top
Login to vote
Grieve

External


Since: Jan 20, 2005
Posts: 26



(Msg. 2) Posted: Wed Jun 01, 2005 4:35 pm
Post subject: Re: Best Weapon Script [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Jim" <Jim.TakeThisOut@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

 >> Stay informed about: Best Weapon Script 
Back to top
Login to vote
Jim

External


Since: Nov 09, 2004
Posts: 69



(Msg. 3) Posted: Wed Jun 01, 2005 4:35 pm
Post subject: Re: Best Weapon Script [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Grieve wrote on 6/1/2005 10:35 AM:
> "Jim" <Jim RemoveThis @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
 >> Stay informed about: Best Weapon Script 
Back to top
Login to vote
Havard C Skale

External


Since: Apr 05, 2005
Posts: 3



(Msg. 4) Posted: Wed Jun 01, 2005 5:17 pm
Post subject: Re: Best Weapon Script [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <429dc6de$0$23578$91cee783@newsreader02.highway.telekom.at>,
nospam.RemoveThis@nospam.com says...
>
> "Jim" <Jim.RemoveThis@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.
 >> Stay informed about: Best Weapon Script 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Q2 server is down for now. - Hi. The server is down for now. It will be back as soon as I can manage it, and should be more robust. It was running on my Windows machine which has become more and more unstable. I've finally taken the leap and switched to Linux. Umbuntu flavor. Now..

saving games in Q2 - Hello All My issue is everytime i save a point in a game,i cannot load from that point,i go back to the beginning of the level,i also get an error message that "game pointers have been moved" , i have NO idea what this means. Any/all help ap...

Quake II - Mission 7: Nothing to shoot? - Ok, I know it's years old, but I just started playing Quake II. I've gotten to level 7 (Big Gun) and once you enter the first "arena", where the laser is, the floating boss doesn't show up. How do you trigger his appearance? The explosions w...

Quake II Dedicated Server is Up - Currently vanilla Q2 deathmatch with standard deathmatch maps and some of the maps from the single-player game. IP is 82.25.215.51 Hopefully it'll work ;) Enjoy! -- Jack of Hearts in The Eeeeevil Cabal (TINC...) Website currently down. There is no..

Ping: Tom Chaduoir - Tom- Is the FTP site still up? I am needing to retrieve some files that have mysteriously gone missing from my Q2 library..... Thanks- Glock
   Game Forums (Home) -> Quake -> Quake2 All times are: Ekaterinburg, Islamabad, Karachi, Tashkent (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]