ImageServer (Slash Command)

From Unofficial Homecoming Wiki
Revision as of 07:00, 23 February 2024 by BlackSpectre (talk | contribs)
Jump to navigation Jump to search

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 the original City of Heroes player character showcase website. 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