ImageServer (Slash Command): Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
{{SlashCommandArticle|command=ImageServer|options=<string> <string>|note=Sets game to Image Server mode.}}
{{SlashCommandArticle|command=ImageServer|options=<string> <string>|note=Sets game to Image Server mode.}}


* {{slashcommand|ImageServer}} is used to render images of costumes in .JPG and .TGA format. 
*  The {{slashcommand|ImageServer}} command takes two arguments or <strings>. The first string is the source directory path and second string is the target directory path. For example: <code>C:\COHsource C:\COHtarget</code>. The strings should not point to any directories that have data or files inside them.  
*  The {{slashcommand|ImageServer}} command takes two arguments or <strings>. The first string is the source directory path and second string is the target directory path. For example: <code>C:\COHsource C:\COHtarget</code>. The strings should not point to any directories that have data or files inside them.  
* The command takes a .csv spreadsheet file containing costume information and converts it into 2 image files (.jpg and .tga). The {{slashcommand|notga}} and {{slashcommand|nojpg}} commands can be used to prevent one type of image file from being created.
* The command takes a .csv spreadsheet file containing costume information and converts it into 2 image files (.jpg and .tga). The {{slashcommand|notga}} and {{slashcommand|nojpg}} commands can be used to prevent one type of image file from being created.
* This is a developer command, and not really intended for players to use (but we do have access to it).
* {{slashcommand|ImageServer}} was most likely created to place character images on what might have been a player character showcase website for the original City of Heroes when it was live. Now it's mostly used by players.  
* A big shoutout to @Michiyo for figuring out how to use this command!
* A big shoutout to @Michiyo for figuring out how to use this command!


Line 45: Line 46:
* {{slashcommand|nojpg}}
* {{slashcommand|nojpg}}
* {{slashcommand|notga}}
* {{slashcommand|notga}}
* [https://costumes.cityofheroes.dev| Icon Catalog] - a player developed costume website.
* [https://vault.cityofheroes.dev| City Vault] - a developer costume and character info site for the Victory Server.




[[Category:Slash Commands]]
[[Category:Slash Commands]]
[[Category:Command Line Parameters]]
[[Category:Command Line Parameters]]

Latest revision as of 07:02, 23 February 2024

Slash Command

/ImageServer <string> <string>

Sets game to Image Server mode.

  • /ImageServer is used to render images of costumes in .JPG and .TGA format.
  • The /ImageServer command takes two arguments or <strings>. The first string is the source directory path and second string is the target directory path. For example: C:\COHsource C:\COHtarget. The strings should not point to any directories that have data or files inside them.
  • The command takes a .csv spreadsheet file containing costume information and converts it into 2 image files (.jpg and .tga). The /notga and /nojpg commands can be used to prevent one type of image file from being created.
  • /ImageServer was most likely created to place character images on what might have been a player character showcase website for the original City of Heroes when it was live. Now it's mostly used by players.
  • A big shoutout to @Michiyo for figuring out how to use this command!


To use the command you first need a comma delimited .csv file (a text file whose values are separated by commas) containing costume inforamtion. For example:

10.csv (<-- filename)

PARAMS: X=200,Y=400
    PARAMS: CX=2,CY=3,CZ=26
0,"pants_tight","v_leather_01","none","None","2039583","10027010",1,13227775,-3.0000001061126E-6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"none",0,0,"lower body","pants"
1,"tight","skin_tights","!chest_v_pattern_tanker_02","None","2039583","14935011",1,13227775,-3.0000001061126E-6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"none",0,0,"upper body","tights/skin"
2,"v_fem_head.geo/geo_head_v_asym_standard","!face_skin_v_fem_head_15","!v_sf_face_makeup_2","None","0","14935011",1,13227775,-3.0000001061126E-6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"none",0,0,"head","standard"
3,"smooth","skin_bare","none","None","2039583","14935011",1,13227775,-3.0000001061126E-6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"none",0,0,"upper body","tights/skin"
4,"hi_heels","combat_01","none","None","2039583","14935011",1,13227775,-3.0000001061126E-6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"none",0,0,"lower body","pants"
5,"n_fem_clubwear_metallic_dress.geo/geo_studded_belt_05","!x_clubwear_studded_belt","none","None","2039583","7566195",1,13227775,-3.0000001061126E-6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"none",0,0,"upper body","tights/skin"
6,"v_fem_hair.geo/geo_hair_beau_monde_01","!sf_hair_beau_monde_01","!sf_hair_r_beau_monde_twotone_mask","None","2039583","10027010",1,13227775,-3.0000001061126E-6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"none",0,0,"head","standard"

STEPS:

  1. Create the source and target directories. For example, C:\COHsource and C:\COHtarget.
  2. Place the .csv file inside the source directory.
  3. Execute the /imageServer command either in-game or as a command line parameter.
For example, /imageServer "C:\COHsource" "C:\COHtarget".


Command Line Parameter

The command can be run at log-in as a Command Line Parameter. For example,

-imageServer "C:\COHsource" "C:\COHtarget".

When used as a command line parameter the -imageServer command executes before the game client gets to the login screen.


Example

/imageServer "C:\COHsource" "C:\COHtarget"


Also