In my Anno Domini mod, I've imported the graphics from the Nubia scenario with this line in MODINFO:
Whilst this has given me access to the art I wanted, it's also had the effect of overriding the Gilgamesh and Pericles leaderheads to resemble Amanitore's staff (which is how I believe they are displayed in the scenario).
I've been working on how to get Gilgamesh back (and will then copy that method to Pericles). I've moved Sumeria to their own add-on pack, Anno Domini Fertile Crescent, to allow me to reload Gilgamesh's graphics. I've managed to get his static 2D fallback image in, but am unable to get the 3D graphic. I've tried this and thought it would work:
Leaders.artdef:
Leader_Gilgamesh.xlp
Leader_LightRigs.xlp
I've also updated the relevant sections in ModArt, but the 3D leader still isn't in the game. Is there something I've missed? Maybe the scenario set it to be 2D only and I need to reset that?
Code:
<UpdateArt id="Art">
<Include mod_id="7619F77B-BAA7-4912-AA6E-45C124E6ECFD" action_id="NubiaScenarioArt" required="1" />
<File>Anno Domini.dep</File>
</UpdateArt>
I've been working on how to get Gilgamesh back (and will then copy that method to Pericles). I've moved Sumeria to their own add-on pack, Anno Domini Fertile Crescent, to allow me to reload Gilgamesh's graphics. I've managed to get his static 2D fallback image in, but am unable to get the 3D graphic. I've tried this and thought it would work:
Leaders.artdef:
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<AssetObjects:ArtDefSet>
<m_Version>
<major>4</major>
<minor>0</minor>
<build>260</build>
<revision>754</revision>
</m_Version>
<m_TemplateName text="Leaders"/>
<m_RootCollections>
<Element>
<m_CollectionName text="Leaders"/>
<m_ReplaceMergedCollectionElements>false</m_ReplaceMergedCollectionElements>
<Element>
<m_Fields>
<m_Values>
<Element class="AssetObjects..BLPEntryValue">
<m_EntryName text="Gilgamesh_LightRig"/>
<m_XLPClass text="LeaderLighting"/>
<m_XLPPath text="Leader_LightRigs.xlp"/>
<m_BLPPackage text="leaders/light_rigs"/>
<m_LibraryName text="LeaderLighting"/>
<m_ParamName text="Leader_Lightrig_BLP_Entry"/>
</Element>
<Element class="AssetObjects..BLPEntryValue">
<m_EntryName text="ART_LEADER_GILG"/>
<m_XLPClass text="Leader"/>
<m_XLPPath text="Leader_Gilgamesh.xlp"/>
<m_BLPPackage text="/leaders/leader_gilgamesh"/>
<m_LibraryName text="Leader"/>
<m_ParamName text="Leader_BLP_Entry"/>
</Element>
<Element class="AssetObjects..BLPEntryValue">
<m_EntryName text="Leader_Colorkey_2"/>
<m_XLPClass text="ColorKey"/>
<m_XLPPath text="ColorKeys.xlp"/>
<m_BLPPackage text="ColorKeys"/>
<m_LibraryName text="ColorKey"/>
<m_ParamName text="Leader_ColorKey_BLP_Entry"/>
</Element>
<Element class="AssetObjects..BLPEntryValue">
<m_EntryName text=""/>
<m_XLPClass text="Leader"/>
<m_XLPPath text=""/>
<m_BLPPackage text=""/>
<m_LibraryName text="Leader"/>
<m_ParamName text="Leader_Background_BLP_Entry"/>
</Element>
<Element class="AssetObjects..StringValue">
<m_Value text=""/>
<m_ParamName text="Leader_Background_Animation_State"/>
</Element>
<Element class="AssetObjects..StringValue">
<m_Value text="SUMERIA"/>
<m_ParamName text="Audio"/>
</Element>
</m_Values>
</m_Fields>
<m_ChildCollections/>
<m_Name text="LEADER_GILGAMESH"/>
<m_AppendMergedParameterCollections>false</m_AppendMergedParameterCollections>
</Element>
</Element>
</m_RootCollections>
</AssetObjects:ArtDefSet>
Leader_Gilgamesh.xlp
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<AssetObjects:XLP>
<m_Version>
<major>4</major>
<minor>0</minor>
<build>260</build>
<revision>754</revision>
</m_Version>
<m_ClassName text="Leader"/>
<m_PackageName text="/leaders/leader_gilgamesh"/>
<m_Entries>
<Element>
<m_EntryID text="Leader_Gilgamesh"/>
<m_ObjectName text="Leader_Gilgamesh"/>
</Element>
</m_Entries>
<m_AllowedPlatforms>
<Element>WINDOWS</Element>
<Element>LINUX</Element>
<Element>MACOS</Element>
<Element>IOS</Element>
</m_AllowedPlatforms>
</AssetObjects:XLP>
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<AssetObjects:XLP>
<m_Version>
<major>4</major>
<minor>0</minor>
<build>260</build>
<revision>754</revision>
</m_Version>
<m_ClassName text="LeaderLighting"/>
<m_PackageName text="leaders/light_rigs"/>
<m_Entries>
<Element>
<m_EntryID text="Gilgamesh_LightRig"/>
<m_ObjectName text="Gilgamesh_LightRig"/>
</Element>
</m_Entries>
<m_AllowedPlatforms>
<Element>WINDOWS</Element>
<Element>LINUX</Element>
<Element>MACOS</Element>
<Element>IOS</Element>
</m_AllowedPlatforms>
</AssetObjects:XLP>
I've also updated the relevant sections in ModArt, but the 3D leader still isn't in the game. Is there something I've missed? Maybe the scenario set it to be 2D only and I need to reset that?