night_dragon_on 5,601 #498459 Posted March 4, 2021 @EngineExt https://kr.cm/f/t/63078/c/498345/ 1 Quote Share this post Link to post Short link Share on other sites
Raevsky77 0 #498493 Posted March 4, 2021 Уважаемый night_dragon_on как опустить чуть ниже общее ХП команд (выделенное синим) ну или вообще убрать эту информацию? Quote Share this post Link to post Short link Share on other sites
night_dragon_on 5,601 #498494 Posted March 4, 2021 1 минуту назад, Raevsky77 сказал: как опустить чуть ниже battleLabelsTemplates.xc // Total hp indicator. // Индикатор общего HP команд. "totalHP": { "y": 30, Необходимо увеличить значение 30 1 минуту назад, Raevsky77 сказал: или вообще убрать эту информацию // Total hp indicator. // Индикатор общего HP команд. "totalHP": { "enabled": false, Quote Share this post Link to post Short link Share on other sites
Raevsky77 0 #498495 Posted March 4, 2021 Спасибо БОЛЬШОЕ!!! Quote Share this post Link to post Short link Share on other sites
Ksandr_ZK 0 #498517 Posted March 4, 2021 Здравствуйте! Подскажите пожалуйста, как к стандартной (от WG) панели общего НР прикрутить счётчики среднего урона и основного калибра? Буду очень благодарен за подсказку. Quote Share this post Link to post Short link Share on other sites
Antoshkaaa 534 #498531 Posted March 5, 2021 9 часов назад, Ksandr_ZK сказал: Подскажите пожалуйста res_mods\configs\xvm\default battleLabelsTemplates.xc в этих секциях настроить координаты под себя: "avgDamage": "mainGun": Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,165 #498542 Posted March 5, 2021 10 часов назад, Ksandr_ZK сказал: Здравствуйте! Подскажите пожалуйста, как к стандартной (от WG) панели общего НР прикрутить счётчики среднего урона и основного калибра? в моде XVM есть это по умолчанию: Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,165 #498589 Posted March 5, 2021 @Kornet_WA тут были изменения в событии PY(ON_UPDATE_HP). Так что для фрагов оно уже не подходит (часто вместо 15 - показывает 14). А вот ON_VEHICLE_DESTROYED наоборот, теперь подходит . Quote Share this post Link to post Short link Share on other sites
Szulson 15 #498651 Posted March 6, 2021 (edited) Hi.. Im using one of those beatifull Team Hp Panel.. And i just want to change one thing... At the midlle is this sign: ( | ) and is colored Red when we have lees hp,, or Green when we have more Hp.. Im wanna use This: ( > ) when we win, or this ( < ) when we loose , Like on Original sign... My config looks like this: Original line: "format": "<font size='20' color='{{py:math.sub({{py:xvm.total_hp.ally}}, {{py:xvm.total_hp.enemy}})>0?#5ACB00|#F30900}}'>|</font>" What i should Change??? When is Draw im just Want Like on 2nd pic.. just this sign (:) When we winning ,This sign (>) green When Loosing This (<) red Thx for Advice...Btw... Edited March 6, 2021 by Szulson Quote Share this post Link to post Short link Share on other sites
night_dragon_on 5,601 #498652 Posted March 6, 2021 @Szulson "format": "<font size='20' color='{{py:math.sub({{py:xvm.total_hp.ally}}, {{py:xvm.total_hp.enemy}})>0?#5ACB00|#F30900}}'>{{py:xvm.total_hp.sign}}</font>" 1 Quote Share this post Link to post Short link Share on other sites
Szulson 15 #498656 Posted March 6, 2021 (edited) @night_dragon_on thx for quick reply.. Im Edit my post.. can u look once again?? what i exactly want?? couse this what u say just marki this sign when we got more or lees hp.. Im just wanna use this mark when we win 2:0 and should looks like this 2>0 or we loose 0:2 like this 0<2 Edited March 6, 2021 by Szulson Quote Share this post Link to post Short link Share on other sites
night_dragon_on 5,601 #498658 Posted March 6, 2021 @Szulson {{py:xvm.total_hp.sign}} > {{py:sp.signScore}} 1 Quote Share this post Link to post Short link Share on other sites
sasha_1_nm_ru 35 #498699 Posted March 7, 2021 (edited) http:// Необходима помощь. Edited March 7, 2021 by sasha_1_nm_ru Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,165 #498700 Posted March 7, 2021 @sasha_1_nm_ru отлогируй панель в элементах. Там должны быть все настройки. цифры были во втором уровне вложенности, если память не изменяет. 1 Quote Share this post Link to post Short link Share on other sites
SicFunzler 57 #498701 Posted March 7, 2021 @sasha_1_nm_ru in elements "fragCorrelationBar": { "alpha": 0 }, MFG SicFunzler Quote Share this post Link to post Short link Share on other sites
Szulson 15 #498715 Posted March 7, 2021 (edited) @night_dragon_on Thx for Reply.. i use that what u say.. Now Comand line looks like this.( i try many options as u can see) Quote "totalHP_sing": { "enabled": "{{battletype-key=epic_battle?false|true}}", "updateEvent": "PY(ON_UPDATE_HP)", "x": 0, "y": 0, "width": 30, "height": 32, "screenHAlign": "center", "shadow": { "distance": 1, "angle": 90, "alpha": 80, "blur": 5, "strength": 1.5 }, "textFormat": { "font": "$TitleFont", "size": 20, "align": "center" }, //"format": "<font size='20'>:</font>" "format": "<font size='20' color='{{py:math.sub({{py:sp.allyFrags}}, {{py:sp.enemyFrags}})>0?#5ACB00|#F30900}}'>{{py:sp.signScore}}</font>" //"format": "<font size='20' color='{{py:math.sub({{py:xvm.total_hp.ally}}, {{py:xvm.total_hp.enemy}})>0?#5ACB00|#F30900}}'>{{py:math.sub(>), (<)}}</font>" // "color": "0xCCCCCC", ///"format": "<font size='20' color='{{py:math.sub({{py:xvm.total_hp.ally}}, {{py:xvm.total_hp.enemy}})>0?#5ACB00|#F30900}}'>{{py:sp.signScore}}</font>" }, and it looks like this now: As u can see at the beginning is this Sign; ( = ) on red color.. is it possible to change the sign ( = ) to ( : ) on white color?? to look like this???:: Btw.. if not possible Thx a lot.. Edited March 7, 2021 by Szulson Quote Share this post Link to post Short link Share on other sites
night_dragon_on 5,601 #498737 Posted March 7, 2021 @Szulson "totalHP_sing": { "enabled": "{{battletype-key=epic_battle?false|true}}", "updateEvent": "ON_VEHICLE_DESTROYED", "x": 0, "y": 0, "width": 30, "height": 32, "screenHAlign": "center", "shadow": { "distance": 1, "angle": 90, "alpha": 80, "blur": 5, "strength": 1.5 }, "textFormat": { "font": "$TitleFont", "size": 20, "align": "center" }, "format": "<font size='20' color='{{py:sp.signScore=>?#5ACB00|{{py:sp.signScore=<?#F30900|#CCCCCC}}}}'>{{py:replace('{{py:sp.signScore}}', '=', ':')}}</font>" }, You can write it like this: "totalHP_sing": { "enabled": "{{battletype-key=epic_battle?false|true}}", "updateEvent": "ON_VEHICLE_DESTROYED", "x": 0, "y": 0, "width": 30, "height": 32, "screenHAlign": "center", "shadow": { "distance": 1, "angle": 90, "alpha": 80, "blur": 5, "strength": 1.5 }, "textFormat": { "font": "$TitleFont", "size": 20, "align": "center", "color": "{{py:sp.signScore=>?0x5ACB00|{{py:sp.signScore=<?0xF30900|0xCCCCCC}}}}" }, "format": "{{py:replace('{{py:sp.signScore}}', '=', ':')}}" }, 1 Quote Share this post Link to post Short link Share on other sites
sasha_1_nm_ru 35 #498769 Posted March 8, 2021 13 часов назад, night_dragon_on сказал: У меня не завелся ни первый вариант, ни второй. Категорически отказывается менять цвет. Проверял на реплее. Не пойму где может быть проблема. У кого нибудь заработало, цвет меняет? Quote Share this post Link to post Short link Share on other sites
S.N 11 #498773 Posted March 8, 2021 (edited) У меня такой вариант: "format": "{{py:math.sub({{py:xvm.total_hp.ally}}, {{py:xvm.total_hp.enemy}})>0?<img src='xvm://res/icons/totalHP/Arm/1.png' width='25' height='20' align='baseline' vspace='0'>|{{py:math.sub({{py:xvm.total_hp.ally}}, {{py:xvm.total_hp.enemy}})<0?<img src='xvm://res/icons/totalHP/Arm/2.png' width='25' height='20' align='baseline' vspace='0'>|<img src='xvm://res/icons/totalHP/Arm/3.png' width='25' height='20' align='baseline' vspace='0'>}}}}" Картинки заменить на свои. Спасибо night_dragon_on за подсказку. Edited March 8, 2021 by S.N не то Quote Share this post Link to post Short link Share on other sites
sasha_1_nm_ru 35 #498775 Posted March 8, 2021 (edited) 5 часов назад, S.N сказал: Мне@night_dragon_on ,такой вариант подсказал: "format": "<font size='14' color='{{py:math.sub({{py:xvm.total_hp.ally}}, {{py:xvm.total_hp.enemy}})>0?#5ACB00|{{py:math.sub({{py:xvm.total_hp.ally}}, {{py:xvm.total_hp.enemy}})<0?#F30900|#FFFFFF}}}}'>{{py:math.abs({{py:math.sub({{py:xvm.total_hp.ally}}, {{py:xvm.total_hp.enemy}})}})}}</font>" Это не то, Вы показываете перевес в hp. А нас интересует центральный маркер, который пытаемся настроить так: " > " -то зеленого цвета, " < "- красного цвета , " = " или " : " -белого цвета. 5 часов назад, S.N сказал: У меня такой вариант: "format": "{{py:math.sub({{py:xvm.total_hp.ally}}, {{py:xvm.total_hp.enemy}})>0?<img src='xvm://res/icons/totalHP/Arm/1.png' width='25' height='20' align='baseline' vspace='0'>|{{py:math.sub({{py:xvm.total_hp.ally}}, {{py:xvm.total_hp.enemy}})<0?<img src='xvm://res/icons/totalHP/Arm/2.png' width='25' height='20' align='baseline' vspace='0'>|<img src='xvm://res/icons/totalHP/Arm/3.png' width='25' height='20' align='baseline' vspace='0'>}}}}" Картинки заменить на свои. Спасибо night_dragon_on за подсказку. И это работает у Вас? У меня висит картинка под номером 2 и ничего не происходит. Был конфликт. Но это не то что нужно. Нужно для фрагов. А это для hp. Edited March 8, 2021 by sasha_1_nm_ru Quote Share this post Link to post Short link Share on other sites