shmutz Posted October 24, 2024 Share Posted October 24, 2024 попробовал вставить в систему xvmsymbol.ttf в файл minimapLabelsTemplates.xc в раздел // Тип техники, пропавший "vtypeLost": { в строку "format": "<font color='{{ вставил face='XVMSymbol' не помогло @ Quote Link to comment Short link Share on other sites More sharing options...
justdj Posted October 24, 2024 Share Posted October 24, 2024 (edited) Только что, N_P сказал: А тот, что идет в составе самого XVM - он какой-то неполный, что ли? Я вот не понимаю, какой шрифт отвечает за отрисовку секторов ХП на миникарте - ни в одном из шрифтов в комплекте мода таких символов нет. dynamic и он есть, но это все равно не работает) Edited October 24, 2024 by justdj @ Quote Link to comment Short link Share on other sites More sharing options...
N_P Posted October 24, 2024 Share Posted October 24, 2024 3 часа назад, P.S.Enot сказал: а что у тебя за конфиг от кого? мой собственный, который уже лет 6 минимум не трогал вообще )) @ Quote Link to comment Short link Share on other sites More sharing options...
P.S.Enot Posted October 24, 2024 Share Posted October 24, 2024 3 часа назад, shmutz сказал: попробовал вставить в систему xvmsymbol.ttf в файл minimapLabelsTemplates.xc в раздел // Тип техники, пропавший "vtypeLost": { в строку "format": "<font color='{{ вставил face='XVMSymbol' не помогло Так как то должно быть // Тип техники, пропавший. "vtypeLost": { "$ref": { "path":"def.defaultItem" }, "alpha": 75, "align": "center", "valign": "center", "flags": [ "ally", "enemy", "squadman", "teamKiller", "lost", "alive" ], "layer": "bottom", "textFormat": { "font": "XVMSymbol", "size": 13, "align": "center", "valign": "center" }, "format": "<font color='{{.minimap.labelsData.colors.lostDot.{{sys-color-key}}}}'>{{.minimap.labelsData.vtype.{{vtype-key}}}}</font>" Вот ваша строчка как должна выглядеть - "textFormat": { "font": "XVMSymbol", "size": 13, "align": "center", "valign": "center" }, @ Quote Link to comment Short link Share on other sites More sharing options...
anotna123 Posted October 24, 2024 Share Posted October 24, 2024 6 часов назад, shmutz сказал: попробовал вставить в систему xvmsymbol.ttf в файл minimapLabelsTemplates.xc в раздел // Тип техники, пропавший "vtypeLost": { в строку "format": "<font color='{{ вставил face='XVMSymbol' не помогло Я посмотрел, на какие шрифты ругается питон.лог, и установил их в систему. Квадратики ушли, и на миникарте порядок. Это шрифты: 1) mono (который в \mods\temp\com.modxvm.xfw.fonts\fonts называется zurichcondmono) 2) xvm (xvmsymbol, только пришлось в метаданных шрифта переименовать на просто xvm) Как временная мера - вариант. Ну и ждём, разработчики мода - мы в вас верим! 2 @ Quote Link to comment Short link Share on other sites More sharing options...
Dimitry Posted October 25, 2024 Share Posted October 25, 2024 3 часа назад, anotna123 сказал: установил в систему. Квадратики ушли, и на миникарте порядок. Это шрифты: 1) mono (который в \mods\temp\com.modxvm.xfw.fonts\fonts называется zurichcondmono) 2) xvm (xvmsymbol, только пришлось в метаданных шрифта переименовать на просто xvm) Переименовывать с помощью https://github.com/chrissimpkins/fontname.py @ Quote Link to comment Short link Share on other sites More sharing options...
xZirus Posted October 25, 2024 Share Posted October 25, 2024 4 часа назад, anotna123 сказал: 2) xvm (xvmsymbol, только пришлось в метаданных шрифта переименовать на просто xvm) подтверждаю, после переименования "квадратики" пропали ps использовал программу FontForge @ Quote Link to comment Short link Share on other sites More sharing options...
gh0zt Posted October 25, 2024 Share Posted October 25, 2024 (edited) Аналогично - поправил шрифты и поставил в систему - все работает Правил тут - Просмотр и редактирование метаданных шрифта TTF онлайн (aspose.app) вот файлики Mono.ttf xvm.ttf Dynamic.ttf Edited October 25, 2024 by gh0zt 7 @ Quote Link to comment Short link Share on other sites More sharing options...
gizmojaf Posted October 25, 2024 Share Posted October 25, 2024 @gh0zt спасибо за шрифты, помогло @ Quote Link to comment Short link Share on other sites More sharing options...
RAPTOR_GA Posted October 25, 2024 Share Posted October 25, 2024 @gh0zt Спасибо большое!!!!!Все заработало!!! 1 час назад, gh0zt сказал: Аналогично - поправил шрифты и поставил в систему - все работает Правил тут - Просмотр и редактирование метаданных шрифта TTF онлайн (aspose.app) вот файлики Mono.ttf 28.79 kB · 13 скачиваний xvm.ttf 125.63 kB · 11 скачиваний @ Quote Link to comment Short link Share on other sites More sharing options...
shmutz Posted October 25, 2024 Share Posted October 25, 2024 15 часов назад, P.S.Enot сказал: Так как то должно быть // Тип техники, пропавший. "vtypeLost": { "$ref": { "path":"def.defaultItem" }, "alpha": 75, "align": "center", "valign": "center", "flags": [ "ally", "enemy", "squadman", "teamKiller", "lost", "alive" ], "layer": "bottom", "textFormat": { "font": "XVMSymbol", "size": 13, "align": "center", "valign": "center" }, "format": "<font color='{{.minimap.labelsData.colors.lostDot.{{sys-color-key}}}}'>{{.minimap.labelsData.vtype.{{vtype-key}}}}</font>" Вот ваша строчка как должна выглядеть - "textFormat": { "font": "XVMSymbol", "size": 13, "align": "center", "valign": "center" }, не сработало ну да ладно, тот вариант что ниже с подменой шрифтов прокатил. Спасибо выложившим этот вариант @ Quote Link to comment Short link Share on other sites More sharing options...
MAKSIM_KPYTOI Posted October 25, 2024 Share Posted October 25, 2024 Как это всё установить? Что делать с этими файлами? Спасибо большое сразу за ответ @ Quote Link to comment Short link Share on other sites More sharing options...
gh0zt Posted October 25, 2024 Share Posted October 25, 2024 Скачиваешь потом наводишь на файл и по правой кнопки мыши - Установить (или Install) @ Quote Link to comment Short link Share on other sites More sharing options...
cacagaga Posted October 25, 2024 Share Posted October 25, 2024 @gh0zt Это готовые файлики или самому их ковырять программой? После установки шрифта на комп что делать? Править строки в XVM? @ Quote Link to comment Short link Share on other sites More sharing options...
gh0zt Posted October 25, 2024 Share Posted October 25, 2024 готовые файлы конфиги править НЕ НАДО 1 @ Quote Link to comment Short link Share on other sites More sharing options...
DarphBobo Posted October 25, 2024 Share Posted October 25, 2024 @gh0zt Спасибо @ Quote Link to comment Short link Share on other sites More sharing options...
DEDA Posted October 25, 2024 Share Posted October 25, 2024 @gh0zt Спасибо!!! @ Quote Link to comment Short link Share on other sites More sharing options...
Bill Prihlop Posted October 25, 2024 Share Posted October 25, 2024 @gh0zt Спасибо за шрифты. А какой шрифт отвечает за круги ХП на миникарте,вроде как всё отображается,а вот ХП на карте по прежнему квадратиками. @ Quote Link to comment Short link Share on other sites More sharing options...
MonSter666 Posted October 25, 2024 Share Posted October 25, 2024 55 минут назад, Bill Prihlop сказал: ХП на карте по прежнему квадратиками Та же беда, пишет в логах что не найден шрифт dynamic @ Quote Link to comment Short link Share on other sites More sharing options...
gh0zt Posted October 25, 2024 Share Posted October 25, 2024 Для карты попробуйте и отпишитесь Dynamic.ttf 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.