I'm trying to make mod and one issue is to replace ENCAMPMENT and BARRACKS with DISTRICT_SICH and BUILDING_UKR_KURIN.
When Mod is loaded, new District and new Building can be find in TechTree, you can build them and use, but the tile where district sitiuated is empty.
I want to use the ENCAMPMENT graphics for DISTRICT_SICH.
Using analogy with creating new Units, I've added Districts.artdef and Landmarks.artdef files to my Mod, copied whole ENCAMPMENT Element, and paste at last line the following:
<m_Name text="DISTRICT_SICH"/>.
Also in Landmarks.artdef I've changed all BARRACKS to BUILDING_UKR_KURIN.
In Mod.Art.xlm I've added the following:
<Element>
<consumerName text="Landmarks"/>
<relativeArtDefPaths>
<Element text="Districts.artdef"/>
<Element text="Landmarks.artdef"/>
</relativeArtDefPaths>
<libraryDependencies>
<Element text="CityBuildings"/>
<Element text="TileBase"/>
<Element text="RouteDecalMaterial"/>
</libraryDependencies>
<loadsLibraries>true</loadsLibraries>
</Element>
Unfrotunately, it doesn't work - the tile is empty. I can't find any information about how to create your own District, so I need help!
When Mod is loaded, new District and new Building can be find in TechTree, you can build them and use, but the tile where district sitiuated is empty.
I want to use the ENCAMPMENT graphics for DISTRICT_SICH.
Using analogy with creating new Units, I've added Districts.artdef and Landmarks.artdef files to my Mod, copied whole ENCAMPMENT Element, and paste at last line the following:
<m_Name text="DISTRICT_SICH"/>.
Also in Landmarks.artdef I've changed all BARRACKS to BUILDING_UKR_KURIN.
In Mod.Art.xlm I've added the following:
<Element>
<consumerName text="Landmarks"/>
<relativeArtDefPaths>
<Element text="Districts.artdef"/>
<Element text="Landmarks.artdef"/>
</relativeArtDefPaths>
<libraryDependencies>
<Element text="CityBuildings"/>
<Element text="TileBase"/>
<Element text="RouteDecalMaterial"/>
</libraryDependencies>
<loadsLibraries>true</loadsLibraries>
</Element>
Unfrotunately, it doesn't work - the tile is empty. I can't find any information about how to create your own District, so I need help!