Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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.