ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Difference between revisions of "Cameo"
From ModEnc
m (added flag section and appropriate categories) |
m (Rewrite (link style update)) |
||
Line 1: | Line 1: | ||
{{Flag | {{Flag | ||
|name=Cameo | |name=Cameo | ||
− | |files= | + | |files={{Categ|Art(md).ini}} |
|values=strings (filenames) | |values=strings (filenames) | ||
|special=none | |special=none | ||
|default=XXICON | |default=XXICON | ||
− | |types= | + | |types={{Categ|InfantryTypes}}, {{Categ|VehicleTypes}}, {{Categ|AircraftTypes}}, {{Categ|BuildingTypes}} |
|games=[[TS]], [[RA2]], [[YR]] | |games=[[TS]], [[RA2]], [[YR]] | ||
}} | }} | ||
− | + | {{TTL|Cameo}} defines the "sidebar image" for this [[ObjectTypes|ObjectType]] . If your cameo is in a file called <tt>monkicon.shp</tt> , you would write | |
Cameo=monkicon | Cameo=monkicon | ||
or | or | ||
Line 41: | Line 41: | ||
[[Category:General_Editing_Information]] | [[Category:General_Editing_Information]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:Tutorials]] | [[Category:Tutorials]] |
Revision as of 10:34, 11 June 2006
Flag: | Cameo |
File(s): | Art(md).ini |
Values: | strings (filenames) |
Special Values: | none |
Default: | XXICON |
Applicable to: | InfantryTypes, VehicleTypes, AircraftTypes, BuildingTypes |
Template:TTL 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.
Contents
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.