安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题






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.
I think this is what I did. Anyway, I will test it again. Thanks.
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?
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).
"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.
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.
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;
See this thread [forums.civfanatics.com] for instructions to clear your cache, and other common troubleshooting steps for CiV mods.