maptool icon indicating copy to clipboard operation
maptool copied to clipboard

Auras with Colored Border Options

Open aliasmask opened this issue 4 years ago • 10 comments

Sometimes all you need is a colored border to represent an area affected. Making it a solid border with no color mixing would make some battle maps look cleaner and not interfere with light sources.

Describe the solution you'd like Possible Border Options

Border Color

Aura Red Square 10ft: aura square 12.5##FF0000 
Aura Blue with Green Border 15ft: aura 17.5#0000FF#00FF00

Dashed, Dotted, Solid (default solid)

Aura Red Square 10ft: aura square 12.5##FF0000-
Aura Red Square 10ft: aura square 12.5##FF0000.
Aura Red Square 10ft: aura square 12.5##FF0000|

Add Opacity Aura Red Square 10ft: aura square 12.5##FF0000|0.5

Aura Scales with Token Size Aura Red Square 10ft: aura square 10s##FF0000|0.5

It would basically add 1/2 a grid per size increment. +2.5 med and smaller, +5 large, +7.5 huge, +10 colossal, +15 gargantuan

Add z-order to Auras

Aura Red Square 10ft: aura square 12.5##FF0000|0.5 z+1
Aura Red Square 15ft: aura square 15s##FF0000|0.5 z-1

10ft aura will always be on top of all other auras and 15ft below all other auras without z-orders specified. Higher or lower values will work relative to other specified z-orders. z+2 is above z+1, for example.

aliasmask avatar Jan 13 '20 11:01 aliasmask

maybe just a BORDER keyword added and SOLID, DASHED, DOTTED along with it?

What's the point of the 0.5 btw? Can you elaborate a usecase? We have SCALE already that may already fit this use case...

Does the Aura need a different border color along with it's fill or we define an aura to either be a filled aura (normal) OR border, if you want both you add 2 auras to a token?

JamzTheMan avatar Jan 19 '20 20:01 JamzTheMan

The second color (after the 2nd #) would be the border color, so it can be different. Implementation is up to you guys so using BORDER and SOLID,DASHED,DOTTED is fine and probably more clear. The 0.5 was for the opacity of the border only going from 0 (invis) to 1 (solid).

The ## indicates there is no color for the aura and only a color for the border.

aliasmask avatar Jan 19 '20 21:01 aliasmask

Multiple aura like multiple light colors on a single define is something I sure people would want. I can think of using it for range increments and a cone. But I figure just getting the borders for now would be a big enough victory.

aliasmask avatar Jan 19 '20 21:01 aliasmask

Got it. FWIW I think I would try and change the format of colors to allow RBGA format vs just RGB then you have the alpha/transparency control in one definition, may be easier to parse.

We really need to make light building a UI... Some day...

JamzTheMan avatar Jan 20 '20 14:01 JamzTheMan

Hex shapes and hex-grid would be good. Grid looks horrible on a hex grid map. Dashed border types is good for accessibility. I would like to have just a border/outline option, as it is useful for things like weapon ranges. Stacked/multiple auras is definitely something I want. A long time ago I also requested a hole-in-the-middle option that would be handy. If an aura could have a start and end distance then laying one atop the other becomes cleaner. Can we at least extend auras to include all existing shape classes?

bubblobill avatar Mar 07 '20 14:03 bubblobill

FYI Hex shapes for GRID had already been fixed in another issue.

JamzTheMan avatar Mar 07 '20 14:03 JamzTheMan

Found my original request regarding hole-in-the-middle. Contains some handy images and interesting discussion. Forum post

bubblobill avatar May 17 '20 14:05 bubblobill

I've seen several requests for aura borders as of late. Ghost49X https://discord.com/channels/296230822262865920/917471293450891325/923040137334632498 https://discord.com/channels/296230822262865920/732668237015416873/925591509967974440

I think it would be a good feature which I imagine wouldn't be too much work to do, just some design decisions.

aliasmask avatar Dec 29 '21 05:12 aliasmask

If we’re doing a wishlist for an aura update… I would add an alternate aura on mouseover.

Basically, the aura definition would include the word “mouseover” with the name of another aura to use.

The Discord example showed a distance pop up on top of tokens within the aura on mouseover, but that’s not a huge requirement for me since we already have ways to do that (using macros in token properties that appear on the stat sheet).

Azhrei avatar Dec 29 '21 06:12 Azhrei

This is a neat idea if they're going to add to auras.

Ghost49X avatar Dec 31 '21 18:12 Ghost49X