Build save file (Slash Command): Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
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 ''/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.
* 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:
* 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.
:* fully defined - C:\Games\Homecoming<COHInstallDirectory>\accounts\<AccountName>\Builds\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.
* 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]


===Examples===
===Examples===
The following are merely examples of using the bind_save_file command, your file path may be different.
The following are merely examples of using the build_save_file command, your file path may be different.
: Defined path:
: Defined path:
  /build_save_file C:\Games\Homecoming\accounts\AccountName\Builds\CharacterName.txt
  /build_save_file C:\Games\Homecoming\accounts\AccountName\Builds\CharacterName.txt
Line 19: Line 16:




==Also==
==See Also==
[[Character Planner]]
* {{slashcommand|build_save}}
* {{slashcommand|build_save_file}}
* {{slashcommand|select_build}}
* [[Character Planner]]





Latest revision as of 08:43, 28 December 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.
  • 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 Mids Reborn: Hero Designer

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


See Also