<a href="https://www.youtube.com/watch?v=8lNXPsDs4UE" rel="nofollow">https://www.youtube.com/watch?v=8lNXPsDs4UE</a>
Update v2.0 -- Major changes to the script Now supports 45 degree mapping, "Raise" (along with "Flatten") and more tile features! Also includes four new sample texutures. Update v1.0 -- Major changes to the script "DungeonDraw.js" complete rewrite with image creation queue that prevents hanging (big thanks to Aaron for that.) Added flatten and raise tools. "DungeonDrawConnections.js" <-Deprecated please remove if you have it installed. Only scripts needed as of update v1.0: "DungeonDraw.js" "DungeonDrawDoors.js" "DungeonDrawTiles.js" <-no changes to this file if you have already updated your URLs (keep what you have DO NOT replace. Update v0.6 -- "DungeonDraw.js" script. Better multiple page handling. Update v0.5 --"DungeonDraw.js" script. Improved obj.toFront/Back() Prevent more than one request being sent the the chat handler. Fixed map maker from wrapping around images on the objects layer. Update v0.4 -- Added "Flatten Tool" This is an additional script ("DungeonDrawConnections.js"). Update v0.3 -- Improved interior wall mapping. <a href="http://i.imgur.com/XtZGa2s.gif" rel="nofollow">http://i.imgur.com/XtZGa2s.gif</a> Update v0.2 -- Removed the door and torch handling from the main script and created a separate DungeonDrawDoors.js file. Added an "On/Off" feature and other improvements to the DungeonDraw.js file. NOTE: No Changes to the DungeonDrawTiles.js file so if you have updated your images your edit file will work just fine. Rectangle and Polygon/Line Tools This script leverages the Rectangle and Polygon/Line Tools to create dungeon maps based on a selected set of tiles in the API. The WIKI provides more information on the Drawing Tools and can be found here: Drawing_Tools Rectangle are supported. Polygon/Line are supported Circles and freehand not supported. Using shift helps Also use transparent fill, this will help when closing a polygon path and gives a visual confirmation the path has be accepted by the API. Recommendations: Hold the Shift key while using the Shapes tool and have the grid enabled. This will cause your shape to snap to the grid. Use transparent fill, this will help when close a polygon path and give a visual confirmation the path hass be accepted by the API. Player's Bookmark The API uses the Player's Bookmark as the active page. All changes by the API will be applied to that page. Caution... Loading the Script Getting the scripts installed: 1) Start a new campaign 2) Install the three scripts found here: Dungeon Draw Scripts 3) Enter the API command "!DungeonDrawMenu" For more information see the API:Use_Guide on the WIKI. Updating URLs in the Code 1) Download Complete Set the pack from the market. 2) Use the Market bulk uploaded 3) Open the API editor in one tab 4) Open the campaign in another tab. 5) Use the in game image tool to get to your library. 6) Search for the "key" you want. 6) Right click the one you want and copy the URL. 7) Edit the script. 8) Save... script 9) In the game reload that texture pack and see if it looks right. 10) Repeat for each key Its painful and I am sorry for that hopefully we can get access to image tags (be sure to VOTE ) HINT: Take your time. Do one or two, save and refresh the script. Check as you go. Important Note: Tile DD_016 (the diagonal tile) repeats three times in the array. This tile is not water marked, however if you choose to replace it you will need to place the same URL in each case. Code and URL shorted in this example
....
{url: 'https.../thumb.jpg?1430172145', key: 'DD_015', value: 85, mask: 255, dlBits: 85, diag: false},
{url: 'https.../thumb.png?1430172900', key: ' DD_016 ', value: 248, mask: 255, dlBits: 248, diag: true },
{url: 'https.../thumb.png?1430172900', key: ' DD_016 ', value: 240, mask: 255, dlBits: 240, diag: true },
{url: 'https.../thumb.png?1430172900', key: ' DD_016 ', value: 120, mask: 255, dlBits: 120, diag: true },
{url: 'https.../thumb.jpg?1426895538', key: 'DD_017', value: 255, mask: 0, dlBits: 255, diag: false},
....
Overview Menu Overview Flatten and Raise tools: Add tokens to the Map layer with token action to raise or flatten a section of the map. Current Tiles: You can see the tile pack that is loaded. Each image is direct access to placing a tile. Tile will be placed in the center of the map. Utility Tiles: Each image is direct access to placing a tile. Tile will be placed in the center of the map. Doors: Single and Double. Each image is direct access to placing a tile. Tile will be placed in the center of the map. These tiles block light. Light Sources: Large light source and wall mounted light source. Each image is direct access to placing a tile. Bares or Gate: Each image is direct access to placing a tile. Tile will be placed in the center of the map. These tiles do not block light. Stairs Each image is direct access to placing a tile a. If you place a path on the map layer in the wrong spot, use the "Undo-Path" action. b. To clear the map layer use the "Clear-Map" action. c. Once you have placed your paths, click the "Dungeon-Draw" action. d. To set the map color based on the loaded pack use the "Set-Map_color" action. e. "Change-Texture" bring up a list of all installed textures. f. Toggle "Dungeon-Draw" off or on. This will allow you to draw paths on the map layer that are not converted by the API. Water Mark tile replacements found here: <a href="https://marketplace.roll20.net/browse/set/522/dung" rel="nofollow">https://marketplace.roll20.net/browse/set/522/dung</a>... <a href="https://marketplace.roll20.net/browse/set/537/dung" rel="nofollow">https://marketplace.roll20.net/browse/set/537/dung</a>... <a href="https://marketplace.roll20.net/browse/set/544/dung" rel="nofollow">https://marketplace.roll20.net/browse/set/544/dung</a>...