Civ4ArtDefines Unit: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
(1st entry of data, copied from "civ4.wikidot.com".)
 
mNo edit summary
Line 91: Line 91:
  </UnitArtInfo>
  </UnitArtInfo>
{| align="left"
{| align="left"
|[[Civ4ArtDefinesSchema|Next article]]
|[[Civ4MainMenus|Next article]]
|}
|}
{|align="right"
{|align="right"
|[[Civ4 XML Reference|Back to XML Reference]]
|[[Civ4 XML Reference|Back to XML Reference]]
|}
|}

Revision as of 22:36, 10 May 2009

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