Erebus9997 0 Posted October 25, 2014 Is there any way of showing the marks of excellence percentage in the carousel? I've decided to focus on trying to get some marks and having them in the carousel would be so much easier than going into the vehicle statistics after every battle. I have done some research and haven't found a way of doing this, so I'd really appreciate anything you come up with. Quote Share this post Link to post Short link Share on other sites
VicKing 650 #225201 Posted October 25, 2014 @Erebus9997, {{v.damageRating}} - damage rating in percents for marks on gun {{v.c_damageRating}} - dynamic color for this macro something like this: {"x": 0, "y": 47, "format": "<font face='Tahoma' size='13' color='{{v.c_damageRating}}'>{{v.damageRating%4.2f~%}}</font>", "shadow": { "alpha": 80, "angle": 45, "blur": 2, "color": "0x000000", "distance": 0, "enabled": true, "strength": 2}} Quote Share this post Link to post Short link Share on other sites
guni 0 #225929 Posted October 28, 2014 (edited) Hi there. I'm very intrested to put these informations into my garage. i've tried to make some modifications but that's not ok. Here is my carousel.xc file: /** * Parameters for tank carousel * Параметры карусели танков */ { "carousel": { // false - Disable customizable carousel. // false - Отключить настраиваемую карусель. "enabled": ${"various/carousel.xc":"enabled"}, // Scale of carousel cells. // Масштаб ячеек карусели. "zoom": 0.9, // Number of rows at carousel. // Количество рядов карусели. "rows": ${"various/rows.xc":"rows"}, // Spacing between carousel cells. // Отступ между ячейками карусели. "padding": { "horizontal": 2, // по горизонтали "vertical": 2 // по вертикали }, // true - show filters only if all tanks do not fit on the screen. // true - показывать фильтры только, если все танки не помещаются на экране. "alwaysShowFilters": true, // true - hide cell "Buy tank". // true - скрыть ячейку "Купить танк". "hideBuyTank": false, // true - hide cell "Buy slot". // true - скрыть ячейку "Купить слот". "hideBuySlot": false, // Visibility filters. // Видимость фильтров. "filters": { // false - hide filter. // false - скрыть фильтр. "nation": { "enabled": true }, // nation / страна "type": { "enabled": true }, // vehicle class / тип техники "level": { "enabled": true }, // vehicle level / уровень техники "favorite": { "enabled": true }, // favorite tanks / основные танки "prefs": { "enabled": true } // other filters / другие фильтры }, // Standard cell elements. // Стандартные элементы ячеек. "fields": { // "visible" - the visibility of the element / видимость элемента // "dx" - horizontal shift / смещение по горизонтали // "dy" - vertical shift / смещение по вертикали // "alpha" - transparency / прозрачность // "scale" - scale / масштаб // // Vehicle class icon. // Иконка типа техники. "tankType": { "visible": true, "dx": 0, "dy": 0, "alpha": 100, "scale": 1 }, // Vehicle level. // Уровень техники "level": { "visible": true, "dx": 0, "dy": 0, "alpha": 100, "scale": 1 }, // todo: english description // Иконка не сбитого кратного опыта за первую победу в день. "multiXp": { "visible": true, "dx": 0, "dy": 0, "alpha": 100, "scale": 1 }, // todo: english description // Иконка не сбитого опыта за первую победу в день. "xp": { "visible": true, "dx": 0, "dy": 0, "alpha": 100, "scale": 1 }, // Vehicle name. // Название танка. "tankName": { "visible": true, "dx": 0, "dy": 0, "alpha": 100, "scale": 1 } }, // Extra cell fields (see playersPanel.xc). // Дополнительные поля ячеек (см. playersPanel.xc). "extraFields": [ // Sign of mastery. // Знак мастерства. { "x": -1, "y": 10, "format": "<img src='img://gui/maps/icons/library/proficiency/class_icons_{{v.mastery}}.png' width='23' height='23'>" } ] } } How can i had the Marks of Excellence Percentage ? If i put this line between {"x": -1, "y": 20, "format": "<font face='Tahoma' size='13' color='{{v.c_damageRating}}'>{{v.damageRating%4.2f~%}}</font>", "shadow": { "alpha": 80, "angle": 45, "blur": 2, "color": "0x000000", "distance": 0, "enabled": true, "strength": 2}} and ], i lose my multilines carousel ingame. Edit: That's ok i've forget a simply , at the end of mastery icon :)Thanks Edited October 28, 2014 by guni Quote Share this post Link to post Short link Share on other sites
vlad_cs_sr 1,575 #225945 Posted October 28, 2014 try this code "extraFields": [ // Sign of mastery. // Знак мастерства. { "x": -1, "y": 10, "format": "<img src='img://gui/maps/icons/library/proficiency/class_icons_{{v.mastery}}.png' width='23' height='23'>" }, // damageRating { "x": -1, "y": 20, "format": "<font face='Tahoma' size='13' color='{{v.c_damageRating}}'>{{v.damageRating%4.2f~%}}</font>", "shadow": { "alpha": 80, "angle": 45, "blur": 2, "color": "0x000000", "distance": 0, "enabled": true, "strength": 2}} ] Quote Share this post Link to post Short link Share on other sites