Nexuiz Ninjaz - Practicing the Ninja Art of Nexuiz
[Q] How to toggle between laser and current weapon - Printable Version

+- Nexuiz Ninjaz - Practicing the Ninja Art of Nexuiz (http://www.nexuizninjaz.com/forum)
+-- Forum: General (/Forum-General.html)
+--- Forum: Ninjutsu - Tips, Tricks and Strategies (/Forum-Ninjutsu-Tips-Tricks-and-Strategies.html)
+--- Thread: [Q] How to toggle between laser and current weapon (/Thread-Q-How-to-toggle-between-laser-and-current-weapon.html)


[Q] How to toggle between laser and current weapon - Flav - 02-09-2010 09:28 PM

Hi

I'm new around here.

How to bind the key E to toggle between laser and the current weapon?

Thanks


RE: [Q] How to toggle between laser and current weapon - Zezima - 02-14-2010 05:42 AM

Do not use "E" since that is default for grappling hook.

Use "R" to bind a weapon, but I am not sure you can bind 2 weapons to the same key though... Most likely not


RE: [Q] How to toggle between laser and current weapon - Moo - 02-14-2010 05:49 PM

Actually, it's possible and quite simple.
You need to have these two lines in your config file:

Code:
set cl_weaponpriority6 "1 <IMPULSE#>"
bind <KEY> "impulse 226"

<IMPULSE#> needs to be replaced with the impulse number of the weapon you want to toggle between (laser is 1, shotgun is 2, etc [they correspond with the numbers on your keyboard]).
<KEY> needs to be replaced with the key you want to bind the toggle onto (try not to overwrite binds that already exist).

--Moo


RE: [Q] How to toggle between laser and current weapon - Flav - 02-22-2010 06:00 PM

What do you mean by "<IMPULSE#>"? I want to toggle between laser and whichever weapon was previously active, not a predefined, constant one.


RE: [Q] How to toggle between laser and current weapon - Moo - 02-28-2010 10:53 AM

I am not sure if that's possible........ If you figure out, however, do tell!

Sorry I couldn't figure this out....


RE: [Q] How to toggle between laser and current weapon - AnArKiSt - 03-21-2010 06:31 PM

I'm sorry about the late reply, I didn't want to leave this without a semi-resolution, at minimum.

Isn't a switch to the previous weapon the Laser's "secondary fire"?

You should be able to bind the laser to "E" (I recommend "R", however.), and just right-click to return to the previous weapon. That is, unless something has changed since my computer bricked a bit over 2 months ago.