Binds: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
== Overview ==
== Overview ==
A bind, also known as a keybind, is a reference for the game to understand what a particular key does. Almost every command in the game is inputted through a bind of some variety. The keys the game uses for basic controls are bound to [[Slash Commands|commands]], and through these, the game understands the commands you input. When you re-organize your keyboard through the options interface (Menu--> Options--> Keymapping tab), the game interface is re-binding keys for you.
A bind, also known as a keybind, is a reference for the game to understand what a particular key does. Almost every action in the game is inputted through a bind of some variety. The keys the game uses for basic controls are bound to [[Slash Commands|commands]], and through these, the game understands the commands you input. When you re-organize your keyboard through the options interface (Menu--> Options--> Keymapping tab), the game interface is re-binding keys for you.  


For example, by default:
For example, by default:
*"W" is bound to the command '''+forward'''.
*"W" is bound to the command {{bindcommand|forward|prefix=+}}.
*"1" is bound to '''powexecslot 1'''.
*"1" is bound to {{bindcommand|powexec_slot|1}}.
*"F7" is bound to '''"say Ready!$$emote thumbsup"'''.
*"F7" is bound to <code>{{bindcommand|say|Ready!}}$${{bindcommand|emote|thumbsup}}</code>.


In the above example, note that "F7" has the $$ marker in it. This tells the game that it is actually 2 commands, separated by "$$", and that it's to execute them in order.  
In the above example, note that "F7" has the "$$" operator in it. This tells the game that it is actually 2 commands, separated by "$$", and that it's to execute them both in order from left to right.  


You can change a bind, or create your own binds, by using the [[slash command]] {{slashcommand|bind}} or through [[Bind File]]s.


For a more in-depth study on uses of Binds, consult [[The Incomplete and Unofficial Guide to /bind]].  
==Custom Keybinds==
You can change a bind, or create your own binds, by using the [[slash command]] {{slashcommand|bind}} or through [[Bind File]]s. Binds that you write and assign to keyboard keys yourself are called "Custom Keybinds" if they are different than the default binds in the selected [[Keybind Profiles|keybind profile]]. Any player-made bind that exactly matches the default keybinding for that key is just considered by the game as the normal default keybind.
 
 
==Default Keybinds==
The default binds for your character are determined by the [[Keybind Profiles|Keybind Profile]] that is selected. All new characters are created with the [[Modern Keybind Profile|Modern]] keybind profile as the default. However, you may select one of 3 other [[Keybind Profiles|keybind profiles]] that contain 3 different alternate sets of default keybindings. You can select your desired keybind profile by clicking on Menu--> Options--> Keymapping tab.




== Bind Files ==
== Bind Files ==
[[Bind File]]s are simple text files, which list a number of binds in a standardized format. This can allow you to load up multiple binds - or different sets of binds - for a character. You can even specify keys to load binds as part of a bind file's contents, allowing cyclical binds.
[[Bind File]]s are simple text files, which list a number of binds in a standardized format. This can allow you to load up multiple binds - or different sets of binds - for a character. You can even specify keys to load binds as part of a bind file's contents, allowing rotating text binds. If you use the {{slashcommand|bind_save}} command, all of the custom, player-made keybinds on your character will be saved to the keybinds.txt file in the [[Default Folder]].
 
 
For a more in-depth study on uses of Binds, consult [[The Incomplete and Unofficial Guide to /bind]].  





Revision as of 00:17, 15 October 2024

Overview

A bind, also known as a keybind, is a reference for the game to understand what a particular key does. Almost every action in the game is inputted through a bind of some variety. The keys the game uses for basic controls are bound to commands, and through these, the game understands the commands you input. When you re-organize your keyboard through the options interface (Menu--> Options--> Keymapping tab), the game interface is re-binding keys for you.

For example, by default:

In the above example, note that "F7" has the "$$" operator in it. This tells the game that it is actually 2 commands, separated by "$$", and that it's to execute them both in order from left to right.


Custom Keybinds

You can change a bind, or create your own binds, by using the slash command /bind or through Bind Files. Binds that you write and assign to keyboard keys yourself are called "Custom Keybinds" if they are different than the default binds in the selected keybind profile. Any player-made bind that exactly matches the default keybinding for that key is just considered by the game as the normal default keybind.


Default Keybinds

The default binds for your character are determined by the Keybind Profile that is selected. All new characters are created with the Modern keybind profile as the default. However, you may select one of 3 other keybind profiles that contain 3 different alternate sets of default keybindings. You can select your desired keybind profile by clicking on Menu--> Options--> Keymapping tab.


Bind Files

Bind Files are simple text files, which list a number of binds in a standardized format. This can allow you to load up multiple binds - or different sets of binds - for a character. You can even specify keys to load binds as part of a bind file's contents, allowing rotating text binds. If you use the /bind_save command, all of the custom, player-made keybinds on your character will be saved to the keybinds.txt file in the Default Folder.


For a more in-depth study on uses of Binds, consult The Incomplete and Unofficial Guide to /bind.


See Also