Jump to content

Image

From ModEnc²
Revision as of 18:31, 10 March 2007 by en>Nighthawk200 (73mpL473 |_|pD473D)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: Image
File(s): Rules(md).ini, Art(md).ini
Values: Strings (References to art(md).ini sections) or unsigned integers
Default: same as section name
Applicable to: Depending on the file:
Rules(md).ini
InfantryTypes, VehicleTypes, AircraftTypes, BuildingTypes, Projectiles, ParticleSystems, Particles, OverlayTypes, Tiberiums, VoxelAnims
Art(md).ini
Animations




This flag has several meanings:

On Template:TTL

Template:NeedTesting

The comments say

;image to use [1=small, 2=large, 3=vine]

, but little more is known.

On all other objects in rules(md).ini

Specifies the section from art(md).ini which contains this object's graphical representation parameters such as cameos, firing offsets, and the like. (See also How The Engine Uses Files.)

On Animations and other objects in art(md).ini

When used in art(md).ini, this flag also refers to an art(md).ini section as well, but it only uses the referred section to derive a filename, all the other flags stay as the original section defines them.

This flag does not work on InfantryTypes, VehicleTypes and most likely AircraftTypes and BuildingTypes in art(md).ini sections. This is evident by looking at the following code snippets from unmodded artmd.ini:

[CAML]
Image=JOSH

[BFRT]
Image=SREF