3.0 BASICS OF THE BIND
Some things to note:
1) You must be in space to manage your space keybinds.
2) You must be on the ground to manage your ground keybinds.
3) Additionally, ground binds are currently limited to the changes you can make through the Key Binds tab in the Options menu. Hopefully, at some point, Cryptic ** Nudge. Nudge. Wink. Wink. ** will give us control over our BO abilities on the ground as much as we have in space.
3.1 SYNTAX
Now that you know the various parts of commands and what it takes to issue a command, let's move on to the bind itself. Everyone uses binds; most just don't realize it. For example, many folks use WASD keys (** shudder**) to pilot their ship or for maneuvering on the ground. All the keys you use to cause an action to occur are keybinds. Initially, these were set to default values by Cryptic and can be found in the Options menu under the tab heading Key Binds. You can also access this menu by typing /keybinds in the chat window.
Keyboard layouts are available for the beginner; an excellent set of mappings are available at STO Academy:
Ground Keyboard
Space Keyboard
To create a bind that works you must follow the proper syntax.
REMEMBER: SYNTAX IS KING.
3.1.1 Single Command Syntax
To input a binding command through the chat window the bind command looks like this:
/bind <key> <toggle><command> <Param1><Param2> ...
or, when directly editing a keybind file, we use the syntax:
<key> "<toggle><command> <Param1><Param2> ..."
where:
<key> is the key you wish use to execute the command.
<toggle> used in the form of '+' (plus) or '++' double-plus, but rarely may not be necessary.
<command> is the game command you wish to execute.
<Param#> are any parameters the command may require.
Note the absence of the '/bind' and the presence of " (quotation) for the bind file. The quotation marks are required in the bind file.
Throughout the rest of this guide I will provide both options for use. The first will be the command line used in the chat window and second used in the bindfile itself. So ...
3.1.2 Multiple Commands Syntax
Okay, you're well on your way to being a Binder. But wait, what's that you say? You've got the single command line binds down, but didn't you say something about targeting someone and healing them with one key? That's more than one command. How do I do make that magic happen?
Well, …
The key to using multiple commands is concatenation. A big word that means putting multiple commands one after the other. To do this you use $$ (double dollar signs). So our now our syntax looks something like:
/bind <key> <toggle><command> <param1> $$ <toggle><command2> <param2> $$ ...
- or -
<key> "<toggle><command> <param1> $$ <toggle><command2> <param2> $$ ..."
3.2 GENERATING A BINDFILE
Go to your options menu (<esc>, select Options) there you will find a tab called "Key Binds". Those are your current keybinds. So, first things first, you need a file to modify. To generate (saving) a bindfile, you can type the following in the chat window as above:
/bind_save_file <filename>.txt
In the "Live" folder there will be a file with the name (<filename>.txt) you provided. Double-click on this to open and it should use notepad. Now, you should have a bindfile that has all your basic keybinds.
You could also open a new notepad document and save it to the Live folder. Since all your binds are default, unless you have changed anything, either way gets you the same result.
3.3 LOCATING A BINDFILE
For those using Windows7 & Vista it is located here:
C:\Users\Public\Games\Cryptic Studios\Star Trek Online\Live
for others it may be located here:
C:\Users\<user>\Games\Cryptic Studios\Star Trek Online\Live
If it is not in any of the above (users with a different OS please chime in.), just do a search for "Star Trek Online" and there you will find the "Live" folder.
You are able to put your bind file anywhere as long as you use the complete path when saving or loading the file.
Example:
To Load a File:
/bind_load_file C:\Users\psytce\Documents\ground.txt
this puts the file in my Documents folder, and to save the file
/bind_save_file C:\Users\psytce\Documents\ground.txt
So as long as you use the complete path to the file you can put it anywhere you like.
3.4 LOADING/SAVING A BINDFILE
updated: 101208
3.4.1 Saving
To save your binds to a .txt file, use:
/bind_save_file <filename>.txt
If the file name provided exists, it will be overwritten, otherwise a file will be created.
Example:
/bind_save_file keybinds_space.txt
Effect: After this is run, all binds on the active character will be saved to <filename>.txt inside your Star Trek Online/Live
folder.
This saves the file in your Documents folder:
/bind_save_file C:\Users\<your user name>\Documents\<filename>.txt
So as long as you use the
complete path to the file you can put it anywhere you like.
Note: Multiple files are possible. I use
keybinds_space_####.txt as the file name where the ##### are the first letters of my assigned BOs. This way I know which bind file applies to which BO roster. Ground is much more simple as I take the same BOs every time so i use
keybinds_ground.txt.
3.4.2 Loading
To load your bind file from a .txt file use
/bind_load_file <filename>.txt
This will load all the changes you just made into your game and overwrite the included designations. It will only overwrite the keys included in the file; nothing else. (We can fix that later.)
In a folder other than the "Live" folder use:
/bind_load_file C:\Users\<your user name>\Documents\<filename>.txt
Special thanks to psytce for correcting me. I never though to save the file anywhere else.