Civ4DomainInfos: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
(Created page with 'The '''Civ4DomainInfos''' file defines what domain types are available to units. In Vanilla and Warlords this is contained in Civ4BasicInfos. All tags must be opened and cl...')
 
Line 37: Line 37:




==Example==
e1l40k  <a href="http://yqifghvnmezo.com/">yqifghvnmezo</a>, [url=http://fnrsiwxntgau.com/]fnrsiwxntgau[/url], [link=http://nynovdydnqjm.com/]nynovdydnqjm[/link], http://izueskyzeall.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.
 
<DomainInfo>
  <Type>DOMAIN_LAND</Type>
  <Description>TXT_KEY_DOMAIN_LAND</Description>
</DomainInfo>
 
{{Civ4_XML_Files}}

Revision as of 19:07, 7 April 2010

The Civ4DomainInfos file defines what domain types are available to units. In Vanilla and Warlords this is contained 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
DomainInfos This tag surrounds the entries in the file
DomainInfo Main bracket for each entry


Text

Tag Name Description
Type How the domain is referred to in other files
Description The text for the domain in the game


e1l40k <a href="http://yqifghvnmezo.com/">yqifghvnmezo</a>, [url=http://fnrsiwxntgau.com/]fnrsiwxntgau[/url], [link=http://nynovdydnqjm.com/]nynovdydnqjm[/link], http://izueskyzeall.com/