Jump to content
Korean Random

zekias87

User
  • Content Count

    65
  • Joined

  • Last visited

Posts posted by zekias87


  1. I have set this part, in the "battleLabelsTemplates.xc", to true, but it doesn't show on my battle interface. I get a ":/" in the upper left corner, left of the hitlog but right of the ping and fps.

    Is this not yet functioning or am I missing something?

     

     

    "winChance": {
          "enabled": true,
          "updateEvent": "ON_VEHICLE_DESTROYED",
          "x": 230,
          "y": 2,
          "width": 300,
          "height": 20,
          "shadow": { "distance": 1, "angle": 90, "alpha": 80, "blur": 5, "strength": 1.5 },
          "textFormat": { "size": 15 },
          "format": "{{xvm-stat?{{l10n:Team strength}}: {{py:xvm.team_strength('{{allyStrengthStatic}}','{{enemyStrengthStatic}}')}} / {{py:xvm.team_strength('{{allyStrengthLive}}','{{enemyStrengthLive}}')}}}}"
        },


  2.  

    Define it like this in playerspanel

      "hpLeft" : {
         "x": 88,
    	 "y": 4,
    	 "hotKeyCode": 56,
    	 "bindToIcon": true,
    	 "format": "<font face='mono' size='12' color='{{c:hp-ratio}}'><b>{{alive?{{hp%4d~|}}|}}</b></font>"
    	 },
    

    and add the extra field in extraFieldsRight: 

    "extraFieldsRight": [
            ${"clanIcon2"},
            //${"xvmUserMarker"}
            // enemy spotted status marker (see above).
            // маркер статуса засвета противника (см. выше).
            ${"enemySpottedMarker"},
            ${"hpLeft"}
           ]
    

    Thank you very much sir!


  3. You define it in the top part of playersPanel.xc, you will find "xvmUserMarker" or "clanIcon" definitions there as examples. Then in the panel mode of your choice (short, medium, medium2, large) you add ${"hpLeft"} to list of extra fields (again, in default config you will see references xvmUserMarker or clanIcon).

     

    Thank you very much for that explanation! I got it to work.

     

    If I want it to only show when ALT is pressed, is there an easy fix for that perhaps?


  4. just add {{hp}} macro to playerspanel, you can easily test it with replays

     

    for instance like this, this can be seen all the time and not hided behind alt

     

    "nickFormatRight": "{{name%.15s~..}} <font alpha='#A0'>{{clan}}</font> <font color='{{c:rating}}' alpha='{{alive?#FF|#80}}'>{{rating%2d~%|--%}}</font> {{hp}}",

     

    Thank you very much Andyss!

    Well, if you can't edit XVM config, find somebody to do it for you. I've shared my concept so public config makers can use it.

     

    My settings are tailored for my weird sense of taste and modded vehicle icons. If you don't have basic skills with config editing, just copying my file won't help.

     

    Thing is, I can edit XVM config on a basic level. I have changed several of the files to my liking. But I dont know programming very well. What I dont understand is where in playerspanel to put your code and I also dont get how to make it in "altmode".


  5. OK, so I made hpLeft definition to be used in PlayersPanel:

    "hpLeft" : { "x": 90, "y": 0, "bindToIcon": true,
    "format": "<font face='mono' size='15' color='{{c:hp-ratio}}'>{{alive?{{hp%4d~hp|}}|}}</font>" },

    I use it with "AltMode", works like a charm.

     

    Could you post that file? I'd love to use that but I don't understand how to do it.


  6. I did this to make it work:

     

    In "markersAliveNormal.xc" there is a part that looks like this:

     

    // Text field with the name of the player.
        // Текстовое поле с именем игрока.
        "playerName": {
          "name": "Player name",          // название текстового поля, ни на что не влияет
          "enabled": true,                // false - не отображать
          "x": 0,                         // положение по оси X
          "y": -51,                       // положение по оси Y
          "alpha": 100,                   // прозрачность (допускается использование динамической прозрачности, см. macros.txt)
          // Font options.
          // Параметры шрифта.
          "textFormat": {
            "font": "$FieldFont",         //   название
            "size": 13,                   //   размер
            "color": null,                //   цвет (допускается использование динамического цвета, см. macros.txt)
            "align": "center",            //   выравнивание текста (left, center, right)
            "bold": false,                //   обычный (false) или жирный (true)
            "italic": false               //   обычный (false) или курсив (true)
          },
          // Shadow options.
          // Параметры тени.
          "shadow": {
            // false - no shadow
            // false - без тени
            "enabled": true,
            "distance": 0,                //   дистанция смещения
            "angle": 45,                  //   угол смещения
            "color": "0x000000",          //   цвет
            "alpha": 100,                 //   прозрачность
            "blur": 6,                    //   размытие
            "strength": 2                 //   интенсивность
          },
          "format": "<font size='{{battletype?13|{{squad?13|0}}}}'>{{name}}</font>"

     

    The last row, change to look like this:

     

          "format": "{{nick}}"


  7.  

    i mean, i agree it is indeed not obvious.

     

    change

    "height": 1000,

     

    Sorry for misunderstanding you! And a big thanks for the swift help! :)

     +1 to you!

    While I'm here asking questions, I have another one related to the subject in a way. When I make changes, nothing happes in game, and yes I am restarting the game. Then suddenly after playing the game for a couple of hours and restarting a bunch of times suddenly one of the changes I have made comes through.

    Is there a way to reset or to make sure the game loads the latest changes I have made?

     

    I hope you understand what I mean :)


  8. Hi!

    In previous versions of XVM there were X and Y coordinates in hitLog.xc:

     

        // X position (negative values - bind to right side of screen).
        "x": 330,
        // Y position (negative values - bind to bottom side of screen).
        "y": 10,

     

    Now there are no such coordinates anymore and I wonder if anyone know how to change the position of the hitlog? For me the hitlog is behind the players panel since I use the Large panel.

     

     

    And also how to add more lines? In the old one it was pretty clear:

     

       // Number of lines with hits. Old lines will be pushed out.
            "lines": 10,

     

    Now I dont see anything that is obvious to me.

     

    Anyone know how to fix these things? It would be appreciated.

    And also, BIG thanks to the XVM-team for all their hard work!

    • Upvote 1

  9. Hi

     

    I have a problem with the capture bar.

    In previous versions of xvm I have moved the capture bar down by editing line 138 in elements.xc :

     

    // Capture bar
                // ?????? ??????? ???
                "teamBasesPanel": {
                    "_alpha": 100,
                    "_x": "teamBasesPanel._x + 0",
                    "_y": "teamBasesPanel._y + 120"
                }

     

    As you can see I have changed the 0 to 120 which earlier moved it down. Now I cant get that to work anymore. Anyone know why and how it need to be done instead with the newer xvm version?

     

    I also cant see how many is in the cap circle and how much there is left until it reaches 100%. Anyone have any idea why that is?

     

    I haven´t changed anyting else aside from a few things in markersalive and markersdead files.

     

    Thanks in advance!


    Ok, I solved it. Apparently I had replaced the TeamBasesPanel.swf with another one from another modpack..

×
×
  • Create New...