Jump to content

[XVM] infoPanel configs (for infoPanel.py)


Ress

Recommended Posts

infoPanels.png.eacefb9a0a37710cc605bf193ad71160.png
Compilation of re-created info panel configs for xvm (from standalone mods).
All versions have adapted config for default and Aslain's xvm config. ( its sort of plug&play )

Created and tested on 1920x1080 resolution.



Download
XVM infoPanel configs.7z

 

Requirements

Spoiler
  • XVM (obviously)
  • py macro infoPanel.py & info_panel_data.py (by Kotyarko_O - download link)
  • optional - py macro aimingSystem.py (by ktulho - download link)

note: py macros are not included inside archive and account/registration is required to download them (from links above)


Install Guide

Spoiler
  • download infoPanel.py & info_panel_data.py and put them inside ../res_mods/configs/xvm/py_macro (skip if using version 7)
  • copy infoPanel.xc, battleLabelInfoPanel.xc and icons folder inside ../res_mods/configs/xvm/default (for Aslain's config put inside Aslain folder)
    or inside your own config folder but you will have to correct path for images (inside battleLabelsInfoPanel.xc)
    example: <img src='cfg://<<<YOUR CONFIG FOLDER>>>/icons/InfoPanel/InfoPanelbg.png'>
  • inside @xvm.xc add: (skip if using version 7)
    
      "infoPanel": ${"infoPanel.xc":"infoPanel"}
  • add required formats inside battleLabels.xc
  • if panel is using extra fonts, install them 

 

General infoPanel.py configuration

Spoiler
  • display duration: 3 sec
  • reload calculation: 100% crew +equipments
  • enabled on: allies, enemy & destroyed
  • ALT: show player
  • Numpad 7: toggle on/off

 

Configs

Spoiler

v1 - originally by Shtys

Spoiler

preview-v1.jpg.c4e3eddfc6e3139a3f34bbe274e95234.jpg

 

battleLabels.xc add:



      ${ "battleLabelsInfoPanel.xc":"def.infoPanel" }

 

 

v2 - originally by Shtys

Spoiler

preview-v2.jpg.1e1b1bb30315dc54f3925b994583ea63.jpg

note: requires Cuprum.ttf font (included inside archive)

 

battleLabels.xc add:



      ${ "battleLabelsInfoPanel.xc":"def.infoPanel" }

 

 

v3 - originally by Shtys

Spoiler

preview-v3.jpg.3f12ebbbadc62959b4c8c70ade06e49e.jpg

note: requires Cuprum.ttf font (included inside archive)

 

battleLabels.xc add:



      ${ "battleLabelsInfoPanel.xc":"def.infoPanel" },
      ${ "battleLabelsInfoPanel.xc":"def.infoPanelbg" }

 

 

v4 - originally by Kriegstreiber

Spoiler

preview-masheene.jpg.29b7f6e091cee49344d7f198dc4999fc.jpg

 

battleLabels.xc add:



      ${ "battleLabelsInfoPanel.xc":"def.infoPanel" },
      ${ "battleLabelsInfoPanel.xc":"def.infoPanelbg" }

 

 

v5 - originally by angelsoft

Spoiler

preview-angelsoft.jpg.3180c719672101360cc25edc54e77804.jpg
note: minor bug while aiming on target and pressing ALT (to show player info)

tank image doesn't change back (to targeted tank) after releasing ALT, but text does
 

battleLabels.xc add:



      ${ "battleLabelsInfoPanel.xc":"def.infoPanel" },
      ${ "battleLabelsInfoPanel.xc":"def.infoPanelbg" }

 

 

v6 - originally by Shtys

Spoiler

preview-Shtys.jpg.104a517138d57397e9a39c5e887a1e1b.jpg
note: displays installed contour icons


battleLabels.xc add:



      ${ "battleLabelsInfoPanel.xc":"def.infoPanel" },
      ${ "battleLabelsInfoPanel.xc":"def.infoPanelbg" }

 

 

v7 - by Ress

Spoiler

preview-minimal.jpg.03039eb4aa7431fcb4c6402e8ae802db.jpg

note: requires only xvm, no extra py_macro

but reload calculation is different


battleLabels.xc add:



${ "battleLabelsInfoPanel.xc":"def.infoPanel" },
${ "battleLabelsInfoPanel.xc":"def.infoPanelAlt" } //optional Alt player info - but disabled by default

 

 

v8 - by Ress

Spoiler

preview-v8.png.d53de97e6d4049805b4c9b93cd39d4f3.png


battleLabels.xc add:



${ "battleLabelsInfoPanel.xc":"def.infoPanel" }

 

 


Comparison

Spoiler

v1, v2, v3
compare-izeberg.jpg.abe6e31a6b5473bfcf96b32c4a965b9e.jpg

v4
compare-masheene.jpg.f7b28154c6e58ee5f3e51e1384b5ba0f.jpg

v5, v6
compare-ekspoint.jpg.9de3bae41c061dde6c396a5c20454927.jpg

 

Changelog

Spoiler

13.06.2019

  • added v8 (similar minimalistic design as v7 but using infopanel.py data)
  • renamed all definitions Info > info (infoPanel, infoPanelbg, infoPanelAlt)
  • updated infoPanel.py macros (v1, v2, v3, v4, v5, v6)
    "enemiesOnly" > "showFor"
    {{py: compareColor}} > {{py: infoPanel.compareColor}}
    {{py: infoPanelFormat}} > {{py:infoPanel.format}}
  • updated optional aimingSystem.py macros (v2, v3, v4, v5, v6)
    PY(ON_CAMERA_MODE) > PY(ON_AIM_MODE)
    {{py:sight.cameraMode=arc?|{{py:sight.cameraMode=sn?|{{py:sight.cameraMode=str?|}}}}}} > {{py:aim.mode(v1, v2, v3)}}

18.03.2019

  • repack all in one (similar to my debugPanel configs)
  • fixed width/height (compatibility with xvm 7.8.2+)
  • revisited each config: cleanup
  • renamed v0 > v7
  • all versions have configs for default and Aslain's xvm

13.09.2018

  • updated v0

10.09.2018

  • added v6 (from eskpoint panels)

09.09.2018

  • added v5 (from eskpoint panels)

07.09.2018

  • added v4 (masheene panel)

06.09.2018

  • added v3 (from izeberg panels)
  • added v2 (from izeberg panels)
  • added v1 (from izeberg panels)

02.09.2018

  • added v0

 

  • Upvote 1
Link to comment

Even though i updated all configs recently
chances are none of them will work correctly with recent infopanel.py update.

- Added macros: {{nation}}, {{level}}, {{rlevel}}, {{py: infoPanel.isPremium}} (returns 'premium' if the tank is premium).
- Renamed ru-macros:
  {{py: infoPanelFormat}}> {{py: infoPanel.format}}
  {{py: isTarget}}> {{py: infoPanel.isTarget}}
  {{py: compareDelim}}> {{py: infoPanel.compareDelim}}
  {{py: compareColor}}> {{py: infoPanel.compareColor}}
- Changed the "enemiesOnly" parameter to "showFor" (accepted values: "all", "ally", "enemy"). 

boo hoo...well in that case, time to slap discontinued™ :sweat_smile:

Link to comment

I mean its easy enough but it pisses me when they decide to change naming for whatever reason.Right after i repacked it, in hope to never look at it again. :confused:

Its mostly macro rename inside main infoPanel.xc  (enemiesOnly for each config and formats edits for few configs with new macro naming),
and custom battleLabelsInfoPanel.xc (py: infoPanel.format rename for each config).
Also optional aimingSystem.py stuff need to update to new macro {{py:aim.mode(v1, v2, v3)}} format.
 

Link to comment

13.06.2019

  • added v8 (similar minimalistic design as v7 but using infopanel.py data)
  • renamed all definitions Info > info (infoPanel, infoPanelbg, infoPanelAlt)
  • updated infoPanel.py macros (v1, v2, v3, v4, v5, v6)
    "enemiesOnly" > "showFor"
    {{py: compareColor}} > {{py: infoPanel.compareColor}}
    {{py: infoPanelFormat}} > {{py:infoPanel.format}}
  • updated optional aimingSystem.py macros (v2, v3, v4, v5, v6)
    PY(ON_CAMERA_MODE) > PY(ON_AIM_MODE)
    {{py:sight.cameraMode=arc?|{{py:sight.cameraMode=sn?|{{py:sight.cameraMode=str?|}}}}}} > {{py:aim.mode(v1, v2, v3)}}

    sidenote: should work without issues, didn't have time to test all 16 configs
Link to comment
3 minutes ago, John11 said:

what difference is this from the one that's in the modpack

They are configs for infopanel.py (addon for xvm) for xvm only, while those inside modpack are standalone mods (xvm unrelated).
As for difference well i tried to port originals to xvm as best as i could (not 100% identical, but close enough).

Now the real question is:
What's the point of having all those extra mods when you can recreate most of them with xvm? +less troubleshooting :smirk: (example Battle Observer)

Link to comment
On 6/14/2019 at 2:37 PM, John11 said:

i got it to work now using v1 but how can i move it down in sniper mode

v1 doesn't have specific positioning (didn't see need of adding it) based on camera mode (arcade/sniper/strategy) only general xy.

Inside battleLabelsInfoPanel.xc "x": 0, "y": 225, (x: left/right y: up/down),
since it's "screenHAlign": "center", "screenVAlign": "center" go negative up and positive down.

EDIT:
Inside @xvm.xc if you add "infoPanel": ${"infoPanel.xc":"infoPanel"} at the bottom previous def need to have comma.
Or if you add it in middle/above last one add comma behind it.
example:
  "xmqp": ${"xmqp.xc":"xmqp"},
  "tweaks": ${"tweaks.xc":"tweaks"},
  "assistLog": ${"assistLog.xc":"assistLog"},
  "infoPanel": ${"infoPanel.xc":"infoPanel"}, <--- not final edit/def
  "safeShot": ${"safeShot.xc":"safeShot"},
  "sight": ${"sight.xc":"sight"} <--- last one (no comma)
only 1 allowed without comma (last one) or config breaks

Every edit inside @xvm.xc from top ("configVersion": "6.1.0",) to bottom have comma after (except last one).

Link to comment
  • 1 month later...
8 hours ago, John11 said:

could you add them to the mod pack please like you have with the debug panels saves me from manually adding them

Well this is fan zone section (for sharing mods, configs, and other random stuff).
It's not up to me to decide what goes inside modpack.
Aslain is the only one who can decide and add stuff inside modpack. :wink1:

Link to comment

They get info from xvm, more specifically from infoPanel.py & info_panel_data.py and they import/get some info from wot client. (link)

def gun_reload_equip(eq1 = 1, eq2 = 1, eq3 = 1, eq4 = 1):
    if not _typeDescriptor: 
        return None
    else:
        reload_orig = _typeDescriptor.gun.reloadTime
        rammer = 0.9 if (_typeDescriptor.gun.clip[0] == 1) and (eq1 == 1) else 1
        if (eq2 == 1) and (eq3 == 1) and (eq4 == 1):
            crew = 1.32
        elif (eq2 == 1) and (eq3 == 1) and (eq4 == 0):
            crew = 1.27
        elif (eq2 == 1) and (eq3 == 0) and (eq4 == 1):
            crew = 1.21
        elif (eq2 == 1) and (eq3 == 0) and (eq4 == 0):
            crew = 1.16
        elif (eq2 == 0) and (eq3 == 1) and (eq4 == 1):
            crew = 1.27
        elif (eq2 == 0) and (eq3 == 1) and (eq4 == 0):
            crew = 1.21
        elif (eq2 == 0) and (eq3 == 0) and (eq4 == 1):
            crew = 1.16
        else:
            crew = 1.10
        return "%.2f" % (round((reload_orig / (0.57 + 0.43 * crew)) * rammer, 2))

Now i don't know what "aim time" has to do with info panel.
..anyway base view range and only reload is with 100% crew +equipments/perks.

If you actually read first post General infoPanel.py configuration you would probably get your answer,
or look at Comparison section at bottom. :expressionless:

Link to comment

sorry not aim time but reload time :glasses: so the reload time changes from tank to tank with crew perks and equipment if it does then that info panel that's already in the mod pack only shows base view range a base reload time witch is useless that's why i was asking if we could add when to the mod pack so we can get the proper reload time with crew perks and equipment if it uses xvm

Link to comment
  • 2 months later...
16 hours ago, chokky69 said:

XVM Info Panel doesn't work since last WOT update...

Sorry i am out of loop lately (since 1.6.0.8), removed all WoT related stuff from pc. (reason:classic wow :sweat_smile:)
But gonna look into it later today, once my wot client download.

Make sure your .py macros are updated.

EDIT: After fresh wot download (non-wgc) and default xvm [8.1.2_4] + infopanel, xvm configs appear to work just fine.
Try downloading .py macros again, if you still have issues let me know what version.

Link to comment
  • 3 years later...

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.