Thread: DungeonDraft LOS
-
October 23rd, 2020, 06:27 #1
- Join Date
- Dec 2014
- Posts
- 70
DungeonDraft LOS
I tried using a 3rd party utility to pull LOS data to XML files from DungeonDraft VTT files. The files appear to be generated but I can't seem to get FGU to use them. Is this no longer a feature? I notice that FGU natively does not appear to use .xml files for LOS any idea how to make this work, or perhaps we need to wait until it all settles.
Thanks
-
October 23rd, 2020, 16:46 #2
Where did you put the LOS file? What was it named? What is the module name? What about the image name?
Not sure, I do know their is a LOS utility that was recently updated, Might you need to use it? Just don't know because I've never done this. Here's teh utility; https://fantasygroundsunity.atlassia...ta+for+Modules
Problems? See; How to Report Issues, Bugs & Problems
On Licensing & Distributing Community Content
Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
Note, I am not a SmiteWorks employee or representative, I'm just a user like you.
-
October 23rd, 2020, 17:39 #3
- Join Date
- Dec 2014
- Posts
- 70
I made a file called GraveYardLOS.dd2vtt used their extractor and it produced GraveYardLOS.png and GraveYardLOS.xml. I placed them both in a temp folder.
Then I just imported the .png and I had assumed it would find the XML.
Then I tried placing them first in the campaign folder but I got an error saying it could not import it as it was already in the campaign.
It looks from the documentation you provided that it needs to be embedded in a module. Is this always needed? I am just doing this for my home game, not for a external use.
-
October 23rd, 2020, 18:33 #4
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,688
If the XML is the same name as the PNG (except for the extension), then that is what FGU looks for. They are side-loaded when the image is added to a map.
If you are not seeing the data, then I would guess that the XML format is not correct.
Regards,
JPG
-
October 23rd, 2020, 18:48 #5
- Join Date
- Dec 2014
- Posts
- 70
OK, perhaps that is the case. The utility is 3 months old so perhaps the format changed since it was built.
-
October 23rd, 2020, 19:13 #6
I don't think that when you import the image that it imports the xml as well. You need to place the xml file into your campaign, but I'm not exactly sure where.
I would load a different image, add a few LOS segments to it, exit your campaign and see where the file is. Then place the xml the same path/structure.
Problems? See; How to Report Issues, Bugs & Problems
On Licensing & Distributing Community Content
Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
Note, I am not a SmiteWorks employee or representative, I'm just a user like you.
-
October 23rd, 2020, 19:32 #7
LOS added to image if saved in the db.xml. As Moonwizard said, if an XML file with the same name as an image exists in the directory with the image, FGU attempts to side-load that data and apply it to the asset when it is added to an image. In the OP's example, the file GraveYardLOS.png and GraveYardLOS.xml would be placed in the campaign's image folder. Dragging the asset from the asset window to the image window will create a new image from the asset and apply the XML data. Following those steps, if the data is not applied the XML is likely formatted wrong.
@JesterOC - Can you post the XML file generated by DungeonDraft?
-
October 24th, 2020, 02:56 #8
- Join Date
- Dec 2014
- Posts
- 70
Thanks I just now found that out by doing a Find in Files for the word <occluders>! Brute force works I guess.
I notice the the LOS files that where generated did not have the <closedpolygon> tag.
When finding the replacement I made in the session db.xml file I noticed that all entrants for occlusions had this
<closedpolygon>true</closedpolygon>
-
October 24th, 2020, 05:21 #9
-
October 24th, 2020, 22:00 #10
So does this actually work? What's the 3rd party tool that extracted the LOS data?
I'd love to be able to grab my Dungeondraft maps and be able to build LOS data directly from the image! That would be amazing and such a time saver!!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks