Idle builders

Idle builders

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

Moderator: Moderators

Post Reply
User avatar
Floris
Balanced Annihilation Developer
Posts: 609
Joined: 04 Jan 2011, 20:00

Idle builders

Post by Floris »

I edited the "idle builders" widget.
- animated icon perspective
- performance increased 3x
- icon size dependent on screen resolution
- icon hover/click: animated size and now has rounded corners too
- fixed buggy unit highlight on hover
- added guishader effect on hover/click
- hides when being spectator

Usage:
on click: select unit
on middleclick: move to unit

Image
Attachments
idle_builders.zip
20 april 2015
(5.98 KiB) Downloaded 41 times
idlebuilders.png
(488.77 KiB) Not downloaded yet
Last edited by Floris on 20 Apr 2015, 22:33, edited 2 times in total.
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: Idle builders

Post by jamerlan »

Looks really good! GJ!
User avatar
Floris
Balanced Annihilation Developer
Posts: 609
Joined: 04 Jan 2011, 20:00

Re: Idle builders

Post by Floris »

- added guishader effect on hover/click
- hides when being spectator
- slightly larger size
- on hover/click blending type changed, it has more consistent color now.
User avatar
daryl
Posts: 192
Joined: 08 Oct 2006, 10:33

Re: Idle builders

Post by daryl »

Floris wrote:I edited the "idle builders" widget.
- animated icon perspective
- performance increased 3x
- icon size dependent on screen resolution
- icon hover/click: animated size and now has rounded corners too
- fixed buggy unit highlight on hover
- added guishader effect on hover/click
- hides when being spectator

Usage:
on click: select unit
on middleclick: move to unit

Image

is possible to have unitpics instead of 3d unit in the idle icon?
User avatar
Floris
Balanced Annihilation Developer
Posts: 609
Joined: 04 Jan 2011, 20:00

Re: Idle builders

Post by Floris »

This/my version has stripped the old plain icon display option. (newer version of this widget is included in BA btw, its disabled by default)

Since new Spring engine version it sometimes renders the models in plain color depending of where you are in the map. I've tried to fix that, but without success.

Long story short... For now (I might add it back again) only the old original version of this widget has the option you are looking for.
User avatar
daryl
Posts: 192
Joined: 08 Oct 2006, 10:33

Re: Idle builders

Post by daryl »

Floris wrote:This/my version has stripped the old plain icon display option. (newer version of this widget is included in BA btw, its disabled by default)

Since new Spring engine version it sometimes renders the models in plain color depending of where you are in the map. I've tried to fix that, but without success.

Long story short... For now (I might add it back again) only the old original version of this widget has the option you are looking for.

ok, if your intentions is to make some implementations at your widget, I can give you some ideas, if you want. so, Thx for answer!!
Post Reply

Return to “Lua Scripts”