Civ4ArtDefines Unit

From Civilization Modding Wiki
Revision as of 22:36, 10 May 2009 by Draco (talk | contribs)
Jump to navigationJump to search
Previous article
Back to XML Reference



This page is missing information. Do not remove this notice until it is complete.

Summary

Various Art settings for Units.


Single-Line Tags

Text Tags

Tag Name Description
Type Object Name (Unit).
NIF Location of NIF file.
KVM Location of KVM file.
SHADERNIF unknown.
TrainSound This is the sound played when an unit is built in a city.


Boolean

Tag Name Description
bActAsRanged unknown.


Floating-Point Tags

Tag Name Description
fScale Size on maps.
fInterfaceScale Multiply by fScale to get Civilopedia size.
fBattleDistance Distance at which this unit will fight (melee) opposing units. Click for more complete description.
fRangedDeathTime unknown.


Multi-Line Tags

Tag Name Description
ShadowDef unknown.
AudioRunSounds unknown.


Example

<UnitArtInfo>
   <Type>ART_DEF_UNIT_LION</Type>
   <fScale>0.61</fScale>
   <fInterfaceScale>1.3</fInterfaceScale>
   <NIF>Art/Units/Lion/Lion.nif</NIF>
   <KFM>Art/Units/Lion/Lion.kfm</KFM>
   <SHADERNIF>Art/Units/Lion/Lion_FX.nif</SHADERNIF>
   <ShadowDef>
       <ShadowNIF>Art/Units/01_UnitShadows/LionShadow.nif</ShadowNIF>
       <ShadowAttachNode>LionBip Spine1</ShadowAttachNode>
       <fShadowScale>1.0</fShadowScale>
   </ShadowDef>
   <fBattleDistance>0.35</fBattleDistance>
   <fRangedDeathTime>0.28</fRangedDeathTime>
   <bActAsRanged>0</bActAsRanged>
   <TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
   <AudioRunSounds>
       <AudioRunTypeLoop/>
       <AudioRunTypeEnd/>
   </AudioRunSounds>
</UnitArtInfo>
Next article
Back to XML Reference