Jump to content
Korean Random

Прицел (без сведения) средствами XVM


Recommended Posts

24 минуты назад, ktulho сказал:

В логах что-нибудь есть?

по скриптам прицела ничего нет, пусто.

----

только по моду:

2019-05-03 17:51:28.092: INFO: =============================
2019-05-03 17:51:28.092: INFO: 2019-05-03 17:51:28: [ERROR] mods/xfw/python/xfw/events.pyc
2019-05-03 17:51:28.092: ERROR: Traceback (most recent call last):
2019-05-03 17:51:28.092: ERROR:   File "mods/xfw/python/xfw/events.py", line 57, in __event_handler
2019-05-03 17:51:28.093: ERROR:   File "mods/xfw/python/xfw/events.py", line 24, in fire
2019-05-03 17:51:28.093: ERROR: TypeError: _addRibbon() got an unexpected keyword argument 'bonusRibbonLabelID'
2019-05-03 17:51:28.093: INFO: =============================

по старому battleMessages.py

2019-05-03 18:44:28: [ERROR] Traceback (most recent call last):
  File "res_mods/mods/xfw_packages\xvm_main\python\python_macro.py", line 128, in load_macros_lib
    execute(code, file_name, {'xvm': XvmNamespace})
  File "res_mods/mods/xfw_packages\xvm_main\python\python_macro.py", line 112, in execute
    raise ExecutionException("{} at file '{}' line {}: {}".format(error_name, file_name, line_number, message))
ExecutionException: ImportError at file 'res_mods/configs/xvm/py_macro\battleMessages.py' line 12: cannot import name g_appLoader

 

Link to comment
Short link
Share on other sites

1 час назад, HEKPOMAHT сказал:

{{py:sight.isIncreasedReload}} - постоянно увеличенное показывает.

Исправил, обновил скрипт reloading.py.

  • Upvote 4
Link to comment
Short link
Share on other sites

6 минут назад, Sergei Nik сказал:

Скажите можно ли сделать так,чтобы картинки количества снарядов в барабане отображались по типу снаряда

А как сейчас у вас задано отображение барабана?

Link to comment
Short link
Share on other sites

ТАК-

// Барабан
    "quantityShells": {
      "enabled": true,
      "updateEvent": "PY(ON_AMMO_COUNT), PY(ON_AIM_MODE)",
      "x": "{{py:aim.mode(-80, -81, 218)}}",
      "y": "{{py:aim.mode(-10, 81, 127)}}",
      "screenHAlign": "center",
      "screenVAlign": "center",
      "width": 65,
      "height": 35,
      "alpha": "{{alive?100|0}}",
      "format": "<img src='xvm://res/icons/Sight/{{py:sight.quantityInClipShells}}.png'>"

Link to comment
Short link
Share on other sites

Цитата

Вероятность пробития:

Бесит, что экраны игнорируются. Например, маска пушки пишет стабильные 0мм. Как я понимаю, с этим ничего нельзя сделать, да?

1a59cda4c90c091f59589a703e2937e5.png

Edited by aster
Link to comment
Short link
Share on other sites

14 минут назад, aster сказал:

Как я понимаю, с этим ничего нельзя сделать, да?

WG против, чтобы рассчитывали, что находится за экраном.

Edited by ktulho
Link to comment
Short link
Share on other sites

В Линии фронта 

Не отображаются:

infoChargedShell.py

reloading.py

chancePenetration.py

 

Отображаются:

infoAutoAim.py (использую только "showAutoAimMarker")

speedometer.py

 

В чем может быть проблема?

 

 

 

Edited by id_nexus
Link to comment
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...