Special dynamic lighting layer objects.

Score + 229
1412834204
Roger A.
Pro
Sheet Author
I see several suggestions regarding special types of dynamic lighting behavior, but I think they should be considered together, and handled as special objects on the dynamic lighting layer. The suggestions i refer to are: https://app.roll20.net/forum/post/1242655/dynamic-lighting-one-sided-dynamic-lighting#post-1244067 https://app.roll20.net/forum/post/1241274/dynamic-lighting-add-a-map-wide-light-setting#post-1244015 https://app.roll20.net/forum/post/1240407/dynamic-lighting-variable-wall-opacity#post-1240407 I think all of these should be handled with special purpose objects on the dynamic lighting layer. Ideally you would have the ability to pull up a menu of advanced dynamic lighting objects, select the one you want and have it just work the way it is supposed to. Each object could have a brief description telling you what it does and have visual cues telling you what direction the effect works in if that matters. They would also need to be able to scale in various directions to accommodate the different places they would be used. For instance, The one way wall could be a simple line with arrows coming out of one side. If you select it you get the option to change its length, rotate it or move it to where you need it. The variable opacity wall, could have arrows hitting the wall, but also have a bubble in the middle to set the percentage of light that gets through. It would scale like the one way wall and probably most other special objects. The map wide light could be a sun (moon for dim light?), and could ignore all light blocking lines, there would also be a corresponding item that would let you draw a polygon that ignores the sunlight (or moonlight). You could also have items like doors, that would be tied to objects on the token layer so you can rotate the door out of the way and the door still blocks light, just not in the doorway it occupied before. Rotating the door back does exactly what you would expect. How about an object that actually radiates darkness? maybe something that removes/adds certain types of light tags on the tokens? Pass through this doorway and your torch goes out.... Next we could get into more exotic lighting objects. How about linked objects that let you see something somewhere else on the map as if it was right in front of your character? You just pull them out of the menu and move them where you need them.
1413521272
Nels
Pro
+1
1413591383
Dan W.
Sheet Author
Sounds like a conceptually elegant solution and first step to the other suggestions. Not being a dev, no idea if that's hard to implement or not. +1 from me.
1413634461
+1 See https://app.roll20.net/forum/post/1271005/object-...
1415066662
Roger A.
Pro
Sheet Author
I thought of a few more items I would like to add to the list today so here they are... Mirror objects: cause light to be reflected/redirected Stained glass: changes the color of light that passes through it. I have also thought about how it would need to be implemented, and the only way I can think of to make a lot of this stuff work is to switch to a ray traced model for light( I don't know how it is handled currently). It would only need to account for light bounces in the case of the mirror object or something similar, but it would have to allow for the rays to fade over time, and be broken up into pieces by some of the other tokens. I suppose the effort required to implement it would be rather large, and I am guessing it would be rather resource intensive to run on the client side, but it would be AWESOME!!!! On the plus side, my completely programing ignorant mind can't find any reason why it shouldn't work with the additional types of light currently being developed.....
Now that the Dev Sever is working on Restrict Movement using the Dynamic Lighting Tool! We also need a "zone" element in the lighting tool, the zone could be used to move players from one level of the map to another, zone could be used to create one way walls, Teleporters, stairs, holes, traps and more. I am not a code monkey so I do not know what would be involved in implementing zoning to the Dynamic Lighting Tool, but I thinking it should use a drawing labeled "beginning" and "end", place your drawings with "beginning" and "end" on either side off a Dynamic Lighting line and you get a one way wall. Basically a token landing on a drawing with the "beginning" tag gets moved to the drawing with the "end" tag. Jim
1416300619
I would love to see this, particularly with a "variable global illumination" (as per https://app.roll20.net/forum/post/1337963/adjustab... ) where we could set anything outside of LOS to some intermediate opacity. For instance the Global Illumination could be set to 50% opaque (enough for PCs to see what's there, barely), but the PC's LoS would be 0% opaque. This would allow signalling to the PCs that they know where something is, but can't actually currently see it. It may be a separate suggestions, but variable accessibility would be nice as well. E.g. something that blocks LoS but not passage, like a wall of fog or tangle of vines. Maybe checkboxes for DL objects? Blocks LoS, Blocks Illumination, Allows Passage?
1423134006
Ziechael
Roll20 Mod Team
Sheet Author
API Scripter
Roger A. said: The variable opacity wall, could have arrows hitting the wall, but also have a bubble in the middle to set the percentage of light that gets through. It would scale like the one way wall and probably most other special objects. Ties into this in that it requires advanced use of the dynamic lighting feature but i would like to see movement restricting lines that are completely transparent (basically an extension of Roger's summary above) to prevent players from doing the impossible that current lighting lines cannot prevent (for example, they should be able to see through the portcullis but not move through it, or they could dive into the moat and go for a swim but I, as GM, do not want them too!). Therefore this suggestions gets a big fat +1 from me.
1423720223
I would definitely love a light blocking object function (i.e. door). It could even be used for sufficiently large/opaque creatures. This suggestion receives my +1.
And another case: https://app.roll20.net/forum/post/1562553/dynamic-lighting-magical-darkness#post-1562629
+1
1437934273
Paul
Pro
+1
+1
1444743399
+1
1449086247
+1
+1
1454266986

Edited 1454267111
Roger A. said: ... The one way wall could be a simple line with arrows coming out of one side. If you select it you get the option to change its length, rotate it or move it to where you need it. They'd have to also fix the Dynamic Lighting so that it properly sees path rotations. Atm, if you rotate a path on the dynamic lighting layer (only possible through API), the Dynamic Lighting doesn't take that the path rotation into account when it calculates the lighting and visibility masks. The way Dungeon Mapper works is it deletes the linked dynamic lighting path and remakes it, which is kind of ridiculous overhead compared to an API call to resolve a path's rotation to its vertices. We don't have access to the _path JSON for editing, so it's impossible to do via API script. The variable opacity wall, could have arrows hitting the wall, but also have a bubble in the middle to set the percentage of light that gets through. It would scale like the one way wall and probably most other special objects. ... How about an object that actually radiates darkness? These two could be very similar solutions, or possibly even the same solution. If I linked variable opacity paths to a token, with an API script I could set it up so the token "radiates darkness" (actually blocks light). An added bonus, because those paths are independent of the token's layer, you could keep the token on the GM layer and players would just see the darkness. My current solution for something similar to this is to store the linked path _ID's on the GM Notes of the token, and then process their movement on the update:graphic event. This would require an option to allow a variable opacity wall to ignore the Restrict Movement setting, otherwise the darkness would also be walls. The map wide light could be a sun (moon for dim light?), and could ignore all light blocking lines, there would also be a corresponding item that would let you draw a polygon that ignores the sunlight (or moonlight). OP is old, so it was before this was in effect. Unfortunately though, you can only do "bright" map-wide lighting, which sucks for night maps. There should really be a drop-down or option-box for bright/dim map-wide lighting. maybe something that removes/adds certain types of light tags on the tokens? Pass through this doorway and your torch goes out.... I believe this is possible through the TokenCollision Script. I haven't looked into it much, but with some coding you should be able to change the light settings of a token when it collides with a GM Layer path (marking the grid locations that would trigger the "event"). How about linked objects that let you see something somewhere else on the map as if it was right in front of your character? You just pull them out of the menu and move them where you need them. Already possible without the use of an API. Just make a token in the area you want that player to see, set its light-source, and make it controllable by that player. You could also combine it with an API script to lock that token's movement so they can see the area, but not explore. You could also have items like doors, that would be tied to objects on the token layer so you can rotate the door out of the way and the door still blocks light, just not in the doorway it occupied before. Rotating the door back does exactly what you would expect. Also already possible with an API script; DungeonMapper does it, and I'm working on something similar. Only problem is the aforementioned not calculating path rotations for dynamic lighting, so you have to delete the path and remake one (it's a PITA). Here's a screenshot of what happens if you don't make a new Dynamic Lighting Layer path and just do a rotation with the API (the path is the red box): In summary, +1 to 1-way walls, variable opacity walls, and map-wide dim lighting. Everything else is already possible.
1457121233
Tao
Pro
+1 esp. variable dimming areas (such as looking- from-plains-into-a-forest effect)
1459707494
I would love one-way walls. They'd help for elevation issues.
Doesn't d20pro do all this out of the box?  It's been over a year - what's Roll20 doing?
1474159691
Ravenknight
KS Backer
I need that map light setting so much... :(
1485700899
I would just like to be able to make windows that you can look through, but still resrict movement. But a lot of these suggestions, could they be handled with an idea I had, set certain color lines you draw on the dynamic lighting layer to have different effects, like being able to see through them, or have an object feature you can add to make them filter light or create areas of darkness or reflect light, etc? +1
1503157307
+1
1504223007
+1
1504720683
+1
1505422430
Nolan T. J.
Roll20 Team
Related to the other threads linked earlier, this will be in a Long-Term Canvas based batch of updates that we have no timeline on currently.
1515950655
bhr
Pro
+1
1519441302
All the important stuff is Canvas related.
1520277037
+1
1523063889
+1
1533086684
DM
Plus
Any Updates on this? I came for the transparent barriers and one way walls. Be nice to have player usable doors as well. Instead of small walls that you delete when they open the door
+1 Please make this happen
1534426490
+1 I would love to see this