Comments (3)
I'll see if it's possible to use Improved Assets Panel as theme manager.
from buildingthemes.
I was think about it and I had the idea to use collections. Basically the users enter the collection steam ID or url and the theme is automatically created. I'll help implementing that when I have the time.
from buildingthemes.
An update on this:
Theme Mods are now supported. To create a theme mod, just create a very simple mod with a name and description:
using ICities;
namespace BuildingThemes
{
public class BuildingThemeTrailerHome : IUserMod
{
public string Name
{
get
{
return "Building Theme: American Trailer Homes";
}
}
public string Description
{
get { return "Adds a theme containing 9 low-density residential buildings."; }
}
}
}
The theme definition is done by bundling an XML file with the mod. The schema is similar to the Building Themes Main configuration. One mod can also add multiple themes.
<?xml version="1.0" encoding="utf-8"?>
<Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Themes>
<Theme name="American Trailer Homes">
<Buildings>
<Building name="432246045.DK-L1 1x2 American House 1_Data" />
<Building name="432246308.DK-L1 2x2 American House 1_Data" />
<Building name="432289854.DK-L1 3x3 American House 1_Data" />
<Building name="437038660.DK-L1 1x2 Trailer House 2_Data" />
<Building name="437039049.DK-L1 2x2 Trailer House 2_Data" />
<Building name="437039368.DK-L1 3x3 Trailer House 2_Data" />
<Building name="444132040.DK-L1 1x2 USA Trailer House 3_Data" />
<Building name="444132141.DK-L1 2x2 USA Trailer House 3_Data" />
<Building name="444132239.DK-L1 3x3 USA Trailer House 3_Data" />
</Buildings>
</Theme>
</Themes>
</Configuration>
A mod like ImprovedModsPanel could detect Building Theme Mods and display them separately (like Color Corrections). Maybe it would even be possible that when you enable a theme in the Content Manager, all contained buildings are also enabled.
from buildingthemes.
Related Issues (20)
- option to disable the "footprint shrinking"
- Bug: Random Texture appears in preview box HOT 2
- Building Themes Feature included in after dark patch - What will we do now? HOT 16
- Clone feature: More color variations of vanilla and euro growables HOT 2
- filter the list of themes that is displayed in the themes tab
- Update style CRP when user modifies associated theme
- Add icons to themes in policies panel
- Fix asset preview area light
- Detect asset by package id if the asset can't be found by name
- Results of the Building Themes Polls
- NullReferenceException during themes tab initialization HOT 1
- Add option for district that will allow to auto bulldoze buildings not belonging to district's theme
- Zone blocks should get lowest available info for the building in a plot. HOT 1
- Don't allow themed buildings from imported themes grow in non-themed districts by default HOT 1
- Hide after dark buildings for players who do not own the DLC HOT 4
- NullReferenceException at PoliciesPanel.SetParentButton HOT 1
- Allow subscribing to workshop items in themes from menu
- Error in BuildingVariationManager
- Error m_class = null
- Patch 1.1.1 extra buildings aren't included in default European theme
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from buildingthemes.