Jump to content

battle panel size


Recommended Posts

Posted (edited)

hi aslain or quaksen ,  is there a way changing the  size of the panel  (the height)  as u can see  from pic chat  covers it and  hides some of the panel thanks in advance

 

 

shot_003.jpg

Edited by bubs79
  • Administrator
Posted

It's possible, but requires heavy coding of playerspanel.xc config. You would have to add extra fields and reproduce panels in them, position them on the top. That would require messing with battletimer.swf as well, or use xvm's functions. Nothing easy anyway.

  • Moderator
Posted

What Aslain said.

 

Also, chat hiding your own team's panel is okay, I'd say.. it's temporary, only while the chat messages are displayed.

 

(Might be a downside of the resolution you're playing at, but rest seems to show fine enough... hope you can manage with it :) )

Posted

thanks for replies guys I think i'll give it a miss as I don't have a clue about changing codes etc  

my laptop is 1366x768 . have game set a t full screen ,    I did  try   selecting the resolution from the mod pack and the panel was like how I wanted it but other mods were all over the place

 

also thanks quaksen for helping  me change wording for carasoul .

i'd like to ask   I tried  changing the size of the carasoul boxes from 0.8 to 0.6   so I can fit 4  rows in nicely  , it worked but then  some  numbers and  the mastery badge  were half showing as  were over the edge of box , is there a way of stretching the boxes?

 

this screen would be fine but as u can see  the damage panel is in wrong place

shot_008.jpg

  • Moderator
Posted

Not sure about the carousel and the text on it.. I'm sure Aslain will know something about that :)

 

That screenshot looks crazy... damage panel is everywhere, and odd lines from all the tanks o_O

Posted

yeh  I can live without changing the panel etc  ,    the lines I think are a graphics problem , I don't have a high end laptop  .  only imtel core i3, 1 tb hdd  8 gig ram    and graphics card is hd5500  I have settings at recommended usually medium  .   I had those lines from the first day I started playing lol   itthey only appear now and again  

  • Administrator
Posted

The installer is not allowing for 0.6 scale, so you will get missplaced elements, you may fix it by entering new values manualy to the config file. Not easy again.... you have to change x,y for each element. GL!

Posted
13 hours ago, Aslain said:

The installer is not allowing for 0.6 scale, so you will get missplaced elements, you may fix it by entering new values manualy to the config file. Not easy again.... you have to change x,y for each element. GL!

i thought that that was the problem ,  when the new game update comes i knw they are adding a carasoul mod into the game  so maybe the rows will fit the way i was wanting .

this is the carousel.xc  file . is this where i would need to change the values ? if so could you tell me what ones need to be changed , bear in mind i have  the advanced info mod on 

 

 

{
  "carousel": {
    // false - Disable customizable carousel.
    "enabled": true,
    // Scale of carousel cells.
    "zoom": 0.8,
    // Number of rows at carousel.
    "rows": 4,
    // Spacing between carousel cells.
    "padding": {
        "horizontal": 1,
        "vertical": 1
    },
    // true - show filters only if all tanks do not fit on the screen.
    "alwaysShowFilters": true,
    // true - hide cell "Buy tank".
    "hideBuyTank": false,
    // true - hide cell "Buy slot".
    "hideBuySlot": false,
    // Visibility filters.
    "filters": {
      // false - hide filter.
      "nation":   { "enabled": true },  // nation
      "type":     { "enabled": true },  // vehicle class
      "level":    { "enabled": true },  // vehicle level
      "favorite": { "enabled": true },  // favorite tanks
      "prefs":    { "enabled": true }   // other filters
    },
    // Standard cell elements.
    "fields": {
      // "visible"  - the visibility of the element
      // "dx"       - horizontal shift
      // "dy"       - vertical shift
      // "alpha"    - transparency
      // "scale"    - scale
      //
      // Vehicle class icon.
      "tankType": { "visible": true, "dx": 0, "dy": 0, "alpha": 100, "scale": 1 },
      // Vehicle level.
      "level":    { "visible": true, "dx": 0, "dy": 0, "alpha": 100, "scale": 1 },
      "multiXp":  { "visible": true, "dx": 0, "dy": 0, "alpha": 100, "scale": 1 },
      "xp":       { "visible": true, "dx": 0, "dy": 0, "alpha": 100, "scale": 1 },
      // Vehicle name.
      "tankName": { "visible": true, "dx": 0, "dy": 0, "alpha": 100, "scale": 1 },
      "statusText": { "visible": true, "dx": 0, "dy": 0, "alpha": 100, "scale": 1 },
      "clanLock":   { "visible": true, "dx": 0, "dy": 0, "alpha": 100, "scale": 1 }
    },
   "extraFields": [  
        { "x": 41, "y": 0,
          "format": "<b><font size='11' color='#C8C8B5'>{{v.battletiermin}}-{{v.battletiermax}}</font></b>",
          "shadow": { "color": "0x000000", "alpha": 0.8, "blur": 2, "strength": 3, "distance": 0, "angle": 0 }
        },
        { "x": 101, "y": 35, "format": "<font face='$FieldFont' size='12' color='{{v.c_damageRating}}'>{{v.damageRating%4.2f~%}}</font>",
          "shadow": { "color": "0x000000", "alpha": 0.8, "blur": 2, "strength": 5, "distance": 0, "angle": 0 }
        },
        { "x": 100, "y": 11, "format": "<img src='img://gui/maps/icons/library/proficiency/class_icons_{{v.mastery}}.png' width='23' height='23'>" },  
        { "x": 2, "y": 15,
          "format": "<font face='xvm' size='13' color='#CCCCCC'>B</font> <b><font size='12' face='$FieldFont' color='{{v.c_winrate}}'>{{v.winrate%2d~%|--}}</font></b>",
          "shadow": { "color": "0x000000", "alpha": 0.8, "blur": 2, "strength": 5, "distance": 0, "angle": 0 }
        },
  { "x": 1, "y": 30,
   "format": "<font face='xvm' size='13' color='#CCCCCC'>R</font> <b><font size='12' face='$FieldFont' color='{{v.c_battles}}'>{{v.battles|--}}</font></b>",
         "shadow": { "color": "0x000000", "alpha": 0.8, "blur": 2, "strength": 5, "distance": 0, "angle": 0 }
  },
  { "x": 2, "y": 45, "format": "<font face='xvm' size='13' color='#CCCCCC'>A</font> <b><font size='12' face='$FieldFont' color='{{v.c_wn8effd}}'>{{v.tdb%-4d|--}}</font></b>",
         "shadow": { "color": "0x000000", "alpha": 0.8, "blur": 2, "strength": 5, "distance": 0, "angle": 0 }
  },
     { "x": 40, "y": 45, "format": "<font face='xvm' size='13' color='#CCCCCC'>+</font> <b><font face='$FieldFont' size='12'><font color='#60FF00'>{{v.wn8expd%-4d|--}}</font></b>",
   "shadow": {"blur":8, "strength": 3} }  
    ],
    // Order of nations.
    //"nations_order": ["ussr", "germany", "usa", "france", "uk", "china", "japan", "czech"],
    "nations_order": [],
    // Order of types of vehicles.
    "types_order":   ["lightTank", "mediumTank", "heavyTank", "AT-SPG", "SPG"],
    // Tank sorting criteria, available options: (minus = reverse order)
    // "nation", "type", "level", "maxBattleTier", "premium", "-level", "-maxBattleTier", "-premium"
    "sorting_criteria": ["nation", "type", "level"],
    // Suppress the tooltips for tanks in carousel
    "suppressCarouselTooltips": false
  }
}
 

  • Moderator
Posted

Most, if not all of the X/Y coordinates in the extrafields section are the ones you need to mess with to change the texts position when you resize the carousel cells.

 

You can get a pretty good idea of what is what, just by looking at the strings.

(v.c_winrate, will be showing the winrate on the tank, for example)

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.