What's lacking from these .artdefs to make Polders show for Jadwiga?

Narvana

Chieftain
Joined
Nov 20, 2016
Messages
62
So I tried my best at copying the Landmarks.artdef, Improvements.artdef and StrategicView.artdef (all .artdef files that consisted the phrase "polder") to the ArtDefs of Poland_Jadwiga, but it still doesn't work and in-game it shows as a red exclamation mark...

Aware of this problem with Polders, I changed:

Code:
                                    <Element class="AssetObjects..ArtDefReferenceValue">
                                        <m_ElementName text="CIVILIZATION_NETHERLANDS"/>
                                        <m_RootCollectionName text="Civilization"/>
                                        <m_ArtDefPath text="Civilizations.artdef"/>
                                        <m_CollectionIsLocked>true</m_CollectionIsLocked>
                                        <m_TemplateName text="Civilizations"/>
                                        <m_ParamName text="Tag_Culture"/>
                                    </Element>

[...]

                                    <Element class="AssetObjects..ArtDefReferenceValue">
                                        <m_ElementName text="CIVILIZATION_NETHERLANDS"/>
                                        <m_RootCollectionName text="Civilization"/>
                                        <m_ArtDefPath text="Civilizations.artdef"/>
                                        <m_CollectionIsLocked>true</m_CollectionIsLocked>
                                        <m_TemplateName text="Civilizations"/>
                                        <m_ParamName text="Tag_Culture"/>
                                    </Element>

to:

Code:
<Element class="AssetObjects..ArtDefReferenceValue">
                                        <m_ElementName text="DEFAULT"/>
                                        <m_RootCollectionName text="Culture"/>
                                        <m_ArtDefPath text="Cultures.artdef"/>
                                        <m_CollectionIsLocked>true</m_CollectionIsLocked>
                                        <m_TemplateName text=""/>
                                        <m_ParamName text="Tag_Culture"/>
                                    </Element>

[...]

<Element class="AssetObjects..ArtDefReferenceValue">
                                        <m_ElementName text="DEFAULT"/>
                                        <m_RootCollectionName text="Culture"/>
                                        <m_ArtDefPath text="Cultures.artdef"/>
                                        <m_CollectionIsLocked>true</m_CollectionIsLocked>
                                        <m_TemplateName text=""/>
                                        <m_ParamName text="Tag_Culture"/>
                                    </Element>

... in the "Sid Meiers Civilization VI\DLC\Expansion1\ArtDefs\Landmarks.artdef".

Then I edited the "Sid Meiers Civilization VI\DLC\Poland_Jadwiga\ArtDefs\Landmarks.artdef" and pasted all lines mentioning polder between the two lines, where the "X" is:

Code:
<Element>
            <m_CollectionName text="Landmarks"/>
            X
            <m_ReplaceMergedCollectionElements>false</m_ReplaceMergedCollectionElements>
        </Element>

So it looks like that in the end: (in this file I also changed the "CIVILIZATION_NETHERLANDS" to "DEFAULT" and such, I assume that's what I was supposed to do, right?).

Code:
<m_CollectionName text="Landmarks"/>
            <m_ReplaceMergedCollectionElements>false</m_ReplaceMergedCollectionElements>
            <Element>
                <m_Fields>
                    <m_Values>
                        <Element class="AssetObjects..BoolValue">
                            <m_bValue>false</m_bValue>
                            <m_ParamName text="FlattenTerrain"/>
                        </Element>
                        <Element class="AssetObjects..StringValue">
                            <m_Value text="COASTAL"/>
                            <m_ParamName text="RotationType"/>
                        </Element>
                    </m_Values>
                </m_Fields>
                <m_ChildCollections>
                    <Element>
                        <m_CollectionName text="Eras"/>
                        <m_ReplaceMergedCollectionElements>false</m_ReplaceMergedCollectionElements>
                        <Element>
                            <m_Fields>
                                <m_Values>
                                    <Element class="AssetObjects..ArtDefReferenceValue">
                                        <m_ElementName text="DEFAULT"/>
                                        <m_RootCollectionName text="ArtEra"/>
                                        <m_ArtDefPath text="Eras.artdef"/>
                                        <m_CollectionIsLocked>true</m_CollectionIsLocked>
                                        <m_TemplateName text=""/>
                                        <m_ParamName text="Tag_Era"/>
                                    </Element>
                                    <Element class="AssetObjects..ArtDefReferenceValue">
                                        <m_ElementName text="DEFAULT"/>
                                        <m_RootCollectionName text="Culture"/>
                                        <m_ArtDefPath text="Cultures.artdef"/>
                                        <m_CollectionIsLocked>true</m_CollectionIsLocked>
                                        <m_TemplateName text=""/>
                                        <m_ParamName text="Tag_Culture"/>
                                    </Element>
                                    <Element class="AssetObjects..ArtDefReferenceValue">
                                        <m_ElementName text="ANY"/>
                                        <m_RootCollectionName text="AppealTags"/>
                                        <m_ArtDefPath text="Appeal.artdef"/>
                                        <m_CollectionIsLocked>true</m_CollectionIsLocked>
                                        <m_TemplateName text=""/>
                                        <m_ParamName text="Tag_Appeal"/>
                                    </Element>
                                    <Element class="AssetObjects..BLPEntryValue">
                                        <m_EntryName text="IMP_Polder"/>
                                        <m_XLPClass text="TileBase"/>
                                        <m_XLPPath text="IMP_Polder.xlp"/>
                                        <m_BLPPackage text="IMP_Polder"/>
                                        <m_LibraryName text="TileBase"/>
                                        <m_ParamName text="Asset"/>
                                    </Element>
                                    <Element class="AssetObjects..StringValue">
                                        <m_Value text=""/>
                                        <m_ParamName text="SelectionRule"/>
                                    </Element>
                                    <Element class="AssetObjects..FloatValue">
                                        <m_fValue>0.000000</m_fValue>
                                        <m_ParamName text="Priority"/>
                                    </Element>
                                </m_Values>
                            </m_Fields>
                            <m_ChildCollections/>
                            <m_Name text="IMP_Polder"/>
                            <m_AppendMergedParameterCollections>false</m_AppendMergedParameterCollections>
                        </Element>
                        <Element>
                            <m_Fields>
                                <m_Values>
                                    <Element class="AssetObjects..ArtDefReferenceValue">
                                        <m_ElementName text="DEFAULT"/>
                                        <m_RootCollectionName text="ArtEra"/>
                                        <m_ArtDefPath text="Eras.artdef"/>
                                        <m_CollectionIsLocked>true</m_CollectionIsLocked>
                                        <m_TemplateName text=""/>
                                        <m_ParamName text="Tag_Era"/>
                                    </Element>
                                    <Element class="AssetObjects..ArtDefReferenceValue">
                                        <m_ElementName text="DEFAULT"/>
                                        <m_RootCollectionName text="Culture"/>
                                        <m_ArtDefPath text="Cultures.artdef"/>
                                        <m_CollectionIsLocked>true</m_CollectionIsLocked>
                                        <m_TemplateName text=""/>
                                        <m_ParamName text="Tag_Culture"/>
                                    </Element>
                                    <Element class="AssetObjects..ArtDefReferenceValue">
                                        <m_ElementName text="ANY"/>
                                        <m_RootCollectionName text="AppealTags"/>
                                        <m_ArtDefPath text="Appeal.artdef"/>
                                        <m_CollectionIsLocked>true</m_CollectionIsLocked>
                                        <m_TemplateName text=""/>
                                        <m_ParamName text="Tag_Appeal"/>
                                    </Element>
                                    <Element class="AssetObjects..BLPEntryValue">
                                        <m_EntryName text="IMP_Polder02"/>
                                        <m_XLPClass text="TileBase"/>
                                        <m_XLPPath text="IMP_Polder.xlp"/>
                                        <m_BLPPackage text="IMP_Polder"/>
                                        <m_LibraryName text="TileBase"/>
                                        <m_ParamName text="Asset"/>
                                    </Element>
                                    <Element class="AssetObjects..StringValue">
                                        <m_Value text=""/>
                                        <m_ParamName text="SelectionRule"/>
                                    </Element>
                                    <Element class="AssetObjects..FloatValue">
                                        <m_fValue>0.000000</m_fValue>
                                        <m_ParamName text="Priority"/>
                                    </Element>
                                </m_Values>
                            </m_Fields>
                            <m_ChildCollections/>
                            <m_Name text="IMP_Polder02"/>
                            <m_AppendMergedParameterCollections>false</m_AppendMergedParameterCollections>
                        </Element>
                    </Element>
                </m_ChildCollections>
                <m_Name text="LM_POLDER"/>
                <m_AppendMergedParameterCollections>false</m_AppendMergedParameterCollections>
            <m_ReplaceMergedCollectionElements>false</m_ReplaceMergedCollectionElements>

And the Improvements.artdef I've copied from "Sid Meiers Civilization VI\DLC\Indonesia_Khmer\ArtDefs" leaving these "<build>279</build>" and "<revision>569</revision>" numbers as such, having no idea what they mean, while replacing the Kampung data with Polder data:

Code:
<?xml version="1.0" encoding="UTF-8" ?>
<AssetObjects..ArtDefSet>
    <m_Version>
        <major>4</major>
        <minor>0</minor>
        <build>279</build>
        <revision>569</revision>
    </m_Version>
    <m_TemplateName text="Improvements"/>
    <m_RootCollections>
        <Element>
            <m_CollectionName text="Improvement"/>
            <m_ReplaceMergedCollectionElements>false</m_ReplaceMergedCollectionElements>
            <Element>
                <m_Fields>
                    <m_Values/>
                </m_Fields>
                <m_ChildCollections>
                    <Element>
                        <m_CollectionName text="Audio"/>
                        <m_ReplaceMergedCollectionElements>false</m_ReplaceMergedCollectionElements>
                    </Element>
                    <Element>
                        <m_CollectionName text="StrategicView"/>
                        <m_ReplaceMergedCollectionElements>false</m_ReplaceMergedCollectionElements>
                        <Element>
                            <m_Fields>
                                <m_Values>
                                    <Element class="AssetObjects..ArtDefReferenceValue">
                                        <m_ElementName text="Polder"/>
                                        <m_RootCollectionName text="Improvements"/>
                                        <m_ArtDefPath text="StrategicView.artdef"/>
                                        <m_CollectionIsLocked>true</m_CollectionIsLocked>
                                        <m_TemplateName text="StrategicView"/>
                                        <m_ParamName text="XrefName"/>
                                    </Element>
                                    <Element class="AssetObjects..ArtDefReferenceValue">
                                        <m_ElementName text="Completed"/>
                                        <m_RootCollectionName text="BuildStates"/>
                                        <m_ArtDefPath text="Improvements.artdef"/>
                                        <m_CollectionIsLocked>true</m_CollectionIsLocked>
                                        <m_TemplateName text="Improvements"/>
                                        <m_ParamName text="State"/>
                                    </Element>
                                </m_Values>
                            </m_Fields>
                            <m_ChildCollections/>
                            <m_Name text="StrategicView"/>
                            <m_AppendMergedParameterCollections>false</m_AppendMergedParameterCollections>
                        </Element>
                        <Element>
                            <m_Fields>
                                <m_Values>
                                    <Element class="AssetObjects..ArtDefReferenceValue">
                                        <m_ElementName text="Polder_Pillaged"/>
                                        <m_RootCollectionName text="Improvements"/>
                                        <m_ArtDefPath text="StrategicView.artdef"/>
                                        <m_CollectionIsLocked>true</m_CollectionIsLocked>
                                        <m_TemplateName text="StrategicView"/>
                                        <m_ParamName text="XrefName"/>
                                    </Element>
                                    <Element class="AssetObjects..ArtDefReferenceValue">
                                        <m_ElementName text="Pillaged"/>
                                        <m_RootCollectionName text="BuildStates"/>
                                        <m_ArtDefPath text="Improvements.artdef"/>
                                        <m_CollectionIsLocked>true</m_CollectionIsLocked>
                                        <m_TemplateName text="Improvements"/>
                                        <m_ParamName text="State"/>
                                    </Element>
                                </m_Values>
                            </m_Fields>
                            <m_ChildCollections/>
                            <m_Name text="StrategicView001"/>
                            <m_AppendMergedParameterCollections>false</m_AppendMergedParameterCollections>
                        </Element>
                    </Element>
                    <Element>
                        <m_CollectionName text="Clutter"/>
                        <m_ReplaceMergedCollectionElements>false</m_ReplaceMergedCollectionElements>
                    </Element>
                    <Element>
                        <m_CollectionName text="Landmark"/>
                        <m_ReplaceMergedCollectionElements>false</m_ReplaceMergedCollectionElements>
                        <Element>
                            <m_Fields>
                                <m_Values>
                                    <Element class="AssetObjects..BoolValue">
                                        <m_bValue>true</m_bValue>
                                        <m_ParamName text="SuppressResource"/>
                                    </Element>
                                    <Element class="AssetObjects..ArtDefReferenceValue">
                                        <m_ElementName text="LM_POLDER"/>
                                        <m_RootCollectionName text="Landmarks"/>
                                        <m_ArtDefPath text="Landmarks.artdef"/>
                                        <m_CollectionIsLocked>true</m_CollectionIsLocked>
                                        <m_TemplateName text="Landmarks"/>
                                        <m_ParamName text="Xref"/>
                                    </Element>
                                    <Element class="AssetObjects..ArtDefReferenceValue">
                                        <m_ElementName text="NONE"/>
                                        <m_RootCollectionName text=""/>
                                        <m_ArtDefPath text=""/>
                                        <m_CollectionIsLocked>true</m_CollectionIsLocked>
                                        <m_TemplateName text=""/>
                                        <m_ParamName text="Fence"/>
                                    </Element>
                                    <Element class="AssetObjects..IntValue">
                                        <m_nValue>0</m_nValue>
                                        <m_ParamName text="SelectionPriority"/>
                                    </Element>
                                    <Element class="AssetObjects..StringValue">
                                        <m_Value text=""/>
                                        <m_ParamName text="SelectionRule"/>
                                    </Element>
                                </m_Values>
                            </m_Fields>
                            <m_ChildCollections/>
                            <m_Name text="IMP_Polder"/>
                            <m_AppendMergedParameterCollections>false</m_AppendMergedParameterCollections>
                        </Element>
                        <Element>
                            <m_Fields>
                                <m_Values>
                                    <Element class="AssetObjects..BoolValue">
                                        <m_bValue>true</m_bValue>
                                        <m_ParamName text="SuppressResource"/>
                                    </Element>
                                    <Element class="AssetObjects..ArtDefReferenceValue">
                                        <m_ElementName text="LM_POLDER_TLP"/>
                                        <m_RootCollectionName text="Landmarks"/>
                                        <m_ArtDefPath text="Landmarks.artdef"/>
                                        <m_CollectionIsLocked>true</m_CollectionIsLocked>
                                        <m_TemplateName text="Landmarks"/>
                                        <m_ParamName text="Xref"/>
                                    </Element>
                                    <Element class="AssetObjects..ArtDefReferenceValue">
                                        <m_ElementName text=""/>
                                        <m_RootCollectionName text=""/>
                                        <m_ArtDefPath text=""/>
                                        <m_CollectionIsLocked>true</m_CollectionIsLocked>
                                        <m_TemplateName text=""/>
                                        <m_ParamName text="Fence"/>
                                    </Element>
                                    <Element class="AssetObjects..IntValue">
                                        <m_nValue>0</m_nValue>
                                        <m_ParamName text="SelectionPriority"/>
                                    </Element>
                                    <Element class="AssetObjects..StringValue">
                                        <m_Value text="([CIVIC:CIVIC_MERCANTILISM])"/>
                                        <m_ParamName text="SelectionRule"/>
                                    </Element>
                                </m_Values>
                            </m_Fields>
                            <m_ChildCollections/>
                            <m_Name text="IMP_TLP_Polder"/>
                            <m_AppendMergedParameterCollections>false</m_AppendMergedParameterCollections>
                        </Element>
                    </Element>
                    <Element>
                        <m_CollectionName text="Lighting"/>
                        <m_ReplaceMergedCollectionElements>false</m_ReplaceMergedCollectionElements>
                    </Element>
                    <Element>
                        <m_CollectionName text="Activity"/>
                        <m_ReplaceMergedCollectionElements>false</m_ReplaceMergedCollectionElements>
                    </Element>
                    <Element>
                        <m_CollectionName text="GreatWall"/>
                        <m_ReplaceMergedCollectionElements>false</m_ReplaceMergedCollectionElements>
                    </Element>
                </m_ChildCollections>
                <m_Name text="IMPROVEMENT_POLDER"/>
                <m_AppendMergedParameterCollections>false</m_AppendMergedParameterCollections>
            </Element>
        </Element>
        <Element>
            <m_CollectionName text="BuildStates"/>
            <m_ReplaceMergedCollectionElements>false</m_ReplaceMergedCollectionElements>
        </Element>
    </m_RootCollections>
</AssetObjects..ArtDefSet>

Beyond that, I've also added a "<Element text="Improvements.artdef"/>" line to the "Sid Meiers Civilization VI\DLC\Poland_Jadwiga\DLC2.dep" file under the "<ConsumerName text="Landmarks"/>", thinking it might be important; but nothing else.

Can anyone tell me what I'm doing wrong?
 
Top Bottom