-
Content Count
10,738 -
Joined
-
Last visited
-
Days Won
398
Everything posted by ktulho
-
@_John_, вроде нормально все, прикрепите конфиг.
-
Динамические макросы в Python
ktulho replied to goodman's topic in Components of XVM and Addons (py_macro)
, можно по извращаться, сделать 8 полей, и восемь макросов. -
@_John_, прикрепите xvm.log.
-
@_John_, папка \res_mods\configs\xvm\py_macro\ у вас есть?
-
Динамические макросы в Python
ktulho replied to goodman's topic in Components of XVM and Addons (py_macro)
, как это выглядит? Есть скриншот? -
Проблема с сокращением процентов в карусели
ktulho replied to Etlau's topic in XVM Configuration Questions
@Kapany3uk,а если без форматирования, то везде длинные числа? -
Динамические макросы в Python
ktulho replied to goodman's topic in Components of XVM and Addons (py_macro)
, добавил в конфиг: // Время в секундах отображения последнего урона "timeDisplayLastHit": 7, , возможно исправил. Добавил таймер перезарядки: в файл battleLabelsTemplates.xc: "TimerReload": { "enabled": true, "updateEvent": "PY(ON_TIMER_RELOAD)", "x": 240, "y": 0, "width": 300, "height": 252, "screenVAlign": "bottom", "shadow": { "align": "center", "distance": 1, "angle": 90, "alpha": 80, "blur": 5, "strength": 3 }, "textFormat": { "color": "0xF4EFE8", "size": 16 }, "format": "{{py:xvm.myDamageLog.timerReload()}}" }, в файл damageLog.xc: // Формат таймера перезарядки "formatTimer": "<font face='xvm'>Ĕ</font> {{dl.timer}} с" В xvm.py добавляем: @xvm.export('xvm.myDamageLog.timerReload', deterministic=False) def myDamageLog_timerReload(): return myDamageLog.timerReload() damageLog.xc myDamageLog.rar -
Проблема с сокращением процентов в карусели
ktulho replied to Etlau's topic in XVM Configuration Questions
, а если попробовать так "format": "<b><font face='$FieldFont' size='12' color='{{v.c_winrate|#CFCFCF}}'>{{v.winrate}}</font></b>", у всех танков будут длинные числа? -
, проблема не в конфиге, ждите исправления.
-
Проблема с сокращением процентов в карусели
ktulho replied to Etlau's topic in XVM Configuration Questions
@Etlau, это только с танками, у которых после запятой идет "6899999999999"? -
файл battleLabelsTemplates.xc "totalHP": { "enabled": true, "updateEvent": "ON_PLAYERS_HP_CHANGED", "x": 0, "y": 30, "screenHAlign": "center", "align": "center", "shadow": { "distance": 1, "angle": 90, "alpha": 80, "blur": 5, "strength": 1.5 }, "textFormat": { "font": "mono", "size": 18, "align": "center" }, "format": "{{py:xvm.total_hp.text()}}" }, "avgDamage": { "enabled": true, "updateEvent": "ON_DAMAGE_CAUSED", "x": -170, "y": 30, "screenHAlign": "center", "align": "right", "shadow": { "distance": 1, "angle": 90, "alpha": 80, "blur": 5, "strength": 1.5 }, "textFormat": { "size": 15, "align": "center" }, "format": "{{py:xvm.total_hp.avgDamage('{{l10n:avgDamage}}: ',{{hitlog.dmg-total}})}}" }, "mainGun": { "enabled": true, "updateEvent": "ON_DAMAGE_CAUSED, ON_DAMAGE_CAUSED_ALLY", "x": 170, "y": 30, "screenHAlign": "center", "shadow": { "distance": 1, "angle": 90, "alpha": 80, "blur": 5, "strength": 1.5 }, "textFormat": { "size": 15, "align": "center" }, "format": "{{py:xvm.total_hp.mainGun('{{l10n:mainGun}}: ',{{hitlog.dmg-total}})}}" },
-
Работает в 0.9.16.
-
В карусели танки с не полным экипажем не прозрачные, а с полным прозрачные. В файле carousel.xc: // Background transparency (default - 100) // Прозрачность подложки (по умолчанию - 100) "backgroundAlpha": 60, Это баг или фича?
-
Цветные иконки в дереве исследований и результатах боя [1.25.0.0].
ktulho replied to ktulho's topic in Mods and Software
, не знаю. -
Цветные иконки в дереве исследований и результатах боя [1.25.0.0].
ktulho replied to ktulho's topic in Mods and Software
Обновил под 0.9.16. , WG перевела ее в аукционные. -
, вышло.
-
Динамические макросы в Python
ktulho replied to goodman's topic in Components of XVM and Addons (py_macro)
, на реплее воспроизводиться? -
Динамические макросы в Python
ktulho replied to goodman's topic in Components of XVM and Addons (py_macro)
Добавил отображение последнего урона. Добавил: в файл battleLabelsates.xc: ${ "battleLabelsTemplates.xc":"def.LastHit" } в файл battleLabelsTemplates.xc: "LastHit": { "enabled": true, "updateEvent": "PY(ON_LAST_HIT)", "x": -120, "y": 200, "width": 200, "height": 100, "screenHAlign": "center", "screenVAlign": "center", "shadow": { "align": "center", "distance": 1, "angle": 90, "alpha": 80, "blur": 5, "strength": 3 }, "textFormat": { "color": "0xF4EFE8" }, "format": "{{py:xvm.myDamageLog.lastHit()}}" }, в файл damageLog.xc: // Формат последнего урона "formatLastHit": "<font size='30'>{{dl.damage}}</font>" В xvm.py добавляем: @xvm.export('xvm.myDamageLog.lastHit', deterministic=False) def myDamageLog_lastHit(): return myDamageLog.lastHit() damageLog.xc myDamageLog.rar @night_dragon_on, у тебя остался макрос расчета перезарядки? -
Динамические макросы в Python
ktulho replied to goodman's topic in Components of XVM and Addons (py_macro)
, ага, подавать коллективную петицию Sirmax. )) , добавил. , исправил. Теперь damageLog обновляется из python. Изменения в файл battleLabelsTemplates.xc: "DamageLog": { "enabled": true, "updateEvent": "PY(ON_HIT)", "x": 480, "y": 0, "width": 300, "height": 233, "screenVAlign": "bottom", "shadow": { "align": "center", "distance": 1, "angle": 90, "alpha": 80, "blur": 5, "strength": 3 }, "textFormat": { "color": "0xF4EFE8", "size": 16 }, "format": "{{py:xvm.myDamageLog.dLog()}}" }, myDamageLog.rar P.S. Проверять на build 6527 и выше. (клиент 0.9.16) P.P.S Забыл прикрепить damageLog.xc -
Динамические макросы в Python
ktulho replied to goodman's topic in Components of XVM and Addons (py_macro)
, думаю не стоит это делать через python. -
Динамические макросы в Python
ktulho replied to goodman's topic in Components of XVM and Addons (py_macro)
, прикрепите xvm.log -
TankIconMaker - программа для создания иконок танков.
ktulho replied to ktulho's topic in Mods and Software
Tank Icon Maker обновился до версии 050. -
Кастомизируемые текстовые поля в окне боевого интерфейса
ktulho replied to wotunion's topic in Suggestions for XVM
Нет. -
@serzhant1488, вы хотите в маркерах изменить цвет иконок типа техники? На миникарте? В панели игроков?
-
Динамические макросы в Python
ktulho replied to goodman's topic in Components of XVM and Addons (py_macro)
Вот это круто.