View Full Version : Toggle Deploy Tool/Binoculars for F.Ops???
Marsha1L
04-12-2008, 06:39 PM
Hey,
Is it possible to make a toggle bind for Deploy tool and Binoculars?
Ive tried something like this:
bind "MOUSE3" "toggle useweapon weapon_tool1 useweapon weapon_binocs" "" "fieldops"
But no luck...
Cheers
-Kami-
04-13-2008, 02:27 AM
set foptog1 "bind Mouse3 $foptog2; useweapon weapon_item1" "fieldops"
set foptog2 "bind Mouse3 $foptog1; useWeapon weapon_binocs" "fieldops"
bind Mouse3 $deploy fieldops
or something like that
Dirka_Dirka
04-13-2008, 03:22 AM
bind "MOUSE3" "toggle useweapon weapon_tool1 useweapon weapon_binocs" "" "fieldops"
toggles dont work that way.. they are 0 or 1, on or off.
kami is close but not quite right. using his format, but correcting the mistakes:
set foptog1 "bind Mouse3 '$foptog2; useweapon weapon_item1' '' 'fieldops'"
set foptog2 "bind Mouse3 '$foptog1; useWeapon weapon_binocs' '' 'fieldops'"
bind Mouse3 $foptog1 fieldops
Marsha1L
04-13-2008, 12:02 PM
Cheers for the help guys but unfortunatley neither of those work :confused:
I get the idea though. Might there be a small mistake somewhere?
Again, thanks for help! :)
Dirka_Dirka
04-13-2008, 05:17 PM
oops i did make a typo mistake...
set foptog1 "useweapon weapon_item1; bind Mouse3 $foptog2 '' 'fieldops'"
set foptog2 "useWeapon weapon_binocs; bind Mouse3 $foptog1 '' 'fieldops'"
bind Mouse3 $foptog1 "" "fieldops"
that should work
Marsha1L
04-13-2008, 05:33 PM
Thanks Dirka. I found something similar in useful binds thread - guess I wasn't looking hard enough...
seta once_fieldops "useweapon weapon_tool1 ; bind MOUSE3 $twice_fieldops '' 'fieldops'; wait 30; bind MOUSE3 $once_fieldops '' 'fieldops'"
seta twice_fieldops "useWeapon weapon_binocs"
bind MOUSE3 "vstr once_fieldops" "" "fieldops"
Can double tap MOUSE3 for binocs there.
Dirka_Dirka
04-14-2008, 12:11 AM
Thanks Dirka. I found something similar in useful binds thread - guess I wasn't looking hard enough...
seta once_fieldops "useweapon weapon_tool1 ; bind MOUSE3 $twice_fieldops '' 'fieldops'; wait 30; bind MOUSE3 $once_fieldops '' 'fieldops'"
seta twice_fieldops "useWeapon weapon_binocs"
bind MOUSE3 "vstr once_fieldops" "" "fieldops"
Can double tap MOUSE3 for binocs there.
thats pretty much what im using right now, but i dont like the double tap response, so i might go back to toggle. tools and items have very slow response time, making them even worse to double tap then a tool/weapon combo.
FireWorks
04-14-2008, 02:55 AM
Yeah! Somebody read my tapping script (http://community.enemyterritory.com/forums/showpost.php?p=260839&postcount=107) :dance: :D
... i dont like the double tap response, so i might go back to toggle. tools and items have very slow response time, making them even worse to double tap then a tool/weapon combo.
To improve the response of the double tapped function I used the _weaponX-commands. Worked fine for me after that change.
Somehow I didnt use that for the targeting tool too. I cant remember why but maybe I just didnt thought of the _weapon6 for it. I cant test it myself so maybe somebody can confirm that _weapon6 are the binocs? If yes I will edit the script.
Dirka_Dirka
04-14-2008, 12:51 PM
To improve the response of the double tapped function I used the _weaponX-commands. Worked fine for me after that change.
thats what im currently using, but i still have issues where the dbl tap dont work always, and really tho - the pistol and riffle are RIGHT ABOVE your move keys unless you shifted movement more then 1 or 2 keys to the right (i use esdf and primary weapon is right above my finger).
so im either going to try to switch back to 2 items or simple toggling.
Marsha1L
04-14-2008, 01:17 PM
Yeah! Somebody read my tapping script (http://community.enemyterritory.com/forums/showpost.php?p=260839&postcount=107) :dance: :D
Yes! Sorry FireWorks - I should have acknowledged you there. Script has come in very handy thank you :D
FireWorks
04-14-2008, 01:40 PM
I have my knife and pistol bound to the tilt of the mouse wheel and the rifle on Alt (with wasd movement). I was so used to it that I never used the tapping for getting a fighting weapon. Only for two items at a time. The first was the important one that had to work 100% in combat and the second was for stuff that might take a second more if the command fails every once in a while.
With the _weaponX commands I still ment the tools and items.
seta once1 "useweapon weapon_tool1; bind MOUSE5 $twice1 ; wait 30; bind MOUSE5 $once1"
seta twice1 "_weapon4"
bind MOUSE5 "vstr once1" "" "default"
This way a had very few problems (high ping servers) and the real weapon access was the same for every class (more intuitive).
Yes! Sorry FireWorks - I should have acknowledged you there. Script has come in very handy thank you :D
Na its just that it took months til somebody gave a positiv response on it! Now I can die happy :D