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

Cameo

From ModEnc
Revision as of 01:29, 18 April 2005 by Renegade (talk | contribs) (Added to category)
Jump to: navigation, search

Cameos are the "build list icons" which you click to build objects. They have to be defined by the Cameo= line in the art(md).ini-section of an object.

How to add a cameo to RA2/YR. (by Kravvitz)

  • If you start out with a PCX
    1. Open XCC Mixer and navigate to where you have your PCX cameo.
    2. Make sure that when you click on the PCX it says in the top right hand corner that it says "Bits/pixels: 8".
      • If it doesn't, you need to go to View --> Palet and click "Use for Conversion"
    3. Go to View --> Palet --> Red Alert 2 and click cameo.pal
    4. Now right click on the pcx go to Clipboard and click on Copy
    5. Now right click on the pcx go to Clipboard and click on "Paste as SHP(TS)"
    6. It will pop up a "Save as" window, so type in what you want to name the cameo and click Save.
    7. It will pop up a "SHP Properties" window, if it's just a normal cameo, click Ok.
    8. You now have a cameo in SHP(TS) format. (I feel that this method is the easiest.)
    9. To put your new SHP cameo into the game keep reading.
  • If you start out with an SHP
  • This is the easiest method of getting it into the game:
    1. Put the SHP into your RA2 directory
    2. Open up the art(md).ini
    3. Find what ever Infantry, Vehicle, Aircraft, or Building's entry
    4. Add the line Cameo=XXXX, XXXX being the name of your cameo in uppercase letters
    5. If you have a version of the cameo with a Veteran's Stripe
      • then add the line AltCameo=YYYY, YYYY being the name of the veteran version of the cameo

Cameo Building Transitions (The Percent Built Thing) (by Kravvitz)

It uses the gclock2.shp and the sidebar.pal files in ra2.mix --> sidec01.mix and sidec02.mix. The original gclock2.shp files are the same, except the colors that are used are different. The sidebar.pal files are named the same, but they are different. So you have to modify those files. You don't have to change the sidebar.pal it you don't want to it's your choice, but if you don't change it, the colors you can use will be limited. The files ambttn.shp, smbttn.shp, and tmbttn.shp in ra2.mix --> neutral.mix apparently are not used.