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

Difference between revisions of "Cameo"

From ModEnc
Jump to: navigation, search
m (Added to category)
m (html > wiki code)
Line 1: Line 1:
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.
+
Cameos are the "build list icons" which you click to build objects. They have to be defined by the <tt>[[Cameo]]</tt>= line in the [[art(md).ini]]-section of an object.
  
 
== How to add a cameo to RA2/YR. (by Kravvitz) ==
 
== How to add a cameo to RA2/YR. (by Kravvitz) ==
<ul>
+
 
  <li>If you start out with a PCX<ol>
+
=== If you start out with a PCX ===
<li>Open XCC Mixer and navigate to where you have your PCX cameo.
+
*Open XCC Mixer and navigate to where you have your PCX cameo.
<li>Make sure that when you click on the PCX
+
*Make sure that when you click on the PCX it says in the top right hand corner that it says "Bits/pixels: 8".
          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"
  <ul><li>If it doesn't, you need to go to View --&gt; Palet and click "Use for Conversion"</ul>
+
*Go to View --> Palet --> Red Alert 2 and click cameo.pal
<li>Go to View --&gt; Palet --&gt; Red Alert 2 and click cameo.pal
+
*Now right click on the pcx go to Clipboard and click on Copy
<li>Now right click on the pcx go to Clipboard and click on Copy
+
*Now right click on the pcx go to Clipboard and click on "Paste as SHP(TS)"
<li>Now right click on the pcx go to Clipboard and click on "Paste as SHP(TS)"
+
*It will pop up a "Save as" window, so type in what you want to name the cameo and click Save.
<li>It will pop up a "Save as" window, so type in what you want to name the cameo and click Save.
+
*It will pop up a "SHP Properties" window, if it's just a normal cameo, click Ok.
<li>It will pop up a "SHP Properties" window, if it's just a normal cameo, click Ok.
+
*You now have a cameo in SHP(TS) format. (I feel that this method is the easiest.)
<li>You now have a cameo in SHP(TS) format. (I feel that this method is the easiest.)
+
 
<li>To put your new SHP cameo into the game keep reading.</ol>
+
=== Once you have the SHP file ===
  <li>If you start out with an SHP
+
*Put the SHP into your RA2 directory
  <li>This is the easiest method of getting it into the game:<ol>
+
*Open up the art(md).ini
<li>Put the SHP into your RA2 directory
+
*Find what ever Infantry, Vehicle, Aircraft, or Building's entry
<li>Open up the art(md).ini
+
*Add the line Cameo=XXXX, XXXX being the name of your cameo in uppercase letters
<li>Find what ever Infantry, Vehicle, Aircraft, or Building's entry
+
*If you have a version of the cameo with a Veteran's Stripe, add the line AltCameo=YYYY, YYYY being the name of the veteran version of the cameo
<li>Add the line Cameo=XXXX, XXXX being the name of your cameo in uppercase letters
+
 
<li>If you have a version of the cameo with a Veteran's Stripe
+
Note: You can also use [[File_Types#.SHP|OS SHP Builder]] to edit the cameos. It can edit SHP files directly, without needing to convert them to PCX and back.
  <ul><li>then add the line AltCameo=YYYY, YYYY being the name of the veteran version of the cameo</ul>
 
</ol>
 
</ul>
 
  
 
== Cameo Building Transitions (The Percent Built Thing) (by Kravvitz) ==
 
== Cameo Building Transitions (The Percent Built Thing) (by Kravvitz) ==
<p>It uses the gclock2.shp and the sidebar.pal files in ra2.mix --&gt; 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 --&gt; neutral.mix apparently are not used.</p>
+
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.
  
 
[[Category:General_Editing_Information]][[Category:Tutorials]]
 
[[Category:General_Editing_Information]][[Category:Tutorials]]

Revision as of 07:12, 6 May 2006

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

  • Open XCC Mixer and navigate to where you have your PCX cameo.
  • 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"
  • Go to View --> Palet --> Red Alert 2 and click cameo.pal
  • Now right click on the pcx go to Clipboard and click on Copy
  • Now right click on the pcx go to Clipboard and click on "Paste as SHP(TS)"
  • It will pop up a "Save as" window, so type in what you want to name the cameo and click Save.
  • It will pop up a "SHP Properties" window, if it's just a normal cameo, click Ok.
  • You now have a cameo in SHP(TS) format. (I feel that this method is the easiest.)

Once you have the SHP file

  • Put the SHP into your RA2 directory
  • Open up the art(md).ini
  • Find what ever Infantry, Vehicle, Aircraft, or Building's entry
  • Add the line Cameo=XXXX, XXXX being the name of your cameo in uppercase letters
  • If you have a version of the cameo with a Veteran's Stripe, add the line AltCameo=YYYY, YYYY being the name of the veteran version of the cameo

Note: You can also use OS SHP Builder to edit the cameos. It can edit SHP files directly, without needing to convert them to PCX and back.

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.