Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

How does token light emitting work in UDL?

February 08 (2 years ago)

I'm having a really hard time figuring this out.  I've tried searching the forums and playing around, and it just doesn't seem to make sense to me.


I want to enable Dynamic Lighting, and give someone a light source that extends out to 10', no further.  I went into the token settings page and enabled "Emits Bright Light" and set the distance to 10'.  However, that gives me a token that emits light out to 20' radius.  The light multiplier is 100%, and emitting low light is disabled.


If I disable "Emits Bright Light" and enable "Emits Low Light", with a distance of 10', that also gives me a token that emits light out to like a 25' radius, getting dimmer toward the edges.  That's completely unintuitive.  The distance per square on the map page is set to 5', so I'm counting squares to determine distance.


Does anyone have any advice?  The documentation for this stuff is either hiding from me, or absent.  Thanks! 

February 08 (2 years ago)
The Aaron
Roll20 Production Team
API Scripter

Some screenshots would probably help us understand what you're seeing. Can you screenshot the page settings for the grid, the DL settings for the token, and the apparent light it is shedding?

February 08 (2 years ago)

Sure.  Here are the token settings, also showing the radius of the light:



And here are the map settings for the page:



February 08 (2 years ago)
keithcurtis
Forum Champion
Marketplace Creator
API Scripter

Does the token have night vision turned on by any chance?

February 08 (2 years ago)

Nope.  Just regular vision is enabled.

February 08 (2 years ago)

Edited February 08 (2 years ago)

Weird!

When I use the same token and page settings, I get a ten-foot radius of visible bright light, as desired.

Does the radius problem happen with every token? Does it happen on every map page?

February 08 (2 years ago)
keithcurtis
Forum Champion
Marketplace Creator
API Scripter

I can't duplicate this, either. Do you have overlapping tokens? Is this in a game that might be running scripts?

February 08 (2 years ago)

Hmm, that is weird.  I don't have any scripts running or anything else funky.  Just for completeness, I created a brand new map, enabled dynamic lighting, and added a brand new token with vision and emitting light.  The new token is respecting light radius settings.

I think I'm going to chalk it up to something about that map.  I created a copy of an existing map to play around with dynamic lighting.  Even after getting it work right on the brand new map, I'm still having the same problems on the copy and (I checked) on the pre-existing map as well.  I went back and checked some other pre-existing maps, without making copies, and it looks like light emission is respecting the given values there, so maybe it had something to do with duplicating a map along with its tokens.

Thanks all!  I'll let you know if I run into further issues.

February 08 (2 years ago)
The Aaron
Roll20 Production Team
API Scripter

Oh!  Do any other tokens on the page have a vision multiplier?  It's not obvious, but the multiplier takes effect on a player basis. If any token you control (which is all of them for the GM) has a multiplier, all light sources are multiplied.

February 10 (2 years ago)

Yeah, actually, I think that's it!  Long ago I was playing with dynamic lighting and assigned a lighting multiplier of 200% to the tokens for some of the characters with low-light vision.  Those tokens are only controlled by their respective players, but I think all of them are controlled by me.  Yup, makes a lot of sense.  Thanks for solving this mystery!  And yeah, it's totally not intuitive.