A chat box

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Tue Sep 09, 2008 2:18 pm

Tue Sep 09, 2008 3:05 pm

  • Well, that color thing in the name editbox was done on purpose to help with editing. Granted it might look weird but i'm not sure ATM if there is enough space to add an other checkbox to enable/disable that highlighting. Personally i would not oppose to such an config thing. I can understand both parties that dis/like that highlighting.

    An other thing is the chat window. I like it, some people find it way too huge, it has no history like when you are using the console with say/teamsay (up/down keys) and to make it a 'real' chat window it should maybe be moved to CSQC so it could (i hope it can) handle and display the text the others write.
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Wed Sep 10, 2008 7:55 am

  • As for space, the checkbox could be below the Player name text called

    [X] Preview
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Sun Sep 14, 2008 10:55 am

  • Change the Player Name label to a button

    Code: Select all
    // add to dialog_multiplayer_playersetup.c, line 14
    +void PlayerNameColourToggle(entity btn, entity me);


    // change dialog_multiplayer_playersetup.c, line 38 - 43
       entity e, pms, sl;
       float i, n;

       me.TR(me);
    +      me.TD(me, 1, 1, me.playerNameLabel = makeNexuizButton("Player Name:", '0 0 0'));
    +         me.playerNameLabel.onClick = PlayerNameColourToggle;
    +         me.playerNameLabel.onClickEntity = e;
    +         me.playerNameLabelAlpha = me.playerNameLabel.alpha;

          me.TD(me, 1, 2, e = makeNexuizInputBox(1, "_cl_name"));
             e.forbiddenCharacters = "\r\n\\\"$"; // don't care, isn't getting saved


    // add near end of dialog_multiplayer_playersetup.c
    +void PlayerNameColourToggle(entity btn, entity me)
    +{
    +   print("Toggle the display of the colour codes here\n");
    +}
    Spaceman
    Alien trapper
     
    Posts: 264
    Joined: Tue Aug 28, 2007 10:53 am

Sun Sep 14, 2008 12:41 pm

Sun Sep 14, 2008 4:47 pm

  • Way too much chat going on already, and ya want to make it better?

    j/k

    What we really need is to work on the voice plan a bit more.
    User avatar
    Barfly
    Alien
     
    Posts: 131
    Joined: Mon Jun 04, 2007 4:03 am
    Location: Hell, AKA Indiana



Return to Nexuiz - Development




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