Build save file (Slash Command): Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 6: Line 6:
* 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 (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.
:*: 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.

Revision as of 03:41, 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 /build_save_file "C:\City of Heroes\CharacterName.txt" would be a valid command, while /build_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