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

Difference between revisions of "SetName"

From ModEnc
Jump to: navigation, search
(Created page with "{{Flag |values={{Values|string}} |files=Terrain Control INI files |types={{Categ|TileSets}} |ts=yes |fs=yes |hp=yes |ra2=yes |yr=yes |ares=yes }} Specifies the plain-text...")
 
m
Line 11: Line 11:
 
}}
 
}}
  
Specifies the plain-text name of this [[TileSets|tile set]]. Uniquelly, the game uses this string when linking two objects: tile sets and the list of attached [[animations]]. More spesifically, the animation list section name must be ''exactly'' the same as the parent tileset's {{f|SetName}} value for the animation(s) to work. See this example from [[temperat.ini]]:
+
Specifies the plain-text name of this [[TileSets|tile set]]. Uniquely, the game uses this string when linking two objects: tile sets and the list of attached [[animations]]. More specifically, the animation list section name must be ''exactly'' the same as the parent tileset's {{f|SetName}} value for the animation(s) to work. See this example from [[temperat.ini]]:
  
 
  [TileSet0030]
 
  [TileSet0030]
Line 18: Line 18:
 
  [Tunnel Floor]
 
  [Tunnel Floor]
 
  [[Tile01Anim]]=TUNTOP01
 
  [[Tile01Anim]]=TUNTOP01
 +
[[Tile01AttachesTo]]=2
 
  [[Tile02Anim]]=TUNTOP02
 
  [[Tile02Anim]]=TUNTOP02
 
  ...
 
  ...
 +
 
<small style="font-size:90%;">(only the relevant flags were included)</small>
 
<small style="font-size:90%;">(only the relevant flags were included)</small>

Revision as of 07:50, 5 October 2020

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: SetName
File(s): Terrain Control INI files
Values: Strings: Normal text.
Applicable to: TileSets


Specifies the plain-text name of this tile set. Uniquely, the game uses this string when linking two objects: tile sets and the list of attached animations. More specifically, the animation list section name must be exactly the same as the parent tileset's SetName value for the animation(s) to work. See this example from temperat.ini:

[TileSet0030]
SetName=Tunnel Floor
...
[Tunnel Floor] Tile01Anim=TUNTOP01 Tile01AttachesTo=2 Tile02Anim=TUNTOP02 ...
(only the relevant flags were included)