P.U.R.E. Selection Circle

P.U.R.E. Selection Circle

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
MidKnight
Posts: 2652
Joined: 10 Sep 2008, 03:11

P.U.R.E. Selection Circle

Post by MidKnight »

In screenshots of PURE, I've noticed an interesting Selection Circle widget. Could I please see the code?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: P.U.R.E. Selection Circle

Post by Forboding Angel »

I'd give one of my testicles for that selection circle widget...

It's beautiful *sniff*
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: P.U.R.E. Selection Circle

Post by smoth »

the prototype was in his merc squad thingie iirc.

The pure source code is available on his site iirc also.
User avatar
manolo_
Posts: 1370
Joined: 01 Jul 2008, 00:08

Re: P.U.R.E. Selection Circle

Post by manolo_ »

could u post a pic?
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Re: P.U.R.E. Selection Circle

Post by FLOZi »

isn't it just a textured quad?
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: P.U.R.E. Selection Circle

Post by Argh »

Yeah, it's a textured quad with some math that makes it do stuff like use type assignment, be directional and follow Unit orientation, etc.

It's not very sophisticated OpenGL, but it's pretty and it works. I'll probably make a much nicer one now that I know how.
Post Reply

Return to “Lua Scripts”