s25client icon indicating copy to clipboard operation
s25client copied to clipboard

Frontier distance addon not working correctly

Open Spikeone opened this issue 7 years ago • 2 comments

The addon "Frontier Distance checks rechability" seems to not work correctly as it does not take all static objects into account. For example on wasteland maps stalagmites are not taken into account, thus indicating wrong distance.

image

I'm not sure if other map type specific objects (e.g. dead tree / skeletton on wasteland) or other specific objects (waterstone, broken ship etc.) are handled correctly.

Spikeone avatar Dec 29 '18 16:12 Spikeone

No objects are checked, only terrain. The idea was to not fail on e.g. trees or other objects that could be removed.

Although your case is valid, isn't it a bit too contrived? Would such objects really be used in such a way to block paths?

Flamefire avatar Dec 30 '18 14:12 Flamefire

Oh, thought static objects were taken into account :x

And actually yes, I often try to block some paths by using such things so you can create a map that looks a bit better. In my case I have the following scenario:

image

Red are the road blocking from top - middle - bottom. Also the terrain blocks different seas (green - orange. Violett has no harbors)

Spikeone avatar Dec 30 '18 16:12 Spikeone