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

Image

From ModEnc
Revision as of 05:37, 14 April 2008 by DCoder (talk | contribs) (adding tiberiums in YR)
Jump to navigation Jump to search
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: 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

Depending on the value given (0 to 4), the game will use a certain index in the OverlayTypes array, plus the following 11 entries.

in TS

  • Image=0 and Image=1 will use OverlayType index #102.
  • Image=2 will use OverlayType index #28 and will only use that one entry, it is hardcoded to use only one entry.
  • Image=3 will use OverlayType index #127.
  • Image=4 will use OverlayType index #150.

In YR

  • Image=2 will use OverlayType index #27 and will only use that one entry, it is hardcoded to use only one entry.
  • Image=3 will use OverlayType index #127.
  • Image=4 will use OverlayType index #147.
  • All other values will use OverlayType index #102.

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