Jump to content
Korean Random

apaseall

User
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Noob
  1. Hi, I see that unicode is supported in minimaplables.xc, example; "labels": { "nickShrink": 5, // Maximum nickname size for {{short-nick}} macro. "vehicleclassmacro": { // {{vehicle-class}} macro substitutions. "light": "\u2022", // LT / ЛT ♦. "medium": "\u2022", // MT / СТ. "heavy": "\u2022", // HT / ТТ. "td": "\u2022", // TD / ПТ ▼. "spg": "\u25AA", // Artillery / Арта. ■ "superh": "\u2022" // HeavyTank10 by gui_settings.xml. // Special symbols website / Сайт со спец символами: // http://www.fileformat.info/info/unicode/char/25a0/index.htm // Great symbolic font by Andrey_Hard for {{vehicle-class}}: // http://goo.gl/d2KIj }, I am trying to use unicode in playerspanel.xc, example; "enemySpottedMarker": { "enabled": true, "Xoffset": -15, "Yoffset": -4, "format": { "neverSeen": "<font face='$FieldFont' size='24' color='#DEDEDE'>\u25EF</font>", // Never seen this enemy. "lost": "<font face='$FieldFont' size='24' color='#DEDEDE'>\u229A</font>", // This enemy was seen atleast once. "revealed": "<font face='$FieldFont' size='24' color='#DEDEDE'>\u25C9</font>", // Enemy currently revealed at minimap. "dead": "<font face='$FieldFont' size='24' color='#DEDEDE'>\u25CF</font>", // Dead enemy. "artillery": { "neverSeen": "<font face='$FieldFont' size='24' color='#DEDEDE'>\u2610</font>", "lost": "<font face='$FieldFont' size='24' color='#DEDEDE'>\u25A5</font>", "revealed": "<font face='$FieldFont' size='24' color='#DEDEDE'>\u25A3</font>", "dead": "<font face='$FieldFont' size='24' color='#DEDEDE'>\u25FC</font>" } } }, But all I see is a white square. If I try html, example; "neverSeen": "<font face='$FieldFont' size='24' color='#DEDEDE'>◯</font>" I see the characters ◯, not the symbol they should produce. Is there unicode support ? Am I doing something wrong ? Does this need to be made a suggestion for future builds of xvm ? I am using xvm-5.0.0-test4
  2. Hi, I have spent a little while wresting with text alignment for the playerspanel.xc. The problem is that tank names are not all the same length i.e. "L Type T-34" is longer than "L Pz. III" So code like <font color='{{c:t-rating}}'>{{t-rating:3}}</font><font color='{{c:t-rating}}'> {{vehicle}}</font> ends up with stats and names not lined up vertically. I see stuff like; " xx xxxxx " " xx xxx " " xx x " instead of; " xx xxxxx " " xx xxx " " xx x " can anyone help me out please ? I have tried a number of different html alignment methods but have had limited success. The best results so far relate to <p align='left'><\p> but ... I believe <p> is adding something like a line break after </p> which means i see stuff like; xx xxxxx xx x I seems as though I am missing half of the details. I have limited success with <textformat tabstops='[]'></textformat> but the varying lenth of the tank names still staggers the nicely tabbed details. With <p></p> the text starts at the top of the list of tank names and instead of the next tank details appearing on the line below, it appears on the line after that. i.e. instead of; " xx xxxxx " " xx xxx " " xx x " i get; " xx xxxxx " " " " xx xxx " " " " xx x "
×
×
  • Create New...