This is the XML I am using for testing and it all works fine with it:
Code:
<UnitArtInfo>
<Type>ART_DEF_UNIT_DESTROYER</Type>
<Button>,Art/Interface/Buttons/Units/Destroyer.dds,Art/Interface/Buttons/Unit_Resource_Atlas.dds,7,9</Button>
<fScale>0.7</fScale>
<fInterfaceScale>1.1</fInterfaceScale>
<bActAsLand>0</bActAsLand>
<bActAsAir>0</bActAsAir>
<NIF>Art/Units/46/46.nif</NIF>
<KFM>Art/Units/46/46.kfm</KFM>
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/DestroyerShadow.nif</ShadowNIF>
<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
<fShadowScale>1.0</fShadowScale>
</ShadowDef>
<iDamageStates>4</iDamageStates>
<TrailDefinition>
<Texture>Art/Shared/water_ship_wake.dds</Texture>
<fWidth>1</fWidth>
<fLength>180.0</fLength>
<fTaper>1</fTaper>
<fFadeStartTime>.2</fFadeStartTime>
<fFadeFalloff>0.35</fFadeFalloff>
</TrailDefinition>
<fBattleDistance>0.35</fBattleDistance>
<fRangedDeathTime>0.31</fRangedDeathTime>
<bSmoothMove>1</bSmoothMove>
<fAngleInterpRate>720.0</fAngleInterpRate>
<fBankRate>.2</fBankRate>
<fExchangeAngle>25.0</fExchangeAngle>
<bActAsRanged>0</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop>LOOPSTEP_DESTOYER</AudioRunTypeLoop>
<AudioRunTypeEnd>ENDSTEP_DESTROYER</AudioRunTypeEnd>
</AudioRunSounds>
<SelectionSound>AS3D_UN_DESTROYER_FORT</SelectionSound>
<ActionSound>AS3D_UN_DESTROYER_FORT</ActionSound>
</UnitArtInfo>
Weird.. i use exactly same art defines expect name, but unit wont work correct in pedia..
Did you checked also pedia page or just graphics in game?
<UnitArtInfo>
<Type>ART_DEF_UNIT_GEARING_1946_DESTROYER</Type>
<Button>,Art/Interface/Buttons/Units/Destroyer.dds,Art/Interface/Buttons/Unit_Resource_Atlas.dds,7,9</Button>
<fScale>0.66</fScale>
<fInterfaceScale>1.1</fInterfaceScale>
<bActAsLand>0</bActAsLand>
<bActAsAir>0</bActAsAir>
<NIF>Art/Units/46/46.nif</NIF>
<KFM>Art/Units/46/46.kfm</KFM>
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/DestroyerShadow.nif</ShadowNIF>
<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
<fShadowScale>1.0</fShadowScale>
</ShadowDef>
<iDamageStates>4</iDamageStates>
<TrailDefinition>
<Texture>Art/Shared/water_ship_wake.dds</Texture>
<fWidth>1</fWidth>
<fLength>180.0</fLength>
<fTaper>1</fTaper>
<fFadeStartTime>.2</fFadeStartTime>
<fFadeFalloff>0.35</fFadeFalloff>
</TrailDefinition>
<fBattleDistance>0.35</fBattleDistance>
<fRangedDeathTime>0.31</fRangedDeathTime>
<bSmoothMove>1</bSmoothMove>
<fAngleInterpRate>720.0</fAngleInterpRate>
<fBankRate>.2</fBankRate>
<fExchangeAngle>25.0</fExchangeAngle>
<bActAsRanged>0</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop>LOOPSTEP_DESTOYER</AudioRunTypeLoop>
<AudioRunTypeEnd>ENDSTEP_DESTROYER</AudioRunTypeEnd>
</AudioRunSounds>
<SelectionSound>AS3D_UN_DESTROYER_FORT</SelectionSound>
<ActionSound>AS3D_UN_DESTROYER_FORT</ActionSound>
</UnitArtInfo>