Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Difference between revisions of "Window (Dynamic Lighting)"

From Roll20 Wiki

Jump to: navigation, search
m
m (API)
 
(5 intermediate revisions by one user not shown)
Line 1: Line 1:
 
{{revdate}}{{pro only|page}}
 
{{revdate}}{{pro only|page}}
{{main| Updated Dynamic Lighting}}
+
{{HCbox|{{hc|articles/11462645998999-Placing-Doors-Windows Placing Doors & Windows}} }}
 +
{{cleanup-msg|Needs cleanup & updating since {{hc|articles/11462645998999-Placing-Doors-Windows proper Doors & Windows}} where released in Jan 2023. |March 2023}}
 +
{{main|Dynamic Lighting}}
 +
{{#evp:youtube|IQARZIvpqQA|Placing [[Doors]] and  [[Windows]] on Roll20 (Jan. 2023)|right|600}}
  
'''Windows''', in context of Roll20's [[Dynamic Lighting]], are sections of "wall" that allows sight to pass through, but stops movement of [[tokens]]. They can be created with [[API|APIs]].
+
'''Windows''' (or '''Transparent barriers'''), in context of Roll20's [[Dynamic Lighting]], are sections of "wall" that allows sight to pass through, but stops movement of [[tokens]]. They can be created with [[API|APIs]].
 +
 
 +
==Placing Windows==
 +
 
 +
See: {{hc|articles/11462645998999-Placing-Doors-Windows Placing Doors & Windows}}
  
Roll20 is planning to implement "Immersive map and lighting features like doors, windows, and an overhead layer."{{Source|https://blog.roll20.net/posts/improved-initiative-a-roll20-product-update/ Feb 23, 2022}}. This would mean windows would become an integrated feature on Roll20, and not rely on API to be created.
 
{{notebox|Dynamic Lighting "Windows" are a trick/emergent property of [[Updated Dynamic Lighting]], and not a direct feature, so future changes to Dynamic Lighting might affect how/if they work.}}
 
* {{forum|permalink/9760922/ Roll20 Trick - Dynamic Lighting "Windows" (UDL only)}}
 
[[File:Windows-Passwall.gif|right|thumb|700px|Example of window (top), and passwall(bottom)|class=resize]]
 
 
==API==
 
==API==
 
{{pro only|section}}
 
{{pro only|section}}
The following [[API]] can be used for creating or editing UDL "windows", or similar things.
+
 
===Windows===
+
Mod object references: [[API:Objects#Window]]
 +
 
 +
===UniversalVTTImporter===
 +
[[Script:UniversalVTTImporter]] can import maps from couple map softwares & include, Dynamic Lighting walls, windows, and light sources.
 +
 
 +
===Older, no longer working===
 +
When proper Windows where released, older Mods relying on tricks to simulate windows stopped working. Here are some of them.
 +
 
* '''[[DoorKnocker]]''' -- Script helps quickly open and close doors by controlling the dynamic lighting lines.
 
* '''[[DoorKnocker]]''' -- Script helps quickly open and close doors by controlling the dynamic lighting lines.
 
** '''v1.211''' Introduces option to create "windows"
 
** '''v1.211''' Introduces option to create "windows"
* '''{{fpl|9521203/ UDLWindows}}''' -- API for creating or converting DL lines to be see-through, but still block movement
+
* '''{{fpl|11038171/ UDLWindows}}''' -- API for creating or converting DL lines to be see-through, but still block movement
 
** Converting DL circles to windows works
 
** Converting DL circles to windows works
 
** {{repo|Roll20/roll20-api-scripts/tree/master/UDLWindows sourcecode}}
 
** {{repo|Roll20/roll20-api-scripts/tree/master/UDLWindows sourcecode}}
  
===Passwall===
+
'''Passwall'''
 
A related trick to Windows is to create hidden passages which blocks sight, but doesn't stop movement. Great for illusionary walls, hidden areas, or to limit vision in thick fog.
 
A related trick to Windows is to create hidden passages which blocks sight, but doesn't stop movement. Great for illusionary walls, hidden areas, or to limit vision in thick fog.
 
* '''{{forum|permalink/9939691/ UDLPasswall}}''' - Walls that block sight, but not movement
 
* '''{{forum|permalink/9939691/ UDLPasswall}}''' - Walls that block sight, but not movement
 
+
** Aug 2022 - roll20 updates might have broken the API hack it was relying on, and might no longer work: https://app.roll20.net/forum/post/11054234/help-udl-passwall-no-longer-working
===UniversalVTTImporter===
+
[[Script:UniversalVTTImporter]] can import maps from couple map softwares & include, Dynamic Lighting walls, windows, and light sources.
+
  
 
==History of the Trick==
 
==History of the Trick==
 
In late 2020, [[Andreas J.]] realized that by creating a Free-hand drawing on any of the other {{Layers}} than the DL-layer, and then moving it to the DL layer, it only partially blocked sight, but always blocked movement. After the discovery, [[TheAaron]] and [[Scott C.]] created APIs that can create windows much easier. [https://app.roll20.net/forum/permalink/9143319/ Drae Acevedo] saw an earlier version of this when using the circle tool.  
 
In late 2020, [[Andreas J.]] realized that by creating a Free-hand drawing on any of the other {{Layers}} than the DL-layer, and then moving it to the DL layer, it only partially blocked sight, but always blocked movement. After the discovery, [[TheAaron]] and [[Scott C.]] created APIs that can create windows much easier. [https://app.roll20.net/forum/permalink/9143319/ Drae Acevedo] saw an earlier version of this when using the circle tool.  
 +
 +
{{forum|permalink/9760922/ Roll20 Trick - Dynamic Lighting "Windows" (UDL only)}}
  
 
Until May 2021, it was possible for {{Plus}}-subscribers to create "windows" by drawing shapes with the free-hand tool on another layer, and then move it to the DL layer. {{source|https://app.roll20.net/forum/permalink/9935763/}} This was due to Roll20 updating Dynamic Lighting to make freehand & eclipse drawings work properly as DL lines, which inadvertently made the windows inaccessible to Plus users.
 
Until May 2021, it was possible for {{Plus}}-subscribers to create "windows" by drawing shapes with the free-hand tool on another layer, and then move it to the DL layer. {{source|https://app.roll20.net/forum/permalink/9935763/}} This was due to Roll20 updating Dynamic Lighting to make freehand & eclipse drawings work properly as DL lines, which inadvertently made the windows inaccessible to Plus users.
 +
 +
In April 2022 when Roll20 started developing integrated version of "windows", the API-based tricks stopped working. [https://app.roll20.net/forum/post/10818048/udl-doorknocker-and-windows udl-doorknocker-and-windows issues]
 +
 +
Transparent barriers where in early access for Pro users.{{source|https://help.roll20.net/hc/en-us/articles/360037772613-Change-Log#august-17-2022-0-1 Aug 17th 2022}} Several of mods where updated to handle the new "windows".
 +
 +
Proper [[Windows]] and [[Doors]] where released as feature for Plus and Pro users.{{source|https://help.roll20.net/hc/en-us/articles/360037772613-Change-Log#january-5-2023-0-15 Jan 5th, 2023}}
  
 
=See Also=
 
=See Also=
 
* [[Walls]]
 
* [[Walls]]
 
* [[Door]]
 
* [[Door]]
* [[One-Way Barriers]]
+
* [[One-Way Barrier]]
* [https://app.roll20.net/forum/post/10818048/udl-doorknocker-and-windows udl-doorknocker-and-windows issues] April 2022
+
 
+
  
 
[[Category:Guides]]
 
[[Category:Guides]]
Line 42: Line 56:
 
[[Category:Maps]]
 
[[Category:Maps]]
 
[[Category:API Commands]]
 
[[Category:API Commands]]
 +
[[Category:New features in 2022]]

Latest revision as of 15:23, 11 March 2023

Attention: This page is community-maintained. For the official Roll20 version of this article, see the Help Center for assistance: Placing Doors & Windows .

Main Page: Dynamic Lighting

Placing Doors and Windows on Roll20 (Jan. 2023)

Windows (or Transparent barriers), in context of Roll20's Dynamic Lighting, are sections of "wall" that allows sight to pass through, but stops movement of tokens. They can be created with APIs.

Contents

[edit] Placing Windows

See: Placing Doors & Windows

[edit] API

Mod object references: API:Objects#Window

[edit] UniversalVTTImporter

Script:UniversalVTTImporter can import maps from couple map softwares & include, Dynamic Lighting walls, windows, and light sources.

[edit] Older, no longer working

When proper Windows where released, older Mods relying on tricks to simulate windows stopped working. Here are some of them.

  • DoorKnocker -- Script helps quickly open and close doors by controlling the dynamic lighting lines.
    • v1.211 Introduces option to create "windows"
  • UDLWindows(Forum) -- API for creating or converting DL lines to be see-through, but still block movement
    • Converting DL circles to windows works
    • sourcecode

Passwall A related trick to Windows is to create hidden passages which blocks sight, but doesn't stop movement. Great for illusionary walls, hidden areas, or to limit vision in thick fog.

[edit] History of the Trick

In late 2020, Andreas J. realized that by creating a Free-hand drawing on any of the other b Layers than the DL-layer, and then moving it to the DL layer, it only partially blocked sight, but always blocked movement. After the discovery, TheAaron and Scott C. created APIs that can create windows much easier. Drae Acevedo saw an earlier version of this when using the circle tool.

Roll20 Trick - Dynamic Lighting "Windows" (UDL only)(Forum)

Until May 2021, it was possible for
Plus
info-subscribers to create "windows" by drawing shapes with the free-hand tool on another layer, and then move it to the DL layer. This was due to Roll20 updating Dynamic Lighting to make freehand & eclipse drawings work properly as DL lines, which inadvertently made the windows inaccessible to Plus users.

In April 2022 when Roll20 started developing integrated version of "windows", the API-based tricks stopped working. udl-doorknocker-and-windows issues

Transparent barriers where in early access for Pro users. Several of mods where updated to handle the new "windows". Proper Windows and Doors where released as feature for Plus and Pro users.

[edit] See Also