Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TokenMod - Directional low light fields are missing #28

Open
3 tasks
Zierman opened this issue Oct 5, 2020 · 1 comment
Open
3 tasks

TokenMod - Directional low light fields are missing #28

Zierman opened this issue Oct 5, 2020 · 1 comment

Comments

@Zierman
Copy link

Zierman commented Oct 5, 2020

At the moment TokenMod cannot be used to set any directional low light fields.

Fields to add:

  • has_directional_low_light (boolean)
  • directional_low_light_center (degrees)
  • directional_low_light_total (circleSegment)

The fields to add are based on the contents of the Roll20 Help Center's Updated Dynamic Lighting API Support page

@Zierman Zierman changed the title Directional Low Light Fields Missing TokenMod - Directional Low Light Fields Missing Oct 5, 2020
@Zierman Zierman changed the title TokenMod - Directional Low Light Fields Missing TokenMod - Directional low light fields are missing Oct 5, 2020
@Zierman
Copy link
Author

Zierman commented Oct 6, 2020

Some Manual Testing

So starting with a token that has been set using the Roll20 Edit Token GUI with the following configuration:

The token starts out looking like this:
image

When I try to use the following command: !token-mod --set directional_bright_light_total#10

This is what I see graphically as a result:
image

I decided to create a simple script that would set the has_directional_low_light and directional_low_light_total values of a graphic. I found that I was unable to get any graphical changes when adjusting these fields. I verified that the graphic's properties where changed, so adding these fields to TokenMod should work as far as changing the properties on the tokens, but won't actually create any noticeable difference for the end user until the Roll20 app correctly processes these properties when rendering the scene.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant