#Shield Ground Rings - Additional graphics for shields

1 messages · Page 1 of 1 (latest)

warm fox
#

Case:
It can be hard to see shield coverages in busy bases. It's also hard to know what queued shields will cover so that you can queue other potential shields in quick succession. This widget adds rings on the ground with different colours and animating the queued shields' rings for added visibility.

Download: https://gist.github.com/tetrisface/b44fd0b678e4d858bc42acf747993d52

Old 2D version in the video: https://gist.github.com/tetrisface/fcf1e6bb053f8f0a0cfa6b99e11d04c2

Gist

GitHub Gist: instantly share code, notes, and snippets.

Gist

GitHub Gist: instantly share code, notes, and snippets.

limpid axle
#

Looks very nice!

#

You can un-hardcode the shield range like this:
local range = UnitDefNames["corgate"].weaponDefs.repulsor.range or something similar

warm fox
#

I think I have tried all different shield props alternatives I could find in the whole repo. no idea

#

maybe I can't do it via unitdef

#

found it 🥳 unitDef.customParams.shield_radius

warm fox
#

updated to show teammates' shields

warm fox
#

updated: now seems to work with t3 shields

warm fox
#

Updated with 3D support. It has a more minimalistic look so far with just one ring per shield.
Unfortunately some bugs! Some rings will glitch back and forth. Maybe some buffer issue.

#

Shield Ground Rings - Additional graphics for shields

cerulean wolf
#

Can you make it so that the ground under a shield is a diff color if its supported by, lets say, 7 shields 🙂

warm fox
# cerulean wolf Can you make it so that the ground under a shield is a diff color if its support...

i might be misunderstanding but i think it goes against a goal of this widget. that goal is to subtract from the visual content instead of adding to it to highlight missing coverage instead of highlighting multiple layer coverage. to take it even further i would actually like to remove the intersecting multiple white-ish spheres and replace that with a connected but non-intersecting volume of whiteness

warm fox
#

i guess it can be done. the hard part is to make it understandable without explanation/text. i would also want it to stay good-looking. complexity would increase and im already stretching my opengl capabilities 🙂

from the top of my head maybe some kind of silver armor-ish looking color/pattern could do the job. + some indicator for the number of shields. its an interesting design challenge

#

maybe some groups of "tiger" bands of silver where the number of bands is the number of shields. for example 3 such groups per area

#

i think the void in the middle should be quite sacred. maybe a number. 7 bands is actually too many to discern. so need another solution

#

could be bands of void/transparency that shift to silver if 7

cerulean wolf