Build save file (Slash Command): Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
{{SlashCommandArticle|command=build_save_file|options=<path>\filename.txt|note=Saves the current character build (Name, Level, Archetype, Origin, Powers and Slotted Enhancements) to a user specified text file.}}
{{SlashCommandArticle|command=build_save_file|options=<path>\filename.txt|note=Saves the current character build (Name, Level, Archetype, Origin, Powers and Slotted Enhancements) to a user specified text file.}}


* Due to limitations of the CoH/V command line parser, the ''path'' must be enclosed in quotes if it contains spaces.  Thus ''/bind_save_file "C:\coh binds\CharacterName.txt"'' would be a valid command, while ''/bind_save_file C:\coh binds\CharacterName.txt'' would not.
* Due to limitations of the CoH/V command line parser, the ''path'' must be enclosed in quotes if it contains spaces.  Thus ''/bind_save_file "C:\City of Heroes\CharacterName.txt"'' would be a valid command, while ''/bind_save_file C:\City of Heroes\CharacterName.txt'' would not.
* A forward slash (/) or back slash (\) is used in the path depending on the operating system of your computer. For Windows a back slash (\) is used, whereas on Unix based systems such as MacOS and Linux a forward slash (/) is used.
* A forward slash (/) or back slash (\) is used in the path depending on the operating system of your computer. For Windows a back slash (\) is used, whereas on Unix based systems such as MacOS and Linux a forward slash (/) is used.
* ''Path'' may be either a relative or fully defined (absolute) path:
* ''Path'' may be either a relative or fully defined (absolute) path:
:* fully defined - C:\Games\Homecoming<COHInstallDirectory>\accounts\<AccountName>\Builds\CharacterName.txt
:* fully defined - C:\Games\Homecoming<COHInstallDirectory>\accounts\<AccountName>\Builds\CharacterName.txt
:* relative - CharacterName.txt
:* relative - CharacterName.txt
:*: If the relative path is used, the text file will be saved in <COHInstallDirectory>\accounts\<AccountName>\Builds\ by default. Otherwise, the file location will be saved where ever you specify.
:*: If the relative path is used (in other words, if you just type the file name), the text file will be saved in <COHInstallDirectory>\accounts\<AccountName>\Builds\ by default. Otherwise, the file location will be saved where ever you specify.
* The resulting text file can be imported into [https://midsreborn.com  Mids Reborn: Hero Designer]
* The resulting text file can be imported into [https://midsreborn.com  Mids Reborn: Hero Designer]



Revision as of 03:39, 8 June 2022

Slash Command

/build_save_file <path>\filename.txt

Saves the current character build (Name, Level, Archetype, Origin, Powers and Slotted Enhancements) to a user specified text file.

  • Due to limitations of the CoH/V command line parser, the path must be enclosed in quotes if it contains spaces. Thus /bind_save_file "C:\City of Heroes\CharacterName.txt" would be a valid command, while /bind_save_file C:\City of Heroes\CharacterName.txt would not.
  • A forward slash (/) or back slash (\) is used in the path depending on the operating system of your computer. For Windows a back slash (\) is used, whereas on Unix based systems such as MacOS and Linux a forward slash (/) is used.
  • Path may be either a relative or fully defined (absolute) path:
  • fully defined - C:\Games\Homecoming<COHInstallDirectory>\accounts\<AccountName>\Builds\CharacterName.txt
  • relative - CharacterName.txt
    If the relative path is used (in other words, if you just type the file name), the text file will be saved in <COHInstallDirectory>\accounts\<AccountName>\Builds\ by default. Otherwise, the file location will be saved where ever you specify.

Examples

The following are merely examples of using the build_save_file command, your file path may be different.

Defined path:
/build_save_file C:\Games\Homecoming\accounts\AccountName\Builds\CharacterName.txt
Relative path:
/build_save_file CharacterName.txt


Also

Character Planner