安装 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(越南语)
Українська(乌克兰语)
报告翻译问题








In the mod's folder, there is an 'LUA' folder. The first file in that folder is:
GovernmentOverview.lua
Using Notepad or some other text editor, open this file. Towards the bottom of the file, there's a line:
if (iGameTurn % 5 == 0) and pPlayer:IsHuman() then
Change the 5 to a higher number, e.g. 10, 50, 100, 1000, etc. Save the file, exit Notepad, then reenable the mod. Then you'll only see the Notification on turns that are divisible by the integer you replaced the '5' with.
And if for some reason it all falls apart, it's not problem. Simply delete the mod's folder from your computer, and the game will reload a fresh (unedited) version the next time you enter the Mods area.
The file to edit is in the same LUA folder, but is called:
GovernmentOverviewFunctions.lua
The changes required are a little different. Towards the bottom of this file, there is a function called 'SentNotification' - and the line looks like:
function SentNotification(iKey, NotificationStringLong, NotificationStringFading, iX, iY )
This is a general Notification handler for the mod. It provides the ability to display 5 different function types with the correct format, so calling functions don't have to worry about the oddities of the game's LUA syntax.
The easiest way to eliminate all Notifications is to add a single line directly at the top of the function, after the "function SentNotification(" line. The line would look like:
iKey = -1
This changes the value of the incoming iKey so that it would never find a match inside the nested 'IF' statements below. The constants that start with GOV_NOTIFICATION_... are all positive integers, so an iKey with a negative value would never find a match, resulting in no Notifications, ever.
And, again, save/exit the file, then reenable the mod to check the changes.