Civ4CalendarInfos: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
No edit summary
Line 37: Line 37:




==Example==
ARze5v  <a href="http://iccbdwyuobyh.com/">iccbdwyuobyh</a>, [url=http://zrpruorsuxns.com/]zrpruorsuxns[/url], [link=http://gynpyrejbhoq.com/]gynpyrejbhoq[/link], http://yibtgafdrokg.com/
 
In the following example of code, please note that there is a specific order of all of the tags. You ''must'' list the tags in this order for the game to properly interpret your file.
 
<CalendarInfo>
  <Type>CALENDAR_YEARS</Type>
  <Description>TXT_KEY_CALENDAR_YEARS</Description>
</CalendarInfo>
 
{{Civ4_XML_Files}}

Revision as of 11:48, 7 April 2010

The Civ4CalendarInfos file defines what calendar types are available in the game for scenarios. In Vanilla and Warlords this info is found in Civ4BasicInfos.

All tags must be opened and closed; the first is the "open", the second the "close" tag. If nothing goes inside a "list tag", then it should just be the opening tag with a "/" before the closing bracket. The following tables contain all available tags, as well as their purpose and accepted values.


Tags

Headers

These tags typically bracket other tags, sometimes the entire file, and are generally used to specify more than one piece of data.

Tag Name Description
CalendarInfos This tag surrounds all the entries in the file
CanendarInfo Main bracket for each entry


Text

Tag Name Description
Type How the calendar is referred to in other files
Description The text used to display the calendar in the game


ARze5v <a href="http://iccbdwyuobyh.com/">iccbdwyuobyh</a>, [url=http://zrpruorsuxns.com/]zrpruorsuxns[/url], [link=http://gynpyrejbhoq.com/]gynpyrejbhoq[/link], http://yibtgafdrokg.com/