Sid Meier's Civilization VI

Sid Meier's Civilization VI

Yet (not) Another Maps Pack
Real City Naming for my own map
First of all, thank you for answering back, Gedemon, I really appreciate it. I will try to be as specific as possible since you said my question was rather generic.

So, I created a map in world builder. It's focused on Europe and it is a 'large' map (96x60). My intention is to create a World War II scenario for the map. I want the names of the cities to reflect their names in 1939 (ex: Stalingrad, Königsberg, etc). I don't need to designate a name for every tile, just the ones that I will place major cities on. I will use your Closer Cities mod as well in order to fit more major cities into smaller countries.

I have already gone into WorldBuilder and gotten the coodinates I will use for the cities and created a spreadsheet with the list of the X and Y coordinates, the city name and the CityLocaleName. I was following the advice of Andre.Miksha, the creator of the CONUS mod. He used YnAMP for his own map to create the Real City Naming. He explained in a discussion on his mod what files need to be used: CityMap.xml and MapText.xml. He also explains what you need to write in the files for the Real City Naming.

The only thing is, I don't know how to convert my map into the YnAMP model, or whatever it is I need to do in order to do this. I have GitHub and Notepad++ to do the work it's just I'm lost on how to get my map to the coding like yours are. I managed to find those files for the your maps included in Yet (not) Another Maps Pack and I see how you worked there.

Thank you for your help.
< >
Showing 1-15 of 15 comments
ZackAttack51801 1 May, 2020 @ 9:55am 
I should also mention, when I created the map in WorldBuilder, I had GS, R&F, Poland DLC, Macedon+Persia DLC, Vikings DLC and YnAMP enabled. So YnAMP was the only Steam Mod I had enabled
ZackAttack51801 1 May, 2020 @ 9:58am 
And you mentioned a YnABMC utility to create a YnAMP map script. How would do I do that? Thanks
Gedemon  [developer] 1 May, 2020 @ 11:48am 
Once you have a working map with city name, you can use that to automatically fill the map for a scenario too.
ZackAttack51801 1 May, 2020 @ 2:04pm 
Thank you very much, Gedemon. I appreciate you taking the time to help me.
ZackAttack51801 2 May, 2020 @ 5:32pm 
Okay, so I have gotten it to partially work. The issue is, all of the cities are founded as: "LOC_CITY_NAME_ . . . _(INSERT CITY NAME HERE)" Clearly, the Map.xml file worked but the MapText.xml file didn't. Do you know why? Thank you again for all of your help.
Gedemon  [developer] 2 May, 2020 @ 5:36pm 
If the MapText.xml is not loading, 2 possibilities: an error in the .modinfo file (but if you used YnABMC it should be ok) or an error in the file itself, try to check it with that tool:
https://www.xmlvalidation.com/
ZackAttack51801 2 May, 2020 @ 6:09pm 
I checked the file for validation and it said there were no errors. I used YnABMC so I don't think there's an issue with the .modinfo file. I edited the files in Notepad++ but when I go to the MapText.xml file without Notepad++, the tag and text parts are reversed. So on Notepad++, it goes:
<Replace Tag="..." Text="..." Language="en_US" />,

but without Notepad++ it goes:
<Replace Language="en_US" Text="..." Tag="..."/>.
Could this different order have something to do with it? Like, should I reverse the order of Text and Tag in Notepad++ do you think?

PS: I'm kind of a coding noob
Last edited by ZackAttack51801; 2 May, 2020 @ 6:10pm
Gedemon  [developer] 3 May, 2020 @ 1:24am 
the order has no importance, but are you looking at the SAME file ???
ZackAttack51801 3 May, 2020 @ 9:50am 
I have gotten it to work. I just changed the CityLocaleName to the name I had put in "text=" in the MapText.xml file. Thank you very much for all of your help, Gedemon. It means a lot that you took the time to help me despite having no obligation to do so.
ZackAttack51801 12 Aug, 2020 @ 12:55pm 
I have run into a problem with my map. The real city naming, TSL, wonder placement, city states are all fine. However, for some reason, the game says there was a startup error and it has the "manage mods" or "close" options. I checked the lua logs and it looked like there was an error with the river placement. I tried again where instead of selecting "import" on rivers, I selected "map generator". The game loaded and everything worked, it's just the rivers were now random and not how they were supposed to be. What should I do to fix this issue to get it where the rivers are imported and it will load? Thank you for your help.
ZackAttack51801 12 Aug, 2020 @ 1:01pm 
Could it have to do with the density of the rivers? There are probably well over 100 of them on this map.
ZackAttack51801 13 Aug, 2020 @ 11:31am 
I looked through the lua log after I recreated the error and it says there were errors in the functions "CheckFlowDirectionValid", "GetRiverNeighbors" and "MarkRiver". Does anyone know how to fix this? Help would be very much appreciated!
Gedemon  [developer] 13 Aug, 2020 @ 8:20pm 
log please
ZackAttack51801 18 Aug, 2020 @ 9:35am 
Nvm, I got it to work. I just went back, removed a few rivers and then put the WorldBuilder map through the bit converter again and it worked. Sorry for wasting your time.
< >
Showing 1-15 of 15 comments
Per page: 1530 50