-
Notifications
You must be signed in to change notification settings - Fork 263
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
[Feature]: Configure token size categories #4849
Comments
I started experimenting with something myself, but lack of GUI skills meant it didn't go far. |
I expect you're planning to build a new grid configuration in your |
Yep, I do see a need to cater for non-standard token shapes, another example being rectangular tokens on a square grid such as a 1x2 Medium Mount size category (or do I recall seeing a lib somewhere which can do something already?). Whether non-standard token shapes are best served under this request or as a future consideration to follow on from it, someone more in the know can decide as there are probably a whole heap of implications with non-standard token shapes (moving, turning, facing, images, auras, topology, etc...) which may vary depending on the grid. |
Good question, and I do not know! Other than providing wiki guidance/hazard warnings, sounds like such related MT Script functions would be more problematic than they are worth so could be dropped from this request. t.b.h. they were included more for completeness. I've reordered the points in the original request to be in priority order from my perspective, No. 1 being able to add/edit the size categories manually. |
If this does end up with non-standard token sizes being on the table (now or later), I'd throw in template shapes as ones to add as well, as I'd imagine that would help drawings be able to be manipulated in the future. |
As a suggestion on the token size changes via script maybe conflicting with other add-ons use of a specific size or something: Namespaces The MapTool namespace is read only via macros, and is where use of the campaign properties manual configuration goes. All other setting of size data must be assigned to a specific namespace, where any reading of a size defaults to the MapTool namespace if none is defined. Add-ons that have strict requirements about some size definition can ensure their data remains unchanged, while still giving freedom to addons that want to setup their own definitions. This does lead to complications with the edit token gui - maybe link a token property type to a namespace - or have the size namespace as a second drop down? |
@ColdAnkles I'll hava a bash at a GUI if you can get reading and writing shape definition back-end stuff sorted. |
@bubblobill - I started on some basic campaign-property-ifying of token footprints. I'm exploring parts of the codebase I'm fairly unfamiliar with, so would appreciate any feedback. I'm not happy with the loading of the defaults being part of |
It really annoys me that I cannot get footprints without a grid (for populating selection lists) so create a function to fetch all the footprints for all the grid types. |
Haven't put much thought into gridless as of yet, but here's what I've done so far: develop...ColdAnkles:maptool:token-footprint-properties Getting grid footprints for all grids is now |
Describe the Problem
MapTool has no functionality enabling a GM to customise or configure token size categories.
The Solution you'd like
(In priority order 1= highest, 4=lowest)
Adding campaign size categories, names, display name, values to
getInfo("campaign")
results for each grid type.When importing predefined Campaign Properties (e.g. Dungeons and Dragons: 5th Edition), set the sizes correctly for that system.
MT Script functions to support automating relevant features above in point 1.
Alternatives that you've considered.
Additional Context
D&D 3.0 came out in 2000, so MapTool needs to get with the times and size up supporting sizes from other games systems! e.g.
The text was updated successfully, but these errors were encountered: