Generate walls from UVTT line-of-sight data - #5406
Conversation
This avoids unnecessary casework regarding transforms and nullability, so that the essence is clearer for when walls are added.
Options are to import as masks, import as walls, or to prompt the user on each import for what they want. The default is to prompt.
If the user requests walls (either via preference or prompt), then walls are generated to represent the UVTT line of sight information. No VBL or MBL is generated in this case. If the user instead requests masks, then the legacy VBL+MBL is generated. If the user cancels the prompt for which type to use, the entire import is cancelled.
cb097ff to
4fff3d2
Compare
|
Do you foresee there being more uvtt type settings in the future? If so, it might be good to give uvtt settings their own tab so they can be safely ignored--or easily found--as needed. Other instructions/expectations for how MT handles uvtt files could also be included in such a tab. |
UVTT is limited to what it can contain, I can't see many more options other than create lights in the near future, it would be more likely that in the future there would be other import formats -- not that this is likely either -- and it could be grouped with them in another tab if it ever happens. |
|
@kwvanderlinde Typo in the dialog title? Should read "Universal" not "Universla". |
Identify the Bug or Feature request
Resolves #5182
Description of the Change
When importing a UVTT file, the user now has a choice of whether to generate VBL+MBL as always, or to use the newer walls. By default, the user is prompted for a choice each time, but this choice can optionally be remembered for future imports. Alternatively, the choice can be set in the Preferences dialog.
When generating walls, open portals are represented as walls, albeit walls the don't block movement, sights, lights, or auras. This differs from the VBL+MBL import where open portals result in nothing, but is consistent in terms of not blocking anything. Since a wall is created, the user can easily modify the blocking properties of any portals to their liking after the import is completed, in case this default behaviour does not suffice.
Possible Drawbacks
Users may be confused at first with the extra prompt.
Documentation Notes
Either walls or *BL can be used to represent the line of sight data from a Universal VTT file. When importing a UVTT file, you will be asked which one you want to use:

If you don't want to be asked every time, select the "Remember my choice" option:

Alternatively, you can set your preferred option via Preferences:

Release Notes
This change is