Bind save file silent (Slash Command): Difference between revisions
Jump to navigation
Jump to search
BlackSpectre (talk | contribs) No edit summary |
BlackSpectre (talk | contribs) No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
== Slash Command == | == Slash Command == | ||
{{SlashCommandArticle|command=bind_save_file_silent|options=filename.txt|note=Creates a file at a location specified by the user but does not display the confirmation message. This file will be in text format, and will list | {{SlashCommandArticle|command=bind_save_file_silent|options=filename.txt|note=Creates a file at a location specified by the user but does not display the confirmation message. This file will be in text format, and will list only the custom, player-made bindings on the current character, one binding per line. It will not print any keybinds that match the selected default keybindings. Further, the file will be formatted correctly for import using the {{slashcommand|bind_load_file}} or {{slashcommand|bind_load}} commands. | ||
* The {{slashcommand|bind_save_file_silent}} command also saves the currently selected [[Keybind Profiles|Keybind Profile]] to the top of the specified text file. A keybind profile tells the game which set of default binds to use on the character. | |||
* Due to limitations of the CoH/V command line parser, ''pathname'' must be enclosed in quotes if it contains spaces. Thus ''/bind_save_file_silent "C:\coh binds\bindfile.txt"'' would be a valid command, while ''/bind_save_file_silent C:\coh binds\bindfile.txt'' would not. | * Due to limitations of the CoH/V command line parser, ''pathname'' must be enclosed in quotes if it contains spaces. Thus ''/bind_save_file_silent "C:\coh binds\bindfile.txt"'' would be a valid command, while ''/bind_save_file_silent C:\coh binds\bindfile.txt'' would not. | ||
* ''Pathname'' may be either a relative or fully defined path: | * ''Pathname'' may be either a relative or fully defined path: | ||
Line 12: | Line 13: | ||
===Examples=== | |||
The following are merely examples of using the bind_save_file_silent command, your file path may be different. | |||
: Defined path: | |||
/bind_save_file_silent C:\Games\Homecoming\settings\live\binds\bindfile.txt | |||
: Relative path: | |||
/bind_save_file_silent \binds\bindfile.txt | |||
===See Also=== | |||
* {{slashcommand|show_bind_all}} | |||
* {{slashcommand|show_bind_all_file}} | |||
{{Navbox Binds}} | |||
[[Category:Bind Commands]] | |||
[[Category:Slash Commands]] | [[Category:Slash Commands]] |
Latest revision as of 06:52, 14 October 2024
Slash Command
/bind_save_file_silent filename.txt
Creates a file at a location specified by the user but does not display the confirmation message. This file will be in text format, and will list only the custom, player-made bindings on the current character, one binding per line. It will not print any keybinds that match the selected default keybindings. Further, the file will be formatted correctly for import using the /bind_load_file or /bind_load commands.
- The /bind_save_file_silent command also saves the currently selected Keybind Profile to the top of the specified text file. A keybind profile tells the game which set of default binds to use on the character.
- Due to limitations of the CoH/V command line parser, pathname must be enclosed in quotes if it contains spaces. Thus /bind_save_file_silent "C:\coh binds\bindfile.txt" would be a valid command, while /bind_save_file_silent C:\coh binds\bindfile.txt would not.
- Pathname may be either a relative or fully defined path:
- fully defined - C:\cohbinds\bindfile.txt
- relative - bindfolder\bindfile.txt
- bindfolder\bindfile.txt would be located in the data directory of the install directory (C:\Program Files\City of Heroes\data\bindfolder\bindfile.txt).
- relative2 - ..\bindfolder2\bindfile.txt
- ..\bindfolder2\bindfile.txt would be located in the install directory, since bindsavefile looks in the data directory (C:\Program Files\City of Heroes\bindfolder2\bindfile.txt).
Examples
The following are merely examples of using the bind_save_file_silent command, your file path may be different.
- Defined path:
/bind_save_file_silent C:\Games\Homecoming\settings\live\binds\bindfile.txt
- Relative path:
/bind_save_file_silent \binds\bindfile.txt
See Also