faking weapon bank bind?


(knippon) #1

has anyone been able to write a bind that simulates the weapon bank for nades?
Back before the game was released DarkAngel suggested something like this. Anyone have any suggestions to how to get this bind to work?

set nadearmed “bind G $nadedisarmed; bind mouse1 _weapon3; addchatline ‘Grenade Equipped’”
set nadedisarmed “bind G $nadearmed; bind mouse1 _attack; addchatline ‘Weapon Equipped’”
bind G $nadearmed

Thanks in advance.
K_nip


(Redshft) #2

I have been having trouble with binds that combine multiple commands. It doesn’t seem like the semi-colon sign works correctly, or like it does in other games. I have tried this bind, without success:

bind mouse2 “_altattack; toggle ui_showgun”

I like playing with ui_showgun 0, but this obviously creates problems when you need to zoom and do not have a crosshair.

The game tells me that _altattack is an unknown command, although it clearly is since that is what mouse2 is normally bound to.


(Tichinde925) #3

[QUOTE=Redshft;310797]I have been having trouble with binds that combine multiple commands. It doesn’t seem like the semi-colon sign works correctly, or like it does in other games. I have tried this bind, without success:

bind mouse2 “_altattack; toggle ui_showgun”

I like playing with ui_showgun 0, but this obviously creates problems when you need to zoom and do not have a crosshair.

The game tells me that _altattack is an unknown command, although it clearly is since that is what mouse2 is normally bound to.[/QUOTE]

This.

I would like to resort to something ingame rather than finding a small piece of paper to attach to the middle of my screen for use when zooming.


(BMXer) #4

I don’t think its possible. It wasn’t possible in ETQW or Wolfencrap.

You could possibly use a macro to do what you want i think? But not in game.


(DarkangelUK) #5

You can’t script _commands that have the underscore at the start, never have been able to with idtech4, that’s why bind mouse2 “_altattack; toggle ui_showgun” won’t work.

As for the script I mocked up for the grenade bind… I’m too lazy to go dump my config just to find out what the grenade and main weapon cvars are.


(Singh400) #6

[QUOTE=DarkangelUK;313176]You can’t script _commands that have the underscore at the start, never have been able to with idtech4, that’s why bind mouse2 “_altattack; toggle ui_showgun” won’t work.

As for the script I mocked up for the grenade bind… I’m too lazy to go dump my config just to find out what the grenade and main weapon cvars are.[/QUOTE]_useGrenade _weapon01 _weapon02

:wink:


(Mustang) #7

There is also the issue that you stop moving when executing a bind command
Me thinks this is deliberate intervention

I too need banks to come back


(DarkangelUK) #8

Ok just tested and it works fine, you’ll get a prompt at the middle left to say when grenade is equipped and when you’re back to normal shooting. As Mustang said, there’s a slight pause when using it, but it’s workable. Obviously change G to whatever key you want to use as your nade. Gonna put this in the main Brink section as well for those that don’t visit here.

So press G, it’ll say Grenade Equipped at the left and you can prime and throw with Mouse1, press G again and it’ll say Weapon Equipped and you’ll fire your gun as normal. Screenshot here

//DarkangelUK’s fake grenade weaponbank script
set nadearmed “bind G $nadedisarmed; bind mouse1 _useGrenade; addchatline ‘Grenade Equipped’”
set nadedisarmed “bind G $nadearmed; bind mouse1 _attack; addchatline ‘Weapon Equipped’”
bind G $nadearmed


(keefy) #9

Quake Live used to suffer the same stutter when writing to the config during the closed Beta.


(knippon) #10

Thank you DarkAngel and everyone that took at look this thread!

I appreciate you guys taking the time to do this. :smiley: