Bind save file silent (Slash Command)

From Unofficial Homecoming Wiki
Jump to navigation Jump to search

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