Civitar
Adventurer
I'm making a small mod that will allow civs to found many cities with no penalty for the number of cities.
I'm just using one small bit of SQL code, which is the following:
The comments should explain what each line does.
My question is, is there anything else that needs to be modded to truly remove all penalties from large cities? Basically, what have I missed?
Also, how can I make Settlers less expensive (in the database they are set to have 0 Cost - then ingame they cost lots more than that) - i.e. where is the cost of building a Settler defined?
Finally, what text entries do I need to edit to reflect these changes? Probably some Civilopedia bits or UI text keys...
Thanks for any responses!
I'm just using one small bit of SQL code, which is the following:
Code:
UPDATE Defines SET Value = 0 WHERE Name = 'UNHAPPINESS_PER_CITY'; [COLOR="Red"]--removes happiness penalty for founding new cities[/COLOR]
UPDATE Defines SET Value = 0.5 WHERE Name = 'UNHAPPINESS_PER_POPULATION'; [COLOR="Red"]--reduces unhappiness from large cities[/COLOR]
UPDATE Defines SET Value = 3 WHERE Name = 'UNHAPPINESS_PER_CAPTURED_CITY'; [COLOR="Red"]--reduces unhappiness from captured cities[/COLOR]
UPDATE Defines SET Value = 1 WHERE Name = 'UNHAPPINESS_PER_OCCUPIED_POPULATION'; [COLOR="Red"]--reduces unhappiness from subjugated population[/COLOR]
UPDATE Units SET CaptureClass = 'UNITCLASS_SETTLER' WHERE Type = 'UNIT_SETTLER'; [COLOR="Red"]--stops Settlers from being downgraded to Workers upon being captured[/COLOR]
UPDATE Worlds SET NumCitiesPolicyCostMod = 0; [COLOR="Red"]--removes boost to policy costs for each city founded[/COLOR]
UPDATE Worlds SET NumCitiesTechCostMod = 0; [COLOR="Red"]--removes boost to tech costs for each city founded[/COLOR]
My question is, is there anything else that needs to be modded to truly remove all penalties from large cities? Basically, what have I missed?
Also, how can I make Settlers less expensive (in the database they are set to have 0 Cost - then ingame they cost lots more than that) - i.e. where is the cost of building a Settler defined?
Finally, what text entries do I need to edit to reflect these changes? Probably some Civilopedia bits or UI text keys...
Thanks for any responses!