Bind save file (Slash Command): Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>SekoiaBot
m (Robot: Cosmetic changes)
imported>8691RGI
Line 4: Line 4:


* Due to limitations of the CoH/V command line parser, ''pathname'' must be enclosed in quotes if it contains spaces.  Thus ''/bind_save_file "C:\coh binds\bindfile.txt"'' would be a valid command, while ''/bind_save_file 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 "C:\coh binds\bindfile.txt"'' would be a valid command, while ''/bind_save_file C:\coh binds\bindfile.txt'' would not.
* The default location, unless a fully defined path is specified, is ''<COHInstallFolder>\data'' if it exists, or ''<COHInstallFolder>'' if it does not.  The \data folder does NOT exist on a default City of Heroes installation, it must be manually created.
* ''Pathname'' may be either a relative or fully defined path:
* ''Pathname'' may be either a relative or fully defined path:
:* fully defined - C:\cohbinds\bindfile.txt
:* fully defined - C:\cohbinds\bindfile.txt

Revision as of 23:25, 15 November 2010

Slash Command

/bind_save_file filename.txt

Creates a file at a location specified by the user. This file will be in text format, and will list all bindings on the current character, one binding per line. Further, the file will be formatted correctly for import using the /bind_load_file or /bind_load commands.

  • Due to limitations of the CoH/V command line parser, pathname must be enclosed in quotes if it contains spaces. Thus /bind_save_file "C:\coh binds\bindfile.txt" would be a valid command, while /bind_save_file C:\coh binds\bindfile.txt would not.
  • The default location, unless a fully defined path is specified, is <COHInstallFolder>\data if it exists, or <COHInstallFolder> if it does not. The \data folder does NOT exist on a default City of Heroes installation, it must be manually created.
  • 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).

Template:Bind Commands NavBox