Sid Meier's Civilization V

Sid Meier's Civilization V

862 ratings
Krakatoa Fix
File Size
0.002 MB
Nov 19, 2012 @ 1:25am
1 Change Note ( view )

Subscribe to download
Krakatoa Fix

This mod fixes the placement requirements of Krakatoa to increase its chances of being a workable tile.

This one has bugged me for a while. In the default game, Krakatoa usually spawns out in the middle of the vast ocean and wastes a good natural wonder slot for the given map being played (and it spawns often!). Not only that, but it wastes resources as well when they spawn around it in the middle of nowhere.

First, the reason it does this is due to an error in the code. "AdjacentTilesRequireShallowWater" is set to true, yet its parent tag"AdjacentTilesCareAboutTerrainTypes" remains at its default value of false and overrides it. This is why the wonder spawns out in the middle of the ocean and why, with logging enabled, it lists a ridiculous number of possible candidates for this wonder's placement (it's counting lots of ocean tiles). The adjacent tiles around Krakatoa are only all shallow water because of "SetAdjacentTilesToShallowWater" which converts them once the wonder is plopped into the ocean.

Setting "AdjacentTilesCareAboutTerrainTypes" to true basically fixed that issue alone. But I went a step further and made the requirements slightly more selective to better ensure that the volcano spawns more often at 2 tiles from land and has a much better chance of becoming a workable tile.

So, I added another parameter which only lets Krakatoa spawn on shallow water tiles (coast) instead of just any water tile. This prevents it from spawning on ocean adjacent to the coast and potentially being unworkable (4 tiles from land). Also, I increased the required initial number of shallow water tiles from 1 to 4. This ensures that Krakatoa doesn't spawn way out on the tip of coastal tiles branching out into the deep water and helps keep it closer to land.
< >
dat boi May 11 @ 2:33pm 
Could we get a direct download link for Mac please? I'd love to download this mod and your other ones but I'm afraid I can't on Mac without a direct link!
DoggieFlower[KOR][ENG]노딲! Apr 15 @ 11:29pm 
Awesome fix!!
Jizmak Nov 18, 2015 @ 11:19am 
Very nice fix !!
Johnny Foodstamp Jul 29, 2015 @ 5:38am 
I was playing a game earlier in the week and I had Krakatoa available to me on a small island city. Ever since I've read it's rare to get. Go me! By the way, it's only 5 science, which was nice but by no means as good as some of the other mountain wonders.
codystrong Jan 17, 2015 @ 12:30pm 
Mac download??
Ian Jan 4, 2015 @ 2:58pm 
Very simple concept fixing a massively irritating issue. Literally no reason not to run this mod. Thank you Barathor
kkr685 Oct 24, 2014 @ 3:40pm 
direct download for mac, please?
Gigaminc Aug 26, 2014 @ 5:12am 
Tesiphon Jul 6, 2014 @ 12:33pm 
Thanks for the swift reply - the is actually the only mod I have running atm, so there is nothing that could be conflicting. I'm just using the standard maps, although I tend to prefer Continents Plus.
Barathor  [author] Jul 6, 2014 @ 12:00pm 
It does; see my comments below. It's actually a very simple XML mod which changes the value of four existing items (three of them are just booleans) to enhance/correct the placement of Krakatoa.

I'm curious, what map script are you playing on? If you're using a map script mod, or something that messes with map generation, it's possible that it could be overriding this fix. Another culprit could be some simple XML mods which alter/redefine natural wonders. If so, try enabling this mod last (order matters) after others you think may be conflicting.