Jump to content
Korean Random
ktulho

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

Recommended Posts

@ktulho ,здравствуйте.Подскажите пожалуйста что за ошибка всплывает одна?Извините что в теме пишу этой.Заранее спасибо.

xvm.log

Share this post


Link to post

Short link
Share on other sites

@krok65 удалите скрипт siteXVM.py, он все равно уже давно не работает.

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites
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

 

Share this post


Link to post

Short link
Share on other sites
1 час назад, HEKPOMAHT сказал:

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

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

  • Upvote 4

Share this post


Link to post

Short link
Share on other sites

@ktulho 

PLS UPDATE for UDES...(new-Tanks) only ther is the number of ammo !

 

 

 

BIG THX

 

MFG

SicFunzler

Inkedshot_001.thumb.jpg.78387b8042523964ac31f9eb6ac06c32_LI.jpg

Edited by SicFunzler

Share this post


Link to post

Short link
Share on other sites
В 04.05.2019 в 22:30, SicFunzler сказал:

PLS UPDATE for UDES...(new-Tanks) only ther is the number of ammo !

Исправил. Обновил скрипт sight.py.

Share this post


Link to post

Short link
Share on other sites
12 минут назад, ktulho сказал:

Исправил. Обновил скрипт sight.py.

Big THX

 

MFG

SicFunzler

Share this post


Link to post

Short link
Share on other sites

Здравствуйте @ktulho .Скажите можно ли сделать так,чтобы картинки количества снарядов в барабане отображались по типу снаряда.Если можно то как?

Share this post


Link to post

Short link
Share on other sites
6 минут назад, Sergei Nik сказал:

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

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

Share this post


Link to post

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'>"

Share this post


Link to post

Short link
Share on other sites

Назовите картинки 2ББ, 2ОФ, 3ББ, 3ОФ и т.д. В конфиге:

src='xvm://res/icons/Sight/{{py:sight.quantityInClipShells}}{{py:sight.shellType}}.png'>"

 

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites
Цитата

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

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

1a59cda4c90c091f59589a703e2937e5.png

Edited by aster

Share this post


Link to post

Short link
Share on other sites
14 минут назад, aster сказал:

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

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

Edited by ktulho

Share this post


Link to post

Short link
Share on other sites

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

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

infoChargedShell.py

reloading.py

chancePenetration.py

 

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

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

speedometer.py

 

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

 

 

 

Edited by id_nexus

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...