Civ4UnitArtStyleTypeInfos
The Civ4UnitArtStyleTypeInfos file declares the directory paths for the display art of unit types with more than one possible appearance. This also handles the organization of various art styles, like Asian, Greco-Roman, and Middle Eastern, as some units have different game art depending on the civilization. Many early game units, including the settler and worker, have such flavor graphics.
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 |
---|---|
UnitArtStyleTypeInfos | This begins and ends the entire file. |
UnitArtStyleTypeInfo | This begins and ends the information for each specific art style (Asian, Greco-Roman, etc.). |
Text
Tag Name | Description |
---|---|
Type | This declares the name of the art style used internally by the game. |
UnitType | This tag defines what unit type the following tags refer to (e.g. UNIT_ARCHER). |
EarlyArtDefineTag | This is a reference to an entry in the Civ4ArtDefines_Unit file, containing all the information about this unit's graphics in the early part of the game. |
LateArtDefineTag | This is a reference to an entry in the Civ4ArtDefines_Unit file, containing all the information about this unit's graphics in the last part of the game (for example, all workers in the Modern Age have the same look, regardless of ethnicity). |
MiddleArtDefineTag | This is a reference to an entry in the Civ4ArtDefines_Unit file, containing all the information about this unit's graphics in the middle part of the game. |
Lists (Multi-line)
All List tags consist of an opening/closing tag, which is shown here, and then each entry within it is another tag with the same name as the parent tag, minus the "s" (i.e. singular, rather than plural).
Tag Name | Description |
---|---|
StyleUnits | This begins the listing of all units that have a particular ethnicity. Each individual unit's information begins with the subtag StyleUnit. |
UnitMeshGroup | This contains the listing of the various ArtDefineTags (see above) for the given unit at different points in the game. |
Example
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.
<UnitArtStyleTypeInfos> <UnitArtStyleTypeInfo> <Type>UNIT_ARTSTYLE_ASIAN</Type> <StyleUnits> <StyleUnit> <UnitType>UNIT_ARCHER</UnitType> <UnitMeshGroup> <EarlyArtDefineTag>ART_DEF_UNIT_ARCHER_ASIAN</EarlyArtDefineTag> <LateArtDefineTag>ART_DEF_UNIT_ARCHER_ASIAN</LateArtDefineTag> <MiddleArtDefineTag>ART_DEF_UNIT_ARCHER_ASIAN</MiddleArtDefineTag> </UnitMeshGroup> </StyleUnit> <StyleUnit> <UnitType>UNIT_CARAVEL</UnitType> <UnitMeshGroup> <EarlyArtDefineTag>ART_DEF_UNIT_ASIAN_WAR_GALLEY</EarlyArtDefineTag> <LateArtDefineTag>ART_DEF_UNIT_ASIAN_WAR_GALLEY</LateArtDefineTag> <MiddleArtDefineTag>ART_DEF_UNIT_ASIAN_WAR_GALLEY</MiddleArtDefineTag> </UnitMeshGroup> </StyleUnit> <StyleUnit> <UnitType>UNIT_CHARIOT</UnitType> <UnitMeshGroup> <EarlyArtDefineTag>ART_DEF_UNIT_CHARIOT_CHINESE</EarlyArtDefineTag> <LateArtDefineTag>ART_DEF_UNIT_CHARIOT_CHINESE</LateArtDefineTag> <MiddleArtDefineTag>ART_DEF_UNIT_CHARIOT_CHINESE</MiddleArtDefineTag> </UnitMeshGroup> </StyleUnit> </UnitArtStyleTypeInfo> </UnitArtStyleTypeInfos>