Page 1 of 1

[kovarex] [1.1.19] Blueprint only partially placed even is visible area.

Posted: Wed Jan 27, 2021 11:29 am
by Zavian
Hi

Whilst working on a set of rail blueprints for a city-block style game I noticed that blueprints failed to place completely even when they were placed entirely into the visible part of the screen.

Expected behaviour is that if all entities in the blueprint are visible on the screen, then the blueprint should be entirely placed.

My guess is that the cause is because area the player charts is smaller than the visible part of the screen.

Reproduction recipe.
Load the attached game. (aa.zip).
Zoom out to max distance.
Position the mouse in the bottom half of the screen, so that blueprint is visible.
Blueprint.placement.1.jpg
Blueprint.placement.1.jpg (740.94 KiB) Viewed 3817 times
Place the blueprint in the cursor. (The blueprint is also in the toolbar).
Blueprint.placement.2.jpg
Blueprint.placement.2.jpg (736.23 KiB) Viewed 3817 times
Observe that only part of the blueprint is placed.
Blueprint.placement.3.jpg
Blueprint.placement.3.jpg (720.92 KiB) Viewed 3817 times
Thanks for making my favourite game.

Re: [1.1.19] Blueprint only partially placed even is visible area.

Posted: Wed Jan 27, 2021 11:57 am
by Loewchen
That part of the map is still in fog, do the ghosts appear once you move to the right explore that area?

Re: [1.1.19] Blueprint only partially placed even is visible area.

Posted: Wed Jan 27, 2021 12:08 pm
by bormand
May be related to this fix.

Re: [1.1.19] Blueprint only partially placed even is visible area.

Posted: Wed Jan 27, 2021 12:54 pm
by Zavian
Loewchen wrote: Wed Jan 27, 2021 11:57 am That part of the map is still in fog, do the ghosts appear once you move to the right explore that area?
I don't consider anything that is visible on my screen (without being shaded or otherwise obscured/marked as not properly visible) as being in fog.

Most of the section that is cut off is being placed into a chunk that isn't charted on the map view. (In the example I also lose some curved rails that straddle the border).

A simple fix might be to just increase the players implicit 'radar' range to 100 tiles, the same as the visible edge of the screen at max zoom out (in vanilla).

Re: [kovarex] [1.1.19] Blueprint only partially placed even is visible area.

Posted: Mon Feb 01, 2021 5:16 pm
by kovarex
Thanks for the report, it is now fixed for 1.1.20

I was really thinking how to solve it, since I wanted to get rid of this discrepancy of building from map and building in the view, but sadly, I don't see a way for it to happen, as screens are rectangular, so making the charted area bigger (it would need 2 extra chunks) would make the charting too powerful compared to looking at the normal game view.