How do I shot bind?


Dying_Breath

 

Posted

Hi everyone, long-time player here with a bit of a problem. See, in all my time of playing I've never bothered with keybinds. Over time I've thought of a few funny things my characters could do using them, but they didn't justify wrapping my right-side-dominant brain around the smooth, cold, and logical language of Programmese to make them. Except now I have a joke character that really, really needs keybinds so he's spouting off with almost every click in order to be complete. Thus my dilemma.

I tried looking through the keybinding guides in the guide forum, but they just left me more confused. Sure they offered templates for toggling binds (which is what I want to use), but I'm not sure of the /commands needed to input them or if they need to be saved in a folder or something. Thus, more confusion than a room full of mind doms.

If anyone's willing to help walk an easily confused computer-illiterate schlub like myself through the process of making these keybinds (preferably using very small words), I would be in their debt.


"Take the Yuan-Ti, bash them with a club made of frozen stupidity, then rip out their sense of subtlety with a rusty spoon, and then you have the Snakes of Mercy Isle" -Taltha Widowfang, drow stalker
Now playing at an MA near you: Dragonslayers #335375

 

Posted

This should probably explain about saving the binds. The rest of the page explains just about everything else about keybinds.


http://www.fimfiction.net/story/36641/My-Little-Exalt

 

Posted

Quote:
I tried looking through the keybinding guides in the guide forum, but they just left me more confused. Sure they offered templates for toggling binds (which is what I want to use), but I'm not sure of the /commands needed to input them or if they need to be saved in a folder or something. Thus, more confusion than a room full of mind doms.
That's not confusion, that's fear... and fear is the mind killer.



('cause FW's page covers practically everything about binds... anything else would need more specific information from you first)


Quote:
Originally Posted by ShadowNate
;_; ?!?! What the heck is wrong with you, my god, I have never been so confused in my life!

 

Posted

Okay, initial attempt at bind-making failed spectacularly. I input /bind_load_file R "local I'm sorry, I didn't mean to hit ya... Oh, wait, yeah I did$$pow_exec_name Bash$$bind_load_file C:\keybinds\bash2.txt" and got:

Usage: bind_load_file takes 1 args, you gave 2.
Reads a list of keybinds from a file.
bind_load_file <string>

Obviously I am doing it wrong. Any advice?


"Take the Yuan-Ti, bash them with a club made of frozen stupidity, then rip out their sense of subtlety with a rusty spoon, and then you have the Snakes of Mercy Isle" -Taltha Widowfang, drow stalker
Now playing at an MA near you: Dragonslayers #335375

 

Posted

Quote:
Originally Posted by MartyRallner View Post
Okay, initial attempt at bind-making failed spectacularly. I input /bind_load_file R "local I'm sorry, I didn't mean to hit ya... Oh, wait, yeah I did$$pow_exec_name Bash$$bind_load_file C:\keybinds\bash2.txt" and got:

Usage: bind_load_file takes 1 args, you gave 2.
Reads a list of keybinds from a file.
bind_load_file <string>

Obviously I am doing it wrong. Any advice?
"bind_load_file" is meant to load a file (ex: /bindloadfile ws-nova.txt). Based on what you wrote, the command you want is:

/bind R "local I'm sorry, I didn't mean to hit ya... Oh, wait, yeah I did$$powexecname Bash$$bindloadfile C:\keybinds\bash2.txt"

And in the bind files, you'd start at "R" (i.e. the key) and leave off the '/bind' at the start. Also, the _ in the command names are purely optional, in fact, powexecname, pow_exec_name, and p_owe_xe_cna_me are all exactly the same to the game.


Quote:
Originally Posted by ShadowNate
;_; ?!?! What the heck is wrong with you, my god, I have never been so confused in my life!

 

Posted

"/bind_load_file" is only used when you are loading the binds from a file.

For setting a single key using the chat, just use "/bind"


 

Posted

Okay, further testing yeilded partial success. The bind worked, but now it's stuck on the last /bind in the cycle because it's "Unable to read in keybind file: C: \keybinds\bash1.txt". If I had to guess it looks like it didn't recognize the first one I put in ("I didn't mean to hit ya...") as bash1.txt. Any non-guess suggestions?

And by the way, it gives me the warm fuzzies to see that I can post a question and people are so quick and willing to sit down with a thicky like myself and help. Thanks so much =D


"Take the Yuan-Ti, bash them with a club made of frozen stupidity, then rip out their sense of subtlety with a rusty spoon, and then you have the Snakes of Mercy Isle" -Taltha Widowfang, drow stalker
Now playing at an MA near you: Dragonslayers #335375

 

Posted

Basically what you're going to need to do is write up your two (or more) bind files. You'll need to make a file in notepad called bash1.txt with the appropriate switch to bash2.txt. The text in the file should look something like this:

R "local I'm sorry, I didn't mean to hit ya... Oh, wait, yeah I did$$powexecname Bash$$bindloadfile C:\keybinds\bash2.txt"

You'll also need a file called bash2.txt that points to bash1.txt.

R "local <insert witty saying here>$$powexecname Bash$$bindloadfile C:\keybinds\bash1.txt"

I hope this makes sense, I've never made a rotating bind myself so it's harder for me to explain it.


 

Posted

Quote:
Originally Posted by SunGryphon View Post
Basically what you're going to need to do is write up your two (or more) bind files. You'll need to make a file in notepad called bash1.txt with the appropriate switch to bash2.txt. The text in the file should look something like this:

R "local I'm sorry, I didn't mean to hit ya... Oh, wait, yeah I did$$powexecname Bash$$bindloadfile C:\keybinds\bash2.txt"

You'll also need a file called bash2.txt that points to bash1.txt.

R "local <insert witty saying here>$$powexecname Bash$$bindloadfile C:\keybinds\bash1.txt"

I hope this makes sense, I've never made a rotating bind myself so it's harder for me to explain it.
Okay, so what's the /slash used to upload bash1.txt, /bind_load_file or just /bind?

And no worries Sun, that actually made a lot of sense =D


"Take the Yuan-Ti, bash them with a club made of frozen stupidity, then rip out their sense of subtlety with a rusty spoon, and then you have the Snakes of Mercy Isle" -Taltha Widowfang, drow stalker
Now playing at an MA near you: Dragonslayers #335375

 

Posted

The first (and only time) you'll need to use /bindloadfile is the FIRST time you log on the character and load the first bind file (/bindloadfile c:\keybinds\bash1.txt). After that, all bindloading will happen automatically in this instance, and you won't need to type /bindloadfile again.


 

Posted

Okay, created 4 individual .txt files for each of the lines I want to use. So from here use /bindloadfile for bash1.txt then use /bind for bash2-bash4?

(Dumb question: does the file name for the text file have to be "bash#.txt" or will "bash#" suffice?)


"Take the Yuan-Ti, bash them with a club made of frozen stupidity, then rip out their sense of subtlety with a rusty spoon, and then you have the Snakes of Mercy Isle" -Taltha Widowfang, drow stalker
Now playing at an MA near you: Dragonslayers #335375

 

Posted

Quote:
...Except now I have a joke character that really, really needs keybinds so he's spouting off with almost every click in order to be complete....
Quote:
...templates for toggling binds (which is what I want to use), but I'm not sure of the /commands needed to input them or if they need to be saved in a folder or something....
Okay, so what I'm understanding here, is that you want to hit a key that will fire off your power with a different witty saying each time? This would be much like the rotating taunts that some folks use.

I totally sympathize with the "coming from the right brain"... lol
I have a toon that I wanted to be able to recite poetry, so I wanted to use the rotating keybind for each verse... it took me a while to get it, but I finally did.

The guide that Fleeting Whisper linked to really does have all the info you'll need.... it just might take a little time for it all to sink in.

Basically, you are going to need to create a different text document for each (witty saying + power) keybind, notepad is the most efficient tool for this. The end of your keybind (bindloadfile) is what redirects to the next file... which overwrites the previous bind. So the series might look like:

notepad text document: bash1.txt
R "local I'm sorry, I didn't mean to hit ya... Oh, wait, yeah I did$$powexecname Bash$$bindloadfile C:\keybinds\bash2.txt"

notepad text document: bash2.txt
R "local next witty saying$$powexecname Bash$$bindloadfile C:\keybinds\bash3.txt"

notepad text document:bash3.txt
R "local next witty saying$$powexecname Bash$$bindloadfile C:\keybinds\bash4.txt"

notepad text document:bash4.txt
R "local next witty saying$$powexecname Bash$$bindloadfile C:\keybinds\bash1.txt"

Each of your notepad documents need to be saved according to the path you've designated (C:\keybinds\).

You can have as many documents as you need/want, just make sure the last in the series redirects back to 1. You can adjust your path so that all your "bash" documents are in one file folder, it just makes a slightly longer path.

Also, if I recall, there is a character limit to a command string of 100 characters (including spaces). So the shorter you can make your file path or folder names, the better.

Hope that helps a bit.

ETA: the .txt suffix to the file name should be automatic when you save your documents, but you will still need to include it in your keybind string (hope that made sense).

EDIT: to take out the /bind in the command string as it is not needed when creating these kinds of "bind documents".


Quote:
Don�t say things.
What you are stands over you the while, and thunders so that I cannot hear what you say to the contrary. - R.W. Emerson
The BIG consolidated LIST for BASE LUV
YUMMY Low-Hanging Fruit for BASE LUV

 

Posted

I recommend using bindloadfilesilent rather then bindloadfile, that way you wont have as much cluter in your system chat.


 

Posted

Quote:
Originally Posted by Shadow State View Post
I recommend using bindloadfilesilent rather then bindloadfile, that way you wont have as much cluter in your system chat.
true

I usually go back and adjust that command after I'm positive the rotating binds will work the way I want them to.


Quote:
Don�t say things.
What you are stands over you the while, and thunders so that I cannot hear what you say to the contrary. - R.W. Emerson
The BIG consolidated LIST for BASE LUV
YUMMY Low-Hanging Fruit for BASE LUV

 

Posted

Quote:
Originally Posted by Impish Kat View Post
Each of your notepad documents need to be saved according to the path you've designated (C:\keybinds\).
So if I kept my keybind folder under Program Files/City of Heroes/keybinds, it wouldn't take? That *might* be my problem...


Quote:
Quote:
Originally Posted by Shadow State
I recommend using bindloadfilesilent rather then bindloadfile, that way you wont have as much cluter in your system chat.

true

I usually go back and adjust that command after I'm positive the rotating binds will work the way I want them to
Hooboy, even more stuff to remember... how exactly does the /silent version reduce clutter? (And I'm guessing less clutter = good thing. Remember, computer illiterate)


"Take the Yuan-Ti, bash them with a club made of frozen stupidity, then rip out their sense of subtlety with a rusty spoon, and then you have the Snakes of Mercy Isle" -Taltha Widowfang, drow stalker
Now playing at an MA near you: Dragonslayers #335375

 

Posted

Okay, first off make sure there are no spaces in your path. "C: \keybinds\bash1.txt" won't do it. It has to be "C:\keybinds\bash1.txt". (No space between the : and \)

Second, if you really, really want to use the CoH directory to store the keybinds, the path you want is "C:\Program Files\City Of Heroes\keybinds\bash1.txt". That path is really long, though, so I typically use "C:\coh" myself. It's short and easy to find just by opening the C drive. (Note, though, that if you load and save keybinds in game, they are put in the CoH folder. So you'd have to move them to your own folder if you want to save a copy of your binds for restoration later or something)

Third, you use bind_load_file to load the file you wrote AND in the file itself to load the next file. You won't use /bind at all in the file.

Fourth, I would use bind_load_file at first to make sure everything works okay. If you make a mistake, it should give you an error message to help track it down. Once everything works, go into your file and change it to bind_load_file_silent.


 

Posted

Quote:
Originally Posted by MartyRallner View Post
So if I kept my keybind folder under Program Files/City of Heroes/keybinds, it wouldn't take? That *might* be my problem...




Hooboy, even more stuff to remember... how exactly does the /silent version reduce clutter? (And I'm guessing less clutter = good thing. Remember, computer illiterate)
Depends on how you have your tabs set up. Every time you load a keybind, you get feedback "Loaded file blahblahblah" in your system tab, or whereever you have system chat. I don't see my system chat, so silent loading isn't an issue for me.

It's easier to have your keybinds in a directory straight off the root of the drive, rather than buried, less chances to mess up the path I put mine in E:\covbinds


 

Posted

Quote:
Originally Posted by Jade_Dragon View Post

Third, you use bind_load_file to load the file you wrote AND in the file itself to load the next file. You won't use /bind at all in the file.
OMG... so right. sorry. my examples should not include the /bind within the document. imadork.


Quote:
Don�t say things.
What you are stands over you the while, and thunders so that I cannot hear what you say to the contrary. - R.W. Emerson
The BIG consolidated LIST for BASE LUV
YUMMY Low-Hanging Fruit for BASE LUV

 

Posted

Okay, did everything you guys said and entered all four binds into the chat... but when I hit the key, my character's stuck on bash4 and the chat answers "Unable to read in keybind file: C:\CoHKB\bash1.txt" Still doing something wrong here.


"Take the Yuan-Ti, bash them with a club made of frozen stupidity, then rip out their sense of subtlety with a rusty spoon, and then you have the Snakes of Mercy Isle" -Taltha Widowfang, drow stalker
Now playing at an MA near you: Dragonslayers #335375

 

Posted

Quote:
Originally Posted by MartyRallner View Post
Okay, did everything you guys said and entered all four binds into the chat... but when I hit the key, my character's stuck on bash4 and the chat answers "Unable to read in keybind file: C:\CoHKB\bash1.txt" Still doing something wrong here.
You don't enter the four binds into the chat, you save them into separate text files by each of those names, then you only need to load one of the binds manually, and the bind will then work on it's own after that.

Does C:\CoHKB\bash1.txt exist?


 

Posted

Quote:
Originally Posted by MartyRallner View Post
Okay, did everything you guys said and entered all four binds into the chat...
oops! sorry... guess we made some assumptions along the way.

Soooo.... starting from square one....
(apologies if some of it seems overly basic)

1. Go to "my computer" and open up your C drive. The C drive is usually the default drive for Program Files and such.

2. In the C drive, create a new folder to stash your keybinds. I'm assuming you've actually gotten this far by the path you described, and that your folder is called "CoHKB"... ?

3. Create your series of keybind documents. Using notepad (usually found under start -> programs -> accessories), create a document that contains your keybind command string:
R "local I'm sorry, I didn't mean to hit ya... Oh, wait, yeah I did$$powexecname Bash$$bindloadfile C:\CoHKB\bash2.txt"
That's it. Just the one line. It's a one line document.
Note: even though this is your first document in the series, the path at the end of the string needs to point to the next document (which you technically haven't actually created yet).

Double check your command string. Look for extra spaces, missing quotation marks, missing $$, misspellings, etc.

Under the file menu at the top of the notepad, choose "save as..."
Pick the C: drive as your file path, and find your CoHKB folder to save the document in.
Label this document "bash1".
Choose "text document (*.txt)" as your file type.
Choose ANSI for encoding.
SAVE into your CoHKB folder

Then, open a NEW notepad document.

Your next document (bash2) will contain the same keybind command string with a couple adjustments:
a. your new witty saying
b. the path at the end will point to the next document (bash3).
SAVE into your CoHKB folder the same way as the first document.
Repeat for as many witty sayings you want. Make sure that in the last document, your keybind command string points back to the first document.

4. Your CoHKB folder should now contain a series of notepad (.txt) documents (bash1 through bashx), each containing it's own keybind command string. Now all you have to do is tell the game where to find them.

5. In the game, enter this into the chatline: /bindloadfile C:\CoHKB\bash1.txt
No need to enter anything more, since the command string in bash1 will automatically bind your selected key (R) and point to bash2, which will point to bash3... etc.,.

Once you're sure the keybind will act the way you want (rotating), you can go into your documents and adjust your keybind command strings to bindloadfilesilent.

I *think* that covers it. Someone correct me if I've missed something.

Edit: correction to add slash to load command


Quote:
Don�t say things.
What you are stands over you the while, and thunders so that I cannot hear what you say to the contrary. - R.W. Emerson
The BIG consolidated LIST for BASE LUV
YUMMY Low-Hanging Fruit for BASE LUV

 

Posted

Quote:
Originally Posted by Impish Kat View Post
[FONT=Verdana]5. In the game, enter this into the chatline: bindloadfile C:\CoHKB\bash1.txt
No need to enter anything more, since the command string in bash1 will automatically bind your selected key (R) and point to bash2, which will point to bash3... etc.,.

Once you're sure the keybind will act the way you want (rotating), you can go into your documents and adjust your keybind command strings to bindloadfilesilent.

I *think* that covers it. Someone correct me if I've missed something.


No need to apologize for being too basic, I did say I needed it, after all =D

Okay, after using /bindloadfile on Bash1, it tells me "Unable to read in keybind file: C:\CoHKB\bash1.txt". I am certain that's the right path, and bash1 definetly exists (I'm looking at it right now), but it appears I am still...



(Also, I'd like to thank everyone who's taking the time to help walk me through all of this and putting up with my ineptitude, I'm both grateful and flattered by it =D)


"Take the Yuan-Ti, bash them with a club made of frozen stupidity, then rip out their sense of subtlety with a rusty spoon, and then you have the Snakes of Mercy Isle" -Taltha Widowfang, drow stalker
Now playing at an MA near you: Dragonslayers #335375

 

Posted

Quote:
Originally Posted by MartyRallner View Post
No need to apologize for being too basic, I did say I needed it, after all =D

Okay, after using /bindloadfile on Bash1, it tells me "Unable to read in keybind file: C:\CoHKB\bash1.txt". I am certain that's the right path, and bash1 definetly exists (I'm looking at it right now), but it appears I am still...



(Also, I'd like to thank everyone who's taking the time to help walk me through all of this and putting up with my ineptitude, I'm both grateful and flattered by it =D)
I feel silly saying this, but make sure it's actually named "bash1.txt" not "bash1.txt.txt" or "bash1".

Other than that, I've got nothin' for now. lol


 

Posted

oh Oh OH!....

I just put that command string into Word and did a word/character count....

There are 118 characters, including spaces, in the string. It might be too many. Someone correct me if I have the character limit off, but I think it's 100.

EDIT: Scratch that... just checked the limit against some of my other binds... looks to be a bit higher. I can't find the reference to what the actual limit is though... 250?

Also, the name thing... yah, I've done the double suffix before.


Quote:
Don�t say things.
What you are stands over you the while, and thunders so that I cannot hear what you say to the contrary. - R.W. Emerson
The BIG consolidated LIST for BASE LUV
YUMMY Low-Hanging Fruit for BASE LUV

 

Posted

Quote:
Originally Posted by Master-Blade View Post
I feel silly saying this, but make sure it's actually named "bash1.txt" not "bash1.txt.txt" or "bash1".

Other than that, I've got nothin' for now. lol
No additional line feeds before or after the single line of text?