noxworld-dev / opennox

OpenNox main repository.
GNU General Public License v3.0
440 stars 23 forks source link

Wall corners from secret areas render in some cases, giving away their location #677

Open al0fdf opened 5 months ago

al0fdf commented 5 months ago

In Field of Valor, the walls near this secret area for some reason render, even though they shouldn't. This is present in the original game also: image

image

KILAH4716 commented 5 months ago

Unfortunately this is a map development issue.

The layout of walls are all at the corners of a grid, and determine how the wall intersects at the corner. So if we see that wall configuration, we see the complete configuration on our minimap. This'll be a difficult fix.

image

dennwc commented 5 months ago

I wonder if we can make it draw L shape instead of X shape if part of it is not visible :thinking:

I didn't look yet how the walls are store in the map and if the all have same codes for X shapes, for example. If not, that would be harder.

albertdev commented 4 months ago

Interesting, I never noticed those corners also were visible in the world. I always used the minimap to hunt for secrets.

Is it really something that needs changing though? One still needs to pay attention to find them all, so why make it harder?