V127 20 Posted August 13, 2016 (edited) Подскажите, почему некорректно центруется уровень техники над полоской HP в новой версии XVM? markersAliveNormal.xc // Уровень танка."levelIcon": { "enabled": true, "x": 0, "y": -63, "alpha": 100}, Edited August 13, 2016 by V127 Quote Share this post Link to post Short link Share on other sites
sirmax 5,499 #346189 Posted August 13, 2016 потому что в чистом клиенте так же. можно выключить его вообще и заменить на текстовое поле Quote Share this post Link to post Short link Share on other sites
TornadoCat 1,027 #346195 Posted August 13, 2016 (edited) @V127, скажи спасибо ВГ .вот тут говорилось о проблеме, а тут - о решении Код для решения - вот тут Edited August 13, 2016 by Tornado_Odan_Rot 1 Quote Share this post Link to post Short link Share on other sites
V127 20 #346212 Posted August 13, 2016 @V127, скажи спасибо ВГ . вот тут говорилось о проблеме, а тут - о решении Код для решения - вот тут Мне не для ушей надо, а для уровня техники над полоской HP. Quote Share this post Link to post Short link Share on other sites
TornadoCat 1,027 #346217 Posted August 13, 2016 @V127, что в ушах, что там, что по табу, выравнивание было похерено .так что экстра поле можно применять повсюду Quote Share this post Link to post Short link Share on other sites
V127 20 #346229 Posted August 13, 2016 {{ally?23|21}} - не работает... Quote Share this post Link to post Short link Share on other sites
TornadoCat 1,027 #346242 Posted August 13, 2016 {{ally?23|21}} - не работает...а на кой оно, если Вы пишете одно текстовое поле для своих (секция ally - textFields) , а второе для врагов (enemy - textFields) 2 1 Quote Share this post Link to post Short link Share on other sites
V127 20 #346253 Posted August 13, 2016 а на кой оно, если Вы пишете одно текстовое поле для своих (секция ally - textFields) , а второе для врагов (enemy - textFields) Это не ответ... Quote Share this post Link to post Short link Share on other sites
konrad509 445 #346255 Posted August 13, 2016 @Tornado_Odan_Rot это не решение для его проблема @V127 сделайте как sirmax предложил 1 Quote Share this post Link to post Short link Share on other sites
TornadoCat 1,027 #346258 Posted August 13, 2016 @konrad509, sirmax said how to do, I said how to configure .so dat's true shit to work . Это не ответ... конечно это не ответ .а что ответ ? есть и вместо Вас сделать ? 1 Quote Share this post Link to post Short link Share on other sites
konrad509 445 #346270 Posted August 13, 2016 But how changing the horizontal position of level icon, depending on whether it's ally or enemy vehicle, is supposed to help him centre the icon over a vehicle? Sorry, but I don't see how is one related to another. If I'm wrong, enlighten me please... Quote Share this post Link to post Short link Share on other sites
TornadoCat 1,027 #346287 Posted August 13, 2016 (edited) @konrad509, look on these screenshons and compare them 1st - how it was before 9.15.1.1, 2nd - how it's become . Do u see the levelicon aligned center in 1st screen ? and look on it in the 2nd screen .It's aligned on left . Same shi~ is in the Markers, so extra additional text fiels are valid there . Edited August 13, 2016 by Tornado_Odan_Rot 1 Quote Share this post Link to post Short link Share on other sites
konrad509 445 #346310 Posted August 13, 2016 (edited) Yes, I agree with you. But making it possible to centre the level icon, or to be technically correct, making all these icons collinear in relation to their centres, is thanks to this one line: "align": "center", not this "x": "{{ally?23|21}}", Edited August 13, 2016 by konrad509 Quote Share this post Link to post Short link Share on other sites
TornadoCat 1,027 #346333 Posted August 13, 2016 (edited) @konrad509, ye dat was my bad, coz I gave a piece of pPanel code ..excume me ) so this guy need to disable the client icon "levelIcon": { "alpha": 100, "enabled": false, "x": 0, "y": -21 }, and write this in textFields { "name": "Level Icon", "enabled": true, "x": 0, "y": -31, "alpha": 100, "textFormat": { "font": "$FieldFont", "size": 14, "color": null, "align": "center", "bold": false, "italic": false }, "shadow": { "enabled": true, "distance": 0, "angle": 0, "color": "0x000000", "alpha": 100, "blur": 4, "strength": 2 }, "format": "{{rlevel}}" }, . Dat's correct code ) Edited August 13, 2016 by Tornado_Odan_Rot 2 Quote Share this post Link to post Short link Share on other sites
V127 20 #346556 Posted August 14, 2016 @konrad509, ye dat was my bad, coz I gave a piece of pPanel code .. excume me ) so this guy need to disable the client icon "levelIcon": { "alpha": 100, "enabled": false, "x": 0, "y": -21 }, and write this in textFields { "name": "Level Icon", "enabled": true, "x": 0, "y": -31, "alpha": 100, "textFormat": { "font": "$FieldFont", "size": 14, "color": null, "align": "center", "bold": false, "italic": false }, "shadow": { "enabled": true, "distance": 0, "angle": 0, "color": "0x000000", "alpha": 100, "blur": 4, "strength": 2 }, "format": "{{rlevel}}" }, . Dat's correct code ) Выравнивание по центру так и не работает... Quote Share this post Link to post Short link Share on other sites
TornadoCat 1,027 #346572 Posted August 14, 2016 Выравнивание по центру так и не работает...блин, уже код кинули, там хочешь, не хочешь, поле само себя выровняет .Что не работает на этот раз ? Скрин ? Quote Share this post Link to post Short link Share on other sites