View Full Version : Unit animations


Voyhkah
Jul 18, 2009, 02:50 PM
The artdefine for the all units looks like this <UnitArtInfo>
<Type>ART_DEF_UNIT_AZTEC_EAGLE</Type>
<Button>,Art/Interface/Buttons/Units/eagle_btn.dds</Button>
<fScale>0.44</fScale>
<fInterfaceScale>1.0</fInterfaceScale>
<bActAsLand>0</bActAsLand>
<bActAsAir>0</bActAsAir>
<NIF>Art/Units/Unique/Aztec/Jaguar/Aztec_Jaguar.nif</NIF>
<KFM>Art/Units/Unique/Aztec/Jaguar/Aztec_Jaguar.kfm</KFM>
<SHADERNIF>Art/Units/Unique/Aztec/Jaguar/Aztec_Jaguar_FX.nif</SHADERNIF>
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/UnitShadow.nif</ShadowNIF>
<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
<fShadowScale>1.0</fShadowScale>
</ShadowDef>
<fBattleDistance>0.4</fBattleDistance>
<fRangedDeathTime>0.31</fRangedDeathTime>
<bActAsRanged>0</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIQUE_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop/>
<AudioRunTypeEnd/>
</AudioRunSounds>
</UnitArtInfo>

I am trying to use This Animation (http://forums.civfanatics.com/downloads.php?do=file&id=4486), but there aren't enough files. How do I put them on the Artdef?

The_J
Jul 18, 2009, 02:54 PM
To correct it a bit: You want to use this model, with the default animation of the jaguar.

What you have to do:
Change the .nif files to the path, where the eagle warrior is, and let the animation file (kfm) stay.
That's it :).

Voyhkah
Jul 18, 2009, 02:57 PM
To correct it a bit: You want to use this model, with the default animation of the jaguar.

What you have to do:
Change the .nif files to the path, where the eagle warrior is, and let the animation file (kfm) stay.
That's it :).


Where is the shadernif? What is the boundshape? What is the fx?

The_J
Jul 18, 2009, 03:00 PM
The normal nif (the first mentioned in the ArtDef) is the normal nif (eagle.nif), and the FX.nif is the nif with the fx ;) (ealge_fx.nif).

Boundshape.nif is a part of the NifViewer. It's not necessary for the game.

Voyhkah
Jul 18, 2009, 03:43 PM
the FX.nif is the nif with the fx ;) (ealge_fx.nif).

I mean, what do I do with the fx?

The_J
Jul 18, 2009, 03:54 PM
Look at the entry for the shadernif ;).

Voyhkah
Jul 19, 2009, 08:56 AM
Look at the entry for the shadernif ;).

Wuzzut?

EDIT: I get it now.