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

Difference between revisions of "Image"

From ModEnc
Jump to: navigation, search
m (fixed template, header, newline, minor style)
(Correction)
Line 23: Line 23:
 
, but little more is known.  
 
, but little more is known.  
  
== On all other objects ==
+
== On all other objects in rules(md).ini ==
  
Specifies the section from {{Tt|[[Art|art(md).ini]]}} contains this object's graphical representation parameters such as cameos, firing offsets, and the like.
+
Specifies the section from {{Tt|[[Art|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]].)
 
(See also [[How The Engine Uses Files]].)
  
''Note:'' 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:
+
== 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]
 
  [CAML]
 
  Image=JOSH
 
  Image=JOSH

Revision as of 12:41, 12 July 2006

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
Special Values: None
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