Heliomalt Posted November 4, 2018 Share Posted November 4, 2018 The message for Team Damage does not always work and only I see the message in the chat, the other players not. The replay shows, the first time Teamdamage comes no message, the second time it works, but only for me. All other messages from this script work correctly. I have added 3 different log files, start the game, test in practice room and replay. python_first_start.log xvm_first_start.log python_practice.log xvm_practice.log python_replay.log xvm_replay.log 20181104_1208_france-F18_Bat_Chatillon25t_02_malinovka.wotreplay battleMessages.xc @ Quote Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted November 4, 2018 Author Share Posted November 4, 2018 @Heliomalt, teamDamage uses only "client messages" type. Only you can see it. The "messageIn"-option points only for where is message will be located. 5 hours ago, Heliomalt said: The replay shows, the first time Teamdamage comes no message, the second time it works Fixed. Thanks for report, especially for replay. 1 @ Quote Link to comment Short link Share on other sites More sharing options...
Heliomalt Posted November 4, 2018 Share Posted November 4, 2018 (edited) @Kotyarko_O Thanks for explaining and the fast fix. Edit: Work 100%, perfect job! Another question, is it possible to add an option, that all can see the teamdamage message? Edited November 4, 2018 by Heliomalt @ Quote Link to comment Short link Share on other sites More sharing options...
ogbiwap Posted December 15, 2018 Share Posted December 15, 2018 В 20.11.2016 в 23:01, Kotyarko_O сказал: Установка аддона: В @xvm.xc добавить ссылку на конфиг аддона: "battleMessages": ${"battleMessages.xc":"battleMessages"} Содержимое архива раcпаковать в "res_mods": battleMessages.rar * Обратите внимание, что внутри архива, для примера, имя папки конфигов было взято стандартное - "default". * Соответственно, если у вас папка конфигов имеет уникальное имя, вам нужно скопировать конфиг battleMessages.xc, находящийся в папке "default" загруженного архива, в свою папку конфигов. enemyArtyCooldown - оповещение союзников об отстрелявшейся вражеской артиллерии. Список доступных макросов (продублирован в конфиге): * {{arty-tank}} - arty attacker tankname \ имя танка атаковавшей артиллерии * {{arty-name}} - arty attacker nickname \ никнейм атаковавшего игрока iAmSpotted - оповещение союзников о собственном засвете. Список доступных макросов (продублирован в конфиге): {{position}} - current position (cell) \ текущая позиция (квадрат) teamDamage - оповещение о повреждении союзника союзником (тимдамаг). Список доступных макросов (продублирован в конфиге): * {{damage}} - dealt damage \ нанесённый урон * {{damage-reason}} - damage reason \ тип нанесённого урона * {{victim-name}} - victim nickname \ никнейм получившего * {{victim-vehicle}} - victim vehicle name \ имя танка получившего * {{attacker-name}} - attacker nickname \ никнейм атаковавшего * {{attacker-vehicle}} - attacker vehicle name \ имя танка атаковавшего clipCooldownTimeMsgOnReload - отправка команды\сообщения о перезарядке барабана при нажатии клавиши "C". Список доступных макросов (продублирован в конфиге): * {{clipReloadTime}} - clip reload time \ время перезарядки барабана Как реализовать это всё иконками? @ Quote Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted December 15, 2018 Author Share Posted December 15, 2018 4 minutes ago, ogbiwap said: Как реализовать это всё иконками? Что конкретно? @ Quote Link to comment Short link Share on other sites More sharing options...
ogbiwap Posted December 15, 2018 Share Posted December 15, 2018 Только что, Kotyarko_O сказал: Что конкретно? Боевые сообщения над миникартой сделать в виде иконок. @ Quote Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted December 15, 2018 Author Share Posted December 15, 2018 Just now, ogbiwap said: Боевые сообщения над миникартой сделать в виде иконок. Имеете ввиду сообщения от модуля "teamDamage"? Я точно не скажу, но вы можете подставить туда какое-либо изображение и проверить сами. @ Quote Link to comment Short link Share on other sites More sharing options...
ogbiwap Posted December 15, 2018 Share Posted December 15, 2018 5 минут назад, Kotyarko_O сказал: Имеете ввиду сообщения от модуля "teamDamage"? Я точно не скажу, но вы можете подставить туда какое-либо изображение и проверить сами. Да это самое, просто как это реализовать, просто прописать путь к иконкам в коде или надо писать макрос для отображения этой функции? @ Quote Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted December 15, 2018 Author Share Posted December 15, 2018 41 minutes ago, ogbiwap said: Да это самое, просто как это реализовать, просто прописать путь к иконкам в коде или надо писать макрос для отображения этой функции? Должно быть достаточно ссылки, вида: <img src='img://gui/maps/...png' width='xx' height='yy'> 1 @ Quote Link to comment Short link Share on other sites More sharing options...
ogbiwap Posted December 15, 2018 Share Posted December 15, 2018 (edited) 26 минут назад, Kotyarko_O сказал: Должно быть достаточно ссылки, вида: <img src='img://gui/maps/...png' width='xx' height='yy'> Спасибо! И сообщения об уничтожении врага можно сделать таким же макаром? Edited December 15, 2018 by ogbiwap @ Quote Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted December 15, 2018 Author Share Posted December 15, 2018 1 hour ago, ogbiwap said: И сообщения об уничтожении врага можно сделать таким же макаром? Да, но используя другой мод: https://koreanrandom.com/forum/topic/24497-/ @ Quote Link to comment Short link Share on other sites More sharing options...
Wild_RNB Posted December 17, 2018 Share Posted December 17, 2018 @Kotyarko_O А возможно ли вообще средствами XVM сделать альтернативу моду "ButtonReplacer"? Просто в мод "ButtonReplacer" внедрили (в тихую) скрытый серфинг сайтов. 1 @ Quote Link to comment Short link Share on other sites More sharing options...
gora Posted January 29, 2019 Share Posted January 29, 2019 Классно а еще тема актуальна??? @ Quote Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted January 29, 2019 Author Share Posted January 29, 2019 39 minutes ago, gora said: Классно а еще тема актуальна??? Да. @ Quote Link to comment Short link Share on other sites More sharing options...
alex_alex Posted April 11, 2019 Share Posted April 11, 2019 (edited) что-то у меня перестало работать уведомление о засвете (в укрепе точно, в рандоме проверю) в логах ничего Edited April 11, 2019 by alex_alex @ Quote Link to comment Short link Share on other sites More sharing options...
Sergei Nik Posted May 2, 2019 Share Posted May 2, 2019 Всем привет,а скажите эта функция ( "поддержите огнём" при наведении на противника ) у всех работает? @ Quote Link to comment Short link Share on other sites More sharing options...
refaol Posted May 2, 2019 Share Posted May 2, 2019 @Sergei Nik а это из этого мода разве? @ Quote Link to comment Short link Share on other sites More sharing options...
Sergei Nik Posted May 2, 2019 Share Posted May 2, 2019 (edited) @refaol да в самом низу такие строчки- //TODO "attackCommandOnSight": { // false - disable "attack" command when the enemy in sight \ отключить команду "поддержите огнём" при наведении на противника "enabled": true, // delay (in seconds) to send the command \ задержка (в секундах) отправки команды // time needed to enemy be in the sight, to send the command \ время нахождения противника в прицеле, после которого отправляется команда "delay": 2, // "timeout": 4 Edited May 2, 2019 by Sergei Nik @ Quote Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted May 2, 2019 Author Share Posted May 2, 2019 8 hours ago, Sergei Nik said: Всем привет,а скажите эта функция ( "поддержите огнём" при наведении на противника ) у всех работает? Нет, не работает. Реализация этой функции в скрипте попросту закомментирована. Когда-то начал её, но почему-то забил. @ Quote Link to comment Short link Share on other sites More sharing options...
SicFunzler Posted May 2, 2019 Share Posted May 2, 2019 It's no go spotted mes. pls repair it THX "iAmSpotted": { "enabled": true, "showWhenLess": 0, "helpMeCommand": true, "format": "I'm Spotted in {{position}} :(!" }, "teamDamage": { "enabled": true, "enabledFor": "all", "messageIn": "chat", "ignoreLessThan": 10, "format": "<font color='#00EAFF'>{{attacker-name}} ({{attacker-vehicle}})</font><font color='#2AFF2A'> have Damaged {{victim-name}} ({{victim-vehicle}})</font> with <font color='#FFDD33'>{{damage}} HP</font>!" }, MFG SicFunzler @ Quote Link to comment Short link Share on other sites More sharing options...
Recommended Posts
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.