V127 Posted August 13, 2016 Share 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 Link to comment Short link Share on other sites More sharing options...
sirmax Posted August 13, 2016 Share Posted August 13, 2016 потому что в чистом клиенте так же. можно выключить его вообще и заменить на текстовое поле @ Quote Link to comment Short link Share on other sites More sharing options...
TornadoCat Posted August 13, 2016 Share Posted August 13, 2016 (edited) @V127, скажи спасибо ВГ .вот тут говорилось о проблеме, а тут - о решении Код для решения - вот тут Edited August 13, 2016 by Tornado_Odan_Rot 1 @ Quote Link to comment Short link Share on other sites More sharing options...
V127 Posted August 13, 2016 Author Share Posted August 13, 2016 @V127, скажи спасибо ВГ . вот тут говорилось о проблеме, а тут - о решении Код для решения - вот тут Мне не для ушей надо, а для уровня техники над полоской HP. @ Quote Link to comment Short link Share on other sites More sharing options...
TornadoCat Posted August 13, 2016 Share Posted August 13, 2016 @V127, что в ушах, что там, что по табу, выравнивание было похерено .так что экстра поле можно применять повсюду @ Quote Link to comment Short link Share on other sites More sharing options...
V127 Posted August 13, 2016 Author Share Posted August 13, 2016 {{ally?23|21}} - не работает... @ Quote Link to comment Short link Share on other sites More sharing options...
TornadoCat Posted August 13, 2016 Share Posted August 13, 2016 {{ally?23|21}} - не работает...а на кой оно, если Вы пишете одно текстовое поле для своих (секция ally - textFields) , а второе для врагов (enemy - textFields) 2 1 @ Quote Link to comment Short link Share on other sites More sharing options...
V127 Posted August 13, 2016 Author Share Posted August 13, 2016 а на кой оно, если Вы пишете одно текстовое поле для своих (секция ally - textFields) , а второе для врагов (enemy - textFields) Это не ответ... @ Quote Link to comment Short link Share on other sites More sharing options...
konrad509 Posted August 13, 2016 Share Posted August 13, 2016 @Tornado_Odan_Rot это не решение для его проблема @V127 сделайте как sirmax предложил 1 @ Quote Link to comment Short link Share on other sites More sharing options...
TornadoCat Posted August 13, 2016 Share Posted August 13, 2016 @konrad509, sirmax said how to do, I said how to configure .so dat's true shit to work . Это не ответ... конечно это не ответ .а что ответ ? есть и вместо Вас сделать ? 1 @ Quote Link to comment Short link Share on other sites More sharing options...
konrad509 Posted August 13, 2016 Share 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 Link to comment Short link Share on other sites More sharing options...
TornadoCat Posted August 13, 2016 Share 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 Link to comment Short link Share on other sites More sharing options...
konrad509 Posted August 13, 2016 Share 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 Link to comment Short link Share on other sites More sharing options...
TornadoCat Posted August 13, 2016 Share 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 Link to comment Short link Share on other sites More sharing options...
V127 Posted August 14, 2016 Author Share 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 Link to comment Short link Share on other sites More sharing options...
TornadoCat Posted August 14, 2016 Share Posted August 14, 2016 Выравнивание по центру так и не работает...блин, уже код кинули, там хочешь, не хочешь, поле само себя выровняет .Что не работает на этот раз ? Скрин ? @ 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.