moo-man / FVTT-DD-Import

Allows Importing Dungeondraft map files into FoundryVTT
MIT License
59 stars 27 forks source link

Offset doesn't seem to do anything #84

Open DenMesh opened 3 years ago

DenMesh commented 3 years ago

Foundry 0.7.10 UBI 1.1.1

This is a map imported from Dungeondraft at 0 offset image

This is a map imported at 0.5 offset image

I fail to see any difference, which leads me to believe something is not right: either I do not understand how offset works, or UBI ignores the feature.

Background: My players have been complaining that they can't move diagonally across corners. To fix this I need to move wall nodes out, so that the corner itself is not considered a wall. Doing this for all corners is likely to be tedious, and offset seemed to be just the tool for the job.

m42e commented 3 years ago

This works as intended. The offset is currently only effective for walls that have more than 10 and more than 70 very short walls, as in caves. At the moment this is not configurable, nor enforceable.

m42e commented 3 years ago

I can propose a "forceOffset" setting, but I am not sure it will work under all conditions, as it assumes walls to all be clockwise. And I am currently not sure about it.

m42e commented 3 years ago

You can have a look at https://github.com/m42e/FVTT-DD-Import/tree/forceoffset if you use the files from there it might work