Comment 4 for bug 335582

Revision history for this message
Manuel Moos (z-man) wrote :

zFortressZone may do that, but the others don't. Ideally, behavior would be this:
- if no alpha is set in the map or by a derived class, alpha should be ZONE_ALPHA_SERVER
- if an alpha value is set otherwise, it should be used.
In the long run, we do want to phase out visual preference settings in favor for a more scalable approach (css is the current winner), so setting the alpha value to "whatever is in the map" * ZONE_ALPHA_SERVER is undesirable; it will lead to a jump on servers using ZONE_ALPHA_SERVER once that setting is eliminated.

Right now, however, the behavior is that ZONE_ALPHA_SERVER is only used if the map sets no color component at all, because applyVisuals lacks resolution. Not that I'd want you to change that, hell no, it's fine. It's just that the behavior right now is not exactly optimal and I'm not fully happy with it. Happy enough to forget about it, though.