Resource icon

Golden Ages v1.1

greyTiger

Warlord
Joined
Oct 7, 2010
Messages
198
Location
Australia
greyTiger submitted a new resource:

Golden Ages - Adds a new Golden Age mechanism that uses a percentage of Great Prophet, Writer, Artist and Musician

1) OVERVIEW

Introduces Golden Ages to the game. Each turn your Great Artist, Musician, Prophet and Writer points are added together and then a percentage (default of 30%) is added to your next Golden Age progress. When you reach the target for the next Golden Age your progress is reset and your Civilization enters a period of increased Culture, Production and Science (default of 25%) for 10 turns.

The length of your Golden Ages, percentage of Great People points converted each turn, and...

Read more about this resource...
 
SQL TABLES

Code:
CREATE TABLE IF NOT EXISTS GoldenAgeBonuses
(
   CivilizationType TEXT default 'ANY',
   LeaderType TEXT default 'ANY',
   PropertyName TEXT,
   Modifier INT default 0
);

CREATE TABLE IF NOT EXISTS GoldenAgePolicyBonuses
(
   PolicyType TEXT,
   PropertyName TEXT,
   Modifier INT default 0
);

CREATE TABLE IF NOT EXISTS GoldenAgeBeliefBonuses
(
   BeliefType TEXT,
   PropertyName TEXT,
   Modifier INT default 0
);

CREATE TABLE IF NOT EXISTS GoldenAgeGreatPeoplePoints
(
   CivilizationType TEXT default 'ANY',
   LeaderType TEXT default 'ANY',
   GreatPersonClass TEXT,
   Modifier INT default 0
);

CREATE TABLE IF NOT EXISTS GoldenAgePolicyGreatPeoplePoints
(
   PolicyType TEXT,
   GreatPersonClass TEXT,
   Modifier INT default 0
);

CREATE TABLE IF NOT EXISTS GoldenAgeBeliefGreatPeoplePoints
(
   BeliefType TEXT,
   GreatPersonClass TEXT,
   Modifier INT default 0
);

CREATE TABLE IF NOT EXISTS GoldenAgeBuildingPoints
(
   BuildingType TEXT,
   PointsPerTurn INT default 0
);
 
Great idea, but there's two things I think need to be addressed:

1. I think Russia's Lavra would become crazy strong with this, as it grants five times as many GPP as any other district while being cheaper to build, and all the GPP count towards golden ages.

2. Cards that give bonuses when in golden ages are not a good idea I think, because that would just mean that, as soon as you get into a golden age, you swap all cards, and as soon as the golden age ends, it swaps back. Probably better to have cards that increase golden age progress or something like that.
 
Last edited:
@Erty358. Yes. Will work with all civs, official and modded. Also integrates with the CQUI and NQUI mods as the new panel on the worldtracker is injected at runtime.
@It's true that Russia will have an advantage with this mod, though I feel the 25% default bonus to Culture, Science and Production is not too overpowered. It's also true that switching the policies in\out around a Golden Age is possible but as NameAlreadyUsed mentions that can be part of the fun (being as efficient as possible). The policies do have some bonuses that are always active, and are rrestricted to the wildcard slot so it's hard to go too overboard.
 
This error always pops up in the Database log:

Code:
[2005975.887] [Database] ERROR: UNIQUE constraint failed: IconAtlasTextures.Name, IconAtlasTextures.IconSize
[2005975.887] [Database]: While executing - 'insert into IconTextureAtlases('Name', 'IconSize', 'IconsPerRow', 'IconsPerColumn', 'Filename') values (?, ?, ?, ?, ?);'
[2005975.887] [Database]: In XMLSerializer while inserting row into table insert into IconTextureAtlases('Name', 'IconSize', 'IconsPerRow', 'IconsPerColumn', 'Filename') with  values (ICON_ATLAS_POLICIES, 32, 8, 8, Policies32.dds, ).
[2005975.887] [Database]: In XMLSerializer while updating table IconTextureAtlases from file E:/My Documents/My Games/Sid Meier's Civilization VI/Mods/Reformation Golden Ages/XML/Icons/Icons_Policies.xml.
[2005975.887] [Database] ERROR: UNIQUE constraint failed: IconAtlasTextures.Name, IconAtlasTextures.IconSize

I'm not entirely sure why. I have custom policies from other mods that don't cause this issue. It doesn't seem to manifest ingame. Just letting you know about it.
 
This error always pops up in the Database log:

Code:
[2005975.887] [Database] ERROR: UNIQUE constraint failed: IconAtlasTextures.Name, IconAtlasTextures.IconSize
[2005975.887] [Database]: While executing - 'insert into IconTextureAtlases('Name', 'IconSize', 'IconsPerRow', 'IconsPerColumn', 'Filename') values (?, ?, ?, ?, ?);'
[2005975.887] [Database]: In XMLSerializer while inserting row into table insert into IconTextureAtlases('Name', 'IconSize', 'IconsPerRow', 'IconsPerColumn', 'Filename') with  values (ICON_ATLAS_POLICIES, 32, 8, 8, Policies32.dds, ).
[2005975.887] [Database]: In XMLSerializer while updating table IconTextureAtlases from file E:/My Documents/My Games/Sid Meier's Civilization VI/Mods/Reformation Golden Ages/XML/Icons/Icons_Policies.xml.
[2005975.887] [Database] ERROR: UNIQUE constraint failed: IconAtlasTextures.Name, IconAtlasTextures.IconSize

I'm not entirely sure why. I have custom policies from other mods that don't cause this issue. It doesn't seem to manifest ingame. Just letting you know about it.

I was encountering this after the fall patch myself. Have you upgrades to version 1.1? as it no longer includes the Icon_Policies.
 
Very nice! Now we need Dark Ages:satan:

I have been thinking about how a Dark Ages mod could work. It's something that I think could add another dimension to the game. Working on several mods at once at the moment, but it's bubbling away in the back of my mind :hammer2:
 
Back
Top Bottom