more natural wonders

Status
Not open for further replies.

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?
 
I dont know if i need to bump this thread or maybe im just asking in the wrong forum part? but id really like to know what im doing wrong seeing it dosnt work.
 
Modding subforum is probably the best way to go.

I recently made my own mod where I upped the number of natural wonders (had 10 for a Huge map) which worked okay.

Be aware that the worldsize variable shows up at least twice in the lua file. Not sure which one(s) is necessary but I changed both to be sure.

From what other modders say, there may be circumstances where not all the natural wonders can be placed. Due to the number of major civs and CS', there might not be available space on the map. Alternatively, many natural wonders have geographical restrictions so depending on the type of map there might not be any valid terrain.

In theory you should be able to combine mods. Worst case scenario you could manually combine the mods yourself.

I did notice some quirks with the lua. When I tried to randomly generate maps through World Builder through the SDK, it often appeared to not utilize my modified lua. But the map did mostly end up working right when I used the mod in the actual game. (Though even then there were some minor quirks. Another thing I did was modify the ripple value for natural wonders and that mostly worked but not completely).
 
Modding subforum is probably the best way to go.

I recently made my own mod where I upped the number of natural wonders (had 10 for a Huge map) which worked okay.

Be aware that the worldsize variable shows up at least twice in the lua file. Not sure which one(s) is necessary but I changed both to be sure.

From what other modders say, there may be circumstances where not all the natural wonders can be placed. Due to the number of major civs and CS', there might not be available space on the map. Alternatively, many natural wonders have geographical restrictions so depending on the type of map there might not be any valid terrain.

In theory you should be able to combine mods. Worst case scenario you could manually combine the mods yourself.

I did notice some quirks with the lua. When I tried to randomly generate maps through World Builder through the SDK, it often appeared to not utilize my modified lua. But the map did mostly end up working right when I used the mod in the actual game. (Though even then there were some minor quirks. Another thing I did was modify the ripple value for natural wonders and that mostly worked but not completely).

so should i make a new thread over in the modding forum? also currect me if im wrong modding the LUA didnt quite work for you too untill you made a mod needed to be activated on the side? also is this something easy to mod? as in i could get anyone to maybe make a mod quickly for me?
 
Status
Not open for further replies.
Back
Top Bottom