Difference between revisions of "Dynamic Lighting/API"
From Roll20 Wiki
Andreas J. (Talk | contribs) (transclude API section) |
Revision as of 16:43, 30 November 2021
Page Updated: 2021-11-30 |
Main Page: Dynamic Lighting
Main Page: API:Script Index
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.
- DoorKnocker(Forum) -- Script helps quickly open and close doors by controlling the dynamic lighting lines.
- v1.211 Introduces option to create "windows", sections that stop movement but not sight. sourcecode | Tutorial
- UDLWindows(Forum) -- API for creating 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 game 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.
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