District Question

Wolffleet

Chieftain
Joined
Jun 1, 2019
Messages
66
Hi so made a new district mod but the icon and text are not uploading. I don't understand what's wrong.

Edit: so specifically I'm confused as to why the datbase logs gives me an ERROR: no such table: IconDefinitions and ERROR: no such table: LocalizedText. These tables are definitely a part of the game. I tried reverifying the integrity of the files but still same error.

Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- ICONS -->
<!-- Author: WOLF -->
<!-- DateCreated: 5/29/2020 10:54:01 AM -->
<GameInfo>
    <!-- For simplicity, reuse an existing icon. -->
    <IconDefinitions>
        <!--Production Districts-->
        <Row Name="ICON_DISTRICT_FORESTY" Atlas="ICON_ATLAS_DISTRICTS" Index="9"/>
        <Row Name="ICON_DISTRICT_MASONRY" Atlas="ICON_ATLAS_DISTRICTS" Index="9"/>
    </IconDefinitions>
</GameInfo>

Code:
<GameInfo>
    <LocalizedText>
        <Row Tag="LOC_DISTRICT_DISTRICT_FORESTRY_NAME" Language="en_US">
            <Text>Forestry</Text>
        </Row>
        <Row Tag="LOC_DISTRICT_FORESTRY_DESCRIPTION" Language="en_US">
            <Text>District that provides production for forest.</Text>
        </Row>
        <Row Tag="LOC_DISTRICT_DISTRICT_MASONRY_NAME" Language="en_US">
            <Text>Masonry</Text>
        </Row>
        <Row Tag="LOC_DISTRICT_MASONRY_DESCRIPTION" Language="en_US">
            <Text>District that provides production for mines and quarries.</Text>
        </Row>
    </LocalizedText>
</GameInfo>

The Database logs show:

[1634493.188] [Localization]: StartupErrorMessages.xml
[1634493.189] [Localization]: Input XML does not contain database entry tags. GameData, GameInfo or Database
[1634496.117] [Localization]: Validating Foreign Key Constraints...
[1634496.117] [Localization]: Passed Validation.
[1634496.130] [Configuration]: Validating Foreign Key Constraints...
[1634496.130] [Configuration]: Passed Validation.
[1634497.573] [FullTextSearch]: Initializing FullTextSearch
[1634498.328] [Gameplay]: Validating Foreign Key Constraints...
[1634498.340] [Gameplay]: Passed Validation.
[1634499.222] [Configuration]: Validating Foreign Key Constraints...
[1634499.222] [Configuration]: Passed Validation.
[1634500.397] [HallofFame]: Database found. Checking versions...
[1634500.400] [HallofFame]: Database is up-to-date!
[1634514.967] [FullTextSearch]: FTS - Creating Context
[1634532.068] [Gameplay] ERROR: no such table: IconDefinitions
[1634532.068] [Gameplay]: In Query - insert into IconDefinitions('Name', 'Atlas', 'Index') values (?, ?, ?);
[1634532.068] [Gameplay]: In XMLSerializer while updating table IconDefinitions from file Icons.xml.
[1634532.070] [Gameplay] ERROR: no such table: LocalizedText
[1634532.070] [Gameplay]: In Query - insert into LocalizedText('Tag', 'Language', 'Text') values (?, ?, ?);
[1634532.070] [Gameplay]: In XMLSerializer while updating table LocalizedText from file Text.xml.
[1634532.422] [Gameplay]: Validating Foreign Key Constraints...
[1634532.445] [Gameplay]: Passed Validation.
[1634541.200] [FullTextSearch]: FTS - Creating Context
[1634541.200] [FullTextSearch]: FTS - Creating Context
[1634541.534] [FullTextSearch]: FTS - Creating Context
[1634541.852] [FullTextSearch]: FTS - Creating Context
[1634543.018] [FullTextSearch]: FTS - Creating Context
[1634600.383] [Configuration]: Validating Foreign Key Constraints...
[1634600.383] [Configuration]: Passed Validation.
[1634601.283] [FullTextSearch]: FTS - Creating Context
[1634607.304] [FullTextSearch]: FTS - Creating Context
[1634656.302] [Configuration]: Validating Foreign Key Constraints...
[1634656.303] [Configuration]: Passed Validation.
[1634687.092] [Gameplay] ERROR: no such table: IconDefinitions
[1634687.092] [Gameplay]: In Query - insert into IconDefinitions('Name', 'Atlas', 'Index') values (?, ?, ?);
[1634687.092] [Gameplay]: In XMLSerializer while updating table IconDefinitions from file Icons.xml.
[1634687.092] [Gameplay] ERROR: no such table: LocalizedText
[1634687.092] [Gameplay]: In Query - insert into LocalizedText('Tag', 'Language', 'Text') values (?, ?, ?);
[1634687.092] [Gameplay]: In XMLSerializer while updating table LocalizedText from file Text.xml.
[1634687.144] [Gameplay] ERROR: UNIQUE constraint failed: BuildingModifiers.BuildingType, BuildingModifiers.ModifierId
[1634687.144] [Gameplay] ERROR: UNIQUE constraint failed: BuildingModifiers.BuildingType, BuildingModifiers.ModifierId
[1634687.441] [Gameplay]: Validating Foreign Key Constraints...
[1634687.468] [Gameplay]: Passed Validation.
[1634696.193] [FullTextSearch]: FTS - Creating Context
[1634696.194] [FullTextSearch]: FTS - Creating Context
[1634696.542] [FullTextSearch]: FTS - Creating Context
[1634696.849] [FullTextSearch]: FTS - Creating Context
[1634697.951] [FullTextSearch]: FTS - Creating Context
 
Last edited:
nvm. I found my mistake. Next question. How does one set the art for a district? As in the art that will appear in game and populate the map? I want to use the industrial zone if possible.
 
something about this is wrong. Can't tell what is though.

Code:
<?xml version="1.0" encoding="UTF-8" ?>
<AssetObjects..ArtDefSet>
    <m_Version>
        <major>4</major>
        <minor>0</minor>
        <build>399</build>
        <revision>747</revision>
    </m_Version>
    <m_TemplateName text="Districts"/>
    <m_RootCollections>
            <Element>
                <m_Fields>
                    <m_Values>
                        <Element class="AssetObjects..BoolValue">
                            <m_bValue>false</m_bValue>
                            <m_ParamName text="CanAffectBuildings"/>
                        </Element>
                        <Element class="AssetObjects..BoolValue">
                            <m_bValue>false</m_bValue>
                            <m_ParamName text="CanConnectToCanals"/>
                        </Element>
                    </m_Values>
                </m_Fields>
                <m_ChildCollections>
                    <Element>
                        <m_CollectionName text="Landmark"/>
                        <m_ReplaceMergedCollectionElements>false</m_ReplaceMergedCollectionElements>
                        <Element>
                            <m_Fields>
                                <m_Values>
                                    <Element class="AssetObjects..ArtDefReferenceValue">
                                        <m_ElementName text="DISTRICT_INDUSTRIAL_ZONE"/>
                                        <m_RootCollectionName text="Districts"/>
                                        <m_ArtDefPath text="Landmarks.artdef"/>
                                        <m_CollectionIsLocked>true</m_CollectionIsLocked>
                                        <m_TemplateName text="Landmarks"/>
                                        <m_ParamName text="Xref"/>
                                    </Element>
                                </m_Values>
                            </m_Fields>
                            <m_ChildCollections/>
                            <m_Name text="Landmark1"/>
                            <m_AppendMergedParameterCollections>false</m_AppendMergedParameterCollections>
                        </Element>
                    </Element>
                    <Element>
                        <m_CollectionName text="StrategicView"/>
                        <m_ReplaceMergedCollectionElements>false</m_ReplaceMergedCollectionElements>
                        <Element>
                            <m_Fields>
                                <m_Values>
                                    <Element class="AssetObjects..ArtDefReferenceValue">
                                        <m_ElementName text="Industrial"/>
                                        <m_RootCollectionName text="Districts"/>
                                        <m_ArtDefPath text="StrategicView.artdef"/>
                                        <m_CollectionIsLocked>false</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="Districts.artdef"/>
                                        <m_CollectionIsLocked>true</m_CollectionIsLocked>
                                        <m_TemplateName text="Districts"/>
                                        <m_ParamName text="State"/>
                                    </Element>
                                </m_Values>
                            </m_Fields>
                            <m_ChildCollections/>
                            <m_Name text="StrategicView001"/>
                            <m_AppendMergedParameterCollections>false</m_AppendMergedParameterCollections>
                        </Element>
                        <Element>
                            <m_Fields>
                                <m_Values>
                                    <Element class="AssetObjects..ArtDefReferenceValue">
                                        <m_ElementName text="Industrial_Pillaged"/>
                                        <m_RootCollectionName text="Districts"/>
                                        <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="Districts.artdef"/>
                                        <m_CollectionIsLocked>true</m_CollectionIsLocked>
                                        <m_TemplateName text="Districts"/>
                                        <m_ParamName text="State"/>
                                    </Element>
                                </m_Values>
                            </m_Fields>
                            <m_ChildCollections/>
                            <m_Name text="StrategicView002"/>
                            <m_AppendMergedParameterCollections>false</m_AppendMergedParameterCollections>
                        </Element>
                        <Element>
                            <m_Fields>
                                <m_Values>
                                    <Element class="AssetObjects..ArtDefReferenceValue">
                                        <m_ElementName text="Industrial_UnderConstruction"/>
                                        <m_RootCollectionName text="Districts"/>
                                        <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="UnderConstruction"/>
                                        <m_RootCollectionName text="BuildStates"/>
                                        <m_ArtDefPath text="Districts.artdef"/>
                                        <m_CollectionIsLocked>true</m_CollectionIsLocked>
                                        <m_TemplateName text="Districts"/>
                                        <m_ParamName text="State"/>
                                    </Element>
                                </m_Values>
                            </m_Fields>
                            <m_ChildCollections/>
                            <m_Name text="StrategicView003"/>
                            <m_AppendMergedParameterCollections>false</m_AppendMergedParameterCollections>
                        </Element>
                    </Element>
                    <Element>
                        <m_CollectionName text="Audio"/>
                        <m_ReplaceMergedCollectionElements>false</m_ReplaceMergedCollectionElements>
                        <Element>
                            <m_Fields>
                                <m_Values>
                                    <Element class="AssetObjects..StringValue">
                                        <m_Value text="Build_District_IndustrialZone"/>
                                        <m_ParamName text="XrefName"/>
                                    </Element>
                                </m_Values>
                            </m_Fields>
                            <m_ChildCollections/>
                            <m_Name text="Build_District_IndustrialZone"/>
                            <m_AppendMergedParameterCollections>false</m_AppendMergedParameterCollections>
                        </Element>
                    </Element>
                    <Element>
                        <m_CollectionName text="AmbPlay"/>
                        <m_ReplaceMergedCollectionElements>false</m_ReplaceMergedCollectionElements>
                        <Element>
                            <m_Fields>
                                <m_Values>
                                    <Element class="AssetObjects..StringValue">
                                        <m_Value text="PLAY_AMBIENCE_DISTRICT_INDUSTRIALZONE"/>
                                        <m_ParamName text="XrefName"/>
                                    </Element>
                                </m_Values>
                            </m_Fields>
                            <m_ChildCollections/>
                            <m_Name text="PLAY_AMBIENCE_DISTRICT_INDUSTRIALZONE"/>
                            <m_AppendMergedParameterCollections>false</m_AppendMergedParameterCollections>
                        </Element>
                    </Element>
                    <Element>
                        <m_CollectionName text="AmbStop"/>
                        <m_ReplaceMergedCollectionElements>false</m_ReplaceMergedCollectionElements>
                        <Element>
                            <m_Fields>
                                <m_Values>
                                    <Element class="AssetObjects..StringValue">
                                        <m_Value text="STOP_AMBIENCE_DISTRICT_INDUSTRIALZONE"/>
                                        <m_ParamName text="XrefName"/>
                                    </Element>
                                </m_Values>
                            </m_Fields>
                            <m_ChildCollections/>
                            <m_Name text="STOP_AMBIENCE_DISTRICT_INDUSTRIALZONE"/>
                            <m_AppendMergedParameterCollections>false</m_AppendMergedParameterCollections>
                        </Element>
                    </Element>
                </m_ChildCollections>
                <m_Name text="DISTRICT_FORESTRY"/>
                <m_AppendMergedParameterCollections>false</m_AppendMergedParameterCollections>
            </Element>
    </m_RootCollections>
</AssetObjects..ArtDefSet>
 
Where in mod.artdef.xml do I add this? Really appreciate the help.

Code:
<?xml version="1.0" encoding="UTF-8" ?>
<AssetObjects..GameArtSpecification>
  <id>
    <name text="WOLF_REDISTRICTING"/>
    <id text="08f90f5f-2669-4346-a36a-adc9dc10dad3"/>
  </id>
  <artConsumers>
    <Element>
      <consumerName text="Units"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies>
        <Element text="Unit"/>
        <Element text="VFX"/>
        <Element text="Light"/>
      </libraryDependencies>
      <loadsLibraries>true</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="Clutter"/>
      <relativeArtDefPaths>
        <Element text="Clutter.artdef"/>
      </relativeArtDefPaths>
      <libraryDependencies>
        <Element text="Landmark"/>
      </libraryDependencies>
      <loadsLibraries>true</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="Landmarks"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies>
        <Element text="CityBuildings"/>
        <Element text="TileBase"/>
        <Element text="RouteDecalMaterial"/>
      </libraryDependencies>
      <loadsLibraries>true</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="Farms"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies>
        <Element text="TileBase"/>
        <Element text="CityBuildings"/>
      </libraryDependencies>
      <loadsLibraries>true</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="GameLighting"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies>
        <Element text="ColorKey"/>
        <Element text="GameLighting"/>
      </libraryDependencies>
      <loadsLibraries>true</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="StrategicView_Properties"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies/>
      <loadsLibraries>false</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="StrategicView_Sprite"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies>
        <Element text="StrategicView_Sprite"/>
        <Element text="StrategicView_DirectedAsset"/>
      </libraryDependencies>
      <loadsLibraries>true</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="StrategicView_Route"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies>
        <Element text="StrategicView_Route"/>
        <Element text="StrategicView_DirectedAsset"/>
      </libraryDependencies>
      <loadsLibraries>true</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="StrategicView_TerrainType"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies>
        <Element text="StrategicView_TerrainBlend"/>
        <Element text="StrategicView_TerrainBlendCorners"/>
        <Element text="StrategicView_TerrainType"/>
        <Element text="StrategicView_DirectedAsset"/>
      </libraryDependencies>
      <loadsLibraries>true</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="StrategicView_TerrainBlendCorners"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies>
        <Element text="StrategicView_TerrainBlendCorners"/>
        <Element text="StrategicView_DirectedAsset"/>
      </libraryDependencies>
      <loadsLibraries>true</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="StrategicView_TerrainBlend"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies>
        <Element text="StrategicView_TerrainBlend"/>
        <Element text="StrategicView_DirectedAsset"/>
      </libraryDependencies>
      <loadsLibraries>true</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="Terrain"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies>
        <Element text="TerrainAsset"/>
        <Element text="TerrainElement"/>
        <Element text="TerrainMaterial"/>
      </libraryDependencies>
      <loadsLibraries>true</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="WorldViewRoutes"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies>
        <Element text="RouteDecalMaterial"/>
        <Element text="RouteDoodad"/>
      </libraryDependencies>
      <loadsLibraries>true</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="UI"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies>
        <Element text="UITexture"/>
      </libraryDependencies>
      <loadsLibraries>true</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="FOW"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies>
        <Element text="FOWSprite"/>
        <Element text="FOWTexture"/>
      </libraryDependencies>
      <loadsLibraries>true</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="WonderMovie"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies>
        <Element text="WonderMovie"/>
        <Element text="TileBase"/>
        <Element text="GameLighting"/>
        <Element text="ColorKey"/>
      </libraryDependencies>
      <loadsLibraries>true</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="UILensAsset"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies>
        <Element text="OverlayTexture"/>
        <Element text="UILensAsset"/>
      </libraryDependencies>
      <loadsLibraries>true</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="Overlay"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies>
        <Element text="OverlayTexture"/>
        <Element text="UILensAsset"/>
      </libraryDependencies>
      <loadsLibraries>true</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="VFX"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies>
        <Element text="VFX"/>
        <Element text="Light"/>
      </libraryDependencies>
      <loadsLibraries>true</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="Water"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies>
        <Element text="Water"/>
      </libraryDependencies>
      <loadsLibraries>true</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="ColorKeys"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies>
        <Element text="ColorKey"/>
      </libraryDependencies>
      <loadsLibraries>true</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="ScreenWashEffects"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies>
        <Element text="ColorKey"/>
      </libraryDependencies>
      <loadsLibraries>true</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="Camera"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies/>
      <loadsLibraries>false</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="Terrains"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies/>
      <loadsLibraries>false</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="Features"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies/>
      <loadsLibraries>false</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="Civilizations"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies/>
      <loadsLibraries>false</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="Cultures"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies/>
      <loadsLibraries>false</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="Resources"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies/>
      <loadsLibraries>false</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="Improvements"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies/>
      <loadsLibraries>false</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="WorldView_Translate"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies/>
      <loadsLibraries>false</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="StrategicView_Translate"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies/>
      <loadsLibraries>false</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="Audio"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies/>
      <loadsLibraries>false</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="LeaderLighting"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies>
        <Element text="LeaderLighting"/>
        <Element text="ColorKey"/>
      </libraryDependencies>
      <loadsLibraries>true</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="Leaders"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies>
        <Element text="Leader"/>
        <Element text="LeaderLighting"/>
        <Element text="ColorKey"/>
      </libraryDependencies>
      <loadsLibraries>true</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="LeaderFallback"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies>
        <Element text="LeaderFallback"/>
      </libraryDependencies>
      <loadsLibraries>true</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="Lenses"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies/>
      <loadsLibraries>false</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="IndirectGrid"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies/>
      <loadsLibraries>false</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="AOSystem"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies/>
      <loadsLibraries>false</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="GenericObject"/>
      <relativeArtDefPaths/>
      <libraryDependencies/>
      <loadsLibraries>false</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="Wave"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies>
        <Element text="Wave"/>
      </libraryDependencies>
      <loadsLibraries>true</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="DynamicGeometry"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies>
        <Element text="DynamicGeometry"/>
      </libraryDependencies>
      <loadsLibraries>true</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="UIPreview"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies/>
      <loadsLibraries>false</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="SkyBox"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies>
        <Element text="SkyBoxTexture"/>
      </libraryDependencies>
      <loadsLibraries>true</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="Minimap"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies/>
      <loadsLibraries>false</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="UnitSimulation"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies/>
      <loadsLibraries>false</loadsLibraries>
    </Element>
    <Element>
      <consumerName text="RangeArrows"/>
      <relativeArtDefPaths>
      </relativeArtDefPaths>
      <libraryDependencies>
        <Element text="OverlayTexture"/>
        <Element text="UILensAsset"/>
      </libraryDependencies>
      <loadsLibraries>true</loadsLibraries>
    </Element>
  </artConsumers>
  <gameLibraries>
    <Element>
      <libraryName text="CityBuildings"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="ColorKey"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="DynamicGeometry"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="FOWSprite"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="FOWTexture"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="GameLighting"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="Landmark"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="Leader"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="LeaderFallback"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="LeaderLighting"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="Light"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="OverlayTexture"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="RouteDecalMaterial"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="RouteDoodad"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="SkyBoxTexture"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="StrategicView_DirectedAsset"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="StrategicView_Route"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="StrategicView_Sprite"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="StrategicView_TerrainBlend"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="StrategicView_TerrainBlendCorners"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="StrategicView_TerrainType"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="TerrainAsset"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="TerrainElement"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="TerrainMaterial"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="TileBase"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="UILensAsset"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="UITexture"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="Unit"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="VFX"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="Water"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="Wave"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
    <Element>
      <libraryName text="WonderMovie"/>
      <relativePackagePaths>
      </relativePackagePaths>
    </Element>
  </gameLibraries>
  <requiredGameArtIDs>
    <Element>
      <name text="Expansion2" />
      <id text="b1b63999-6b16-4dd2-a5b6-eb19794aa8ca" />
    </Element>
  </requiredGameArtIDs>
</AssetObjects..GameArtSpecification>
 
I think I understand. I was suppose to add this:

Code:
<?xml version="1.0" encoding="UTF-8" ?>
<AssetObjects..GameArtSpecification>
  <id>
    <name text="WOLF_REDISTRICTING"/>
    <id text="08f90f5f-2669-4346-a36a-adc9dc10dad3"/>
  </id>
  <artConsumers>
  <!--My district Art-->
   <Element>
      <ConsumerName text="Districts"/>
      <ArtDefDependencyPaths>
        <Element text="Districts.artdef"/>
      </ArtDefDependencyPaths>
      <LibraryDependencies/>
      <LoadsLibraries>true</LoadsLibraries>
    </Element>

Also yes I have ingame action for District.artdef , am I suppose to have 1 for Wolf_redistricting.art as well?
 
Yeah it's still not working. Is there anymore info I could post to help understand what's not going right?
 
You build modbuddy project without problem? Check out modinfo generated file (mods folder), must have .dep file linked there. Also, dep file must have districts dependency you added in mod.art.xml.

Also add in mod.art all parts that say Districts in my file.
 
I don't see the dep file.
Modinfo:

<?xml version="1.0" encoding="utf-8"?>
<Mod id="08f90f5f-2669-4346-a36a-adc9dc10dad3" version="1">
<Properties>
<Name>WOLF_REDISTRICTING</Name>
<Description>Adds a ton of new districts. Idea is to make cities feel more unique. Every city should not have the same districts.</Description>
<Created>1590787816</Created>
<Teaser>Adds a ton of new districts. Idea is to make cities feel more unique. Every city should not have the same districts.</Teaser>
<Authors>WOLF</Authors>
<SpecialThanks>Ananse</SpecialThanks>
<CompatibleVersions>1.2,2.0</CompatibleVersions>
</Properties>
<Dependencies>
<Mod id="4873eb62-8ccc-4574-b784-dda455e74e68" title="Expansion: Gathering Storm" />
</Dependencies>
<FrontEndActions>
<UpdateArt id="Art">
<File>WOLF_REDISTRICTING.Art.xml</File>
</UpdateArt>
</FrontEndActions>
<InGameActions>
<UpdateIcons id="Icon">
<File>Icons.xml</File>
</UpdateIcons>
<UpdateText id="Text">
<File>Text.xml</File>
</UpdateText>
<UpdateDatabase id="Districts">
<File>Districts.xml</File>
</UpdateDatabase>
<UpdateArt id="Art">
<File>WOLF_REDISTRICTING.Art.xml</File>
</UpdateArt>
</InGameActions>
<Files>
<File>Buildings.xml</File>
<File>Districts.artdef</File>
<File>Districts.xml</File>
<File>Icons.xml</File>
<File>Text.xml</File>
</Files>
</Mod>
 
I think this is right?
 

Attachments

  • Capture.PNG
    Capture.PNG
    53.6 KB · Views: 49
  • Capture2.PNG
    Capture2.PNG
    51.6 KB · Views: 43
I added long before, and there was a description instead of name of the file, the description was "modart dependency file" or something like that. If does not work try to change your the atual name of mod.art to Mod.Art.xml.
 
Back
Top Bottom