more natural wonders

Narodino123

Chieftain
Joined
May 11, 2014
Messages
6
I have been looking all over the place for a way to increase the number of natural wonders that spawn in a given map size, so far i have read that by changing just these numbers in the LUA files

local worldsizes = {
[GameInfo.Worlds.WORLDSIZE_DUEL.ID] = 2,
[GameInfo.Worlds.WORLDSIZE_TINY.ID] = 5,
[GameInfo.Worlds.WORLDSIZE_SMALL.ID] = 8,
[GameInfo.Worlds.WORLDSIZE_STANDARD.ID] =11,
[GameInfo.Worlds.WORLDSIZE_LARGE.ID] = 14,
[GameInfo.Worlds.WORLDSIZE_HUGE.ID] = 17

should change the spawn numbers, for each map size. It works fine when i just set up a normal world, but it dosnt work when i use mods with it, so i ask is it because when going trough the Mods it gets the AssignStartingPlots.lua from some where else, were as i have to change it too to take effect?
 
Mods will affect it if any of the mods include their own version of AssignStartingPlots.lua (and some do, especially if they add resources)

And bear in mind that those values are only maximums, if the generated map doesn't have enough places to put the NWs, there will be fewer on the map.
 
Mods will affect it if any of the mods include their own version of AssignStartingPlots.lua (and some do, especially if they add resources)

And bear in mind that those values are only maximums, if the generated map doesn't have enough places to put the NWs, there will be fewer on the map.

ahh there we go that might be it i have a mod that adds more resources, thanks for that, gonna try find the culprit and report back.
 
edited the LUA for a mod that added more resources, and set the wonder numbers to be max 11 in a standard map, i tested it and used reseed mod to check out the map i counted 10 wonders xD so it works. thanks for the help here, some times all you need is a second mind to tell you what you do wrong.
 
Back
Top Bottom