Teamcolour Footprint
Moderator: Moderators
-
- MC: Legacy & Spring 1944 Developer
- Posts: 1948
- Joined: 21 Sep 2004, 08:25
Teamcolour Footprint
Hi
I'd like to request someone make a patch that allows for units to have a permament footprint outlined in teamcolour... ATM the footprint only shows when the unit is selected, and it is bright green. What I'd like is for the unselected footprint outline to be always visible (maybe togglable?), be in teamcolour, which switches to the default bright green when unit is selected.
That, or a permanent teamcolour "shade" underneath the unit in the area of it's footprint.
I'd like to request someone make a patch that allows for units to have a permament footprint outlined in teamcolour... ATM the footprint only shows when the unit is selected, and it is bright green. What I'd like is for the unselected footprint outline to be always visible (maybe togglable?), be in teamcolour, which switches to the default bright green when unit is selected.
That, or a permanent teamcolour "shade" underneath the unit in the area of it's footprint.
Quick LuaUI widget:
http://trepan.bzflag.bz/spring/on-a-platter.jpg
http://trepan.bzflag.bz/spring/on-a-platter.jpg
The real lua source only works for SVN execs. 0.74b3 LuaUI is quite
limited compared with what SVN LuaUI can do (ex: you can only see
allied units). I did make a 0.74b3 version, but it is not worth releasing
(and having to hear about its limitations numerous times).
zwzsg: you wanna pie chart those platters for health?
limited compared with what SVN LuaUI can do (ex: you can only see
allied units). I did make a 0.74b3 version, but it is not worth releasing
(and having to hear about its limitations numerous times).
zwzsg: you wanna pie chart those platters for health?

A few notes:
1. I made the selection rings blink
(will help differentiate selected units for white teams,
could also use a different color)
2. To do it properly in lua, I'd probably have to add
another rendering stage, DrawWorldPreUnit (which
costs next to nothing if it is not used). The problem is
that the platters should be rendered before cloaked
units, not after. There's also the question of whether
or not they should be visible through terrain (as the
current selection boxes are).
3. It would be better to use rectangles for some buildings,
and to enlarge the platters for aircraft. The latter could
probably be done by using hypot(visX, visY), where visX
and visY are the visual extents or the model (instead of
using the unit radius).
4. If I do release this thing for folks to play with, you can
remove the current selection boxes using:
"unitBox 1 1 1 0" in cmdcolors.txt. As a matter of fact, that's
probably where the feature option would go if included in
the engine.
1. I made the selection rings blink
(will help differentiate selected units for white teams,
could also use a different color)
2. To do it properly in lua, I'd probably have to add
another rendering stage, DrawWorldPreUnit (which
costs next to nothing if it is not used). The problem is
that the platters should be rendered before cloaked
units, not after. There's also the question of whether
or not they should be visible through terrain (as the
current selection boxes are).
3. It would be better to use rectangles for some buildings,
and to enlarge the platters for aircraft. The latter could
probably be done by using hypot(visX, visY), where visX
and visY are the visual extents or the model (instead of
using the unit radius).
4. If I do release this thing for folks to play with, you can
remove the current selection boxes using:
"unitBox 1 1 1 0" in cmdcolors.txt. As a matter of fact, that's
probably where the feature option would go if included in
the engine.
No, I want to remove the team color, and replace it with blue=under contruction, green=full-health, apple-green=little damage, yellow=medium health, orange=heavily damaged, red=crititically endangered, black=dead (for spiraling planes and units running their Killed).trepan wrote:zwzsg: you wanna pie chart those platters for health?
Since it'll be only for selected unit, I hope 74b3 will be enough.