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

Light properties are not read from UVTT files #2853

Closed
Phergus opened this issue Jul 11, 2021 · 1 comment
Closed

Light properties are not read from UVTT files #2853

Phergus opened this issue Jul 11, 2021 · 1 comment
Assignees
Labels

Comments

@Phergus
Copy link
Contributor

Phergus commented Jul 11, 2021

Describe the bug
The UVTT importer (aka Dungeondraft importer) creates tokens on the created map but does not transfer information about each light.

To Reproduce
Steps to reproduce the behavior:

  1. Create a DungeonDraft map with one or more lights and export a UVTT file.
  2. Import UVTT map to MapTool.
  3. Observe light bulb objects on map.
  4. No information about the lights they represent is present.

Expected behavior
While the best case scenario would be for the objects to actually have matching lights created and attached to them this will require some additional changes to how lights are created.

Short-term, copy the parameters of the lights to the light bulb object's GM notes field so that GMs can create lights to match. As close as MT is capable currently.

MapTool Info

  • Version: 1.9.2
  • Install: Any.

Desktop:

  • OS: Any

Additional context:
As of this date the UVTT v0.3 contains the following parameters for lights:

  • position - X & Y in grid squares
  • range - in grid squares
  • intensity - 0 to 1.0
  • color - In hex as ARGB
  • shadows - true/false
"lights": [
  {
    "position": {
      "x": 2.984375,
      "y": 3.015625
    },
    "range": 2.8,
    "intensity": 0.8,
    "color": "ffeccd8b",
    "shadows": true
  }
]
@Phergus Phergus added the bug label Jul 11, 2021
@Phergus Phergus added this to To do in MapTool 1.10.0 via automation Jul 11, 2021
@Phergus Phergus self-assigned this Jul 11, 2021
@Phergus Phergus moved this from To do to In progress in MapTool 1.10.0 Jul 11, 2021
@Phergus
Copy link
Contributor Author

Phergus commented Jul 11, 2021

Light properties copied to GM Notes on each light object as JSON: {"range":4.7,"intensity":0.8,"color":"ff4dd569","shadows":1}

@Phergus Phergus moved this from In progress to Review in progress in MapTool 1.10.0 Jul 12, 2021
@Phergus Phergus removed this from Review in progress in MapTool 1.10.0 Jul 13, 2021
@Phergus Phergus added this to To do in MapTool 1.9.3 via automation Jul 13, 2021
@Phergus Phergus moved this from To do to Review in progress in MapTool 1.9.3 Jul 13, 2021
@Phergus Phergus moved this from Review in progress to Done in MapTool 1.9.3 Jul 13, 2021
@Phergus Phergus closed this as completed Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

No branches or pull requests

1 participant