More hills

Alistair O'Connor

Chieftain
Joined
Jul 13, 2021
Messages
1
Is it possible to easily create a mod or simply edit some game files to change world age values to allow for more hills to spawn in my games?
 
Yes, the file to mod/edit is <Civ VI install dir>\Base\Assets\Maps\Utility\MountainsCliffs.lua. At Lines 34-9 in the function ApplyTectonics() you will find some local variables that control the number of hills generated by the hills and mountains fractals:

Code:
local hillsBottom1 = 28 - adjustment;
local hillsTop1 = 28 + adjustment;
local hillsBottom2 = 72 - adjustment;
local hillsTop2 = 72 + adjustment;
local hillsClumps = 1 + adjustment;
local hillsNearMountains = 91 - (adjustment * 2) - extra_mountains;

The number of hills is directly proportional to the value of the "adjustment" variable, however the same value also controls the number of mountains. So you might want to add a separate local variable here for hill-specific adjustments.

The base game typically uses the following values for adjustment based on world age (values can vary by map type): new => 5, standard => 3, old => 2.
 
Back
Top Bottom