Build save file (Slash Command): Difference between revisions
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 ''/ | * 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: | * ''Path'' may be either a relative or fully defined (absolute) path: |
Revision as of 03:40, 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.
- 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