Shade_89 said:when I addnew unit to game and enter to the world builder
I tried to place this new unit on map but is error and civilization broke to the windows
<UnitArtInfo>
<Type>ART_DEF_UNIT_SAMURAI_KNIGHT</Type>
<fScale>0.42</fScale>
<fInterfaceScale>0.9</fInterfaceScale>
<NIF>Art/Units/Knight/Knight.nif</NIF>
<KFM>Art/Units/Knight/Knight.kfm</KFM>
<SHADERNIF>Art/Units/samkni/knight_fx.nif</SHADERNIF>
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/HorseShadow.nif</ShadowNIF>
<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
<fShadowScale>1.0</fShadowScale>
</ShadowDef>
<fBattleDistance>0.35</fBattleDistance>
<fRangedDeathTime>0.31</fRangedDeathTime>
<bActAsRanged>0</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop/>
<AudioRunTypeEnd/>
</AudioRunSounds>
</UnitArtInfo>
<UnitArtInfo>
<Type>ART_DEF_UNIT_CATAPHRACT</Type>
<fScale>0.42</fScale>
<fInterfaceScale>0.9</fInterfaceScale>
<NIF>Art/Units/Scenario/Companion_Cavalry/Companion_Cavalry.nif</NIF>
<KFM>Art/Units/Scenario/Companion_Cavalry/Companion_Cavalry.kfm</KFM>
<SHADERNIF>Art/Units/Scenario/Companion_Cavalry/Companion_Cavalry_FX.nif</SHADERNIF>
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/HorseShadow.nif</ShadowNIF>
<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
<fShadowScale>1.0</fShadowScale>
</ShadowDef>
<fBattleDistance>0.35</fBattleDistance>
<fRangedDeathTime>0.31</fRangedDeathTime>
<bActAsRanged>0</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop/>
<AudioRunTypeEnd/>
</AudioRunSounds>
</UnitArtInfo>
Shade_89 said:first unit samurai knight
second unit cataphract
<UnitArtInfo>
<Type>ART_DEF_UNIT_SAMURAI_KNIGHT</Type>
<fScale>0.42</fScale>
<fInterfaceScale>0.9</fInterfaceScale>
<NIF>Art/Units/Knight/Knight.nif</NIF>
<KFM>Art/Units/Knight/Knight.kfm</KFM>
<SHADERNIF>Art/Units/samkni/knight_fx.nif</SHADERNIF>
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/HorseShadow.nif</ShadowNIF>
<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
<fShadowScale>1.0</fShadowScale>
</ShadowDef>
<fBattleDistance>0.35</fBattleDistance>
<fRangedDeathTime>0.31</fRangedDeathTime>
<bActAsRanged>0</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop/>
<AudioRunTypeEnd/>
</AudioRunSounds>
</UnitArtInfo>
<UnitArtInfo>
<Type>ART_DEF_UNIT_CATAPHRACT</Type>
<fScale>0.42</fScale>
<fInterfaceScale>0.9</fInterfaceScale>
<NIF>Art/Units/Scenario/Companion_Cavalry/Companion_Cavalry.nif</NIF>
<KFM>Art/Units/Scenario/Companion_Cavalry/Companion_Cavalry.kfm</KFM>
<SHADERNIF>Art/Units/Scenario/Companion_Cavalry/Companion_Cavalry_FX.nif</SHADERNIF>
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/HorseShadow.nif</ShadowNIF>
<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
<fShadowScale>1.0</fShadowScale>
</ShadowDef>
<fBattleDistance>0.35</fBattleDistance>
<fRangedDeathTime>0.31</fRangedDeathTime>
<bActAsRanged>0</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop/>
<AudioRunTypeEnd/>
</AudioRunSounds>
</UnitArtInfo>
Hmmm - SimCutie posted a fix for something similar which might cover this as well. Check out this thread.Kael said:I wish it would post an error or do the red blob thing when the art definition was bad. These CTD's because some city somewhere made a unit with the def wrong is a pain.
The Great Apple said:Hmmm - SimCutie posted a fix for something similar which might cover this as well. Check out this thread.