-
January 12th, 2025, 15:54 #1
- Join Date
- Nov 2024
- Posts
- 14
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!
-
January 13th, 2025, 01:58 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 21,685
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
-
January 13th, 2025, 13:52 #3
- Join Date
- Nov 2024
- Posts
- 14
-
January 13th, 2025, 19:38 #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.
-
January 13th, 2025, 20:10 #5
- Join Date
- May 2016
- Posts
- 616
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
-
January 13th, 2025, 20:45 #6
- Join Date
- Nov 2024
- Posts
- 14
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
-
January 13th, 2025, 21:17 #7
-
January 14th, 2025, 04:54 #8
- Join Date
- May 2016
- Posts
- 616
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
-
January 15th, 2025, 05:06 #9
-
January 15th, 2025, 13:06 #10
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.
Thread Information
Users Browsing this Thread
There are currently 4 users browsing this thread. (0 members and 4 guests)
Bookmarks