Help - Search - Members - Calendar
Full Version: Weapon switch bug
Unknown Worlds Forums > Natural Selection > Natural Selection Discussion > Bug Reports
rutix
In my marine cfg i have binded

mouse2 nextinv
mouse3 lastinv
mouse4 weapon_knife

The point now is when i shoot with lmg and my weapon is empty or almost empty and then press mouse4 and kill the skulk or whatever and then press mouse3 it doesnt switches to lmg but to pistol. And thats the same with if you use pistol and then switches to knife and use lastinv to go back it switches to lmg.

Talked to puzl about this and here is the full description puzl wink-fix.gif
JazzX
I'm guessing you meant: mouse2 invnext, but I don't think it really changes what you've reported.

It looks like the actual issue is that selecting a weapon via its name (weapon_knife) messes up the lastinv command.
Laggasaurus
The config setup he has 'assuming' he's still using the config I gave him, is :

mouse2 "invprev"
mouse3 "lastinv"
mouse4 "slot3"

so a combination of (starting on blink) mouse1;mouse2;mouse1;mouse1;mouse3;mouse4;mouse1;mouse3;mouse2;mouse1

will - blink, swipe, blink, meta, blink, swipe.

And personally I haven't experienced any problems on the marine side either.
JazzX
If you use the slot # then everything works okay, ditto for invprev and invnext. Its when you throw in the weapon names that things get screwed up. I haven't tested it in HL or CS yet, but I'm guessing this is probably not an NS-specific problem, nor is it likely new to 3.2
puzl
I wouldn't be totally shocked if it was NS specific. We changed some of the weapon switch code to fix the infamous 'weapon redout bug'. I'll have a look for a solution, but I won't spend too long on it ( i.e. it is a nice-to-fix for 3.2, not a requirement )
JazzX
Entered as Bug 1206
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.