GithubHelp home page GithubHelp logo

Comments (5)

StingMcRay avatar StingMcRay commented on August 19, 2024

I use the template name for checkers
Also used on the 2205 modules
We use that also on 'preset list' to avoid some menu's from separate anno's

from anno-designer.

FroggieFrog avatar FroggieFrog commented on August 19, 2024

@StingMcRay
Is there a list of all available values for "Template"?
Or are those values come straight from the extracted asset files?

I'm trying to get my head around predefined colors for templates and a list of all templates would be beneficial. I also could create a list by my own if it is necessary.

from anno-designer.

StingMcRay avatar StingMcRay commented on August 19, 2024

No, the is not (yet) a Template List, except thus that are in the preset.json file are placed, indeed by extracting the data from the anno rda files; as example :


		{
			"Header": "(A4) Anno 1404",
			"Faction": "PlayerBuildings",
			"Group": "Residence",
			"Identifier": "PeasantHouse",
			"IconFileName": "A4_icon_116_132.png",
			"BuildBlocker": {
				"x": 3,
				"z": 3
			},
			"Template": "ResidenceBuilding",
			"InfluenceRange": 0,
			"InfluenceRadius": 0,
			"Localization": {
				"eng": "Peasant house",
				"ger": "Bauernhaus",
				"pol": "Chata wieśniaka",
				"rus": "Крестьянский дом"
			}
		},

But i can try to make you a list, but then what you need ? Building "Eng" Name and or Identifier and ofc the Template Name?

Regards

from anno-designer.

FroggieFrog avatar FroggieFrog commented on August 19, 2024

Ok, thank you for the information.
I will create a list out of presets.json.

My plan is to map a template to a specific color by default. So the user can still change the color, but for those who don't there will be gray roads, blue residences and so on.
The identifier doesn't matter in this case and the template is the least common denominator.

from anno-designer.

StingMcRay avatar StingMcRay commented on August 19, 2024

Oke, Probably you need to enable the code in the MainWindows.cs to use that colors.json
and it it possible to set multiple template names (or 'Target Names') under a color definition ?
If you not have a colors.json file i have an AD v7 one on my pc, as we not deliver it anymore sins 8.1

from anno-designer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.