UniversalVTTImporter Update v0.1.9 -- Fixed bug causing all portals to be windows! (Thanks Graham R. ) Update v0.1.8 -- Added support for Opaque Objects, Window Portals, Colored Lights (Thanks Edward R. ) Many new configuration options in the help: !uvtt --help Create Open Portals is renamed to Open Portals Mode . There are now 4 options rather than just on and off: Movement Blocking Window will draw a line that blocks movement but not sight. (Default) Movement Blocking Window with Glass creates the line as above, but also creates a glass window pane on the map layer. GM Layer Line is the old "On" setting, and just draws the portal on the GM Layer instead of the DL layer, ready to move back and forth to open and close it. None is the old "Off", and draws nothing at all. Window Color sets the color for the Window Pane on the map layer, and the color of open portal lines on the GM or DL layer. Window Width sets the width of the Window Pane on the map layer. Open portal lines on the GM and DL layers get the Door Width . Object Color sets the color that Opaque Objects are drawn in on the DL layer. Object Width sets the width that Opaque Objects are drawn in on the DL layer. Object Transparent sets if Opaque Objects should just block movement and not sight. Note that you can now specify --no-objects to not use Opaque Objects at all: !uvtt --no-objects Light Color has been renamed to DL Layer Light Marker Color to better reflect what it is and remove confusion. Use Light Color toggles if you want to use the colors specified for lights in the import file. DungeonDraw can export a map with the lighting color applied to the map, or with the map unlit. Here's a comparison of the same map exported with and without lighting, and using Roll20 Light Colors and without: Unless you plan to move lights, or turn them on and off, you might chose to just export the color and not import the color, so that's why there's an option. One minor quality of life change, UniversalVTTImporter will now automatically clear previously created objects when you run it again. That makes it easy to try different configurations and then reimport all your maps when you have the setting you like. To be clear, running: !uvtt on a map you've already imported will now be the same as running this was: !uvtt --clear !uvtt The new code should show up in the 1-click on Tuesday, or you can get it now from my repo. Update v0.1.4 -- Fixed a bug where changing the exported scale of a map would cause the alignment of the objects created to be incorrect. (Thanks Dudemic ) Update v0.1.3 -- New --clear command and configurations options. (Thanks Jesse , Stephen C. ) Added --clear command that removes all the lines and lights created for graphic. Configuration options for Wall Width, Wall Color, Door Width, Door Color, Light Color (aura on the DL layer), and creating open portals (generally, windows) on the GM layer. All configuration options are available in the help from: !uvtt --help or directly from: !uvtt-config Update v0.1.2 -- Added UDL support. Note that if you are using UDL, the UDL gets toggled off and on causing the map to be revealed briefly. This is a bug in the way UDL lights are supported with the API. I've reported it and will fix it when a fix becomes available. (Thanks Elias. Ö. S. , Ben M. ) Update v0.1.1 -- Added trimming of non breaking spaces to fix FireFox use. Created and documented companion website ( <a href="http://roll20api.net/uvtti.html" rel="nofollow">http://roll20api.net/uvtti.html</a> ) for preprocessing file for easier use. (Thanks Ryexandra , Casey D. , Justin S. ) UniversalVTTImporter provides a way to setup Dynamic Lighting lines and Lights stored in Universal VTT format, ala Dungeondraft. Commands !uvtt [--help] --help -- Displays this help Import Process The process for importing is pretty straight forward, but there are several steps, as follows: From your Universal VTT supporting mapping program, such as Dungeondraft, export your map as a .png or .jpg file. The API cannot create images from the Universal VTT, so you will need to upload it manually. Next export the Universal VTT version into a .dd2vtt file. Drop your map image file onto a page and scale it as desired. Open the properties by double clicking the image. Visit <a href="http://roll20api.net/uvtti.html" rel="nofollow">http://roll20api.net/uvtti.html</a> and sanitize and copy your .dd2vtt contents. Load the Universal VTT file in a text editor and copy the contents. Paste the contents into the GM Notes section of the map graphic and save changes. With the graphic selected, run !uvtt Your map should now have dynamic lighting lines, lines for doors and windows, and light sources from the original. View before: Adding .dd2vtt contents to the GM Notes: After selecting the graphic and running !uvtt: (Note: the red line is an open portal on the GM layer) View of the DL Layer, showing created light sources (purple aura), walls (brown) and doors (red). Next up I'll be adding commands to change the colors, selectively create open portals on the GM layer, clear the created walls, etc. Let me know if you have other feature requests or any issues! This should be in the 1-click on Tuesday. Github: <a href="https://github.com/shdwjk/Roll20API/blob/master/UniversalVTTImporter/UniversalVTTImporter.js" rel="nofollow">https://github.com/shdwjk/Roll20API/blob/master/UniversalVTTImporter/UniversalVTTImporter.js</a> Support my work on If you use my scripts, want to contribute, and have the spare bucks to do so , go right ahead. However, please don't feel like you must contribute just to use them! I'd much rather have happy Roll20 users armed with my scripts than people not using them out of some sense of shame. Use them and be happy, completely guilt-free! Disclaimer: This Patreon campaign is not affiliated with Roll20; as such, contributions are voluntary and Roll20 cannot provide support or refunds for contributions.