I see no reason why gaiea units should be highlighted so maybe it can be changed to not do that?
BA's team platter widget highlights neutral units
Moderator: Content Developer
BA's team platter widget highlights neutral units
That looks bad on maps with neutral units (Like the one that I try to make.
)
I see no reason why gaiea units should be highlighted so maybe it can be changed to not do that?
I see no reason why gaiea units should be highlighted so maybe it can be changed to not do that?
Re: BA's team platter widget highlights neutral units
and it kills the FPS
Re: BA's team platter widget highlights neutral units
made changes so that it does not highlight gaiea/neutral units.
Somewhere at top add:
and in DrawWorldPreUnit() change
if (teamID)
to
if (teamID and teamID~=GetGaiaTeamID) then
File is attached, I also marked changed lines with --+++
Somewhere at top add:
Code: Select all
local GetGaiaTeamID = Spring.GetGaiaTeamID ()
function widget:PlayerChanged()
GetGaiaTeamID = Spring.GetGaiaTeamID ()
endif (teamID)
to
if (teamID and teamID~=GetGaiaTeamID) then
File is attached, I also marked changed lines with --+++
- Attachments
-
- gui_team_platter_no_g.lua
- for BA maintainer, not for players
- (7.79 KiB) Downloaded 113 times
Re: BA's team platter widget highlights neutral units
Thanks a million knorke, committed.
