MOTD shown all the time when spectating

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators


  • Hey there,

    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?
    GreEn`mArine
    Forum addon
     
    Posts: 1509
    Joined: Tue Feb 28, 2006 9:33 pm
    Location: Germany

Thu Feb 19, 2009 3:31 am

  • I think if it's going to be a timed MOTD, it should also
    a) display for that time again when you switch to the 'spectator team'
    b) have a button to call it back by default
    c) both

    A temporary work around is:
    Code: Select all
    +zoom; wait; -zoom
    User avatar
    [-z-]
    Site Admin and Nexuiz Ninja
     
    Posts: 1794
    Joined: Mon Nov 13, 2006 12:20 am
    Location: Florida

Thu Feb 19, 2009 1:27 pm

  • Yay! nice topic ;) its pretty annoying on pn.de :P
    But if you press the chat button the MOTD disappears :)
    ginseng
    User avatar
    Mirio
    Forum addon
     
    Posts: 1170
    Joined: Sun Apr 15, 2007 3:05 pm
    Location: Aneurysm

Thu Feb 19, 2009 2:07 pm

  • It could be timed, but i noticed the player list is always there too, so we wouldn't need the TAB key while spectating. If we wanted to look at the rules again while spectating and it dissapears, we could make it when we press tab, it shows up again until you lift your finger off tab. But when you join a game and press tab it shows player list and the rules in the server, just like it always does. Or is this too hard to implement?
    http://www.odf-online.org/ Home to Flight Back, D321GO!, and other Descent related projects, all open source!
    User avatar
    Darcshadow7
    Alien
     
    Posts: 168
    Joined: Fri Feb 13, 2009 4:34 pm
    Location: Peoria, Arizona

Thu Feb 19, 2009 2:21 pm

  • As the code snippet shows, the MotD goes away when you press the zoom button during specing. Maybe the MotD should only be shown on connect for a few seconds and the +show_info button be added to the info block in the upper right?
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Thu Feb 19, 2009 7:16 pm

  • esteel wrote:As the code snippet shows, the MotD goes away when you press the zoom button during specing. Maybe the MotD should only be shown on connect for a few seconds and the +show_info button be added to the info block in the upper right?

    ack!
    GreEn`mArine
    Forum addon
     
    Posts: 1509
    Joined: Tue Feb 28, 2006 9:33 pm
    Location: Germany

Thu Feb 19, 2009 9:11 pm



Return to Nexuiz - Development




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest