Setting a Unit model

SlySlySly

Warlord
Joined
Feb 8, 2017
Messages
293
Location
Denver
Howdy! (Hopefully) Quick question: How would I define a unit to have the same unit model as an already existing model? Like say I want to have a unique horseman unit to use the same model as the base game horseman unit.
 
Your mod would need to have its own Units.artdef file, for starters. I strongly suggest using ArtDef Editor, preferably a couple of instances open to make it all quicker.

I'd recommend getting a clear ArtDef, but with all its sections intact, for your mod. Then on one instance you have that one, and on the other you open the game's main Units.artdef. From the first section, Units, find and copy the UNIT_HORSEMAN entry before pasting it in the same section of your mod's file. Finally, rename that entry to UNIT_SLYHORSEMAN (the unit type you've defined in your text files) in your file so the game can make the connection between the data in the XML/SQL files and the graphics side of the game. Save, and you're done.

Hope that was clear.
 
Hey, I hope this is a fine place to ask this, since I'm asking the exact same question, but I haven't been able to get it to work. I'm also hoping I'm just missing something really simple. Like Sly, I'm just wanting to add new UUs that use the exact same models as existing units. I want to make the unique Warrior use the same model as an Eagle Warrior, but for starters, since I haven't had any success there, I'm just trying to get it to use the Scout model, as a sort of proof of concept. I just want to figure out how to get it to work, so I figured I'd start simple with just replacing it with a Scout model.

Here's my Units.artdef file, which I have saved in an ArtDefs folder in my mod folder:


Code:
<?xml version="1.0" encoding="UTF-8" ?>
<AssetObjects..ArtDefSet>
    <m_Version>
        <major>4</major>
        <minor>0</minor>
        <build>315</build>
        <revision>805</revision>
    </m_Version>
    <m_TemplateName text="Units"/>
    <m_RootCollections>
      
        <Element>
            <m_Fields>
                <m_Values>
                    <Element class="AssetObjects..ArtDefReferenceValue">
                        <m_ElementName text="Archer"/>
                        <m_RootCollectionName text="UnitFormationTypes"/>
                        <m_ArtDefPath text="Units.artdef"/>
                        <m_CollectionIsLocked>false</m_CollectionIsLocked>
                        <m_TemplateName text=""/>
                        <m_ParamName text="Formation"/>
                    </Element>
                    <Element class="AssetObjects..ArtDefReferenceValue">
                        <m_ElementName text=""/>
                        <m_RootCollectionName text="UnitCombat"/>
                        <m_ArtDefPath text="Units.artdef"/>
                        <m_CollectionIsLocked>false</m_CollectionIsLocked>
                        <m_TemplateName text=""/>
                        <m_ParamName text="UnitCombat"/>
                    </Element>
                    <Element class="AssetObjects..ArtDefReferenceValue">
                        <m_ElementName text=""/>
                        <m_RootCollectionName text="UnitFormationTypes"/>
                        <m_ArtDefPath text="Units.artdef"/>
                        <m_CollectionIsLocked>true</m_CollectionIsLocked>
                        <m_TemplateName text=""/>
                        <m_ParamName text="EscortFormation"/>
                    </Element>
                    <Element class="AssetObjects..ArtDefReferenceValue">
                        <m_ElementName text="UNIT_ANCIENTEMBARK_SINGLE"/>
                        <m_RootCollectionName text="Units"/>
                        <m_ArtDefPath text="Units.artdef"/>
                        <m_CollectionIsLocked>true</m_CollectionIsLocked>
                        <m_TemplateName text="Units"/>
                        <m_ParamName text="EmbarkedUnit"/>
                    </Element>
                    <Element class="AssetObjects..BoolValue">
                        <m_bValue>false</m_bValue>
                        <m_ParamName text="DoNotDisplayCharges"/>
                    </Element>
                    <Element class="AssetObjects..ArtDefReferenceValue">
                        <m_ElementName text=""/>
                        <m_RootCollectionName text="UnitCulture"/>
                        <m_ArtDefPath text="Cultures.artdef"/>
                        <m_CollectionIsLocked>true</m_CollectionIsLocked>
                        <m_TemplateName text=""/>
                        <m_ParamName text="Culture"/>
                    </Element>
                    <Element class="AssetObjects..ArtDefReferenceValue">
                        <m_ElementName text=""/>
                        <m_RootCollectionName text="Era"/>
                        <m_ArtDefPath text="Eras.artdef"/>
                        <m_CollectionIsLocked>true</m_CollectionIsLocked>
                        <m_TemplateName text=""/>
                        <m_ParamName text="Era"/>
                    </Element>
                    <Element class="AssetObjects..ArtDefReferenceValue">
                        <m_ElementName text=""/>
                        <m_RootCollectionName text="Units"/>
                        <m_ArtDefPath text="Units.artdef"/>
                        <m_CollectionIsLocked>true</m_CollectionIsLocked>
                        <m_TemplateName text=""/>
                        <m_ParamName text="ProxyUnit"/>
                    </Element>
                    <Element class="AssetObjects..BoolValue">
                        <m_bValue>false</m_bValue>
                        <m_ParamName text="PlayDeathOnDestroy"/>
                    </Element>
                    <Element class="AssetObjects..IntValue">
                        <m_nValue>0</m_nValue>
                        <m_ParamName text="DisplayLevel"/>
                    </Element>
                </m_Values>
            </m_Fields>
            <m_ChildCollections>
                <Element>
                    <m_CollectionName text="Members"/>
                    <m_ReplaceMergedCollectionElements>false</m_ReplaceMergedCollectionElements>
                    <Element>
                        <m_Fields>
                            <m_Values>
                                <Element class="AssetObjects..FloatValue">
                                    <m_fValue>1.000000</m_fValue>
                                    <m_ParamName text="Scale"/>
                                </Element>
                                <Element class="AssetObjects..IntValue">
                                    <m_nValue>1</m_nValue>
                                    <m_ParamName text="Count"/>
                                </Element>
                                <Element class="AssetObjects..ArtDefReferenceValue">
                                    <m_ElementName text="Scout"/>
                                    <m_RootCollectionName text="UnitMemberTypes"/>
                                    <m_ArtDefPath text="Units.artdef"/>
                                    <m_CollectionIsLocked>true</m_CollectionIsLocked>
                                    <m_TemplateName text="Units"/>
                                    <m_ParamName text="Type"/>
                                </Element>
                            </m_Values>
                        </m_Fields>
                        <m_ChildCollections/>
                        <m_Name text="Members1"/>
                        <m_AppendMergedParameterCollections>false</m_AppendMergedParameterCollections>
                    </Element>
                    <Element>
                        <m_Fields>
                            <m_Values>
                                <Element class="AssetObjects..FloatValue">
                                    <m_fValue>1.000000</m_fValue>
                                    <m_ParamName text="Scale"/>
                                </Element>
                                <Element class="AssetObjects..IntValue">
                                    <m_nValue>1</m_nValue>
                                    <m_ParamName text="Count"/>
                                </Element>
                                <Element class="AssetObjects..ArtDefReferenceValue">
                                    <m_ElementName text="ScoutDog"/>
                                    <m_RootCollectionName text="UnitMemberTypes"/>
                                    <m_ArtDefPath text="Units.artdef"/>
                                    <m_CollectionIsLocked>true</m_CollectionIsLocked>
                                    <m_TemplateName text="Units"/>
                                    <m_ParamName text="Type"/>
                                </Element>
                            </m_Values>
                        </m_Fields>
                        <m_ChildCollections/>
                        <m_Name text="Members2"/>
                        <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=""/>
                                    <m_ParamName text="XrefName"/>
                                </Element>
                            </m_Values>
                        </m_Fields>
                        <m_ChildCollections/>
                        <m_Name text=""/>
                        <m_AppendMergedParameterCollections>false</m_AppendMergedParameterCollections>
                    </Element>
                    <Element>
                        <m_Fields>
                            <m_Values>
                                <Element class="AssetObjects..StringValue">
                                    <m_Value text="Scout"/>
                                    <m_ParamName text="XrefName"/>
                                </Element>
                            </m_Values>
                        </m_Fields>
                        <m_ChildCollections/>
                        <m_Name text="SCOUT"/>
                        <m_AppendMergedParameterCollections>false</m_AppendMergedParameterCollections>
                    </Element>
                </Element>
                <Element>
                    <m_CollectionName text="AttachmentVisibility"/>
                    <m_ReplaceMergedCollectionElements>false</m_ReplaceMergedCollectionElements>
                </Element>
            </m_ChildCollections>
            <m_Name text="UNIT_UU_IMPERIAL_WARRIOR"/>
            <m_AppendMergedParameterCollections>false</m_AppendMergedParameterCollections>
        </Element>

    </m_RootCollections>
</AssetObjects..ArtDefSet>

Everything else works; the icon works, the unit abilities work, but I just have not been able to have any effect on the model. I'm using ModBuddy, and Keniisu's Civilization Template. I've experimented with putting my Units.artdef in my mod's .dep file, though I'm unsure whether I need to do that, since I'm not creating a new model. I've also tried telling the mod to load Units.artdef in In-Game Actions, though I'm not sure I should have to do that, either. I'll keep trying to figure out what I'm missing, but I'd really appreciate any help, since I can't seem to figure out what isn't working. Thanks a lot


Edit: I'm posting my modart file, Imperia.Art.xml here too, in case that helps at all:


Code:
<?xml version="1.0" encoding="UTF-8" ?>
<AssetObjects..GameArtSpecification>
  <id>
    <name text="Imperia"/>
    <id text="f2a2dad6-a699-4c80-933f-73ff8dcb568a"/>
  </id>
  <artConsumers>
    <Element>
      <consumerName text="Units"/>
      <relativeArtDefPaths>
          <Element text="Units.artdef"/>
      </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>

Edit2: I'm trying to figure out what's going on in my Database.log file, in case there's any clues there, so here it is as well:


Code:
[73414.253] [Localization]: StartupErrorMessages.xml
[73414.253] [Localization]: Input XML does not contain database entry tags. GameData, GameInfo or Database
[73422.691] [Localization]: Validating Foreign Key Constraints...
[73422.691] [Localization]: Passed Validation.
[73422.712] [Configuration]: Validating Foreign Key Constraints...
[73422.713] [Configuration]: Passed Validation.
[73433.819] [FullTextSearch]: Initializing FullTextSearch
[73436.282] [Gameplay]: Validating Foreign Key Constraints...
[73436.295] [Gameplay]: Passed Validation.
[73437.176] [Localization] ERROR: Database::XMLSerializer (ConfigText_ko_KR.xml): Duplicate column names detected in <Row>. Name: Replace, Value:
[73437.176] [Localization]: In XMLSerializer while updating table LocalizedText from file ConfigText_ko_KR.xml.
[73441.445] [Configuration]: Validating Foreign Key Constraints...
[73441.446] [Configuration]: Passed Validation.
[73443.796] [HallofFame]: Database found. Checking versions...
[73443.800] [HallofFame]: Database is up-to-date!
[73460.621] [FullTextSearch]: FTS - Creating Context
[73511.349] [Localization] ERROR: Database::XMLSerializer (ConfigText_ko_KR.xml): Duplicate column names detected in <Row>. Name: Replace, Value:
[73511.349] [Localization]: In XMLSerializer while updating table LocalizedText from file ConfigText_ko_KR.xml.
[73513.773] [Configuration]: Validating Foreign Key Constraints...
[73513.774] [Configuration]: Passed Validation.
[73528.331] [Gameplay] ERROR: UNIQUE constraint failed: CivicPrereqs.Civic, CivicPrereqs.PrereqCivic
[73528.331] [Gameplay]: While executing - 'insert into CivicPrereqs('Civic', 'PrereqCivic') values (?, ?);'
[73528.331] [Gameplay]: In XMLSerializer while inserting row into table insert into CivicPrereqs('Civic', 'PrereqCivic') with  values (CIVIC_MERCANTILISM, CIVIC_EXPLORATION, ).
[73528.331] [Gameplay]: In XMLSerializer while updating table CivicPrereqs from file RTT_Civics.xml.
[73528.331] [Gameplay] ERROR: UNIQUE constraint failed: CivicPrereqs.Civic, CivicPrereqs.PrereqCivic
[73529.417] [Gameplay]: Validating Foreign Key Constraints...
[73529.446] [Gameplay]: Passed Validation.
[73537.611] [FullTextSearch]: FTS - Creating Context
[73537.612] [FullTextSearch]: FTS - Creating Context
[73538.903] [FullTextSearch]: FTS - Creating Context
[73539.320] [FullTextSearch]: FTS - Creating Context
[73543.074] [FullTextSearch]: FTS - Creating Context
 
Last edited:
Nevermind, I got it working! I'm grateful to Keniisu's template, since it helped me get used to how things work, but it turns out that the template was the problem. I noticed that it was causing other, unrelated issues (like causing the entire tech tree to vanish) even when trying it fresh without any modifications from me. Once I started over completely from scratch, everything worked the way it's supposed to. So, woo!
 
Back
Top Bottom