I've been wondering why the MOTD is shown to me all the time if I am spectating or observing. I actually think that this is highly annoying.
I'd like to know whether this is intended, if so, then why.
OTOH, I do agree that not showing the MOTD at all (at no time except when requested using the keybind) is not a good solution either...
My personal suggestion:
From looking at the code, the Think functions for spectators and observers do this:
- Code: Select all
if(self.BUTTON_ZOOM)
self.wantswelcomemessage = 0;
if(self.wantswelcomemessage)
PrintWelcomeMessage(self);
This is what causes the MOTD to be sent all the time. On server side there is already the cvar welcome_message_time which sets up how long to show the MOTD to a player in case that sv_spectate (observer/spectator mode) is NOT enabled at all.
I personally would like it best if I'd see the MOTD for <welcome_message_time> seconds from the moment I become an observer (=when pressing F3 aka "cmd spectate"). I would NOT like to get the MOTD again when becoming a spectator, or when switching between players!
What do you think?