Sid Meier's Civilization V

Sid Meier's Civilization V

Randomize City Names
48 Comments
marcsazy 23 Jul, 2020 @ 4:20am 
Is the randomised list meant to be the same each time? Because every game I've had so far, each civ's city name list—although reordered—repeats itself each game. Is this a glitch or intentional?
Martel 6 Jul, 2018 @ 7:14pm 
>oakland
Alikalix 14 Sep, 2017 @ 5:11am 
Even if I change <AffectsSavedGames>0</AffectsSavedGames> to 1, delete cache, start a new game, the game still can't be loaded after saving. Moded civs don't randomize, only vanilla
Nutzzz  [author] 6 Feb, 2017 @ 10:13pm 
You need to start a new game after the change is made.
Alikalix 4 Feb, 2017 @ 12:59am 
"<AffectsSavedGames>0</AffectsSavedGames> when I changed this to 1, I couldn't load saved game
Majestät 11 Jan, 2017 @ 5:34am 
I'm only using this mod, Hunnic city names and Iroquian city names when it comes to this. Maybe your mod just doesn't reach the custom civilizations I install?
Nutzzz  [author] 10 Jan, 2017 @ 3:14pm 
Is it possible you're using whoward69's "Global - Random City Names" or an earlier version of this mod? In which case, it will only randomize mod civs if you're lucky and they happen to be loaded before the mod.

I also just noticed that I didn't enable "Affects saved games" for this mod (which should have been enabled; I wasn't clear at the time what that feature entailed). This oversight could cause issues between saves and loads if, e.g., you don't always load your saves from the mods menu rather than the main menu (which you should always do, BTW, even though it can be time consuming), or if your mod loadout was changed in any way. I'll update soon to fix that oversight, but you can also just edit the .modinfo file and change "<AffectsSavedGames>0</AffectsSavedGames>" from 0 to 1.
Majestät 7 Jan, 2017 @ 1:14pm 
Not on them all tho. Not the over 20 historical civs I've tried...
Nutzzz  [author] 7 Jan, 2017 @ 1:12pm 
@Foxforch: It does.
Majestät 6 Jan, 2017 @ 12:55pm 
It would be nice if this was working on mod civilizations too.
Nutzzz  [author] 1 Oct, 2016 @ 9:41am 
It's on CivFanatics, but the site is down at the moment. There's also a certain non-Valve website that shall go nameless, but it lets you copy the URL of a STEAM WORKSHOP mod and lets a DOWNLOADER get it directly from a .COM address. ;-)
Miles5280s 28 Sep, 2016 @ 3:27pm 
Workshop doesn't feel like downloading it; any chance of a direct download link?
YearsLate 28 Sep, 2016 @ 1:48pm 
This mod is always so enjoyable, thanks for it.
Scut 5 Oct, 2015 @ 11:49am 
@Nutzzz: Thanks, I didn't think there would be.
Nutzzz  [author] 4 Oct, 2015 @ 7:23pm 
@Scutshakes: I don't know of compatibility issues with ANY mod.
Scut 4 Oct, 2015 @ 1:42pm 
Does this work fine with CBP?
celticgfc 2 Aug, 2015 @ 7:35am 
@Nutzzz,
I think this is what I did. Anyway, I will test it again. Thanks.
Nutzzz  [author] 1 Aug, 2015 @ 10:03pm 
Look at the original v2 again. You need to run it once for all the civs that have been added up to that point, and set up a trigger to run it again any time a new city is added to the game by another mod after that point. Short answer: Replace lines 5-10 and 16-21 of the original with copies of the code you posted.
celticgfc 31 Jul, 2015 @ 6:14am 
I need some help. I would like to keep not only the capital, but also the first 8 cities before the randomizing begins. I found this code on CivFanatics, and inserted this into the sql file:
CREATE TABLE Civilization_CityNames_Temp AS
SELECT * FROM Civilization_CityNames c
WHERE rowid IN (
SELECT rowid FROM Civilization_CityNames n
WHERE c.CivilizationType = n.CivilizationType ORDER BY rowid ASC LIMIT 3
);
This works, but when I add this line to the code for custom civs, it does not work. What am i doing wrong?
Nutzzz  [author] 1 Jun, 2015 @ 8:13am 
Hm. Works for me.
HiddenKitten 29 May, 2015 @ 10:51am 
I'm finding this suddenly stopped working in the last month or two. Is it just me?
Nutzzz  [author] 10 Jan, 2015 @ 7:49am 
@Dong:
In SQL syntax, 2 hyphens (--) means that everything following those characters until the end of that line of text is a "comment" and should not be processed.

See line 26 of the file:
"--Use the following instead if you want to randomize the capital as well:"

Make all the lines that are before line 26 comments by adding "--" before (or you can just delete them entirely if you like). Then uncomment (delete the -- in front of) lines 29 through the end of the file except for line 34 (i.e., all of the actual commands that start with capital letters).
pprtrl 6 Jan, 2015 @ 2:25pm 
@Nutzzz

"Look at the sql file; it's already in there. Just delete the top half and uncomment the bottom half."

I'm looking at the .sql file, but I have literally no idea what to do, considering I'm fucking stupid. Please help.
Dovakim 6 Nov, 2014 @ 4:49pm 
Thanks
Nutzzz  [author] 30 Oct, 2014 @ 12:48pm 
Look at the sql file; it's already in there. Just delete the top half and uncomment the bottom half.
ViciousJawa 30 Oct, 2014 @ 7:19am 
Seems to work, I tried it with Scotland and it randomized the city names. What would be the easiest way to also make it randomize the capitol (could that lead to issues?)
Nutzzz  [author] 27 Oct, 2014 @ 4:28pm 
@Yotsuba: Can you give the new version a try with a bunch of modded civs? This could affect load time a bit. Let me know.
ViciousJawa 27 Oct, 2014 @ 12:59pm 
I'll give that a try, but you updating it sounds great as well. Thanks!
Nutzzz  [author] 27 Oct, 2014 @ 12:28pm 
@Yotsuba: If the order you're checking the circles doesn't seem to help, you might try deleting this mod from your mods folder and then unsubscribe and resubscribe.

However, I was planning on updating this mod to add a SQL trigger so users wouldn't have to worry about that. Thanks for the reminder, I'll look into it soon.
ViciousJawa 27 Oct, 2014 @ 11:29am 
"Should be compatible with new civilization mods as long as this mod is activated after the new civ mod." What exactly do you mean? Activated after? I'm trying to get it to work but I'm having trouble, I downloaded a lot of fanmade CIVs and then this but it doesn't seem to work. I also replaced the code with the one you posted below to randomize the capitol as well.
anom9n 8 Oct, 2014 @ 1:48am 
thanks! now game looks so fresh. this should be in advanced settings.
Nutzzz  [author] 27 Sep, 2014 @ 9:45pm 
@anom9n: Just replace the contents of RandomCities.sql with the following code instead:

CREATE TABLE Civilization_CityNames_Temp AS SELECT * FROM Civilization_CityNames;
DELETE FROM Civilization_CityNames;
INSERT INTO Civilization_CityNames SELECT * FROM Civilization_CityNames_Temp ORDER BY RANDOM();
DROP TABLE Civilization_CityNames_Temp;
anom9n 24 Sep, 2014 @ 1:09pm 
i want to randomize capitals as well :(
Sloth in Space 6 Jul, 2014 @ 11:17am 
@Nutzz: Hey, that actually fixed the problem for me. Thanks a ton, you're awesome!
Nutzzz  [author] 2 Jul, 2014 @ 11:39am 
@Sloth: Try clearing your cache. You'll have to reactivate all of your mods, though, so if you have a lot you might want to make a list first.

See this thread [forums.civfanatics.com] for instructions to clear your cache, and other common troubleshooting steps for CiV mods.
Sloth in Space 2 Jul, 2014 @ 10:39am 
For some reason this mod is not showing up in my in-game mod list after subscribing. Would really like to use it. :(
Dragoon 19 Mar, 2014 @ 8:38pm 
It seems this mod does not work somtimes. could just be me though because some of the poland city names seem so random to me and same with some of the other civs. Maybe they are real names though.
TPangolin 22 Dec, 2013 @ 4:58am 
Never travel to New Zealand then Mr. Saint if that's the case. Anyway, chiming in here to say "Cheers cuz", because I love playing with this mod. Super cool on TSL maps.
Fierysaint 18 Nov, 2013 @ 1:13am 
I call it SanfranSICKO because the city is full of sodomites! And Ghetto trash that say words like "Cuz"
Nutzzz  [author] 11 Nov, 2013 @ 10:48am 
I haven't experienced that. Are you sure it's this mod causing the bug?
agmariona 11 Nov, 2013 @ 8:15am 
Are there any plans to update this for BNW? It causes some bugs with trade routes and such.
Fierysaint 25 Jan, 2013 @ 6:42am 
Good! I cant stand NY, LA, and Sanfransicko always being my first few cities!
Nutzzz  [author] 20 Jan, 2013 @ 3:19pm 
Thanks for the confirmation. That's unfortunate.
rokky1818x 20 Jan, 2013 @ 7:11am 
i hope, i switched tomboktu to timbuktu and got another tomboktu on my 3rd city. i was like "wtf"?
Jorlem 4 Jan, 2013 @ 9:44pm 
A www. .. Still, thanks.
Nutzzz  [author] 4 Jan, 2013 @ 10:57am 
I'm not sure, as I don't typically rename cities. Because the list is randomized on game creation and not on city creation, you may still see that behavior.
Jorlem 4 Jan, 2013 @ 1:51am 
Ohh... This would also keep the same name from coming up repeatedly if you rename a city, wouldn't it? :D
isnorden 23 Sep, 2012 @ 7:38pm 
Very useful for testing a mod with a long list of city names; who's got the time to found 30+ cities without a cheat tool? :)