how to spawn more natural wonders

Tekamthi

Emperor
Joined
Aug 12, 2016
Messages
1,953
I typically play 43-civ on huge maps. Several years ago I was able to spawn 11-14 natural wonders on these maps by adjusting the value to '17' at/around line 6686 in assignstartingplots.lua, as well as numnaturalwonders value in the 'worlds' table.

As I've returned to vp recently, I find this doesn't work anymore? Is there some other way to do this now?
 
Are you referring to the numnaturalwonders in the mapscript you're using? It might be taking precedence over assignstartingplots.
I set it to a flat 18 in both the Communitu mapscript and assignstartingplots, and also changed the fertility requirement in assignstartingplots line 5815
Code:
if self:plot_GetFertilityInRange(plot, 3) < 15 then
because the ocean wonders weren't spawning most of the time at the default value of 28. With these changes I see most of them spawn in any given map.
 
really advanced setup mod lets you place extra natural wonders among other features post map generation (or rather, after the map is generated but prior to the start of the game.)
 
Are you referring to the numnaturalwonders in the mapscript you're using? It might be taking precedence over assignstartingplots.
I set it to a flat 18 in both the Communitu mapscript and assignstartingplots, and also changed the fertility requirement in assignstartingplots line 5815
Code:
if self:plot_GetFertilityInRange(plot, 3) < 15 then
because the ocean wonders weren't spawning most of the time at the default value of 28. With these changes I see most of them spawn in any given map.
15 is pretty much no checking. The function returns 18 for all coast tiles in radius 3.
 
I use this changes to spawn 18 NW, sometimes need to generate new map because is 16-17.

Code:
if self:plot_GetFertilityInRange(plot, 3) < 15 then

Code:
self:PlaceResourceImpact(x, y, 6, math.floor(iH / 9))

With that change at PlaceResourceImpact NW at Large map are 9? blocks from each others, so its git gut, also.. it looks like this line force/helps when placing more NW at map. But cannot be too much/too less. Strange stuff.
 
Last edited:
Back
Top Bottom