Help with faster border growth mod?

JakeFr

Chieftain
Joined
Mar 12, 2017
Messages
1
Hey guys! I have no experience whatsoever with coding (although I'm willing to learn!) so please bear with me. I'm currently creating a mod that will change a few things that bother me in the base game such as technology and civic research speeds. Another goal I have for my mod is to increase border growth speed during the industrial era and beyond to fill up those ugly gaps in my city sprawl. Does my code look right to you? First of all, I'm not sure if I'm right in putting in an AND modifier to clarify what era I want this increase in (i.e. putting it like so: WHERE Name = 'CULTURE_COST_FIRST_PLOT' AND WHERE EraType ='ERA_INDUSTRIAL';). Also, will this carry over into later eras or will it just stay in the industrial era? Any help is appreciated. Thank you!

--Faster border growth
--- Make city borders expand faster
UPDATE Defines
SET Value = '10'
WHERE Name = 'CULTURE_COST_FIRST_PLOT' AND WHERE EraType ='ERA_INDUSTRIAL';

UPDATE Defines
SET Value = '7.5'
WHERE Name = 'CULTURE_COST_LATER_PLOT_MULTIPLIER' AND WHERE EraType ='ERA_INDUSTRIAL';

UPDATE Defines
SET Value = '1.15'
WHERE Name = 'CULTURE_COST_LATER_PLOT_EXPONENT' AND WHERE EraType ='ERA_INDUSTRIAL';

--- Increase maximum city borders
UPDATE Defines
SET Value = '8'
WHERE Name = 'MAXIMUM_ACQUIRE_PLOT_DISTANCE';
 
There is no Defines in civ6. In Civ6 the table is called GlobalParameters.

In either case, however, there is no column called EraType in the table for setting Defines/GlobalParameters.
 
Back
Top Bottom