Jump to content

DefaultMirageDisguises: Difference between revisions

From ModEnc²
en>Testid123
mNo edit summary
m 5 revisions imported
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
List of objects from which a [[VehicleType]] with <tt>[[CanDisguise]]</tt> and <tt>[[DisguiseWhenStill]]</tt> set will select its default disguise. This is used even if you enable the [TankMakeUpKit] weapon but do not select a 'target' for the tank. This must be a valid object from the [TerrainTypes] list, although errors can be encountered if you put any TIBTRE in this list.
|name={{PAGENAME}}
|files={{Categ|Rules(md).ini}}
|values={{Values|stringlist|TerrainTypes}}
|default=none
|types={{categ|General}}
|ra2=yes
|yr=yes
}}
List of objects from which a [[VehicleType]] with <tt>[[CanDisguise]]</tt> and <tt>[[DisguiseWhenStill]]</tt> set will select its default disguise. This is used even if you enable the '''[TankMakeUpKit]''' weapon but do not select a 'target' for the tank. This must be a valid object from the [[TerrainTypes]] list, although errors can be encountered if you put any '''TIBTRE''' in this list.
==Nots==
==Nots==
*You can specify any other SHP file name. But there are conditions as follows.
*Objects in the [[DefaultMirageDisguises]] section use a color palette. [[TerrainPalette]] So it's not very useful if you have [[VehicleType]] disguised as {{CatAllTypes}} in SHP format.
 
*You can specify any other SHP file name. But there are conditions as follows.<br>
1. The SHP file name must be specified in the {{Categ|Rules(md).ini}} section.
1. The SHP file name must be specified in the {{Categ|Rules(md).ini}} section.<br>
 
2. [[Image]] must be set to be the same as the file name (use the color palette of [[TerrainTypes]] only)<br>
2. [[Image]] must be set to be the same as the file name (use the color palette of [[TerrainTypes]] only)
/example<br>
 
<b>[CRATE]<br>
/example
Image=CRATE<br>
 
[General]<br>
<b>[CRATE]
DefaultMirageDisguises=TREE01,TREE02,TREE03,TREE04,CRATE</b><br>
 
Image=CRATE
 
[General]
 
DefaultMirageDisguises=TREE01,TREE02,TREE03,TREE04,CRATE</b>


===See also===
===See also===

Latest revision as of 21:40, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: DefaultMirageDisguises
File(s): Rules(md).ini
Values: Comma-separated list of strings. (Limited to: TerrainTypes)
Default: none
Applicable to: General


List of objects from which a VehicleType with CanDisguise and DisguiseWhenStill set will select its default disguise. This is used even if you enable the [TankMakeUpKit] weapon but do not select a 'target' for the tank. This must be a valid object from the TerrainTypes list, although errors can be encountered if you put any TIBTRE in this list.

Nots

AircraftTypes, BuildingTypes, InfantryTypes and VehicleTypes in SHP format.

  • You can specify any other SHP file name. But there are conditions as follows.

1. The SHP file name must be specified in the Rules(md).ini section.
2. Image must be set to be the same as the file name (use the color palette of TerrainTypes only)
/example
[CRATE]
Image=CRATE
[General]
DefaultMirageDisguises=TREE01,TREE02,TREE03,TREE04,CRATE

See also