DICE PACKS BUNDLE
Page 1 of 2 12 Last
  1. #1

    Map layers are always misplaced when doing an encounter [webm+xml]

    Hello fellow roleplayers,

    So I had quite an issue so far and I couldn't find a solution for it.

    When I open the map from the assets [webm+xml] I have no issues with the base and layers. (wall, lightning)

    When I open the map from the images, I have no issues again.

    When I make an encounter by either using the map from the assets or the images, the base size is modified and the layers (wall, lightnning) are always displaced.

    I have even tried to reset the combat tracker with a fresh PC and NPC and still the same issue.

    Here is the video showing the setup and the issue :
    https://vimeo.com/manage/videos/1046153554

    Do you have any idea on what to do ?

    Thank you for your help!

  2. #2
    Thanks for the video. I've escalated to Carl to review.

    Can you please provide a copy of the campaign folder zipped up, so I can pass along to Carl as well?

    Regards,
    JPG

  3. #3
    Quote Originally Posted by Moon Wizard View Post
    Thanks for the video. I've escalated to Carl to review.

    Can you please provide a copy of the campaign folder zipped up, so I can pass along to Carl as well?

    Regards,
    JPG
    Hello Moon Wizard,

    Great, I'll try to do that this evening should I have the time to.

    Sincerely,
    LordDante123

  4. #4
    It may not be related but I am getting a shift in the entire LOS layer when using FoWEnhanced Extension (all rulesets) - ext. I did post in the thread to the author but I thought I would add to this that there may be a larger underlying issue and it might be impacting both.

  5. #5
    As the author of FoWEnhanced I don't yet know the root cause. I suspect (but have no confirmation) that there was a change associated with the header and it does something different when it see the older header. Maybe Moon/Carl can confirm if that is remotely possible.

    I use sOutput = '<?xml version="1.0" encoding="utf-8"?><root version="4.1" dataversion="20210708">'..sOutput.."</root>";
    but I note the moduledb dir uses <root version="4.6" dataversion="20241002" release="8.1|CoreRPG:6">

    I keep looking for the cause...

    Jason

  6. #6
    Quote Originally Posted by Moon Wizard View Post
    Thanks for the video. I've escalated to Carl to review.

    Can you please provide a copy of the campaign folder zipped up, so I can pass along to Carl as well?

    Regards,
    JPG
    Hello Moon Wizard,

    So I've tried again by make a copy of both webm and xml file and the same happened but one major change.

    No only the lightning is out of the picture and the base is bigger because of the lightning out of place.

    The wall layer is correct now.

    Here is the zipped file :
    https://drive.google.com/file/d/14JW...ew?usp=sharing

    I'll give you access when you will ask for the file.

    Regards,
    LordDante123

  7. #7
    Quote Originally Posted by nephranka View Post
    It may not be related but I am getting a shift in the entire LOS layer when using FoWEnhanced Extension (all rulesets) - ext. I did post in the thread to the author but I thought I would add to this that there may be a larger underlying issue and it might be impacting both.
    Can confirm. When hitting the FOW Load while using this extension it shifts everything. Only way to reset is to 'revert changes' which has destroyed 3 maps so far in Dungeon of the Mad Mage.

    I know, I know, extensions = risk!

  8. #8
    I have produced the issue reported by OP without any extensions.

    This looks entirely in the hands of Carl/Moon. FoWEnhanced seems to hit the issue particularly bad but looks identical to the issue OP reported.

    Jason

  9. #9
    pindercarl's Avatar
    Join Date
    Jan 2015
    Posts
    1,124
    Blog Entries
    2
    Quote Originally Posted by LordDante123 View Post
    Hello fellow roleplayers,

    So I had quite an issue so far and I couldn't find a solution for it.

    When I open the map from the assets [webm+xml] I have no issues with the base and layers. (wall, lightning)

    When I open the map from the images, I have no issues again.

    When I make an encounter by either using the map from the assets or the images, the base size is modified and the layers (wall, lightnning) are always displaced.

    I have even tried to reset the combat tracker with a fresh PC and NPC and still the same issue.

    Here is the video showing the setup and the issue :
    https://vimeo.com/manage/videos/1046153554

    Do you have any idea on what to do ?

    Thank you for your help!
    Can you provide a copy of the image asset and XML metadata that you are using? I haven't been able to reproduce with images I have locally. Thanks.

  10. #10
    pindercarl's Avatar
    Join Date
    Jan 2015
    Posts
    1,124
    Blog Entries
    2
    Quote Originally Posted by jharp View Post
    As the author of FoWEnhanced I don't yet know the root cause. I suspect (but have no confirmation) that there was a change associated with the header and it does something different when it see the older header. Maybe Moon/Carl can confirm if that is remotely possible.

    I use sOutput = '<?xml version="1.0" encoding="utf-8"?><root version="4.1" dataversion="20210708">'..sOutput.."</root>";
    but I note the moduledb dir uses <root version="4.6" dataversion="20241002" release="8.1|CoreRPG:6">

    I keep looking for the cause...

    Jason
    This issues are probably unrelated. Prior to 4.6, occluders and lights were stored in world space. Currently occluders and lights are stored in the local space of the layer and are transformed by the layer matrix for LOS and lighting. LOS and FOW are in worldspace and that hasn't changed. I don't know enough about how your extension works. If you are changing the header for the XML to a version older than 4.6, any occluders and lights will be transformed to the layer local space, the occluders and lights will then be offset for any layers that have been transformed.

Page 1 of 2 12 Last

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
TALES of the VALIANT

Log in

Log in