New Map City Names Development Thread

And done with the next batch of names, covering names beginning with the letters M-R. With this, about 75% of all city names have been implemented, and the CityNames.py module is now at almost 15000 lines. For now I will return to normal development for a while, but the next round of city names should finally complete the work on this feature and we will be very close to bringing city names back to DoC.
 
Thanks! It will take a time until I am receptive to suggestions for city names, because I am still in the middle of the first pass of setting the system up.
 
Alright, I have completed a good chunk of my overall to do list in recent weeks. So now I am ready to get back to city names. I expect to complete the remaining city names before returning to general development. That includes implementing the actual logic for using all the new city names, so when I get back from this we should have working city names again. But overall I expect that to take a few weeks.
 
I finally completed working through all the city name material including additional online research, to define city name changes and translations for most tiles on the map. The current city name manager is almost 20,000 lines long and almost three times the size of its 1.17 predecessor. It covers a ridiculous number of cities, many unlikely to ever be founded or ever be triggered in typical gameplay, but they are covered nonetheless. It is also way more detailed about giving cities different names throughout history, and changing the city that occupies a given tile based on a number of factors.

The only thing that is missing is to actually implement the logic to use all these city names. Like I explained before, the goal here is to make things more dynamic and flexible, so that it is impossible for a given civ to not have a name for a tile, and instead there is always some kind of fallback.

That is going to take a bit of additional time, but in comparison to the mountain of research I have now behind me it should be done fairly quickly, so expect city names to return to DoC 1.18 soon.
 
What a monumental accomplishment! 20K lines, my oh my:hatsoff::faint:
 
New dynamic city names are up! I won't spend much time on describing how they work because I covered most in earlier posts in this thread and the best way to find out is in the game itself.

I spent the last couple of days to make sure the new names align with all the scenarios and in general smoothing out some issues. Of course, even the current state is not perfect, and I plan to further iterate on it based on your feedback. Please use the City Names Feedback thread to report issues or make suggestions.

One thing I do want to note that I have no better place to mention it: you can also manually rename cities again (the intermediate state was quite aggressive about overriding manual renames). Doing so opts the city out of the dynamic city name system entirely until the AI gains control of it. If you want to restore the dynamically determined name again, you can do so by clicking the city name to open the renaming dialog and then leaving the edit box empty.
 
Last edited:
Back
Top Bottom