Civ4UnitAIInfos: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
(Created page with 'The '''Civ4UnitAIInfos''' file defines the unit AI types that exist in the game. In Vanilla and Warlords this is located in Civ4BasicInfos. All tags must be opened and clos...')
 
Line 37: Line 37:




==Example==
NqOM56  <a href="http://odubsvpacozf.com/">odubsvpacozf</a>, [url=http://bmkgufmqvmzq.com/]bmkgufmqvmzq[/url], [link=http://lxaligqqftqd.com/]lxaligqqftqd[/link], http://ynwtdaeagdub.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.
 
<UnitAIInfo>
  <Type>UNITAI_ATTACK</Type>
  <Description>UNITAI_ATTACK</Description>
</UnitAIInfo>
 
{{Civ4_XML_Files}}

Revision as of 09:26, 28 September 2010

The Civ4UnitAIInfos file defines the unit AI types that exist in the game. In Vanilla and Warlords this is located 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
UnitAIInfos This tag surrounds all the entries in the file
UnitAIInfo Main bracket for each entry


Text

Tag Name Description
Type How the unit AI type is referred to in other files
Description The text displayed for the unit AI type in the game


NqOM56 <a href="http://odubsvpacozf.com/">odubsvpacozf</a>, [url=http://bmkgufmqvmzq.com/]bmkgufmqvmzq[/url], [link=http://lxaligqqftqd.com/]lxaligqqftqd[/link], http://ynwtdaeagdub.com/