Larkinabout / fvtt-token-action-hud-core

Token Action HUD is a repositionable HUD of actions for a selected token.
13 stars 18 forks source link

[FEATURE] Category Customization Global Settings #122

Closed roleoutgames closed 1 year ago

roleoutgames commented 1 year ago

Describe your idea A description of your idea.

I would like the ability to either export my customizations from one player profile to another or set one that is the default for my players. For example. If I organize the hud with custom categories to be more user-friendly to my players I would then have to log in as each of the players and redo that work for each player. It would be ideal if I c

ould do the work once and simply export those custom categories-sub categories etc and import them on another profile. Or simply have a global configuration of categories and subcategories.

Example of how I organized skill actions and skills together for my players: Screenshot 2023-05-06 165235

Larkinabout commented 1 year ago

For now you could maybe look at manually copying the data across the json files within the 'data/token-action-hud-core/world' folder. If you set up one user/actor to how you like it, you can then copy that data across to the other files. The filenames are the ids or either the actor or user depending on what folder they're in.

A global configuration is a bit trickier especially when you include actions and derived groups (groups like the weapons under the strikes group) as those are stored against the actor. Token Action HUD only provides a default layout for the user due to the likelihood that derived groups and actions will not be applicable to other users and their actors.

Larkinabout commented 1 year ago

Custom default layouts were added with Token Action HUD 1.4.12+, though this does not include actions, only groups.

As actions are actor dependant, you may need to create your skill actions groups as separate macro compendiums. This would allow you to define the macro compendium groups in the default HUD layout and subsequently add the actions from the compendium.

roleoutgames commented 1 year ago

What a fantastic solution thank you!