I'm having issues with the graphics for a particular unit. Sometimes you can see infinitely long dark rays come out of the model, looking like this:
I haven't been able to reliably reproduce this, in other situations the model looks fine. I've attached the unit art files, and this is the unit art definition I'm using:
Can someone look into the model and see if there's anything wrong with it?
Spoiler :
I haven't been able to reliably reproduce this, in other situations the model looks fine. I've attached the unit art files, and this is the unit art definition I'm using:
Code:
<UnitArtInfo>
<Type>ART_DEF_UNIT_ENGLISH_MAN_OF_WAR</Type>
<Button>Art/Units/Man-of-War/Button_ManOfWar.dds</Button>
<fScale>0.21</fScale>
<fInterfaceScale>0.8</fInterfaceScale>
<bActAsLand>0</bActAsLand>
<bActAsAir>0</bActAsAir>
<NIF>Art/Units/Man-of-War/Man_O_War.nif</NIF>
<KFM>Art/Units/Man-of-War/Man_O_War.kfm</KFM>
<SHADERNIF>Art/Units/Man-of-War/Man_O_War.nif</SHADERNIF>
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/FrigateShadow.nif</ShadowNIF>
<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
<fShadowScale>1.1</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>.3</fBankRate>
<fExchangeAngle>25.0</fExchangeAngle>
<bActAsRanged>0</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIQUE_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop>LOOPSTEP_OCEAN1</AudioRunTypeLoop>
<AudioRunTypeEnd>ENDSTEP_OCEAN1</AudioRunTypeEnd>
</AudioRunSounds>
<SelectionSound>AS3D_UN_OCEAN_END1</SelectionSound>
<ActionSound>AS3D_UN_OCEAN_END1</ActionSound>
</UnitArtInfo>