Resource icon

Scaled Starting Plots 0.1

Seven05

Warmonger
Joined
Dec 5, 2005
Messages
2,056
Location
USA
***Designed for Gathering Storm only

This simple mod was designed for exactly one purpose:

If you use fewer than the default number of players (and/or city states) it will dynamically force them to spread out more. This will effectively eliminate cases where you have clusters of players starting close to each other while others start isolated very far away. City states can still cluster up as they will fill in spaces between major civilization starting positions.

So, if you want to play a game with a reduced number of civilizations and not still start right on top of your neighbor this mod will help. If you want better starting locations, more balanced starting locations, better or different resources around starting locations, maps with an "old world" without any civilizations or pretty much anything else this mod will likely not deliver what you are looking for.

It will technically work the other way around with more players than the map was designed for but that was more of a functional side effect than the intended result. However it does work pretty well if you start with fewer players and more city states than the map default.

This mod does not prevent the AI from wandering all over with their starting settler so if you end up closer than expected they probably took that settler for a little stroll before founding their first city.

How it works:
Basic math. We take the difference of the number of players at game start and the number of default players for the chosen map size and use that to change the minimum distance for the starting settlers to spawn. For example a large map designed for 10 players will move starts 5 tiles further away from each other if you only have 5 players when you create the game. Well, technically it doesn't move anything, it creates a buffer preventing another starting being selected within that defined range and that range changes if you change the number of players in your game. There are two hard limits- the minimum buffer is 8 tiles and the maximum is 16 (the default game uses 9).

This is done dynamically to prevent, or significantly reduce, the chance of there not being enough space for all desired players and/or city states to spawn as you may have seen by simply changing the global value for the minimum start distance. Since it is dynamic it will also work the other way around and push the starting locations closer together if you have more than the default number of players or city states.

There is also a "safety check" in place to try to prevent cramming multiple players on a small landmass. This is done by simply testing the map for the available number of land tiles per player and using that to set a minimum landmass size for multiple starting plots. It does not force multiple starting locations onto large landmasses nor does it attempt any sort of "new world" or "old world" separation.

WARNING:
If you use extreme differences between the number of players in your game and the default number of players for that map size you may have unexpected results. Don't do that. In other words, if you want to use 20 players on a small map you will break this mod- not my fault since I warned you with bold red text!

If you like to play on itsy bitsy maps, don't use this mod- it probably won't help. Standard maps work, large and huge maps work very well.

Compatability:
This mod will not work along side anything that modifies the original AssignStartingPlots.lua file. (YnAMP or anything with TSL for the most part).

This mod will work fine with my Detailed Worlds mod as well as other map scripts that don't try to do anything other than make maps. More involved map scripts like Perfect World and Got Lakes? that internally override the starting plot code will work but this mod will have no effect. Mods that only alter world sizes will be fine but if the author did not adjust the default number of players or city states for their map sizes it may not work as expected.

Disclaimer:
This mod does not affect ANYTHING except the allowable distance between starting plots and the number of allowable starting plots on small landmasses. If the game loads and you have your starting settler this mod has worked and is done. Any game play after that has nothing to do with this mod including, but not limited to, barbarians, natural wonders, goody huts, strategic resources, luxury resources, bonus resources, food yields, production yields and hair loss.
 
Last edited:
This mod will not work along side anything that modifies the original AssignStartingPlots.lua file. (YnAMP or anything with TSL for the most part).
A great idea and I was fairly intrigued with it until I read this part. I forgot YnAMP has it's own AssignStartingPlots file. :(
 
Yeah, that's why I've tried to keep that file out of my Detailed Worlds mod for so long. With YnAMP I'm not sure you really need this though, I just felt like a game with fewer Civs since I like that sometimes and forgot that Civ 6 is pretty awful about piling your neighbors on top of you when you do that. I just ripped this part out of my old Larger Worlds mod in about 5 minutes and figured I'd share it :)
 
No worries. I'm also fairly certain that it's not necessary with YnAMP as well. Other than CSs, I haven't really noticed any clumping. Having said that, it was the dynamically changing minimum distance aspect of this that really piqued my interest.

I'm getting ready to reintroduce your DW to my mod list, so hopefully it & YnAMP will still play nice.:please:
 
I'm getting ready to reintroduce your DW to my mod list, so hopefully it & YnAMP will still play nice.:please:
They should, as long as you don't try to use parts of YnAMP that weren't meant to be used with random maps. I've tested it for the world sizes and it worked but I didn't try anything else.
 
That does not bother me, YnAMP has some really odd things done to it making it not playable in my opinion. Thanks for this work bro.
 
Nice mod, is it ok to use it with latest GD version?
After what I read it should work with "Larger Map Sizes" mod right?
 
Last edited:
Top Bottom