Tile Improvement does not appear - Help need for modding

sincap_og

Chieftain
Joined
Feb 28, 2021
Messages
3
Hi there, I have cloned polder and kasabah to create two new improvements (Wasserpolder and Kasaba). Workers can use these improvements successfuly. However, polder and kasaba artwork does not appear. Do you guys have any idea what problem is? You can find my mod file within the attachements. Thanks in advance.
civ-mod-1.PNG civ-mod-2.PNG civ-mod-3.PNG

Moderator Action: Moved question to the main customization forum. - Recursive
 

Attachments

  • TerraNova.rar
    36.4 KB · Views: 45
Last edited by a moderator:
Pretty sure the artwork stuff is one of those where the mod version of the XML is different from the shipped version of the XML. But if you're just reusing the graphics, you don't need to create your own copy, you can just let your improvement use the existing tag
 
In your Improvements.xml file change
Code:
<ArtDefineTag>ART_DEF_IMPROVEMENT_NL_WASSERPOLDER</ArtDefineTag>
to
Code:
<ArtDefineTag>ART_DEF_IMPROVEMENT_POLDER</ArtDefineTag>
and
Code:
<ArtDefineTag>ART_DEF_IMPROVEMENT_NL_KASABA</ArtDefineTag>
to
Code:
<ArtDefineTag>ART_DEF_IMPROVEMENT_KASBAH</ArtDefineTag>
Then in Modbuddy make sure you check the ReloadLandmarkSystem checkbox in the mod's main properties page to ensure that these improvement links are added to the artdefines.

You can eliminate file XML/Civ5ArtDefines_Landmarks.xml entirely because (a) it is not needed and (b) as William noted, the Modable version of the game database cannot use <LandmarkArtInfo> etc.

ArtDefine_LandmarkTypes, ArtDefine_StrategicView, and ArtDefine_Landmarks are used by mods to add new Improvement Art Defines to the game.
 
Top Bottom