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

AltCameo: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Rattus (talk | contribs)
Some logic corrections and cleaned up some
TAK02 (talk | contribs)
Cameos can be longer than 8 characters
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Flag
{{Flag
|name=AltCameo
|name=AltCameo
|files={{Categ|Art(md).ini}}
|files={{Categ|ini=art}}
|values=strings (filenames)
|values={{values|strings|filenames}}
|default=XXICON
|default=XXICON
|types={{Categ|InfantryTypes}}, {{Categ|VehicleTypes}}, {{Categ|AircraftTypes}}
|types={{Categ|Technoes}}
|games=[[RA2]], [[YR]]
|games=[[RA2]], [[YR]]
|ra2=yes
|ra2=yes
Line 11: Line 11:
}}
}}


When [[Adding_A_Cameo|Adding A Cameo]], this flag defines the sidebar image used for a veteran version of this unit. Normally this can only be seen whenever a Spy infiltrates either a Barracks or a War Factory, thereby enabling production of veteran units. It does ''not'' apply to [[VeteranUnits]].  
When [[Adding_A_Cameo|Adding A Cameo]], this flag defines the sidebar image used for a veteran version of this unit.


The general naming convention of existing cameos is: '''''____uico.shp''''', where ____ is the first four letters of your cameo's filename. Cameos should generally have an 8-character filename followed by the .shp extension. Normally this would be '''''____icon.shp''''', but veteran icons are usually given the suffix of 'uico' instead.  
The general naming convention of existing cameos is: '''''____uico.shp''''', where ____ is the first four letters of your cameo's filename. Cameos don't need to have an 8-character filename followed by the .shp extension, but it is the naming convention used by Westwood. Normally this would be '''''____icon.shp''''', but veteran icons are usually given the suffix of 'uico' instead.  


This tag generally is only applicable to [[InfantryTypes|Infantry]] and [[VehicleTypes]], as you cannot attain the ability to build 'veteran buildings' as they do not exist in an unmodded YR, and more importantly their production center, the [[MCV|Construction Yard]] provides no inherent spy functionality. Pad-built [[AircraftTypes]] at this time also cannot utilize the tag, as a spy entering a building with {{TTL|Radar|yes}} would provide a radar blackout, not veteran aircraft. The AltCameo possibility for [[AirportBound|non-pad bound]] aircraft or VehicleTypes with the fly [[locomotor]] is unknown. 
== Where applicable ==


It should also be noted that although units with {{TTL|Naval|yes}} technically are VehicleTypes, they cannot suppport this logic probably because of the many logic splits made between naval and ground vehicle production centers.
:{{Y}}On [[InfantryTypes]] with {{f|Trainable|yes|link}} - when the player successfully [[The Infiltration System|infiltrates]] a Barracks.
:{{Y}}On [[VehicleTypes]] with {{f|Trainable|yes|link}} - when the player successfully [[The Infiltration System|infiltrates]] a War Factory. (See [[#bug1|Bugs]])
:{{Y}}On [[BuildingTypes]] which are {{f|Trainable|yes|link}} and [[UndeploysInto|UndeployInto]] VehicleTypes - when the player successfully [[The Infiltration System|infiltrates]] a War Factory. (See [[#bug1|Bugs]].)
 
{{Bugs}}
:{{N}}<span id="bug1">Once a War Factory has been infiltrated</span>, VehicleTypes with {{f|Naval|yes|link}} and {{f|Trainable|yes|link}} get their cameos "upgraded" into this version even though they do not start off as veteran when built. Ares DLL fixes this.
:{{N}}<span id="bug2">Infantry designated as {{f|VeteranInfantry|link}} and units designated as {{f|VeteranUnits|link}}</span> don't get their cameos "upgraded" into this version even though they actually start off as veteran when built.

Latest revision as of 08:51, 30 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: AltCameo
File(s): art(md).ini
Values: Strings: Normal text. (Limited to: filenames)
Default: XXICON
Applicable to: TechnoTypes:

AircraftTypes, BuildingTypes, InfantryTypes and VehicleTypes



When Adding A Cameo, this flag defines the sidebar image used for a veteran version of this unit.

The general naming convention of existing cameos is: ____uico.shp, where ____ is the first four letters of your cameo's filename. Cameos don't need to have an 8-character filename followed by the .shp extension, but it is the naming convention used by Westwood. Normally this would be ____icon.shp, but veteran icons are usually given the suffix of 'uico' instead.

Where applicable

On InfantryTypes with Trainable=yes - when the player successfully infiltrates a Barracks.
On VehicleTypes with Trainable=yes - when the player successfully infiltrates a War Factory. (See Bugs)
On BuildingTypes which are Trainable=yes and UndeployInto VehicleTypes - when the player successfully infiltrates a War Factory. (See Bugs.)

Bugs/Side-Effects/Unexpected Limitations

Once a War Factory has been infiltrated, VehicleTypes with Naval=yes and Trainable=yes get their cameos "upgraded" into this version even though they do not start off as veteran when built. Ares DLL fixes this.
Infantry designated as VeteranInfantry and units designated as VeteranUnits don't get their cameos "upgraded" into this version even though they actually start off as veteran when built.