The Incomplete and Unofficial Guide to /bind (1.1)


Aarzak

 

Posted

For a while there, I was hoping that "+nop$$-nop" would be the new magic bullet.


 

Posted

bub1
equals "+down$$-down$$powexecname deflection Shield$$bindloadfile C:\covbinds\bub2.txt"

bub2
equals "+down$$-down$$powexecname Insulation Shield$$bindloadfile C:\covbinds\bub1.txt"

and in my bindfile I have bub1 bound to equals.

Holding down the key still does nothing. No errors.

I saved and cleared the bindfiles, and reloaded mine. I only use Notepad for bindfiles and I might mention this is the only bind that doesn't work properly. As you can see above there are no spaces in the bindfile path. The bind files above I copy and pasted from the files directly and I do not see any errors.

I'm really stumped at this point.


 

Posted

[ QUOTE ]
May be a simple syntax error, you use exactly what's up there? the correct syntax is "powexec_name powername", and "bind_load_file c:\~path\filename.txt".

[/ QUOTE ]

Technically, the system ignores underscores, so it sees "powexec_name" the same as "powexecname".

[ QUOTE ]
I saved and cleared the bindfiles, and reloaded mine. I only use Notepad for bindfiles and I might mention this is the only bind that doesn't work properly. As you can see above there are no spaces in the bindfile path. The bind files above I copy and pasted from the files directly and I do not see any errors.

I'm really stumped at this point.

[/ QUOTE ]

Maybe you're implying it, but I'm asking just to make sure - are you pre-loading one of those bub# files to start the chain? I mean starting the game and then typing

<font class="small">Code:[/color]<hr /><pre> /bindloadfile C:\covbinds\bub1.txt </pre><hr />

Or is that what you mean in "and in my bindfile I have bub1 bound to equals." - your main bindfile starts up setting

equals "bindloadfile c:\covbinds\bub1.txt"


 

Posted

Ok, well. I went ahead and tested out your binds and they work perfectly. I copied your bind text here and just pasted it into a notepad window. Didn't change a thing. I even created a directory on my C drive called "covbinds" and tested it with my bubbler. Works great.

I don't know what to tell you, man. The scripting is good, the syntax and spelling is good. It should work. Works for me.

That said, I had a buddy who had a simliar problem a long time ago. After troubleshooting it with him for an hour I gave up and made the binds myself. Then e-mailed them to him. He got them, saved them to his hard drive, loaded them into COH, and they worked fine. He told me that they were exactly what he had made, but for some reason mine worked. I still don't know what the problem was, but maybe the same method will help you? To that end, I've uploaded your text files HERE. Please download them, test them out, and let us know if they worked for you.


Level 50s:
BlackSpectre, Dark Defender (Guardian)
Thorin, Invul/Axe Tank (Justice)
Volcano Juice, Fire/Stone Tank
Professor ?, Mind/FF Controller
Stone Forge, Stone/Fire Tank

 

Posted

[ QUOTE ]
Technically, the system ignores underscores, so it sees "powexec_name" the same as "powexecname".

[/ QUOTE ]

Interesting. Never noticed that before. Just shows, now matter how much you may have learned, there's always more out there. That's one of the great things about this topic, no flamers, no trolls, just useful information


Dear NCsoft, if you go through with this shutdown you've guaranteed you'll not see another dime from me on any project you put out, ever.


http://xx-starhammer-xx.deviantart.com/

 

Posted

I give up! LoL

Just for grins I tried copying directly from your linkage, still NOTHING!

One odd thing, and this is one of those really irritating error messages I get in game now and then. After I reset the binds and loaded my bindfile, I got the "That command is restricted to two binds. Please check your configuration in the options menu" Thing is the damn error message doesn't say WHICH command it is that's "overbound".

Thingamajig: I've tried both ways, with the bind already in the bindfile AND by typing it in, ingame. That is:
/bind equals "+down$$-down$$powexecname Deflection Shield$$bindloadfile C:\covbinds\bub2.txt"

As I say, I give up, I'll just use 2 binds and assume its just my dumb Irish luck!


 

Posted

Has anyone suggested resetting all binds to default before reapplying custom binds? I've had inexplicable problems before that I managed to resolve that way.


 

Posted

Yeah, that's a good idea. There might be some sort of conflict going on. One of the commands that gives the "restricted to 2 binds" error is the +camrotate command. I think there are others, but I've never tested them to find out. One way to kinda of see which command might be having a problem is to click Menu, Options, Keymapping tab and then look to see which command has 2 keys associated with it, one of those or more will be the culprit.

Try this, type "/unbind equals" and then type "/unbind =". Then load in your bind again and see what happens. I'm not expecting this to work, btw, but it's worth a shot.

And lastly, reset all your keybinds, and then load in just this one and see what happens. If it works, and it might, load in each of your other binds one at a time. Other than this, I don't know what to tell ya.


Level 50s:
BlackSpectre, Dark Defender (Guardian)
Thorin, Invul/Axe Tank (Justice)
Volcano Juice, Fire/Stone Tank
Professor ?, Mind/FF Controller
Stone Forge, Stone/Fire Tank

 

Posted

THAT'S IT!!!! That's the problem! You have too many keys bound with the "+down" command. You can only have 2 keys bound with that (Wow! I've learned something new!). I have a solution though... change the "+down$$-down" portion of the bind string to simply "+gototray". So your bind will look like this:

bub1
equals "+gototray$$powexecname deflection Shield$$bindloadfile C:\covbinds\bub2.txt"

bub2
equals "+gototray$$powexecname Insulation Shield$$bindloadfile C:\covbinds\bub1.txt"

The only cavet is that using the +gototray command will switch your bottom power tray to the #1 tray every time you press it.

There are other commands that can be used for the toggle key prefix function other than "+down$$-down". At least some of them are:

"+first$$-first"
"+zoomin$$-zoomin"
"+zoomout$$-zoomout"
"+lookup$$-lookup"
"+lookdown$$-lookdown"

Also "+target_custom_near" and "+target_custom_far" also seem to work by themselves with no ill effects.

This is an incomplete list. I didn't have time to test all of the commands. Some work well, some don't.

Ok. I really hope this helped.


Level 50s:
BlackSpectre, Dark Defender (Guardian)
Thorin, Invul/Axe Tank (Justice)
Volcano Juice, Fire/Stone Tank
Professor ?, Mind/FF Controller
Stone Forge, Stone/Fire Tank

 

Posted

Bwahahahahaha!!!

We are indeed SUCH geniuses!! Thank you Black Specter! You put me on the right path and got me to thinkin! &lt;I took 2 aspirin and the pain is beginning to subside already!&gt;

The part about the bind being overbound was bugging me so I tried a diff KEY!! equals evidently is one of those no-no keys that ya don't wanna mess with.

I used the +gototray bit but bound it to ctrl+b and we're in business!


 

Posted

That's just bizzare! Why does it work fine for me on the equals key?

Hey, do me a favor and try something just to see if it will work. Type /unbind equals and after you do that typ /unbind =. Then try to put your bubbling bind back on the equals key by typing:

/bind equals "+gototray$$powexecname deflection Shield$$bindloadfile C:\covbinds\bub2.txt"

Let me know if that works. It _should_ work, but donno.

Incidentally, I swear the "=" sign worked for binding to that key, but apparently now only it's name "equals" works. Very odd.

Incidentally, I've updated my Advanced Bind Guide with this new information and did it in a more comprehensive manner. It's in the "Using Toggle Keys" section.


Level 50s:
BlackSpectre, Dark Defender (Guardian)
Thorin, Invul/Axe Tank (Justice)
Volcano Juice, Fire/Stone Tank
Professor ?, Mind/FF Controller
Stone Forge, Stone/Fire Tank

 

Posted

Strangeness continues but I prolly should explain somethin about the FINE machine I'm running on. Evidently certain keys are just plain wacked on this machine. Tilde "~" does not work at ALL in game. When I hit backslash "\" it sends the right bracket "]" but just ingame. Here on the boards I can't use the Pageup/down or the Home/End keys, they just don't work. I have tried diff keyboards and it appears to be the machine itself.

That being said, I tried to unbind equals and =. Equals gave no error but = returned a pink message "unbind "equals" /shrugs.

Binding to equals as per yer bind returned same results, that is nothing at all happens. No error or visible effect, ie power did not activate.

When I tried to /bind = ""
I got
Usage bind takes 2 args, you gave 1
so I'm assuming there is some issue with the symbol, possibley related to my first paragraph.

As I say, it works just fine bound to ctrl+b so the issue has to be my machine's odd keyboard wonkiness.

I'm workin on a couple mastermind binds now, ie summon all pets on one key and a buffing chain for my bots. I'll post a working set once I finish it.


 

Posted

Get a new computer, man.

Well thanks for doing that. Very odd is all I can say. For me, the silver lining in all of this is that I learned someting new and was able to do some testing and update my bind guide with the good info. So in a roundabout, indirect way... thanks for your help.


Level 50s:
BlackSpectre, Dark Defender (Guardian)
Thorin, Invul/Axe Tank (Justice)
Volcano Juice, Fire/Stone Tank
Professor ?, Mind/FF Controller
Stone Forge, Stone/Fire Tank

 

Posted

[ QUOTE ]
THAT'S IT!!!! That's the problem! You have too many keys bound with the "+down" command. You can only have 2 keys bound with that (Wow! I've learned something new!).

[/ QUOTE ]

I wanted to point out that I have well over two different binds that have the same command within. It's true that the system will only recognize a maximum of two keybinds for one command, however, this only affects single commands. Once you add one or more commands in combination to the same keypress, it seems to bypass that limit. (though I must admit, I haven't tried writing binds that assign the exact same combination of commands to 3 or more separate keys at once... maybe I'll experiment with that today)

btw cool avatar pic


Dear NCsoft, if you go through with this shutdown you've guaranteed you'll not see another dime from me on any project you put out, ever.


http://xx-starhammer-xx.deviantart.com/

 

Posted

I bought this one to dual box my second account and just got the 9 month vet reward on that account!

Glad I could help!! I've been tweakin on some other binds for my MM Bots/Traps today. My luck continues as I tried to use the bubble bind from earlier to equip and upgrade the bots.

I got a neat summon with one key chain working fine BUT when I try to use the bubble chain, with modifications to the powers executed &lt;ie equip and upgrade rather than bubbles&gt; it WON'T work!!! I copied and pasted the original bubble chain and ONLY chnaged the powers and....nothing!

Such is my luck, good thing I don't program for a living eh?

Anyways, the summoning chain works fine:

Summ1

alt+q "powexecslot 1$$bindloadfile C:\covbinds\summ2.txt"

where slot 1,2 and 3 are the drones, protectors and assault bot summon powers and of course the path will be your path not mine

Obviously change the slot #'s and file references for 3 bots and your &lt;key&gt; choice and you can summo all 3 levels with 1 key.

Anyways, back to finding out why buff chain won't work. If my brain doesn't implode before I succeed I'll post my findings.


 

Posted

[ QUOTE ]
[ QUOTE ]
THAT'S IT!!!! That's the problem! You have too many keys bound with the "+down" command. You can only have 2 keys bound with that (Wow! I've learned something new!).

[/ QUOTE ]

I wanted to point out that I have well over two different binds that have the same command within. It's true that the system will only recognize a maximum of two keybinds for one command, however, this only affects single commands. Once you add one or more commands in combination to the same keypress, it seems to bypass that limit. (though I must admit, I haven't tried writing binds that assign the exact same combination of commands to 3 or more separate keys at once... maybe I'll experiment with that today)

btw cool avatar pic

[/ QUOTE ]

Aw, crud. You're right. Well, back to re-writing the bind guide...sigh.

Thanks though. I appreciate the correction. Guess I jumped the gun a bit in my enthusiasm. ROFL


Level 50s:
BlackSpectre, Dark Defender (Guardian)
Thorin, Invul/Axe Tank (Justice)
Volcano Juice, Fire/Stone Tank
Professor ?, Mind/FF Controller
Stone Forge, Stone/Fire Tank

 

Posted

Just an update on the whole = and \ issues I mentioned above. Avernal posted over on the EU boards regarding this.

Here

Unfortunately I got the fix in just in time for daily maintenance to begin! I'll try later once maintenance is done.

&lt;edit&gt;

Okay the fix mentioned in the article seems to have fixed a couple of the issues. I've got Tilde and Backslash to work okay but still some issues with the brackets []'s.

Removing the Remote Receiver and fixing the keyboard did help.


 

Posted

Anyone know if it's possible to write a bind that will execute Radiant Aura and then Phase Shift by hitting one key??

Or what about a bind that will use one green inspiration and then activate phase shift or hibernate with only hitting one key??

Any help would be appreciated.


 

Posted

I've made a really creepy, giant, angry, pink bunny man and I want him to move a particular way. Can someone help me tune a bind so that I have a key that will allow me to walk forward while doing very small hops? I can get a small hop from "+up$$ -up" but I would like the hops to go on continuously while I am moving forward. Any thoughts?


 

Posted

Years back. 2004 I believe. I was messing around with key binds and changed the forward button with the space bar (jump) the character would not stop jumping no matter what. it would always jump so jumping might not be a problem. stopping might be...


[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

how would i make a bind to button 1 and target teammate 1 and heal other at the same time?


 

Posted

Holy cow. Notepad++ is an incredible bind creation tool.

After 3 years of writing binds using Windows Notepad, I finally stumbled upon Notepad++ today. This is a lightweight freeware replacement for Notepad that:

1. displays line numbers,
2. has built-in macro functionality,
and
3. allows custom syntax colouring.

There are also a ton of other functions that I haven't explored yet.

Why are the three things I listed above good, you might ask? Well, line numbers help you compare two bind files and see quickly where one is missing a line or three.

The macro function lets you record and automate a series of actions. (I just tried to add a new bind to a number of different files using a macro but ended up with weird results though.)

The custom syntax colouring is the best part of this program in my opinion, however. You can set Notepad++ to always display the word "local" in bolded green size 12 Arial, for instance. Or you could have any word that begins with "powexec" (such as "powexecname" and "powexec_name") show up in red with a grey background. This goes a long way toward making bind files more human-readable.


 

Posted

[ QUOTE ]
[ QUOTE ]
how would i make a bind to button 1 and target teammate 1 and heal other at the same time?

[/ QUOTE ]

Heroes_Demise asked me this in a PM, too (welcome to the forum!).

I answered it in a PM back.

[/ QUOTE ]

Neat. So... how do you do it?