The Incomplete and Unofficial Guide to /bind (1.1)


Aarzak

 

Posted

I don't think there is a LMOUSE . Use LBUTTON instead, LSHIFT is ok.


 

Posted

Thanks! just shift did nothing, thanks for the try though. LBUTTON solved all my problems!


 

Posted

So, I just got a new Saitex Eclispe illuminated keyboard (with number pad).
I decided to celebrate by remapping and extending my bind files.
Yeah, this means that I'll get about 380 different binds, using shift states.
So, this means that I may well be asking questions in the coming days.


First off:
Can the "lock" buttons be used for keybinding?
If so, what would be their designations? CapsLock, NumLock, and ScrollLock?


Secondly:
I know that "powexec_slot 1" will activate the leftmost power located in the bottom tray.
What command will activate the corresponding powers in the top and middle trays?


 

Posted

[ QUOTE ]
Is there a way to save/load macros? I made some and then did bind_save and it didn't save. If I were to put them into a keybinds file and then do /bind_load, would that load my macros? (i doubt it) or would I have to retype them all with each new character?

By the way, toggling commands doesn't always require multiple keybind text files. Observe the following:

/macro 1 "powexec_name Gash$$bind z powexec_tray 2 9"
/macro 2 "powexec_name Chop$$bind z powexec_tray 1 9"
/bind z "powexec_tray 1 9"

Press z and execute Gash. Press it again and execute Chop. Press it a third time and execute another Gash. etc. This is assuming that you put these macros in tray 9 slots 1 and 2.

This isn't as versatile as using the text files because you'll need to redo your macros if you change their positions on the trays, or change the trays they are on, plus you'll need to edit them if you change the key you wish to use to toggle. However, this is an alternative.

[/ QUOTE ]


 

Posted

[ QUOTE ]
Can the "lock" buttons be used for keybinding?
If so, what would be their designations? CapsLock, NumLock, and ScrollLock?


[/ QUOTE ]
CapsLock=CAPITAL
NumLock=NUMLOCK
ScollLock=SCROLL
PrintScreen=SYSRQ
[ QUOTE ]
I know that "powexec_slot 1" will activate the leftmost power located in the bottom tray.
What command will activate the corresponding powers in the top and middle trays?

[/ QUOTE ]
powexec_altslot - Executes the given power slot from the alternate tray.
powexec_alt2slot - Executes the given power slot from the second alternate tray.


 

Posted

[ QUOTE ]
Can the "lock" buttons be used for keybinding?
If so, what would be their designations? CapsLock, NumLock, and ScrollLock?


[/ QUOTE ]

But remember, you will STILL be making activating or deactivating your caps lock function for when you are typing in chat. So consider that if you decide to bind something to this key. I've not done it with the caps lock key, but this is absolutley the case with the num-lock key....


 

Posted

Just an idea I thought of. Given that this thread is so popular and now so long it’s making it increasingly difficult to perhaps find what one needs resulting in one requesting what has probably already been requested and answered. So I thought perhaps someone out there with some time on his/her hands could make a web site dedicated with just tested and known binds and macros that work.

Nothing else just examples I think it would be a great way for people new and pro to sift through a web page of bind/macro examples that work and all they would need to do is change the typed text/colours etc. to fit with there own character builds.

I know it’d make life so much easier to have pages of working bind/macro examples ------ go on someone make this a reality lol or is there already such a page out there? I haven’t found one yet though many pages have a few examples they don’t cover what has been covered in here. I hope I’m making sense?

Don’t have a question and or answer section on that page, instead direct them back to here, each time a new question is asked and answered a sample then can be placed into the web page direct people to that and they have automatically got working examples that they just need to copy and paste and or make changes to based on there own character builds.

As mentioned above it’s just an idea, I personally think it would be great and a huge time saver


 

Posted

Before I discovered the boards (shutup, I'm slow), I found all the information in the first post of this thread on various other websites. So the information is there.

However, what is not there are extensive examples. I do not have the time, however I have the space to store such examples.

However however, for most of your binding needs, get CityBinder. CityBind has Speed on Demand, Mastermind pet commands, and a nice buff section (read: imp speed boosting and entire team buffing). Every hero I roll gets a CityBinder profile, even if it's just my complex bind to rotate between 'thank you' and 'grief' binds. 'grief' meaning '/local Why must this be?!?$$em greif' type thing when someone dies.


 

Posted

I conversed with Curveball a few weeks ago, he said he was looking into what it would take to update “The Incomplete and Unofficial Guide to /bind” to version 2.0 because some of the new binds other people have set up, But just hadn't found the time, and was behind the curve of that particular ball…


[color=gold][b][size=5]♪ Sometimes you feel like a Tank, Sometimes you don't! ♪[/size][/color][/b]

[url=http://boards.cityofheroes.com/showthread.php?t=114726][color=black][b][size=5]Moon [color=red]Hazard [color=black]Zone![/size][/color][/color][/color][/b][/url]

 

Posted

Anyone know how to effectively bind multiple powers without just having the last one going off?

I have it like so...

/bind numpad0 "powexec Stealth$$powexec Power Boost$$powexec Build Up$$powexec Aim"

basically thats what I need to happen but of course only aim fires off? I was readig but might have been too dense to solve the problem.


 

Posted

[ QUOTE ]
I have it like so...
/bind numpad0 "powexec Stealth$$powexec Power Boost$$powexec Build Up$$powexec Aim"

[/ QUOTE ]

They specifically set it up so that you can't do that. One power execution per keystroke. You can fudge it a bit if you're dealing with both toggles and click powers. Something like this should work (I haven't tested this, BTW):

/bind numpad0 "powexectoggleon Stealth$$powexecname Power Boost"


To fire off power boost, aim, and build up quickly using one key, you'd need three bind files. Each file executes a power, rewrites the keybind with the next file, and so on. You just need to wait for the power to begin executing between keystrokes.
Note: you don't need to include /bind in the .txt files.

powerboost.txt
[ QUOTE ]
<key> powexecname Power Boost$$bindloadfile <path>aim.txt

[/ QUOTE ]
aim.txt
[ QUOTE ]
<key> powexecname Aim$$bindloadfile <path>buildup.txt

[/ QUOTE ]
buildup.txt
[ QUOTE ]
<key> powexecname Build Up$$bindloadfile <path>powerboost.txt

[/ QUOTE ]

<key> is the key you want to use.
<path> is the path where you locally store your bind files. For instance, mine is "c:/bind/", so in my bind file it would look like:

bindloadfile c:/bind/aim.txt


 

Posted

[ QUOTE ]
[ QUOTE ]
I have it like so...
/bind numpad0 "powexec Stealth$$powexec Power Boost$$powexec Build Up$$powexec Aim"

[/ QUOTE ]

They specifically set it up so that you can't do that. One power execution per keystroke. You can fudge it a bit if you're dealing with both toggles and click powers. Something like this should work (I haven't tested this, BTW):

/bind numpad0 "powexectoggleon Stealth$$powexecname Power Boost"


To fire off power boost, aim, and build up quickly using one key, you'd need three bind files. Each file executes a power, rewrites the keybind with the next file, and so on. You just need to wait for the power to begin executing between keystrokes.
Note: you don't need to include /bind in the .txt files.

powerboost.txt
[ QUOTE ]
<key> powexecname Power Boost$$bindloadfile <path>aim.txt

[/ QUOTE ]
aim.txt
[ QUOTE ]
<key> powexecname Aim$$bindloadfile <path>buildup.txt

[/ QUOTE ]
buildup.txt
[ QUOTE ]
<key> powexecname Build Up$$bindloadfile <path>powerboost.txt

[/ QUOTE ]

<key> is the key you want to use.
<path> is the path where you locally store your bind files. For instance, mine is "c:/bind/", so in my bind file it would look like:

bindloadfile c:/bind/aim.txt

[/ QUOTE ]

did all that and it disnt work, lol, or I wasnt doing it right which is probably it.

I inputed all the txt files into the folder Bind in C Dir then did all that.

Then did... numpad1 /bind numpad0 "bind_load_file c:\keybinds\powerboost.txt" ...this and it did not work. How would you get the game to load the files and execute the first one, which by then I guess it would execute the second then the third.


 

Posted

I've got a question! Forgive me if it has been asked, but this thing is 73 pages long. That'd take me forever to look through..

This is what I'm trying to do.

rbutton+1 "powexec_altslot 1"
This will activate the second toolbar's first slot. It works. But if I press just 1 by itself, it tries to activate the second toolbar's first slot instead of the first toolbar's first slot.
Example:
I have Transfusion for rbutton+1 in top toolbar (second toolbar)
I have Ice Blast for 1 in the bottom toolbar (first toolbar)
If I press rbutton+1 it uses Transfusion. But if I press just 1, instead of using Ice blast it tries to use Transfusion again.

What gives?


 

Posted

[ QUOTE ]
did all that and it disnt work, lol, or I wasnt doing it right which is probably it.
I inputed all the txt files into the folder Bind in C Dir then did all that.

Then did... numpad1 /bind numpad0 "bind_load_file c:\keybinds\powerboost.txt" ...this and it did not work. How would you get the game to load the files and execute the first one, which by then I guess it would execute the second then the third.

[/ QUOTE ]

Using multiple files can be, er, difficult because its easy for things to get out of synch... and one wrong letter here or there and the whole thing gets broken. Also, make sure you have your file extensions are set to visible. That "feature" causes lots of problems when working with rolling binds like this.

powerboost.txt
NUMPAD0 "powexecname Power Boost$$bindloadfile c:/bind/aim.txt"

aim.txt
NUMPAD0 "powexecname Aim$$bindloadfile c:/bind/buildup.txt"

buildup.txt
NUMPAD0 "powexecname Build Up$$bindloadfile c:/bind/powerboost.txt"


Once those are setup, type into your in-game command line:
/bindloadfile c:/bind/powerboost.txt


If you have more problems, check to see what error messages are popping up.


 

Posted

[ QUOTE ]
rbutton+1 "powexec_altslot 1"
This will activate the second toolbar's first slot. It works. But if I press just 1 by itself, it tries to activate the second toolbar's first slot instead of the first toolbar's first slot.
Example:
I have Transfusion for rbutton+1 in top toolbar (second toolbar)
I have Ice Blast for 1 in the bottom toolbar (first toolbar)
If I press rbutton+1 it uses Transfusion. But if I press just 1, instead of using Ice blast it tries to use Transfusion again.

What gives?

[/ QUOTE ]

Well, first off, you're not using a chord key (ALT, CTRL, or SHIFT) in conjunction with the normal key. RBUTTON is on the right mouse button and counts as a normal key.

It sounds like when you hit 1, its ignoring the RBUTTON part because it isn't a chord key, so it tries to activate Tray1Slot1. You'll need to come up with a different combination of keys for it to work.

By default, you have the following binds:
<font class="small">Code:[/color]<hr /><pre>
1 execute tray1 slot1
ALT+1 execute alt tray1 slot1
CTRL+1 execute alt tray2 slot1
SHIFT+1 select teammate 1
</pre><hr />


 

Posted

I am trying something mentioned in the guide about looping taunts.

I have several text files (Opened by notepad, if that makes any difference) and located in c:\keybinds. Each file says:

x "Local &lt;something cute&gt; $$powexecname Confuse$$bindloadfile &lt;nextfilename&gt;

Now, I figure I can go into the game, pick a toon, and type:
/bindloadfile c:\keybinds\file1.txt to start it, but I get the error: Unable to read in keybind file: c:\keybinds\file1.txt

I cannot figure out why. I've checked the permissions on the files and the directory and they are open for read. I also have a few minor questions..

1. I used to have bind_load_file and powexec_name, but I guess the underlines aren't required anymore?

2. Are you supposed to use forward slashes or back slashes for the directory path?

3. Someone mentioned having the extention names shown, I've looked a little bit but how does one do that in Windows? I'd like to make sure my files aren't named file1.txt.txt...

Thanks for any help. I've been trying to figure this out for a while now.


 

Posted

[ QUOTE ]
1. I used to have bind_load_file and powexec_name, but I guess the underlines aren't required anymore?

[/ QUOTE ]
They never were, it was just assumed by most that they were.

[ QUOTE ]
2. Are you supposed to use forward slashes or back slashes for the directory path?

[/ QUOTE ] \backslash for directory paths.

[ QUOTE ]
3. Someone mentioned having the extention names shown, I've looked a little bit but how does one do that in Windows? I'd like to make sure my files aren't named file1.txt.txt...

[/ QUOTE ]
In Windows Explorer go under Toos\Folder Options\View\ and uncheck Hide extentions for known file types then click Ok.

Hope this helps!


 

Posted

Thank you, Innovator! My files were named .txt.txt. All fixed now and I can stop banging my head on my keyboard.


 

Posted

What are the appropriate commands for binding W to forward, A to turn left, S to backward, D to turn right, Q to strafe left, and E to strafe right?

No matter how many times I rebind these to the appropriate keys and save the file, every time I try to load it, it loads AD and QE to the same commands, then tells me "That command is restricted to two binds. Please check your configuration in the options menu" twice.

How the heck do I make it so I don't have to rebind AD every single time I make a new character?


 

Posted

Paste this into your keybinds.txt
-OR- through the in-game command line, proceed each one with /bind
-OR- go Menu &gt; Options &gt; Keymapping and set them there.

Q "+turnleft"
W "+forward"
E "+turnright"
A "+left"
S "+backward"
D "+right"


 

Posted

How would I go about a two-step bind without self-loading bind files? Meaning I want the key to activate one power upon depression, a second command upon release. This way I can set my own "time-delay" for a cj/sj bind for someone. The idea is to press and hold spacebar, superjump activates and the charecter jumps, upon release combat jumping is toggled back on. I'm not asking for the whole bind, just the [on down] [on release].

Thanks!


 

Posted

Not sure if it's what you want but they're talking about it. but with SS. I've never bothered with it myself.

web page


[color=gold][b][size=5]♪ Sometimes you feel like a Tank, Sometimes you don't! ♪[/size][/color][/b]

[url=http://boards.cityofheroes.com/showthread.php?t=114726][color=black][b][size=5]Moon [color=red]Hazard [color=black]Zone![/size][/color][/color][/color][/b][/url]

 

Posted

Not really, but thanks anyway Ace!


 

Posted

[ QUOTE ]
How would I go about a two-step bind without self-loading bind files? Meaning I want the key to activate one power upon depression, a second command upon release. This way I can set my own "time-delay" for a cj/sj bind for someone. The idea is to press and hold spacebar, superjump activates and the charecter jumps, upon release combat jumping is toggled back on. I'm not asking for the whole bind, just the [on down] [on release].

Thanks!

[/ QUOTE ]

Well, I haven't tried this, but this may be possible like this:

"+ $$powexec_tggleon combat jumping$$powexec_toggleon super leap"

Note, there is a &lt;space&gt; between the + and the $$.

Normally, I would have said it isn't possible. But, with the toggle-on bind, and the fact that turning one of these on will turn the other off, this may work. Or, it'll turn on super leap, and that will stay on...

Worth a shot anyway...

Let me know if that does it!

Volt


 

Posted

[ QUOTE ]
Paste this into your keybinds.txt
-OR- through the in-game command line, proceed each one with /bind
-OR- go Menu &gt; Options &gt; Keymapping and set them there.

Q "+turnleft"
W "+forward"
E "+turnright"
A "+left"
S "+backward"
D "+right"

[/ QUOTE ]

This doesn't work. This is how I want my my keys to bind when I load the file:

A "+turnleft"
W "+forward"
D "+turnright"
Q "+left"
S "+backward"
E "+right"

Strafe Left - Forward - Strafe Right
Left Turn - Backward - Right Turn

Even though this is exactly how it's set up in my bind file, when I load the file the binds for A and D do not change from +left and +right, instead Q and E also get bound to +left and +right and I get told :

That command is restricted to two binds. Please check your configuration in the options menu.
That command is restricted to two binds. Please check your configuration in the options menu.

Do I just need to start /bugging this?