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

TileSets

From ModEnc
Jump to: navigation, search

Tile sets (internally referred to as TileSets) define certain characteristics to a group of terrain tiles, such as whether Tiberium/ore can grow on the tiles, or whether they can be deformed or burrowed through. Each tile set has its own section in the theater control file.

Tile sets have a practical limit of 99 tiles.

Each tile set can optionally have a separate section where tile animations are specified. Tile animations are animations attached to individual tiles. Waterfalls and tunnel roofs are examples of this (yes, the top part of tunnels is in fact a static animation). Tile sets and tile animation sections are linked by the section sharing its name with the set's SetName. See SetName for more information.


Applicable INI Flags

These tables show all INI flags applicable1 to TileSets. 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.

TileSets
INI File Section Key Value Type Default Value Adds to list
Terrain Control INI files Object's ID TilesInSet int  ?
Terrain Control INI files Object's ID LastTilesInSet int  ?
Terrain Control INI files Object's ID SetName string  ?
Terrain Control INI files Object's ID FileName string  ?
Terrain Control INI files Object's ID MarbleMadness int  ?
Terrain Control INI files Object's ID NonMarbleMadness int  ?
Terrain Control INI files Object's ID Morphable boolean false
Terrain Control INI files Object's ID AllowToPlace boolean true
Terrain Control INI files Object's ID AllowBurrowing boolean true
Terrain Control INI files Object's ID AllowTiberium boolean false
Terrain Control INI files Object's ID RequiredForRMG boolean false
Terrain Control INI files Object's ID ToSnowTheater int  ?
Terrain Control INI files Object's ID ToTemperateTheater int  ?
Terrain Control INI files Object's ID ShadowCaster boolean false
Terrain Control INI files Object's ID ShadowTiles int  ?
Terrain Control INI files Object's Animations TilennAnim1 string  ?
Terrain Control INI files Object's Animations TilennXOffset1 int  ?
Terrain Control INI files Object's Animations TilennYOffset1 int  ?
Terrain Control INI files Object's Animations TilennAttachesTo1 int  ?


Notes

1 nn stands for the tile number in the tile set, from 01 to 99.