Sid Meier's Civilization V

Sid Meier's Civilization V

1,216 个评价
Krakatoa Fix
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
1.683 KB
2012 年 11 月 19 日 上午 1:25
1 项改动说明 ( 查看 )

订阅以下载
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.
46 条留言
Sentenza_1989 2021 年 1 月 13 日 上午 6:22 
Thank you, very useful :) .
nadnerb0777 2020 年 11 月 11 日 下午 4:50 
More volcanoes!!!
BillyJoelWilliamson 2020 年 8 月 5 日 下午 5:13 
Upvoted
BillyJoelWilliamson 2020 年 8 月 5 日 下午 5:13 
This is a wonderful fix. Damnit. But seriously thank you for this I've seen this wonder placed like 45% of my games and before I downloaded this mod it was useful maybe twice in hundreds of games. Now I've seen this wonder spawn a few times with the mod and it has always been in a useful location.
slimmwillis 2019 年 6 月 14 日 下午 8:17 
make a mode where you can settle ocean tiles like in call to power the best civ ever
SCORPEANrtd 2017 年 12 月 13 日 下午 2:10 
Causes crashing when I reload saves
star 2016 年 9 月 4 日 下午 2:43 
crash on load/restart game

[3076535.045] no such column: Type
[3076535.045] In Query - select * from Natural_Wonder_Placement where Type = ? LIMIT 1
DankSoup 2016 年 7 月 3 日 上午 6:20 
Get Gibraltar, Reef, and Krakatoa Fix mod instead. Its by the same person.
Everything 2016 年 6 月 19 日 下午 9:34 
i've played almost 700 hours of this game and never seen this natural wonder. geez
JotNyangE 2016 年 4 月 15 日 下午 11:29 
Awesome fix!!