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

Adding A Cameo: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Rewrite
TAK02 (talk | contribs)
Cameo sizes added for reference
 
(2 intermediate revisions by 2 users not shown)
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]].
 
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:
Line 11: Line 14:
*There, you just told the game to look for your file and use it as a cameo for that unit.
*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]].
Now you have to put the file somewhere where the game can find it. See [[How to put your files in the game]].
[[Category:Tutorials]]
[[Category:General Tutorials]]

Latest revision as of 18: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.