pagansmurfen
Chieftain
- Joined
- Sep 10, 2007
- Messages
- 3
As my first little project to modding Civ4 I'm trying to convert TheLopez Inquisition Mod to BtS (found here but I've got some problems with the XML files and getting Assert errors when loading.
LoadGlobalClassInfo(ARTFILEMGR.getUnitArtInfo(), "CIV4ArtDefines_Unit", "Art", "Civ4ArtDefines/UnitArtInfos/UnitArtInfo", false);
Figures its something wrong with the Unit graphics or something in the XML right? Well I cant find anything.
They are like this:
<UnitArtInfo>
<Type>ART_DEF_UNIT_TAOIST_INQUISITOR</Type>
<Button>,Art/Interface/Buttons/Units/TaoistInquisitor.dds,Art/Interface/Buttons/Unit_Resource_Atlas.dds,7,3</Button>
<fScale>0.46</fScale>
<fInterfaceScale>1.0</fInterfaceScale>
<bActAsLand>0</bActAsLand>
<bActAsAir>0</bActAsAir>
<NIF>Art/Units/Inquisitor/Taoist/TaoistMissionary.nif</NIF>
<KFM>Art/Units/Inquisitor/Taoist/TaoistMissionary.kfm</KFM>
<SHADERNIF>Art/Units/Inquisitor/Taoist/TaoistMissionary_FX.nif</SHADERNIF>
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/UnitShadow.nif</ShadowNIF>
<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
<fShadowScale>0.85</fShadowScale>
</ShadowDef>
<fBattleDistance>0.35</fBattleDistance>
<fRangedDeathTime>0.31</fRangedDeathTime>
<bActAsRanged>0</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop/>
<AudioRunTypeEnd/>
</AudioRunSounds>
</UnitArtInfo>
LoadGlobalClassInfo(ARTFILEMGR.getUnitArtInfo(), "CIV4ArtDefines_Unit", "Art", "Civ4ArtDefines/UnitArtInfos/UnitArtInfo", false);
Figures its something wrong with the Unit graphics or something in the XML right? Well I cant find anything.
They are like this:
<UnitArtInfo>
<Type>ART_DEF_UNIT_TAOIST_INQUISITOR</Type>
<Button>,Art/Interface/Buttons/Units/TaoistInquisitor.dds,Art/Interface/Buttons/Unit_Resource_Atlas.dds,7,3</Button>
<fScale>0.46</fScale>
<fInterfaceScale>1.0</fInterfaceScale>
<bActAsLand>0</bActAsLand>
<bActAsAir>0</bActAsAir>
<NIF>Art/Units/Inquisitor/Taoist/TaoistMissionary.nif</NIF>
<KFM>Art/Units/Inquisitor/Taoist/TaoistMissionary.kfm</KFM>
<SHADERNIF>Art/Units/Inquisitor/Taoist/TaoistMissionary_FX.nif</SHADERNIF>
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/UnitShadow.nif</ShadowNIF>
<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
<fShadowScale>0.85</fShadowScale>
</ShadowDef>
<fBattleDistance>0.35</fBattleDistance>
<fRangedDeathTime>0.31</fRangedDeathTime>
<bActAsRanged>0</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop/>
<AudioRunTypeEnd/>
</AudioRunSounds>
</UnitArtInfo>
