Advertisement
Page 1 of 1
Double Bind
--
#2
Posted 21 September 2012 - 11:42 PM
There's no an easy way to do it, but you can do it with scripts:
You have to press END key and then rmb to execute double bind command (in this case zoom reset), when only rmb is pressed, it will work as normal attack key. Unfortunately END key can't be used as single key. It might not work because i don't tested it in game.
bind END "+vstr bind_off bind_on"
set bind_off "vstr default_bind"
set bind_on "vstr double_bind"
set default_bind "bind MOUSE1 +attack"
set double_bind "bind MOUSE1 ut_zoomreset"
vstr "default_bind"
You have to press END key and then rmb to execute double bind command (in this case zoom reset), when only rmb is pressed, it will work as normal attack key. Unfortunately END key can't be used as single key. It might not work because i don't tested it in game.
#5
Posted 23 September 2012 - 07:07 AM
this should work
bind END "bind mouse1 +vstr shoot_on shoot_reset"
seta shoot_on "+attack
seta shoot_reset "-attack;ut_zoomreset;-attack"
but if you only ever want it on, why don't you just type
bind mouse1 "+attack;ut_zoomreset"
edit: haha, whoops my bad, I'll write a press and release one.. should thought that through
the mouse1 bind by itself still works as intended though
bind END "bind mouse1 +vstr shoot_on shoot_reset"
seta shoot_on "+attack
seta shoot_reset "-attack;ut_zoomreset;-attack"
but if you only ever want it on, why don't you just type
bind mouse1 "+attack;ut_zoomreset"
edit: haha, whoops my bad, I'll write a press and release one.. should thought that through
the mouse1 bind by itself still works as intended though
This post has been edited by Runamok: 27 September 2012 - 08:13 AM
-WAR-Runamok`
cyrus: "Camping" is a non-issue for a player that uses his/her head.
cyrus: "Camping" is a non-issue for a player that uses his/her head.
Advertisement
#6
Posted 26 September 2012 - 11:42 AM
Runamok, on 23 September 2012 - 07:07 AM, said:
this should work
bind END "bind mouse1 vstr shoot_reset"
seta shoot_reset "+attack;ut_zoomreset"
but if you only ever want it on, why don't you just type
bind END "bind mouse1 vstr shoot_reset"
seta shoot_reset "+attack;ut_zoomreset"
but if you only ever want it on, why don't you just type
Runamok, on 23 September 2012 - 07:07 AM, said:
bind mouse1 "+attack;ut_zoomreset"
AHHH
don't do this.
it will set attack to 1 and you will attack forever (until you restart the game)
better try:
bind MOUSE1 "+atack;ut_zoomreset;-attack"
after all this isnt a good solution too. Because it will bind MOUSE1 to a quick-scope-out forever. Thsi will result in to the fact that every gun will be a semi auto, because this command starts and ends the attack after 1 shot.
Thats why you need the toggle.
Try:
// code snippet
//setting a toggle key
bind END "vstr mouse1_toggle"
//setting a toggle var (better than rebinding the key)
set mouse1_toggle "vstr mouse1_scope_out"
// setting option1 (scopeout)
set mouse1_scope_out "bind MOUSE1 vstr scopeout_attack;ut_echo ^1MOUSE1: ^3Scopeout;set mouse1_toggle vstr mouse1_normal"
//setting the scopeout attack
set scopeout_attack "+attack;ut_zoomreset;-attack"
//setting option2 (normal attack"
set mouse1_normal "bind MOUSE1 +attack; ut_echo ^1MOUSE1: ^2Normal Mode;set mouse1_toggle vstr mouse1_scope_out"
// running the normal attack for startup
vstr mouse1_normal;
// end of code snippet
have fun ^^
This post has been edited by Iye: 26 September 2012 - 11:46 AM
Sorry for my bad spelling - I am still asleep. :)
|=| Iye's UrT Addon |=| Firefox Personas |=| Maps |=|
http://www.mediafire...vk3a602hcfg.jpg
|=| Iye's UrT Addon |=| Firefox Personas |=| Maps |=|
http://www.mediafire...vk3a602hcfg.jpg
#7
Posted 27 September 2012 - 08:14 AM
whoops, I'll edit the post
bind END "bind mouse1 +vstr shoot_on shoot_reset"
seta shoot_on "+attack
seta shoot_reset "-attack;ut_zoomreset;-attack"
that's a press and release script, attack while holding down, and zoomout when letting go
bind END "bind mouse1 +vstr shoot_on shoot_reset"
seta shoot_on "+attack
seta shoot_reset "-attack;ut_zoomreset;-attack"
that's a press and release script, attack while holding down, and zoomout when letting go
-WAR-Runamok`
cyrus: "Camping" is a non-issue for a player that uses his/her head.
cyrus: "Camping" is a non-issue for a player that uses his/her head.
Page 1 of 1
1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users
Advertisement