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

Cameo: Difference between revisions

From ModEnc
Jump to navigation Jump to search
No edit summary
 
TAK02 (talk | contribs)
No edit summary
 
(14 intermediate revisions by 7 users not shown)
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.
{{Flag
|name=Cameo
|files={{Categ|Art(md).ini}}
|values={{values|strings|filenames}}
|default=XXICON
|types={{Categ|InfantryTypes}}, {{Categ|VehicleTypes}}, {{Categ|AircraftTypes}}, {{Categ|BuildingTypes}}
|ts=yes
|fs=yes
|ets=yes
|ra2=yes
|yr=yes
|rp=yes
}}


== How to add a cameo to RA2/YR. (by Kravvitz) ==
{{f|Cameo|link}} defines the "sidebar image" for this [[ObjectTypes|ObjectType]] . If your cameo is in a file called {{Tt|monkicon.shp}}, you would write
<ul>
Cameo=monkicon
  <li>If you start out with a PCX<ol>
or
<li>Open XCC Mixer and navigate to where you have your PCX cameo.
Cameo=MONKICON
<li>Make sure that when you click on the PCX
This refers to the filename without the extension (.SHP is assumed) and is case-insensitive. {{Tt|xxicon.shp}} is the game's image to be used when the cameo file cannot be found or is not defined.
          it says in the top right hand corner that it says "Bits/pixels: 8".
 
  <ul><li>If it doesn't, you need to go to View --&gt; Palet and click "Use for Conversion"</ul>
For reference: TS cameos are 64x48, RA2 and YR cameos 60x48.
<li>Go to View --&gt; Palet --&gt; Red Alert 2 and click cameo.pal
It is unknown what side-effects result from making a smaller and/or larger cameo, though RA2 seems capable of handling 64x48 TS cameos and 64x64 cameos without trouble.
<li>Now right click on the pcx go to Clipboard and click on Copy
== See Also ==
<li>Now right click on the pcx go to Clipboard and click on "Paste as SHP(TS)"
*[[Adding A Cameo]]
<li>It will pop up a "Save as" window, so type in what you want to name the cameo and click Save.
*[[AltCameo]]
<li>It will pop up a "SHP Properties" window, if it's just a normal cameo, click Ok.
*[[Cameo Charging Indicator]]
<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>
  <li>If you start out with an SHP
  <li>This is the easiest method of getting it into the game:<ol>
<li>Put the SHP into your RA2 directory
<li>Open up the art(md).ini
<li>Find what ever Infantry, Vehicle, Aircraft, or Building's entry
<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
  <ul><li>then add the line AltCameo=YYYY, YYYY being the name of the veteran version of the cameo</ul>
</ol>
</ul>

Latest revision as of 14:44, 7 June 2021

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: Cameo
File(s): Art(md).ini
Values: Strings: Normal text. (Limited to: filenames)
Default: XXICON
Applicable to: InfantryTypes, VehicleTypes, AircraftTypes, BuildingTypes


Cameo defines the "sidebar image" for this ObjectType . If your cameo is in a file called monkicon.shp, you would write

Cameo=monkicon

or

Cameo=MONKICON

This refers to the filename without the extension (.SHP is assumed) and is case-insensitive. xxicon.shp is the game's image to be used when the cameo file cannot be found or is not defined.

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 and 64x64 cameos without trouble.

See Also