Dynamic Lighting/API
From Roll20 Wiki
Page Updated: 2022-03-09 |
This page is about a Roll20 feature exclusive to Pro-subscribers (and often to players in a Game created by a Pro-subscriber). If you'd like to use this feature, consider upgrading your account. |
Main Page: Dynamic Lighting
Roll20 Mod
Mod Suggestions
- D&D 5E
- Combat
- Character Sheet
- Dynamic Lighting
- Jukebox
- Maps
- Text Chat/Macros
- Tokens
- System Specific
- Mod Guides by Script
Debug
Other
Dynamic Lighting is a Plus/Pro feature that changes what parts of the map are visible to the players as they move their tokens around. The light-blocking walls are achieved by paths on the walls
layer, and tokens are used as point light sources. Scripts which modify either the light emitted by tokens or the walls which block the light belong in this category.
Not all APIs, or all their features work on both Updated DL and Legacy DL, you have to check them closer to know that.
- Door Knocker -- Script helps quickly open and close doors by controlling the dynamic lighting lines, as well as creating "windows"
- UDLWindows(Forum) -- API for creating "windows", i.e. DL lines that blocks movement, but doesn't block vision.
- UDLPasswall(Forum) - Walls that block sight, but not movement
- DLEllipseDrawer -- Draw circles and ellipses on the dynamic lighting layer.
- Dynamic Light Recorder -- Save dynamic lighting paths for map tiles and automatically regenerate later
- LightCrumb (UDL version), by Aaron (not tested)
- Move Lighting -- Move dynamic lighting polygon path objects between layers.
- Walls -- Builds Dynamic Lighting walls with an exported
.svg
path file. - ShareVision -- Allows normal vision and darkvision to be shared.
- ToggleDaylight(Forum) -- turn daylight mode on, off, or toggle it for LDL or UDL on the current page.
- Script:UniversalVTTImporter For importing Dynamic Lighting lines & light sources to Roll20 from map creation programs that can export to
Universal VTT
-file format.
APIs that only works with Legacy
- LightCrumbTrails(Forum) -- Produces lit, shared-vision breadcrumbs behind character tokens. This allows them to see where they've been on maps with dynamic lighting.
- One-Way Dynamic Lighting(Forum) -- Allows you to set up dynamic lighting walls that allow you to see through one side, but not the other.
- Torch -- A simple script for giving lights to tokens and turning off and on dynamic lighting.
- UDL version in the works