Forum

Making the 'q' key swap between Primary & Secondary

Created 31st October 2011 @ 06:29

Add A Reply Pages: 1 2 Next »

Brov

There’s a bind for it, I just don’t know what is it.
Can anyone give me the bind for it?
Thanks :]


Last edited by Brov,

slate

(ETF2L Donator)
AMG

alias primary “slot1; alias weapon_tg secondary”
alias secondary “slot2; alias weapon_tg primary”
alias weapon_tg “primary”

bind q “weapon_tg”

it will probably not work 100% after spawning (I don’t know how reliable, remember last active weapon is)

Opti

REMOVE

bind “q” “lastinv”

Mors Immortalis

KoP!?

bind “Q” “slot2; slot1”
don’t ask

u will start with the RL, after using melee


Last edited by Mors Immortalis,

Spike Himself

TC

Quoted from Mors Immortalis

bind “Q” “slot2; slot1”
don’t ask

I’m going to ask anyway :D
Why/how does that work?

Kvux

/./
LEGO

As well as I remember there’s an option for that in advanced options

Mors Immortalis

KoP!?

Quoted from Spike Himself

[…]

I’m going to ask anyway :D
Why/how does that work?

I don’t know. It doesn’t make sense… but hey, it works ;)
I’ve found this some time ago. I suppose it is only working because u cannot change to slot2 while having slot2 active, same thing with slot1 as there is some delay when changing weapons

Maybe Chris knows


Last edited by Mors Immortalis,

TviQ

ft.
007

Quoted from Spike Himself

[…]

I’m going to ask anyway :D
Why/how does that work?

To me its look likes it you press the key 2 times nothing will happen as then it have cycled through the command <.< i dunno :P

ThePledge

bind “mwheeldown” “ubersaw”
bind “q” “q_syringe”

alias “q_syringe” “medigun”
alias “q_medigun” “syringe”

alias “syringe” “slot1;r_drawviewmodel 0;bind q q_syringe”
alias “medigun” “slot2;r_drawviewmodel 0;bind q q_medigun”
alias “ubersaw” “slot3;r_drawviewmodel 1;viewmodel_fov 110;bind q q_syringe”

I use this as my medic cfg. Q alternates between slot1 and slot2, and when I’m at my ubersaw (mousewheeldown), Q switches to slot2.

In order for it to work after you die, make sure you got “remind weapon after death” ticked in the multiplayer -> advanced options.

Hope this helps.

Brov

Thanks, ill try those out today.


Last edited by Brov,

Enef

fest
#wubafan

Quoted from Kvux

As well as I remember there’s an option for that in advanced options

Quoted from Opti

bind “q” “lastinv”

That’s not what he means, with that there is a chance of accidentally switching to melee weapons (because they were the weapons “Last” out).

What he wants is a script that only ever switches between slot 1 and slot 2, like others have mentioned :)

I actually have this and it works perfectly but i can’t find it in my config, if anyone wants to try and use it up i use Flames competitive config(heavily modified in other areas).


Last edited by Enef,

Forsak3n

S

http://fakkelbrigade.eu/archives/1321/dr-leons-crosshair-changer

ell

(ETF2L Donator)

Quoted from ThePledge

[…]
In order for it to work after you die, make sure you got “remind weapon after death” ticked in the multiplayer -> advanced options.

Hope this helps.

The cvar tf_remember_activeweapon controls this behaviour.

octochris

(0v0)

Quoted from Spike Himself

[…]

I’m going to ask anyway :D
Why/how does that work?

Because it tries to do both in the same tick, and one can’t be done. If you have melee out, it just takes whatever was last called, which is slot1. If you have RL out, it can’t take slot1, so it takes slot2. The opposite for your shotgun.

Sketch

MM

I got this working with all sorts of combinations been using it for 3 years or more. I will post up my configuration later.

Will be home at 4:20 gmt


Last edited by Sketch,

Add A Reply Pages: 1 2 Next »