So, I'm trying to import a series of civ-specific improvement graphics from one FFH mod (MoM) to another FFH mod (MNAI) which uses generic workshop/quarry/lumbermill graphics for all civs. I've got the art files in the right place, and I know that the artdefs belong in Civ4PlotLSystem.xml, but here's where I run into problems.
Tholal's MNAI doesn't have workshops, quarries or lumbermills allotted to the L system's 4x4 leaf (4x4 node?). When I simply add in all the references to these improvement which include artdefs from MoM, the game doesn't recognize them and still plops down a generic workshop in Infernal territory, as opposed to an Infernal styled workshop. When I add in this bit:
And try to create a workshop in Infernal territory, the game crashes. I have error logs a-plenty, which show a lot of problems related to anything 4x4, but I'm unsure of which ones can help me move forward from here.
Edit: Having trouble attaching LSystem.Log, so I guess I'll do the next best thing and post the last bit here.
Tholal's MNAI doesn't have workshops, quarries or lumbermills allotted to the L system's 4x4 leaf (4x4 node?). When I simply add in all the references to these improvement which include artdefs from MoM, the game doesn't recognize them and still plops down a generic workshop in Infernal territory, as opposed to an Infernal styled workshop. When I add in this bit:
Spoiler :
Code:
<LProduction From="PLOT_ROOT">
<Attribute Class="Improvement">NO_IMPROVEMENT,IMPROVEMENT_ALL,!IMPROVEMENT_WATER_WORKED,!IMPROVEMENT_MINE,!IMPROVEMENT_PASTURE,!IMPROVEMENT_QUARRY,!IMPROVEMENT_WHALING_BOATS,!IMPROVEMENT_WINDMILL,!IMPROVEMENT_FORT,!IMPROVEMENT_TRADE1,!IMPROVEMENT_TRADE2,!IMPROVEMENT_TRADE3</Attribute>
<To Name="Node_12x12"/>
</LProduction>
<LProduction From="PLOT_ROOT">
<Attribute Class="Improvement">IMPROVEMENT_MINE,IMPROVEMENT_WINDMILL,IMPROVEMENT_FORT,IMPROVEMENT_WORKSHOP,IMPROVEMENT_LUMBERMILL</Attribute>
<Attribute Class="Bonus">BONUS_ALL</Attribute>
<To Name="Node_12x12"/>
<To Name="Leaf_LandImprovement_4x4"/>
</LProduction>
<!-- *************************************************************************** -->
<LProduction From="PLOT_ROOT" Name="LandImprovementProd">
<Attribute Class="Improvement">IMPROVEMENT_MINE,IMPROVEMENT_WINDMILL,IMPROVEMENT_FORT,IMPROVEMENT_WORKSHOP,IMPROVEMENT_LUMBERMILL</Attribute>
<Attribute Class="Bonus">NO_BONUS</Attribute>
<Attribute Class="Scalar">bNotBFS:1</Attribute>
<To Name="Leaf_LandImprovement_4x4"/>
And try to create a workshop in Infernal territory, the game crashes. I have error logs a-plenty, which show a lot of problems related to anything 4x4, but I'm unsure of which ones can help me move forward from here.
Edit: Having trouble attaching LSystem.Log, so I guess I'll do the next best thing and post the last bit here.
Spoiler :
Code:
DoFinalizeProduction of node's production #2 failed
DoFinalizeProduction Node_4x4_To_Bleaf_4x4_For_Wine_Dye_and_Silk failed
DoFinalizeProduction of node's production #0 failed
Exhausted all options at Leaf_LandImprovement_4x4
Exploring node production #4
Visiting node Node_3x2
Visit failed: ShouldExploreNode returned false
Visiting node Node_2x2
Visit failed: ShouldExploreNode returned false
Visiting node Node_2x2
Visit failed: ShouldExploreNode returned false
Visiting node Node_2x2
Visit failed: ShouldExploreNode returned false
Visiting node Node_3x2
Visit failed: ShouldExploreNode returned false
Visiting node Node_2x2
Visit failed: ShouldExploreNode returned false
Visiting node Node_2x1
Visit failed: ShouldExploreNode returned false
Visiting node Node_3x2
Visit failed: ShouldExploreNode returned false
Exhausted all options at Leaf_LandImprovement_4x4
DoFinalizeProduction 4x4_Farm_Rice failed
Exhausted all options at Leaf_LandImprovement_4x4
Exploring production LandImprovementProd
Visiting node Leaf_LandImprovement_4x4