Jump to content

Truncated nicknames in players panel


Recommended Posts

Posted

Is there any way of showing full nicknames with clan info in the players panel? I am defaulting mine to "medium #1", but even if I choose "full" they still are truncated and I can't see any of the longer nicknames, including the clan parenthesis. I tried editing nickMinWidth and nickMaxWidth in playersPanel_medium.xc, but it just makes the nickname cell wider - nicknames stay truncated.

 

Any help appreciated, thanks.

  • Moderator
Posted (edited)

{{nick%.16s~..}}

 

You need to change that part.

 

{{nick}} should show the full name + clantag..

 

See; \res_mods\mods\shared_resources\xvm\doc\macros.txt for other options.

Edited by Quaksen
  • Upvote 1
Posted

Just changed that, and the names are still truncated... Maybe I've done smth wrong?

 

Here's the excerpt of that part of the file:

      "nickFormatLeft": "<font color='{{c:r}}' alpha='{{alive?#FF|#80}}'>{{nick}}</font>",
      "nickFormatRight": "<font color='{{c:r}}' alpha='{{alive?#FF|#80}}'>{{nick}}</font>",

 

  • Moderator
Posted
3 minutes ago, zzarac said:

Just changed that, and the names are still truncated... Maybe I've done smth wrong?

 

Here's the excerpt of that part of the file:


      "nickFormatLeft": "<font color='{{c:r}}' alpha='{{alive?#FF|#80}}'>{{nick}}</font>",
      "nickFormatRight": "<font color='{{c:r}}' alpha='{{alive?#FF|#80}}'>{{nick}}</font>",

 

Not sure... :( I haven't messed too much with it...

Maybe try {{nick%.100s~..}} which shouldn't truncate until their names are 100 characters long.. The above one truncates at 16 :)

  • Upvote 1
  • Moderator
Posted
Just now, zzarac said:

Thanks, that worked, but i still needed to expand nickMinWidth and nickMaxWidth values.

Yeah, obviously though, otherwise it cannot display stuff :)

It would dynamically change the field size if the min width is smaller than the max width, and the names will decide the cell size.

  • Upvote 1
Posted

One more thing, I have to commend your fast response and dedication to my query. You are a gentleman and a scholar, sir.

 

Thanks again.

  • Upvote 1
  • Administrator
Posted

I wanted to show full names there but the PP background has limited size and everything look ugly when I set it like this. Hence the sollution with truncated names.

Posted
3 hours ago, Aslain said:

I wanted to show full names there but the PP background has limited size and everything look ugly when I set it like this. Hence the sollution with truncated names.

 

plz, fix that, and with simple stat too.... :)

Posted
6 hours ago, Aslain said:

I wanted to show full names there but the PP background has limited size and everything look ugly when I set it like this. Hence the sollution with truncated names.

 

Aslain, I have absolutely no problems with players panel as it is, just needed the option to show full nicknames (and clan tags). Since there is a way of doing that (as Quacksen pointed out) there is no reason to change your default settings. Editing one text file really isn't a big hassle, and in your place I would ignore the whiners.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.