ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Difference between revisions of "Adding A Cameo"

From ModEnc
Jump to: navigation, search
m (Added RA2's cameo size. Please put TS's in too.)
(Cameo sizes added for reference)
 
Line 1: Line 1:
 
Cameos have to be in [[SHP]] format. If you want to convert a PCX (PNG, JPG, etc. also work) image to SHP, see [[XCC Mixer file conversion#PCX .3E SHP|Converting PCX to SHP]].
 
Cameos have to be in [[SHP]] format. If you want to convert a PCX (PNG, JPG, etc. also work) image to SHP, see [[XCC Mixer file conversion#PCX .3E SHP|Converting PCX to SHP]].
Please note the cameo needs to be a 60x48 image when adding one for RA2 and YR. It is unknown what side-effects result from making a smaller and/or larger cameo.
+
 
 +
For reference: TS cameos are 64x48, RA2 and YR cameos 60x48.
 +
It is unknown what side-effects result from making a smaller and/or larger cameo, though RA2 seems capable of handling 64x48 TS cameos without trouble.
  
 
Once you have the SHP file, let's call it {{Tt|example.shp}}, you need to tell the game to use it:
 
Once you have the SHP file, let's call it {{Tt|example.shp}}, you need to tell the game to use it:

Latest revision as of 20:15, 21 December 2020

Cameos have to be in SHP format. If you want to convert a PCX (PNG, JPG, etc. also work) image to SHP, see Converting PCX to SHP.

For reference: TS cameos are 64x48, RA2 and YR cameos 60x48. It is unknown what side-effects result from making a smaller and/or larger cameo, though RA2 seems capable of handling 64x48 TS cameos without trouble.

Once you have the SHP file, let's call it example.shp, you need to tell the game to use it:

  • Open the art(md).ini file.
  • Find the unit that should be using this cameo.
  • Edit its section so that the line
Cameo=whatever

looks like

Cameo=example

(the game automatically adds the .shp extension.)

  • There, you just told the game to look for your file and use it as a cameo for that unit.

Now you have to put the file somewhere where the game can find it. See How to put your files in the game.