serh1o Posted June 3, 2017 Share Posted June 3, 2017 Приветствую. Раньше использовал в качестве индикатора звездочку 'Конфиг' "skill": { "name": "skill", "visible": true, "x": -47, "y": -19, "alpha": "70", "color": "{{c:r}}", "font": { "name": "xvm", "size": 13, "align": "center", "bold": false, "italic": false }, "shadow": { "alpha": 30, "color": null, "angle": 90, "distance": 0, "size": 6, "strength": 200 }, "format": "{{xvm-stat?\u0021}}" }, Но в последнее время вместо звезды отображается "!". Подскажите, пожалуйста, как решить эту проблему. @ Quote Link to comment Short link Share on other sites More sharing options...
steaxch Posted June 3, 2017 Share Posted June 3, 2017 Устаревший конфиг у тебя так должно быть "skill": { "name": "skill", "enabled": true, "x": -47, "y": -19, "alpha": "70", "color": "{{c:r}}", "textFormat": { "font": "xvm", "size": 13, "align": "center", "bold": false, "italic": false }, "shadow": { "alpha": 30, "color": null, "angle": 90, "distance": 0, "size": 6, "strength": 2 }, "format": "{{xvm-stat?\u0021}}" }, "visible" давно стало "enabled" "font" ---> "textFormat" "name" ---> "font" "strength" теперь однозначный тебе все конфиги по идее переписывать надо 1 @ Quote Link to comment Short link Share on other sites More sharing options...
serh1o Posted June 3, 2017 Author Share Posted June 3, 2017 Благодарю за ответ. Теперь отображаются звезды, но они все зеленые у союзников и красные - у противников. То есть нет разделения по цветам, в зависимости от рейтинга. @ Quote Link to comment Short link Share on other sites More sharing options...
steaxch Posted June 3, 2017 Share Posted June 3, 2017 (edited) Благодарю за ответ. Теперь отображаются звезды, но они все зеленые у союзников и красные - у противников. То есть нет разделения по цветам, в зависимости от рейтинга. упс, забыл, "color" надо опустить в "textFormat" попробуй так "skill": { "name": "skill", "enabled": true, "x": -47, "y": -19, "alpha": "{{xvm-stat?100|0}}", "font": { "name": "xvm", "size": 13, "color": "{{c:r|#999999}}", "align": "center", "bold": false, "italic": false }, "shadow": { "alpha": 30, "color": "0x000000", "angle": 90, "distance": 0, "blur": 6, "strength": 2 }, "format": "!" }, Edited June 3, 2017 by steaxch 1 @ Quote Link to comment Short link Share on other sites More sharing options...
serh1o Posted June 3, 2017 Author Share Posted June 3, 2017 Большое спасибо. Достаточно было color в textFormat перенести // Текстовое поле со шкалой опасности игрока "skill": { "name": "skill", "enabled": true, "x": -47, "y": -19, "alpha": "70", "textFormat": { "font": "xvm", "size": 13, "color": "{{c:r}}", "align": "center", "bold": false, "italic": false }, "shadow": { "alpha": 30, "color": null, "angle": 90, "distance": 0, "size": 6, "strength": 2 }, "format": "{{xvm-stat?\u0021}}" }, @ 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.