beautifulNihilist, on 15 October 2013 - 05:44 PM, said:
bind 4 "weapon 11" <--- and 4 will ONLY select HE grens and not smoke.
I have no weapnext/weapprev binds and all my grenade buttons only select HEs. I can't even accidentally throw a smoke.
I suppose I could script the key to toggle between specifically selecting smoke and nades, and then get what I want with one or two key presses...
_____
Okay, in trying to write the script to do it, I discovered something.
My script should have toggled the nade key between selecting HE nades and smoke, so I set it to toggle between "Weapon 11" and Weapon 12" as per this chart: http://www.urbanterr...support/119-/#3
It would select HE nades, but do nothing when selecting smoke. I just guessed and changed "Weapon 12" to "Weapon 13" and then it worked. The SR8, which should be Weapon 13, is now Weapon 14. I assume it continues on this way down the list. I'm not sure what Weapon 12 is now, if anything. I tried carrying the new guns (Mac 11, Colt 1911, Glock 18), but /weapon 12 still did nothing.
Ah, just the ancient manual leading me astray, as usual. Thanks JRandom
Anyway, here's the (revised) script. It works a little closer to the original functionality, except it won't remember which type of grenade you had used last. It will just pull out grenades indiscriminately, and then let you toggle between them like you used to.
grenadebugfix.cfg said:
//Nade bug fix
set get_nades "vstr get_he"
set get_he "set get_nades vstr get_smoke; weapon 13; weapon 11"
set get_smoke "set get_nades vstr get_he; weapon 11; weapon 13"
bind 2 "vstr get_nades"
ut_echo ^7[^4grenadebugfix.cfg loaded^7]
...though maybe I'll just scrap it and use
bind 2 "weapon 13; weapon 11" since I almost never actually want smoke
This post has been edited by iynque: 17 October 2013 - 01:00 AM