Stepan371 Posted October 9, 2016 Share Posted October 9, 2016 сделайте, пожалуйста, суммарный натанкованный урон(DamageReceived + totalBlocked) @ Quote Link to comment Short link Share on other sites More sharing options...
N_P Posted October 9, 2016 Share Posted October 9, 2016 ktulho, что-то я пропустил в прошлом обсуждении - так пожар сейчас в логе суммируется или нет? @ Quote Link to comment Short link Share on other sites More sharing options...
Slava7572 Posted October 9, 2016 Share Posted October 9, 2016 Ребят,скажите пожалуйста,почему картинку не подхватывает.Вот так прописаны иконки типа снаряда(чисто пример): "type-shell": { "armor_piercing": "<img src='img:xvm://res/icons/damagelog/bb.png' width='27' height='9' align='baseline' vspace='2'>{{dl.costShell}}", "dmg-kind": { "shot": "{{dl.type-shell}}", в формате так: "formatHistory": "<textformat tabstops='[17,65,123,150]'><font size='13' color='#88CEF9'>{{dl.number}}:</font><tab><font color='{{dl.c:dmg-kind}}'><b>{{dl.damage}}{{dl.critical-hit}}{{dl.splash-hit}}</b></font><tab><font color='{{dl.c:dmg-kind}}'>{{dl.dmg-kind}}</font><tab><font color='{{dl.c:vtype}}'>{{dl.vtype}}</font><tab><font color='{{dl.c:team-damage}}'>{{dl.vehicle}}</font></textformat>", У Гамбитера такая постановка подхватывалась,путь вроде верный,в хитлоге тот же и работает.Можно было прям в формате макрос пописать,но там есть картинки с разными vspace,не ровно будет. Где ошибка?Монетки то подхватывает в costShell,правда там дефолтный путь,а эти иконки лежат в C:\Games\World_of_Tanks\res_mods\mods\shared_resources\xvm\res\icons\damagelog @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted October 9, 2016 Share Posted October 9, 2016 ktulho, что-то я пропустил в прошлом обсуждении - так пожар сейчас в логе суммируется или нет? http://www.koreanrandom.com/forum/topic/31856-%D0%B4%D0%B8%D0%BD%D0%B0%D0%BC%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B8%D0%B5-%D0%BC%D0%B0%D0%BA%D1%80%D0%BE%D1%81%D1%8B-%D0%B2-python/page-35?do=findComment&comment=357261 Тушить сразу надо :) @ Quote Link to comment Short link Share on other sites More sharing options...
ger Gauf Posted October 9, 2016 Share Posted October 9, 2016 Народ , всех благ всем ))) Подскажите, как увеличить размер маркера класса техники в панели ? Пробовал вставить "size": 16 везде где только влезло ))) Никак что то.... @ Quote Link to comment Short link Share on other sites More sharing options...
daftGear Posted October 9, 2016 Share Posted October 9, 2016 (edited) Народ , всех благ всем ))) Подскажите, как увеличить размер маркера класса техники в панели ? Пробовал вставить "size": 16 везде где только влезло ))) Никак что то.... Как именно прописывал? примерно надо как то так <font size='16'>{{dl.vtype}}</font> Edited October 9, 2016 by NagibMan @ Quote Link to comment Short link Share on other sites More sharing options...
panteror Posted October 9, 2016 Share Posted October 9, 2016 (edited) Added in totalEfficiency.py py_macros {{the py: xvm.totalDamagesBlockedReceived ()}} (not tested). Updated cap threads. Thanks i will test it. ------------ 1/ there is a mistake in the py files for new macro : not totalAssist but totalBlocked @xvm.export('xvm.totalDamagesBlockedReceived', deterministic=False) def xvm_totalDamagesBlockedReceived(): # log('log = %s' % (totalDamage + totalAssist + DamageReceived)) return '%s' % (totalDamage + totalAssist + DamageReceived) should be @xvm.export('xvm.totalDamagesBlockedReceived', deterministic=False) def xvm_totalDamagesBlockedReceived(): # log('log = %s' % (totalDamage + totalBlocked + DamageReceived)) return '%s' % (totalDamage + totalBlocked + DamageReceived) After corrected this, the macro is working, I tested it in game. 2/ Can you export and def "DamageReceived" macro in order to be use alone in battletemplates ? --------------- @ktulho Can you put in the first post of this new topic, all the last version of files (totalEfficiency.py, myDamageLog.py, damageLog.xc ...) and "updated date" because it's difficult to find each update in all the topic. You should mix totalEfficiency.py and myDamageLog.py in one file. Thanks. Edited October 9, 2016 by panteror 1 @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted October 9, 2016 Author Share Posted October 9, 2016 (edited) @Slava7572, "type-shell": { "armor_piercing": "<img src='img:xvm://res/icons/damagelog/bb.png' width='27' height='9' align='baseline' vspace='2'>{{dl.costShell}}", Красным выделил лишние 1/ there is a mistake in the py files for new macro : not totalAssist but totalBlocked , исправил 2/ Can you export and def "DamageReceived" macro in order to be use alone in battletemplates ? , добавил {{py:xvm.DamageReceived()}} сделайте, пожалуйста, суммарный натанкованный урон (DamageReceived + totalBlocked) , добавил {{py:xvm.totalBlockedReceived()}} Обновил шапку. You should mix totalEfficiency.py and myDamageLog.py in one file , не вижу в этом смысла. Edited October 9, 2016 by ktulho 1 @ Quote Link to comment Short link Share on other sites More sharing options...
ger Gauf Posted October 9, 2016 Share Posted October 9, 2016 (edited) Как именно прописывал? примерно надо как то так <font size='16'>{{dl.vtype}}</font> Чёт не пойму, у меня по другому прописано... Твою строку куда вставлять ? Я так понимаю , она должна изменить зараз все маркеры для всех типов техники ? //класс техники (макрос {{dl.vtype}}) "vtype": { "mediumTank": "<font face='xvm' size='20'>;</font>", "lightTank": "<font face='xvm'>:</font>", "heavyTank": "<font face='xvm'>?</font>", "AT-SPG": "<font face='xvm'>.</font>", "SPG": "<font face='xvm'>-</font>" Edited October 9, 2016 by ger Gauf @ Quote Link to comment Short link Share on other sites More sharing options...
panteror Posted October 9, 2016 Share Posted October 9, 2016 (edited) @Slava7572, Красным выделил лишние , исправил , добавил {{py:xvm.DamageReceived()}} , добавил {{py:xvm.totalBlockedReceived()}} Обновил шапку. , не вижу в этом смысла. perfect, it works like a charm the 4 column : damage received and totalDamagesBlockedReceived in ALT Edited October 9, 2016 by panteror @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted October 9, 2016 Author Share Posted October 9, 2016 Есть у кого нибудь риплей с пожаром? Желательно, чтобы во время пожара, еще и другие попадания были? @ Quote Link to comment Short link Share on other sites More sharing options...
daftGear Posted October 9, 2016 Share Posted October 9, 2016 (edited) Чёт не пойму, у меня по другому прописано... Твою строку куда вставлять ? Я так понимаю , она должна изменить зараз все маркеры для всех типов техники ? Кинь строку куда ты прописал макрос {{dl.vtype}} ps а ты хочешь все маркеры увеличить или не все? а так да, моя строка увеличивает все маркеры pss я перепроверил разные варианты, и что в твоем варианте что в моем, все прекрасно работает Edited October 9, 2016 by NagibMan @ Quote Link to comment Short link Share on other sites More sharing options...
panteror Posted October 9, 2016 Share Posted October 9, 2016 Есть у кого нибудь риплей с пожаром? Желательно, чтобы во время пожара, еще и другие попадания были? ;) http://www.koreanrandom.com/forum/topic/31856-%D0%B4%D0%B8%D0%BD%D0%B0%D0%BC%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B8%D0%B5-%D0%BC%D0%B0%D0%BA%D1%80%D0%BE%D1%81%D1%8B-%D0%B2-python/page-34?do=findComment&comment=357154 @ Quote Link to comment Short link Share on other sites More sharing options...
BuSH Posted October 9, 2016 Share Posted October 9, 2016 сделайте, пожалуйста, суммарный натанкованный урон (DamageReceived + totalBlocked) Для каких целей можно использовать подобную инфу? @ Quote Link to comment Short link Share on other sites More sharing options...
ger Gauf Posted October 9, 2016 Share Posted October 9, 2016 Кинь строку куда ты прописал макрос {{dl.vtype}} ps а ты хочешь все маркеры увеличить или не все? а так да, моя строка увеличивает все маркеры pss я перепроверил разные варианты, и что в твоем варианте что в моем, все прекрасно работает Да как скинул , так и прописано... Всё остальное по дефолту , как скачал... @ Quote Link to comment Short link Share on other sites More sharing options...
BuSH Posted October 9, 2016 Share Posted October 9, 2016 3) Надо ли относить py_macros TotalEfficiency к damagLog, или рассматривать их отдельно.Единственная связь этих, так сказать, модов - предыдущая реализация в одном. Выкладывать либо раздельно, либо в одной теме с двумя названиями. И поправь название темы damagElog. @ Quote Link to comment Short link Share on other sites More sharing options...
loafer Posted October 9, 2016 Share Posted October 9, 2016 (edited) the 4 column : damage received and totalDamagesBlockedReceived in ALT Покажите ваши настройки, plz Edited October 9, 2016 by loafer @ Quote Link to comment Short link Share on other sites More sharing options...
daftGear Posted October 9, 2016 Share Posted October 9, 2016 (edited) del Edited October 9, 2016 by NagibMan @ Quote Link to comment Short link Share on other sites More sharing options...
ger Gauf Posted October 9, 2016 Share Posted October 9, 2016 Для каких целей можно использовать подобную инфу? ЛБЗ 1 1 @ Quote Link to comment Short link Share on other sites More sharing options...
sirmax Posted October 9, 2016 Share Posted October 9, 2016 xvm://res/icons/damagelog/bb.png Кстати, может стоит необходимые иконки сразу кинуть в ресурсы XVM? 1 @ 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.