Precondition
Create dds and tex file in textures folder with asset editor.
Create xlp file in XLPs folder with asset editor (ReligiousSlot.xlp)
1) Create file UserInterface.artdef and import it to your project into folder ArtDefs.
Into file write name your xlp file and blp file
2) Right click on UserInterface.artdef file choose Properies and in right corner modbuddy set BuildAction on ArtDef
3) Into Mod.Art.xml write
and this
4) Right click on name your mod choose Properties. Choose In-Game Actions then AddAction. For type choose UpdateArt then go into Files choose Add and choose file (Mod Art Dependency File)
5) Choose Build - BuildSolution .dep file is generated automatically.
Create dds and tex file in textures folder with asset editor.
Create xlp file in XLPs folder with asset editor (ReligiousSlot.xlp)
1) Create file UserInterface.artdef and import it to your project into folder ArtDefs.
Into file write name your xlp file and blp file
Code:
<AssetObjects::ArtDefSet>
<m_Version>
<major>3</major>
<minor>0</minor>
<build>215</build>
<revision>207</revision>
</m_Version>
<m_TemplateName text="UserInterfaceBLPs"/>
<m_RootCollections/>
<m_BLPReferences>
<Element>
<xlpFile text="ReligiousSlot.xlp"/>
<blpPackage text="ReligiousSlot.blp"/>
<xlpClass text="UITexture"/>
</Element>
</m_BLPReferences>
</AssetObjects::ArtDefSet>
3) Into Mod.Art.xml write
Code:
<Element>
<consumerName text="UI"/>
<relativeArtDefPaths>
<Element text="UserInterface.artdef"/>
</relativeArtDefPaths>
<libraryDependencies>
<Element text="UITexture"/>
</libraryDependencies>
<loadsLibraries>true</loadsLibraries>
</Element>
Code:
<Element>
<libraryName text="UITexture"/>
<relativePackagePaths>
<Element text="ReligiousSlot.blp"/>
</relativePackagePaths>
</Element>
5) Choose Build - BuildSolution .dep file is generated automatically.