Latest version | 0.5.2 |
---|---|
Minimum Core | 11 |
Compatible Core | 11 |
Last updated | 3 months ago |
Created | 3 years ago |
Authors |
|
Languages |
Deutsch English |
Systems | All systems |
Dependencies |
libWrapper |
Project source | Project URL |
Report bugs | Bug tracker URL |
Read-me | Readme URL |
Changelog | Changelog URL |
This module will allow you to assign tokens to factions by using the token's disposition colors, the token actor's folder color, or defining your own custom replacement colors for token dispositions.
This module will allow you to assign tokens to factions by using the token's disposition colors, the token actor's folder color, or defining your own custom replacement colors for token dispositions.
It's always easiest to install modules from the in game add-on browser.
To install this module manually:
https://raw.githubusercontent.com/p4535992/foundryvtt-token-factions/master/src/module.json
This module uses the libWrapper library for wrapping core methods. It is a hard dependency and it is recommended for the best experience and compatibility with other modules.
This option uses the default Token Disposition color to render the token base and frame. Token Disposition can be seen on a token's Character tab. Tokens with actors controlled by players are colored in a fourth, distinct color.
This option uses the color of the folder a token's actor belongs in. A color of #000000, or the default color of a new actor folder, is treated as if there is no folder that will prevent a base and frame from being rendered for contained actor tokens.
This option reveals additional configuration options allowing you to customize colors associated with each token disposition.
Token frames (rings, square, hex) are layered above token graphics.
You can override this setting on a per-token basis on a token's Image tab if you use a mix of round and irregular tokens.
This option renders the frame in a flat color.
This option renders the frame in a beveled style typically seen surrounding round tokens.
This allows you to change the thickness of the rendered frame. The percentage is based on the width of a single grid unit, not the token width, so larger and smaller tokens will have a consistent frame size.
Setting this value to anything lower than 1 will allow the map background to be seen through the base. Setting this value to 0 will disable drawing the base entirely.
Setting this value to anything lower than 1 will allow the map background or token to be seen through the frame. Setting this value to 0 will disable drawing the frame entirely.
string
A method to retrieve the string color hex border of a token on the canvas founded by id or name
Returns: string
Param | Type | Description | Default |
---|---|---|---|
tokenIdOrName | string |
The oken id or name (if founded) | #000000 |
Promise<void>
A method to disable the draw border factions on a array of tokens on the canvas founded by id or name
Returns: Promise<void>
Param | Type | Description | Default |
---|---|---|---|
tokenIdsOrNames | string[] |
The array of token ids or names (if founded) | undefined |
Promise<void>
A method to disable the draw border factions on a token founded by id or name
Returns: Promise<void>
Param | Type | Description | Default |
---|---|---|---|
tokenIdOrName | string |
The token id or name (if founded) | undefined |
Promise<void>
A method to enable the draw border factions on a array of tokens on the canvas founded by id or name
Returns: Promise<void>
Param | Type | Description | Default |
---|---|---|---|
tokenIdsOrNames | string[] |
The array of token ids or names (if founded) | undefined |
Promise<void>
A method to enable the draw border factions on a token founded by id or name
Returns: Promise<void>
Param | Type | Description | Default |
---|---|---|---|
tokenIdOrName | string |
The token id or name (if founded) | undefined |
To install this package, open your Foundry Setup screen and navigate to your Module tab and click the Install Module button.
From there, you can either search for the package unique name: token-factions or copy its manifest URL:
And paste it to the input box at the bottom of your window.
You can install this package directly to your Forge account.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Advertisement cookies are used to deliver visitors with customized advertisements based on the pages they visited before and analyze the effectiveness of the ad campaign.