Page 1 of 1

Wanted: Radius widgets (graphical)

Posted: 12 Feb 2011, 02:21
by SpikedHelmet
So I need some visual graphic widgets, not sure if they're even possible.

What I want is basically stuff like this:

Image

Replacing various drawn circles such as radar and weapons range.

However I want mine to have a faint grid pattern "filling":

Image

That's just a rough sketch; I want hexagonal grid pattern, not square.

What's worse is I'd like them to overlap nicely, either merging or cancelling each other out or whathaveyou, particularly since it uses semi-transparency and several overlapping might lead to hideousness. But is this even possible to do in a way that doesn't look horrendous when two grids overlap?

Re: Wanted: Radius widgets (graphical)

Posted: 12 Feb 2011, 06:53
by Forboding Angel
This might do what you want. You can see it in evo by simply building a powerplant.

http://svn.evolutionrts.info/evolutiond ... _range.lua

Supports animations in customparams a la:

Code: Select all

	groundtexselectimg = ":nc:bitmaps/power/power.png",
	groundtexselectimg1 = ":nc:bitmaps/power/power1.png",
	groundtexselectimg2 = ":nc:bitmaps/power/power2.png",
	groundtexselectimg3 = ":nc:bitmaps/power/power3.png",
	groundtexselectimg4 = ":nc:bitmaps/power/power4.png",
	groundtexselectimg5 = ":nc:bitmaps/power/power5.png",
	groundtexselectimg6 = ":nc:bitmaps/power/power6.png",
Or you can just leave it as one frame.