Page 1 of 1

Problem with setting Mouse2 button

PostPosted: 04 Aug 2017, 12:15
by Vanquis
Hi guys. I would like to ask you how can I set the Mouse2 button as Reload action and scope view (snipe). Now I'm talking about what I mean exactly. I play mostly 2 classes covert ops and medic. I got used to the settings like R Reload rifle and scope view Mouse2. After map change if I want to play with smg for example medic or engi I have to change manually in controls Reload weapon on Mouse2 and so every time it's annyoing :| Scope view works for me in settings Nitmod-Controls-Alternate Fire set Mouse2 (to time I will choose smg). I don't understand button Switch to Alternate under Attack command- I have weapalt there. In short can I set the action for 2 things with 1 button?. I know that option Reload works as R or Mouse2 but I can't assign Alternate Fire button as Mouse2 anymore. Help me guys :D

Re: Problem with setting Mouse2 button

PostPosted: 06 Aug 2017, 19:52
by ETc|#.Jay.#
bind 9 "bind mouse2 +reload"
bind 0 "bind mouse2 +attack2"

thats the easy way. if you wanna switch with 1 key only you need to script it.



script:

create a cfg called switch.cfg and put that text below inside.
save in nitmodfolder and do /exec switch.cfg
Code: Select all
set reload1 "bind mouse2 +reload ; set attack2_reload1 vstr attack2"
set attack2 "bind mouse2 +attack2 ; set attack2_reload1 vstr reload1"
set attack2_reload1 "vstr reload1"
bind 0 "vstr attack2_reload1"


now you can switch your bind on mouse2

Re: Problem with setting Mouse2 button

PostPosted: 06 Aug 2017, 20:26
by Vanquis
Such script what I wanted. Thank you Jay!

btw Best helper in clan :)