View Full Version : Shuffle Plus


Darac
Jul 01, 2012, 03:38 PM
Hey all.

Just letting you know that I've entered into the modding world and I've madea map script for generating truly random maps.

I didn't find Shuffle was random enough for me so I've made my own that chooses from a lot of the maps that come with G+K as well as randomises their settings. It can also randomise the size (a little bit) to make a map more crowded or sparse for a little more variety.

Maps you can get from this are:

Continents Plus
Pangaea Plus
Small Continents
Terra
Oval
Frontier
Lakes
Inland Sea


These maps are also available and can use any of the previous land forms to generate.

Sandstorm
Arborea
Rainforest


Finally, these two type can also be generated but the above three will not use these if they are chosen:
Highlands
Archipelago

The options it randomises are:

World age
Rain fall
Sea level
Resources
Size
Temperature


I've also exposed options to allow you to select specific options you would like to play or you can leave them set to random (the default value).

Finally there are also options to allow you to disable specific maps. Or choose a specific map.

Here's the link the the Civ Fanatics Forum Download File:
http://forums.civfanatics.com/downloads.php?do=file&id=19534

Enjoy!

please leave your feedback and report any bugs you find.

------------

TODO
Maps soon to be added to random selection:

Fractal
A Perfect World
Tiny Islands


Bugs to fix:

Balance resources so that they are not more/less dense when the map size option is set to either Cramped or Roomy.

Darac
Jul 02, 2012, 05:42 AM
Released! link above.

wuTz
Jul 03, 2012, 09:24 PM
I will give this a try. Now I can play Continents Plus without the DLC?! :crazyeye:

The lua file has to go to the maps folder or is it possible somehow else to start this map? (on mod activated I can't find it in the setup of the game...)

Darac
Jul 03, 2012, 09:44 PM
Oh really? That's concerning. Umm you should be able to drop the map script into your Users/*username*/Documents/My Games/Civ5/Maps folder or where ever it is and you should be able to use it without loading the mod if it is in there.

I'll double check if it works when dumping it in the mods folder and activating it when i get home. No one else has mentioned that it's not working. But they possibly thought it was and just played with the normal Shuffle script. :/

Cheers,
Darac

P.S. I don't know if it'll work properly without the DLC, I haven't tested that.

wuTz
Jul 04, 2012, 12:59 PM
maybe it's because I'm using custom advanced setup by gedemon...anyways never mind, I just put it in the maps folder.

Do you know how it is when I select in the advanced options: random map. will it be one of the many maps or only one of the 4 standart from vanilla (i think it's pangäa, continents, small islands, earth)

Cause I like doing random maps, and if there is a chance to have your map scripts in the random maps it will be even more random... random :-)

Darac
Jul 04, 2012, 02:50 PM
Unfortunately I could not figure out how to edit the maps used by the random map option. Instead my map scrip includes those maps except for earth which I don't believe is included in the random map option anyway.

The only other difference is that my script uses continents plus and pangaea plus instead of the originals.

zande
Jul 05, 2012, 04:08 AM
Could you please add fractal to the maps list? then it will be reaaly THE random script

Darac
Jul 05, 2012, 04:11 AM
Sure thing, it'll be in tomorrow.

wuTz
Jul 05, 2012, 01:42 PM
There was an update in the workshop (v2), but I didn't see any changes?!

Darac
Jul 05, 2012, 03:23 PM
Version 2 corrected an install problem through steam workshop. The script itself didn't change. You'll have to resubscribe to it to get the change as I uploaded it as a new mod. I mistakenly hit the delete button thinking it would delete it from my local game, instead it removed it and all my subscribers from steam workshop.

cleaner
Jul 08, 2012, 10:23 AM
Thanks a lot for the script, I prefer to use the random maps whenever I play. :goodjob:

I'm a bit unsure though about the "Random" function in the game. Does it only select from some of the possible map types? Or is there really a chance for any of the ones included?

Darac
Jul 08, 2012, 01:34 PM
Selecting random map in the map script drop down in the non advanced menu only chooses either Pangaea, continents or archipelago. The same is true for the original shuffle script. Hence why I've created this script.

cleaner
Jul 08, 2012, 02:04 PM
Selecting random map in the map script drop down in the non advanced menu only chooses either Pangaea, continents or archipelago. The same is true for the original shuffle script. Hence why I've created this script.

I see, thanks for clearing that up. :) Does it select from all in the advanced setup though?

Darac
Jul 08, 2012, 02:38 PM
My shuffle plus script? No. Only the ones I've listed. There is no way to randomly select a map script and use that. I had to recreate all the scripts inside my own script to get it to work. The bonus to doing it this way though is I can mix and match scripts to get all new maps. Like a sandstorm lakes map for example.

If there are any maps you'd like added then simply request them here and when I get the time I'll add them in. When I get the chance I'm going to add Fractal and A Perfect World.

zande
Jul 08, 2012, 04:31 PM
I don't know if I'm asking too much but maybe you can add small continents and tiny islands too?

Darac
Jul 08, 2012, 04:46 PM
Small continents is already in there (see original post). I'll add tiny islands to the TODO list, personally I don't like tiny islands so I didn't add it.

zande
Jul 08, 2012, 05:17 PM
sorry, I already used your script but I missed it...

cleaner
Jul 11, 2012, 03:06 PM
My shuffle plus script? No. Only the ones I've listed. There is no way to randomly select a map script and use that. I had to recreate all the scripts inside my own script to get it to work. The bonus to doing it this way though is I can mix and match scripts to get all new maps. Like a sandstorm lakes map for example.

If there are any maps you'd like added then simply request them here and when I get the time I'll add them in. When I get the chance I'm going to add Fractal and A Perfect World.

Sorry for replying so late. I meant the game-integrated random function. :) As in, if I choose the Advanced Setup menu and pick a "Random" map and size there, does it select from any and all possible?

I personally would like to have all possible ones available in your map script as well, so I'm happy about any you'll add. The more choices, the better. :)

Thank you very much for the script! :w00t:

Darac
Jul 11, 2012, 03:29 PM
As far as I'm aware the advanced random only selects between Continents, Pangaea and Archipelago as well.

cleaner
Jul 12, 2012, 08:10 PM
As far as I'm aware the advanced random only selects between Continents, Pangaea and Archipelago as well.

:badcomp:
In that case I definitely have to use your script from now on. :goodjob:

Petek
Jul 12, 2012, 08:17 PM
I really like this idea for a mod. However, I ran into some problems:

1. The map for the attached save file was generated using your script. Selected Options were Huge, Prince, Marathon, Ancient era and Roomy. All other options left at default settings. The resulting map does not contain any Ancient Ruins (or at least I haven't found any in 58 turns), but the No Ancient Ruins option was not checked. Also, I see some graphical artifacts (such as the "blotches" near the Scout in the save file). You can see more of these if you reveal the whole map in debug mode.

2. If I start a new game with Shuffle + without exiting the program, I get a CTD ("Civ 5 has stopped working").

Any ideas? Thanks.

zande
Jul 13, 2012, 04:10 AM
I had random CTD too when generating the map, not always. never had without the script.

Petek
Jul 13, 2012, 11:14 AM
After more tests, some of the problems that I described appear to have been caused by using a huge map size together with the roomy size option.