🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.games.quake2
Article #282680

Re: Best Weapon Script

#282680
From: Havard C Skale
Date: Wed, 01 Jun 2005 15:17
65 lines
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.
Technical Details
Message-ID: <MPG.1d07eff1ab6201be989691@news.broadpark.no>
Path: mbox-mo1.pugleaf.net!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!solnet.ch!solnet.ch!nntp.gblx.net!nntp3.phx1!news.broadpark.no
References: <e6ine.35796$8S5.29199@bignews3.bellsouth.net> <429dc6de$0$23578$91cee783@newsreader02.highway.telekom.at>

Show Full Headers
Complete Article Headers
From: Havard C Skale <ocbrumm@spotmail.com>
Newsgroups: alt.games.quake2
Subject: Re: Best Weapon Script
Date: Wed, 1 Jun 2005 17:17:30 +0200
Message-ID: <MPG.1d07eff1ab6201be989691@news.broadpark.no>
References: <e6ine.35796$8S5.29199@bignews3.bellsouth.net> <429dc6de$0$23578$91cee783@newsreader02.highway.telekom.at>
Organization: Dagobah
MIME-Version: 1.0
User-Agent: MicroPlanet-Gravity/2.60.2060
NNTP-Posting-Host: 88.80-203-114.nextgentel.com
X-Original-NNTP-Posting-Host: 88.80-203-114.nextgentel.com
X-Trace: news.broadpark.no 1117639048 88.80-203-114.nextgentel.com (1 Jun 2005 17:17:28 +0200)
Lines: 65
Path: mbox-mo1.pugleaf.net!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!solnet.ch!solnet.ch!nntp.gblx.net!nntp3.phx1!news.broadpark.no
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit