[Fixed 1.11][Bug 1.10] Large maps do not render properly zoomed all the way out.

Steps to reproduce.

  1. Add the attached custom mission to the missions folder (C:\Program Files (x86)\Production Line\data\missions).
  2. Open Production Line
  3. New Game
  4. Select Unique Factory
  5. Zoom all the way out.

Note: When zooming in it will appear just not appearing when zoomed all the way out.

Edit: Appears to be cause from a limit of the number of tiles that can be rendered at one time. Moving around while zoomed out shows more tiles as others go off screen.

mission_unique.txt (3.93 KB)

Fixed for 1.11 :smiley:

Sounds good, which limitations must be met by a custom map?

the game will now draw 32,684 identical floor tiles of any specific floor image. The tiles still exist even if you go voer that, they just don’t get drawn. With lots of different floor textures you can go over that limit.
And when you zoom in, its only visible ones that count.

Hi Cliff,

the game crashes on start as soon as the x and y of the map size are not identical.
The attached factory will work even in 1.10 as long as the map size is set to 230 x 230 but it needs only to be 150 x 230 … but then it will crash on ‘creating factory’.
mission_crazy8.txt (5.36 KB)