How to stop/reduce flashing of unit colors?

How to stop/reduce flashing of unit colors?

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
Skasi
Posts: 19
Joined: 02 Jul 2008, 12:34

How to stop/reduce flashing of unit colors?

Post by Skasi »

Whenever players lag there's an indicator that makes their player colors jump to white and back again. The frequency at which this happens is very high. How can I reduce it, or as a second resort how can I remove the blinking effect altogether?
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: How to stop/reduce flashing of unit colors?

Post by Jools »

+1

I tried to override player's colours by setting local ones, but it didn't work.

I think the blinking is done by changing the alpha component in player's colour, and that one can not be set locally with this function:

Spring.SetTeamColor
( number teamID, number r, number g, number b ) -> nil
Post Reply

Return to “Help & Bugs”