Friday, March 9, 2018

City Symbols (Part 15): Culture Identifiers

I took a nice long break from Dragons Abound during the Christmas holiday, but now I'm back to continue to work on city symbols.  One feature I've wanted to have with my city symbols is to tie them to the city's culture, so that all the city symbols for a particular territory (culture) would have similar features distinct from other cities.

Typically territories are distinguished on maps by colors, and Dragons Abound has options for using colors to display territories or to mark borders, as in this example:
So one obvious feature I can add is to have any city flags be the color of the city's territory.  That's a little bit more complicated than you might expect, but after some refactoring:
Here you can see that Shimpes is flying flags that match its border color.

The flags are a pretty subtle indicator.  In general, I'd like to be able to style the city icons in more obvious ways based upon the territory in which they fall.  By changing building selection, colors, etc., I can make more distinct icons.  So I need to extend the code that varies the flag colors based on territory to vary any generation parameter.

Once that's done, I can pick different colors, roof styles, etc., and generate city icons for different territories that are visually quite distinct:
Eventually, I might tie the city icons to features of the territory's culture.  For example, if a territory is populated by dwarves, then the city icons can be gray to indicate the cities are built with stone.  Another possibility is to use city icons to indicate the merging or splitting of cultures.  For example, if a Culture A conquers Culture B, that could be indicated by making the icons for the conquered cities be a mix of the icons from Culture A and the icons from Culture B.

As is often the case as I work on developing Dragons Abound, I wrote a couple of different versions of icon generation (in the style of Skies of Fire and then Torfani), and then wrote the above code to modify the icon generation based on territories.  At this point, I understood enough to abstract the icon generation into a generic version that can be driven by parameters (instead of having different generators for different styles).  This gives me flexibility to experiment with different styles without having to touch the actual code.  It also means that when I add a new feature (say territory colors) it becomes available for all the icon styles.

For example, here's the Skies of Fire icon style as created by the generic generator, modified to use the territory colors for the building colors (instead of all red as in the original map):
Note that in this version of the map, it's much easier to tell whether Miet belongs to Kiil or to the territory above it.

4 comments:

  1. Your work is really very good. It's all I ever dreamed of, actually. I hope you will continue and produce more.
    Have you ever looked to ancient "real" medieval maps,or Renaissance ? It pictured a lot of animals or boats for example in the seas, to fullfill maps and make it more alive. They did the same in deserts, mountains, or anything empty, actually. I hope you will be able to do things like this (even if it seems even more difficult than what you did already but...well...you did it, so why not ?)

    ReplyDelete
  2. Thanks very much! I have a number of real medieval maps in my references, and I do draw some inspiration from them -- although a surprising number of them are what we would consider awkward or clumsy!

    I actually did talk about adding sea monsters to the ocean in an earlier blog posting here: https://heredragonsabound.blogspot.com/2017/08/decorating-oceans-part-five.html Eventually I'll probably add similar decorations for land (although I don't personally like a map that has something in every possible open spot).

    ReplyDelete
  3. Hey! I just discover your blog because I search for a fantasy map generator, and the pics that you post was... incredibly better than that I have ever dream.
    It's look like drawing by an artist, but you say it's totally procedural, and I was very impressed.
    But I have question, from what I understood with my poor english skill, these maps was generated by Dragon Abound, a software that you develop.
    Althoug it's not finished yet, do is there a link for a beta? I don't find one but I need this software for my paper role play...
    Once against, I was very impressed by your work ^^

    ReplyDelete