Jump to content
Korean Random
Straszny_Cienias

Players panel problem with background and others

Recommended Posts

Hi folks,

I am just trying to adopt my config to the last XVM changes and my hairs are going gray. Is there any exact description how it works? Where can i find which parameter? Comments in configs are great but unfortunately not enough. Only way is to test it in the battle? My players panel for example lookl like this:

 

pp.jpg

 

Too far from the left border, when there is no flag then nick is moved, bacground is too small on the left side... Similar situation with markers. Only test in battle?

 

Edit:

Thread title changed to more accurate

Edited by Straszny_Cienias

Share this post


Link to post

Short link
Share on other sites

 

 

Only test in battle?
not necessarily! you can test on the replays

and about panels: changelog to help

':-))'

  * renamed parameters:
      "playersPanel"/"medium"/"formatLeft" => "playersPanel"/"medium"/"nickFormatLeft"
      "playersPanel"/"medium"/"formatRight" => "playersPanel"/"medium"/"nickFormatRight"
      "playersPanel"/"medium2"/"formatLeft" => "playersPanel"/"medium2"/"vehicleFormatLeft"
      "playersPanel"/"medium2"/"formatRight" => "playersPanel"/"medium2"/"vehicleFormatRight"
  * added options in all modes in the "playersPanel" section:
      "standardFields" - displayed standard fields in this mode and their order.
                         available names: "frags", "vehicle", "nick".
      "fragsWidth" - width of the frags column
      "vehicleWidth" - width of the vehicle name column
      "nickMinWidth" - minimum width of the player's name column
      "nickMaxWidth" - maximum width of the player's name column
      "expandAreaWidth" - width of area for switching to "large" mode on mouse over
      "vehicleIconXOffsetLeft" - offset of X value for vehicle icon for left side
      "vehicleIconXOffsetRight" - offset of X value for vehicle icon for right side
      "vehicleLevelXOffsetLeft" - offset of X value for vehicle level for left side
      "vehicleLevelXOffsetRight" - offset of X value for vehicle level for right side
      "fragsXOffsetLeft" - offset of X value for frags column for left side
      "fragsXOffsetRight" - offset of X value for frags column for right side
      "nickXOffsetLeft" - offset of X value for player name column for left side
      "nickXOffsetRight" - offset of X value for player name column for right side
      "vehicleXOffsetLeft" - offset of X value for vehicle name column for left side
      "vehicleXOffsetRight" - offset of X value for vehicle name column for right side
  * removed options in the "playersPanel" section:
     "short"/"width"
     "medium"/"width"
     "medium2"/"width"
     "large"/"width"
 

Share this post


Link to post

Short link
Share on other sites

I still have some questions about PlayesPanel. Can you help me pls?

Here reference picture

ppanel.jpg

and my formats lines from config

"nickFormatLeft": "<img src='xvm://res/icons/flags/{{flag|default}}.png' width='16' height='13'> <font color='{{c:wn8|#666666}}'>{{wn8%-6s|-??-}}</font>  <font color='#EEEEEE'>{{kb%-2.0f~k|--}}      {{nick%-25s}}</font>",

"vehicleFormatLeft": "{{vehicle%-20s}}  (<font color='{{c:hp-ratio}}'>{{hp-ratio%3s~%|---}}</font>)",

 

1. How to make this darker background behind tank names and nicks bigger? Is any parameter for that?

2. Why some nicks are moved when there is no flag? Only some! (red marked on picture) Did I put "default" wrong?

3. How to make nicks of players darker after dead like tank names or frags are and keep them brighter when they are alive? I am guessing i should delete <font color='#EEEEEE'> and change color somewhere else. Where? In colors cx i did not found...

4. What does actually "nickMinWidth" and "nickMaxWidth" do? Is this in any way automatically matched?

5. Why on the right panel nick names are not justed to the right but to the center?

Share this post


Link to post

Short link
Share on other sites

Personally I'm holding off on moving my config over to 0.9.15.1 until a stable version comes out. Apparently there are a lot of changes, saves you some headaches if the fixes in the next nightly break the config you just painstakingly got to work :)

  • Upvote 2

Share this post


Link to post

Short link
Share on other sites

I think it's good to ask questions or show problems we encounter. That way they may notice some issues what wouldnt be noticed.

 

Btw. I have the same issue with the grey background.

Edited by lina_wot

Share this post


Link to post

Short link
Share on other sites

Yeah, you are right. Good idea. I will wait until official release. This time it will take some time i think.

 

A little bit more patience. It's coming out soon ;-)

Share this post


Link to post

Short link
Share on other sites

The darker, semi-transparent background is still too short (see picture from first post). Is there any chance to correct it?

I supose it is because of my config which makes players panel longer than standard.

Share this post


Link to post

Short link
Share on other sites

The darker, semi-transparent background is still too short (see picture from first post). Is there any chance to correct it?

I supose it is because of my config which makes players panel longer than standard.

I have the same problem mate and can't figure it out :)

Share this post


Link to post

Short link
Share on other sites

The darker background is part of the vanilla client, it's editable with PlayersPanel.swf which is no longer a part of XVM. If you can find one then you can possibly decompile it with a SWF decompiler (I use Sothink) and use it to edit images. It's how people making custom loading images and add girls to various bits. You can potentially just extract the image you want, make the background larger then recompile it. It will be a lot of work to learn it but not actually all that hard to do.

Share this post


Link to post

Short link
Share on other sites

The darker background is part of the vanilla client, it's editable with PlayersPanel.swf which is no longer a part of XVM. If you can find one then you can possibly decompile it with a SWF decompiler (I use Sothink) and use it to edit images. It's how people making custom loading images and add girls to various bits. You can potentially just extract the image you want, make the background larger then recompile it. It will be a lot of work to learn it but not actually all that hard to do.

dont think that it will help... Exracted image from res\packages\gui\scaleform:

5NcGJHa.png

dimensions are: 142x375px so there are some difficulties with max. scaling of that image

Edited by Ragnarocek

Share this post


Link to post

Short link
Share on other sites

Unfortunately I have no PlayersPanel.swf file... What now?

 

 

dimensions are: 142x375px so there are some difficulties with max. scaling of that image

 

What do you mean? I changed the image, now is 250x375, probably too much, but i can't test it. I have no file.

badkground2.png:

Share this post


Link to post

Short link
Share on other sites

This file is in the package gui.pkg

 

dont think that it will help... Exracted image from res\packages\gui\scaleform:

 

Personally, I'm not sure if that's the right image. There is also image like this

post-30086-0-42768600-1471011741.png

 

Anyway, I don't know much about this stuff.

Edited by konrad509

Share this post


Link to post

Short link
Share on other sites

@Straszny_Cienias image is contained in swf file and it's dynamic size is provided with some script and I think, that it's width is limited somewhere... but I don't know where... so resizing of image will not help I think, or If you resize the image, than small playerspanel will be broken (but that are only my thoughts, i'm at work and can't test that)


Unfortunately I have no PlayersPanel.swf file... What now?

 

 

 

What do you mean? I changed the image, now is 250x375, probably too much, but i can't test it. I have no file.

badkground2.png:

 

 

This file is in the package gui.pkg

 

 

Personally, I'm not sure if that's the right image. There is also image like this

attachicon.gif76.png

 

Anyway, I don't know much about this stuff.

don't have it in playersPanel.swf (327991 bytes)

Edited by Ragnarocek

Share this post


Link to post

Short link
Share on other sites

Anyway maybe it is a good idea that XVM will build in new background and recalculate its size depending on players panel width? At least it can be easy recalculated from parameters "fragsWidth", "nickMinWidth" and "vehicleWidth" from playersPanel.xc

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

Anyway maybe it is a good idea that XVM will build in new background and recalculate its size depending on players panel width? At least it can be easy recalculated from parameters "fragsWidth", "nickMinWidth" and "vehicleWidth" from playersPanel.xc

very, very, very good idea

Share this post


Link to post

Short link
Share on other sites

yea scale it after the width parameters of the used "standardFields" in the given panel

 

Would also be nice with more "standardFields", like atlest 5

and call "columnA", "columnB", etc. instead of "frags", "vehicle", "nick".

This would make it so much easy customize and align shit

Edited by xvmftw

Share this post


Link to post

Short link
Share on other sites

I just replaced background image from playersPanel.swf with the bigger one. I extended it by about 100 pixels but there is completely no difference in game... :(

Dear XVM team, please help us!

Share this post


Link to post

Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...