Upvote Upvoted 0 Downvote Downvoted
Quickswitch script
posted in Customization
1
#1
0 Frags +

So, i started using the quickswitch feature and i wanted to make my life a bit easier so I made a script that rolls thought the slots.

bind m +qswitch
alias +qswitch "+quickswitch;bind k qswitchslot1"
alias -qswitch "-quickswitch;unbind k"

alias qswitchslot1 "slot1; bind k qswitchslot2"
alias qswitchslot2 "slot2; bind k qswitchslot3"
alias qswitchslot3 "slot3; bind k qswitchslot1"

So what it should do is if i press m (witch pops up the dialog) and when i keep pressing k it will be going from slot1 to slot2 and slot3. But what this script does is that it changes the weapons ingame but not the slot in the quickswitch menu.
Thanks for any help

So, i started using the quickswitch feature and i wanted to make my life a bit easier so I made a script that rolls thought the slots.
[quote]
bind m +qswitch
alias +qswitch "+quickswitch;bind k qswitchslot1"
alias -qswitch "-quickswitch;unbind k"

alias qswitchslot1 "slot1; bind k qswitchslot2"
alias qswitchslot2 "slot2; bind k qswitchslot3"
alias qswitchslot3 "slot3; bind k qswitchslot1"[/quote]
So what it should do is if i press m (witch pops up the dialog) and when i keep pressing k it will be going from slot1 to slot2 and slot3. But what this script does is that it changes the weapons ingame but not the slot in the quickswitch menu.
Thanks for any help
2
#2
0 Frags +

I don't really get what this is for. Do you have hud_fastswitch 0?

I don't really get what this is for. Do you have hud_fastswitch 0?
3
#3
5 Frags +
WWhistlerI don't really get what this is for. Do you have hud_fastswitch 0?

i mean the quickswitch that let you change weapons without entering backapack

http://www.pixelhorizon.pl/eve_hud/normal_mode/quickswitch.jpg

[quote=WWhistler]I don't really get what this is for. Do you have hud_fastswitch 0?[/quote]
i mean the quickswitch that let you change weapons without entering backapack
[img]http://www.pixelhorizon.pl/eve_hud/normal_mode/quickswitch.jpg[/img]
4
#4
3 Frags +
bind m +qswitch
alias +qswitch "+quickswitch;bind k +qswitchslot1"
alias -qswitch "-quickswitch;unbind k"

alias +qswitchslot1 "slot1"
alias +qswitchslot2 "slot2"
alias +qswitchslot3 "slot3"
alias -qswitchslot1 "-quickswitch; +quickswitch; bind k +qswitchslot2"
alias -qswitchslot2 "-quickswitch; +quickswitch; bind k +qswitchslot3"
alias -qswitchslot3 "-quickswitch; +quickswitch; bind k +qswitchslot1"

This should do it for you, though because of a limitation with the quickswitch menu it'll actually re-open the menu each time you release the k key. Shouldn't be an issue, but if you do run into any, that's most likely the cause.

bind m +qswitch
alias +qswitch "+quickswitch;bind k qswitchslot1"
alias -qswitch "-quickswitch;unbind k"

alias qswitchslot1 "slot1; -quickswitch; +quickswitch; bind k qswitchslot2"
alias qswitchslot2 "slot2; -quickswitch; +quickswitch; bind k qswitchslot3"
alias qswitchslot3 "slot3; -quickswitch; +quickswitch; bind k qswitchslot1"

Incase the first script does cause issues, this is another version that re-opens the menu on k's press (so that it's immediate), but it lags behind by one weapon switch (to go to the quickswitch menu for your secondary, you'll have to press k until you're on your melee). The first is better, but this is probably more 'robust' if it needs to be.

Keep in mind too, both scripts won't be seamless when you're using your secondary/primary and will always assume you start with your primary out. It would be pretty easy to fix with some extra aliases and integration into a crosshair changer script though.

[code]bind m +qswitch
alias +qswitch "+quickswitch;bind k +qswitchslot1"
alias -qswitch "-quickswitch;unbind k"

alias +qswitchslot1 "slot1"
alias +qswitchslot2 "slot2"
alias +qswitchslot3 "slot3"
alias -qswitchslot1 "-quickswitch; +quickswitch; bind k +qswitchslot2"
alias -qswitchslot2 "-quickswitch; +quickswitch; bind k +qswitchslot3"
alias -qswitchslot3 "-quickswitch; +quickswitch; bind k +qswitchslot1"[/code]
This should do it for you, though because of a limitation with the quickswitch menu it'll actually re-open the menu each time you release the k key. Shouldn't be an issue, but if you do run into any, that's most likely the cause.
[code]bind m +qswitch
alias +qswitch "+quickswitch;bind k qswitchslot1"
alias -qswitch "-quickswitch;unbind k"

alias qswitchslot1 "slot1; -quickswitch; +quickswitch; bind k qswitchslot2"
alias qswitchslot2 "slot2; -quickswitch; +quickswitch; bind k qswitchslot3"
alias qswitchslot3 "slot3; -quickswitch; +quickswitch; bind k qswitchslot1"[/code]
Incase the first script does cause issues, this is another version that re-opens the menu on k's press (so that it's immediate), but it lags behind by one weapon switch (to go to the quickswitch menu for your secondary, you'll have to press k until you're on your melee). The first is better, but this is probably more 'robust' if it needs to be.

Keep in mind too, both scripts won't be seamless when you're using your secondary/primary and will always assume you start with your primary out. It would be pretty easy to fix with some extra aliases and integration into a crosshair changer script though.
5
#5
0 Frags +

Thanks a lot, it works!

Thanks a lot, it works!
Please sign in through STEAM to post a comment.