HighlightSelectedUnits
Moderator: Moderators
HighlightSelectedUnits
So I took trepan old HighlightUnit widget, and modified so instead of highlighting the unit under cursor, it highlight the select units, in the color of health.
Note: To avoid color clashes, it also turn your own team color to grey, unless you're speccing.
Note: To avoid color clashes, it also turn your own team color to grey, unless you're speccing.
- Attachments
-
- gui_hilight_selectedunits.lua
- (8.93 KiB) Downloaded 158 times
Re: HighlightSelectedUnits
This looks great, but can I ask you a huge favour?
Could you implement this for coop mode? So we can see what units our allies have selected?
Could you implement this for coop mode? So we can see what units our allies have selected?
Re: HighlightSelectedUnits
Beherith: I wasn't aware Lua had access to allies selection.
Regret: Here are pics:
Here's a version I prefer, without the flashing stripes:
Regret: Here are pics:
Here's a version I prefer, without the flashing stripes:
- Attachments
-
- gui_hilight_selectedunits.lua
- (7.81 KiB) Downloaded 148 times
- TheFatController
- Balanced Annihilation Developer
- Posts: 1177
- Joined: 10 Dec 2006, 18:46
Re: HighlightSelectedUnits
For allies you'd have to pass the info around ala alliedcursors, which is a bit fiddly for long lists of units (but possible)
- Tribulexrenamed
- Posts: 775
- Joined: 22 Apr 2008, 19:06
Re: HighlightSelectedUnits
I wote a widget that purposely broadcasts false selection data, and a cursor that is randomly moving all over the map.
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: HighlightSelectedUnits
Whats wrong with jk's SelectionHalo?
Re: HighlightSelectedUnits
What's wrong with mine?very_bad_soldier wrote:Whats wrong with jk's SelectionHalo?
Actually, I didn't know about jK widget. But now that I downloaded and tried it: Just like trepan's platter, it is team colored. Which I find silly because you usually know the team's color, especially since it's worn by the model itself already. Mine instead is health colored. So it gives another information, which wasn't already easily available (if we assume healthbar is off or too small).
Re: HighlightSelectedUnits
SelectionHalo makes old crappy embedded Intel videochips crawl.
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: HighlightSelectedUnits
Ok, the healthcolored stuff is a good idea. But, no offense, judging from your screenies, SelectionHalo just looks better. Maybe combine the best of both worlds?zwzsg wrote: Actually, I didn't know about jK widget. But now that I downloaded and tried it: Just like trepan's platter, it is team colored. Which I find silly because you usually know the team's color, especially since it's worn by the model itself already. Mine instead is health colored. So it gives another information, which wasn't already easily available (if we assume healthbar is off or too small).
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: HighlightSelectedUnits
It was teamcolored a few months ago. Now it's green for selected, blue for hover and purple for feature. I forked it to add yellow for ally selections.zwzsg wrote:What's wrong with mine?very_bad_soldier wrote:Whats wrong with jk's SelectionHalo?
Actually, I didn't know about jK widget. But now that I downloaded and tried it: Just like trepan's platter, it is team colored. Which I find silly because you usually know the team's color, especially since it's worn by the model itself already. Mine instead is health colored. So it gives another information, which wasn't already easily available (if we assume healthbar is off or too small).
If you do this in CA then you'll have one of two results:Tribulex wrote:I wote a widget that purposely broadcasts false selection data, and a cursor that is randomly moving all over the map.
1) You're hindering your team by doing so, which is the same as walking around building useless stuff with your comm.
2) You're a spec so no one is receiving your useless crap.
Re: HighlightSelectedUnits
I'm torn about this.zwzsg wrote:Note: To avoid color clashes, it also turn your own team color to grey, unless you're speccing.
Without the Fade to Grey, you sometimes have distateful color clashes, like green over pink, or conflicting information, like is it red because of team color or because it's about to die?
But having all your unit grey is so dull.