Megalopolis & Kerlaugar do not spawn extra TCs on larger map sizes

  • Game Version: Standard

  • Build Number: v.100.19.5934.0 (595758R)

  • Platform: Steam

  • Operating System: Windows 11

Issue: Both the maps Megalopolis & Kerlaugar do not spawn extra town centers on larger map sizes.

Megalopolis

On standard map size, a map will spawn 2 town centers (excluding your starting one), on large 3, and on giant 4. However, I have observed both Megalopolis & Kerlaugar do not do this. There might be more maps that I missed, since I only play large map size when the lobby host online sets it to that.

Looking in both of their RMS scripts, they both have the framework to do so, setting up thee restrictions for the extra settlements. However, they don’t actually do it for different reasons.

On Megalopolis, it doesn’t spawn the extra settlements due to the centerSettlementID being named as “bonus settlement” in line 77 of the code. Then, when it goes to make the actual bonus settlements, in line 178 of the code, it will fail when you try to name the bonusSettlementID to “bonus settlement” as well since that name is already in use. The solution is as simple as changing “bonus settlement” in line 77 to “center settlement”.

What I recommend:

centerSettlementID = rmObjectDefCreate("center settlement");

Kerlaugar

On Kerlaugar, you guys just forgot to put the place the town centers. Everything else looks fine, just forgot the actual line of code that will place the town centers.

Here’s what you guys will probably need to place after all the constraints for each settlement based on your trends. I’m sure you guys probably already know this, but I just like to help.

addObjectLocsPerPlayer(thirdSettlementID, false, 1, 80.0, -1.0, 100.0);
addObjectLocsPerPlayer(fourthSettlementID, false, 1, 90.0, -1.0, 100.0);

Unrelated to the bug report but I find it interesting that Kerlaugar has a separate category for a fourth town center as opposed to being like all other maps that simply just multiplying by the bonus settlements by the bonus factor to achieve the same effect.

1 Like