Impaler[WrG]
Civ4:Col UI programmer
I'm trying to get your LCAC working but I must be doing something wrong with the artdef. Is it the lack of kfm? Herese what I've been using.
Code:
<UnitArtInfo>
<Type>ART_DEF_UNIT_HOVERCRAFT</Type>
<fScale>0.92</fScale>
<fInterfaceScale>1.3</fInterfaceScale>
<NIF>xml/Custom Units/Hovercraft/hover_LCAC27.nif</NIF>
<KFM>NONE</KFM>
<SHADERNIF>xml/Custom Units/Hovercraft/hover_LCAC27.nif</SHADERNIF>
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/transportShadow.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>
<fExchangeAngle>25.0</fExchangeAngle>
<bActAsRanged>0</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop>LOOPSTEP_TRANSPORT</AudioRunTypeLoop>
<AudioRunTypeEnd>ENDSTEP_TRANSPORT</AudioRunTypeEnd>
</AudioRunSounds>
<SelectionSound>AS3D_UN_TRANSPORT_FORT</SelectionSound>
<ActionSound>AS3D_UN_TRANSPORT_FORT</ActionSound>
</UnitArtInfo>