• We are currently performing site maintenance, parts of civfanatics are currently offline, but will come back online in the coming days. For more updates please see here.

Custom map size breaks world wrap.

Starcleaver

Chieftain
Joined
Oct 3, 2010
Messages
12
So, I have a custom map size issue where world wrap stops functioning properly.

If I do a 180x100 map, world wrap seems to work fine. I was trying to bump the size up a bit; I went to 189x105. At this point, world wrap breaks (mind you, during map generation World Wrap is definitely enabled, it was the first thing I checked on).

Specifically, camera pans no longer function to swing you around to the other side. If I pan right to the edge of the world, it should jump to the left side and continue to pan right, in a loop, but it doesn't. Camera pan stops on the edges in either direction every time. There's even an odd colored line of ocean running the height of the map where the world edge ends, strangely enough. With that in mind, perhaps if I played a full game world wrap for units would work fine, and they would transition from end to end, and it's just camera pan that's broken.

At any rate, is there some well known trick I need to be doing, or something? This is rather annoying, I just want to bump the size up a bit, and as far as I know mods like YANMP handle this without issue, don't they?
 
Gedemon reports that with Gathering Storm maps bigger than his "Enormous" (which as I recall is 180 x ?) cause late game crashes and other problems I think. 180 wide may be the magic number at which any larger setting (though allowed by the game) just no longer functions properly becuse of memory usages and what-not.
 
The vanilla sizes (and all YnAMP additional sizes) use even numbers. I'd try that first.

edit:
128x80 for "enormous", 180x90 for "Giant" and 200x100 for "Ludicrous"
200x100 is near the "loading without crashing" limit.
128x80 is near the "can play a full game" limit
 
That's interesting, thank you Lee and Ged, for sure. 180x100 is a map size I used for Rise & Fall without issue, and with a brieft test seemed to work okay in GS. But I only tested it once, cause I wanted to try bumping it up a bit; this would refect what you're saying for sure Lee. Again, thank you.

With that in mind, I'll try the even sizes that Ged has suggested. Each of my size attempts have indeed been odd. 185x105, the 189x105 (which maintaines that 1.8 ration I had with the 180x100), and a few others, all of which I think ended up with an odd in there.

Either way, heregoes! If I have to just return to 180x100 then oh well, it's not the end of the world I guess. I'll letcha know how it works out!
 
I'd say Ged's and Lee's info is definitely right. So, first off it seems even numbers do fix my world wrap issue. With that in mind, using a reveal script (that you provided to me a year ago or so to help validate a map error I was having Ged, thanks again :D ) to test the stability of the map seems to work without issue for me at 180x100. As I increase the size from there, say 190x100, or 180x110, or something of that nature, I start getting instability during the reveal tile test.

It looks like I'm definitely going to have to stay in the 180x100 range, or less, to attain stable play. Perhaps in normal play with the bigger sizes I'd see more stability than I do when revealing each tile one at a time (at a high speed, per the firetuner script you wrote a year ago). But, even were that so, as you've already mentioned, as the game worked its way towards the end eras, I'd probably run into issues, and may well do so already at 180x100. At any rate, I think I have a handle on things, and I feel like we definitely solved the world wrap issue (use even numbers in the map size it seems, as "odd" as that is), so I'll get to work on the map work I was meaning to do.

Thanks again Lee and Ged, much appreciated :)
 
Last edited:
Back
Top Bottom