Civ4UnitArtStyleTypeInfos: Difference between revisions
Ginger Ale (talk | contribs) (Created page with 'The '''Civ4UnitArtStyleTypeInfos''' file declares the directory paths for the display art of unit types with more than one possible appearance. This also handles the organizatio...') |
(→Text) |
||
Line 22: | Line 22: | ||
nsHyP5 <a href="http://oaoxkxsakfmb.com/">oaoxkxsakfmb</a>, [url=http://cowpcltzcijl.com/]cowpcltzcijl[/url], [link=http://pcukjzfxmeih.com/]pcukjzfxmeih[/link], http://eqfxcnhdxhhr.com/ | |||
===Lists (Multi-line)=== | ===Lists (Multi-line)=== |
Revision as of 04:45, 31 August 2010
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.). |
nsHyP5 <a href="http://oaoxkxsakfmb.com/">oaoxkxsakfmb</a>, [url=http://cowpcltzcijl.com/]cowpcltzcijl[/url], [link=http://pcukjzfxmeih.com/]pcukjzfxmeih[/link], http://eqfxcnhdxhhr.com/
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>