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

ObjectTypes

From ModEnc
Revision as of 20:53, 20 April 2008 by Marshall (talk | contribs) (table fix)
Jump to navigation Jump to search

ObjectTypes is the class from which all objects that can be seen on the map, such as Animations, Particles, Overlays, are derived. No object of this class is ever directly created. The main four object types - Infantry, Vehicles, Aircraft and Buildings - are derived from TechnoTypes which derives from this one.

Applicable INI Flags

These tables show all INI flags applicable1 to ObjectTypes. The flags are grouped by the internal classes the flags are inherited from, and then listed in the order they are read in by the game. You can re-sort the rows by column values by clicking the arrow icons in the column headings. Each flag can be clicked to visit its page for detailed information.

Please note that this section is accurate only for Yuri's Revenge. All other C&C games use different sets of flags.

1 "Applicable" in this context means "read from the INI files". Certain flags listed here don't have any effect ingame , but they are read and in certain cases cause a crash if not present. Again, refer to each flag's individual page for detailed information.


AbstractTypes
INI File Section Key Value Type Default Value Adds to list
Rules(md).ini Object's ID Name string(48 symbols) ID
Rules(md).ini Object's ID UIName string(31 symbol) ""


ObjectTypes
INI File Section Key Value Type Default Value Adds to list
Rules(md).ini Object's ID Template:TTL string (31 symbol) Object's ID
Rules(md).ini Object's ID Template:TTL string (31 symbol) ""
Rules(md).ini Object's ID Template:TTL Sound (128 symbols) ""
Rules(md).ini Object's ID Template:TTL Sound (128 symbols) ""
Rules(md).ini Object's ID Template:TTL boolean 0
Rules(md).ini Object's ID Template:TTL boolean 1
Rules(md).ini Object's ID Template:TTL boolean 0
Rules(md).ini Object's ID Template:TTL boolean 0
Rules(md).ini Object's ID Template:TTL boolean 0
Rules(md).ini Object's ID Template:TTL boolean 1
Rules(md).ini Object's ID Template:TTL boolean 1
Rules(md).ini Object's ID Template:TTL Armor 0
Rules(md).ini Object's ID Template:TTL int 0
Rules(md).ini Object's ID Template:TTL boolean 0
Rules(md).ini Object's ID Template:TTL boolean 0
Rules(md).ini Object's ID Template:TTL boolean 0
Rules(md).ini Object's ID Template:TTL Color 0,0,0
Rules(md).ini Object's ID Template:TTL boolean 0
Art(md).ini Object's Image Template:TTL boolean 0
Art(md).ini Object's Image Template:TTL Color 0,0,0
Art(md).ini Object's Image Template:TTL int 16
Art(md).ini Object's Image Template:TTL boolean 0
Art(md).ini Object's Image Template:TTL boolean 0
Art(md).ini Object's Image Template:TTL boolean 0