CTADO Posted March 9, 2015 Share Posted March 9, 2015 Здравствуйте,подскажите как поменять шрифт ОТЛЕТАЮЩЕГО УРОНА? @ Quote Link to comment Short link Share on other sites More sharing options...
kr0ne Posted March 10, 2015 Share Posted March 10, 2015 Здравствуйте,подскажите как поменять шрифт ОТЛЕТАЮЩЕГО УРОНА? В файле markersAliveNormal.xc и markersAliveExtended.xc есть секция // Всплывающий урон. в начале файла. Нужно поменять: "font": { "name": "$FieldFont", // Font name / Название на что нибудь типа: "font": { "name": "PT Sans", // Font name / Название P.S. Если есть необходимость можно поиграться с размером, выравниванием, жирностью, наклонностью и тенью(поля ниже). @ Quote Link to comment Short link Share on other sites More sharing options...
CTADO Posted March 10, 2015 Author Share Posted March 10, 2015 (edited) В файле markersAliveNormal.xc и markersAliveExtended.xc есть секция // Всплывающий урон. в начале файла. Нужно поменять: "font": { "name": "$FieldFont", // Font name / Название на что нибудь типа: "font": { "name": "PT Sans", // Font name / Название P.S. Если есть необходимость можно поиграться с размером, выравниванием, жирностью, наклонностью и тенью(поля ниже). Спасибо!А шрифты можно любые которые установлены на компе,брать? Edited March 10, 2015 by CTADO @ Quote Link to comment Short link Share on other sites More sharing options...
kr0ne Posted March 10, 2015 Share Posted March 10, 2015 Спасибо!А шрифты можно любые которые установлены на компе,брать? Да @ Quote Link to comment Short link Share on other sites More sharing options...
CTADO Posted March 10, 2015 Author Share Posted March 10, 2015 Да А как "ЖИРНЫЙ" активировать? // Параметры шрифта. "font": { "name": "Junegull-Regular", // Font name / Название "size": 30, // Font size / Размер "align": "center", // Text alignment (left, center, right) / Выравнивание текста (left, center, right) "bold": false, // True - bold / Жирный. "italic": false // True - italic / Курсив. }, @ Quote Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted March 10, 2015 Share Posted March 10, 2015 А как "ЖИРНЫЙ" активировать? "bold": true, @ Quote Link to comment Short link Share on other sites More sharing options...
CTADO Posted March 10, 2015 Author Share Posted March 10, 2015 "bold": true, Спасибо,а почему если написать "True" с большой выдаёт ошибку? @ Quote Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted March 10, 2015 Share Posted March 10, 2015 Спасибо,а почему если написать "True" с большой выдаёт ошибку? Python - регистрозависимый язык. @ Quote Link to comment Short link Share on other sites More sharing options...
kr0ne Posted March 10, 2015 Share Posted March 10, 2015 Python - регистрозависимый язык. Думаю не в питоне дело :) Он то как раз True любит >>> True True >>> true Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'true' is not defined @ Quote Link to comment Short link Share on other sites More sharing options...
norkas Posted March 10, 2015 Share Posted March 10, 2015 (edited) Да, тут скорее всего дело не в питоне, а в формате JSON, который требует именно true. Парсер JSON-формата, который используется в питоне, отказывается десериализовывать невалидные данные. Edited March 10, 2015 by norkas @ Quote Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted March 10, 2015 Share Posted March 10, 2015 Да, тут скорее всего дело не в питоне, а в формате JSON, который требует именно true. Во @ Quote Link to comment Short link Share on other sites More sharing options...
CTADO Posted March 11, 2015 Author Share Posted March 11, 2015 Спасибо!Тему можно закрывать @ 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.