Jump to content
Korean Random

DamageIndicator средствами XVM


Recommended Posts

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

@ktulho  День добрый. Возможно как-то сделать привязку координат к центру экрана?

Да.

"screenHAlign": "center",
"screenVAlign": "center",

 

P.S. Хотя, наверное я вас не правильно понял. Что вы хотите привязать к центру?

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

  • 3 weeks later...

Приветствую
А как в конфиги от Юши правильно вписать макрос? А то я как ни пробовал,  что-то да ломаю.
Последней попыткой было заменить параметры damageIndicator в markersAliveNormal.xc
работает, но ломает много чего остального

Link to comment
Short link
Share on other sites

@teamon А зачем вы меняете параметры в "markersAliveNormal.xc", к данной теме он никакого отношения не имеет.

Делайте все так, как написано в шапке. Если нет файла "battleLabelsTemplates.xc", то создаете его или берете этот. battleLabelsTemplates.xc

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

15 часов назад, Wild_RNB сказал:

Делайте все так, как написано в шапке. Если нет файла "battleLabelsTemplates.xc", то создаете его или берете этот. battleLabelsTemplates.xc

Создавал. Видимо, фигурных скобок маловато ставил. 
С вашим файлом всё робит как надо

Link to comment
Short link
Share on other sites

  • 4 weeks later...
  • 3 weeks later...
  • 11 months later...

Broken in 1.22.0.1 WG

 

2023-09-22 08:34:14: [ERROR] Traceback (most recent call last):
  File "res_mods/mods/xfw_packages\xvm_pymacro\python\__init__.py", line 101, in __load_lib
    __execute(code, file_name, {'xvm': XvmNamespace})
  File "res_mods/mods/xfw_packages\xvm_pymacro\python\__init__.py", line 93, 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\damage_indicator.py' line 4: cannot import name _DamageIndicator

2023-09-22 08:34:20: [X:000] [XFW/XfwComponent] loadMods: Loading swf mods:
2023-09-22 08:34:20: [X:001]   xvm_battle/as_battle_classic/xvm_battle_classic.swf
2023-09-22 08:34:21: [B:002] [XFW/XfwComponent] onLibLoaded: ../res_mods/mods/xfw_packages/xvm_battle/as_battle_classic/xvm_battle_classic.swf
2023-09-22 08:34:21: [B:003] [XVM:BATTLE] processView: classicBattlePage
2023-09-22 08:34:21: [B:004] UI_fullStats
2023-09-22 08:34:21: [B:005] UI_PlayersPanel()
2023-09-22 08:34:21: [B:006] [XVM INFO]
                               XVM_VERSION=10.7.0 #0056 for WoT 1.22.0.1
                               gameRegion=EU
                               configVersion=6.1.0
                               autoReloadConfig=false
                               markers.enabled=false
                               servicesActive=true
                               xmqp=true
                               statBattle=true
2023-09-22 08:34:21: [B:007] [XFW/XfwComponent] onLibLoaded: Mod loaded: xvm_battle_classic.swf
2023-09-22 08:34:21: [ERROR] Traceback (most recent call last):
  File "res_mods/mods/xfw_packages\xvm_pymacro\python\__init__.py", line 156, in process
    (func, deterministic) = __get_function(arg)
  File "res_mods/mods/xfw_packages\xvm_pymacro\python\__init__.py", line 120, in __get_function
    (func, deterministic) = _container.get(func_name)
TypeError: 'NoneType' object is not iterable
arg='xvm.damageIndicator'
2023-09-22 08:34:21: [ERROR] Traceback (most recent call last):
  File "res_mods/mods/xfw_packages\xvm_pymacro\python\__init__.py", line 156, in process
    (func, deterministic) = __get_function(arg)
  File "res_mods/mods/xfw_packages\xvm_pymacro\python\__init__.py", line 120, in __get_function
    (func, deterministic) = _container.get(func_name)
TypeError: 'NoneType' object is not iterable
arg='xvm.damageIndicator_aim'

 

Link to comment
Short link
Share on other sites

  • 2 weeks later...

It seems that the indicator doesn't stay on screen for 12 seconds; instead, it appears to be around 6 seconds. I attempted to use the 'battleDamageIndicatorApp.swf' from the 1st post, but the game didn't load at all with that file. I also tried modifying the original SWF file by changing the frame rate from 24 to 10 using jpexes, but it doesn't appear to have made any difference. I've attached the original SWF file from the WG client if you'd like to take a look.

 

original battleDamageIndicatorApp.zip 

modded battleDamageIndicatorApp_modded.zip

Edited by Aslain
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...