Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Normal carousel cells settings
- * Настройки ячеек карусели обычного размера
- */
- {
- // Definitions
- // Шаблоны
- "def": {
- // Text fields shadow.
- // Тень текстовых полей.
- "textFieldShadow": { "enabled": true, "color": "0x000000", "alpha": 80, "blur": 2, "strength": 2, "distance": 0, "angle": 0 }
- },
- "normal": {
- // Cell width
- // Ширина ячейки
- "width": 160,
- // Cell height
- // Высота ячейки
- "height": 100,
- // Spacing between carousel cells.
- // Отступ между ячейками карусели.
- "gap": 10,
- // Standard cell elements.
- // Стандартные элементы ячеек.
- "fields": {
- // "enabled" - the visibility of the element / видимость элемента
- // "dx" - horizontal shift / смещение по горизонтали
- // "dy" - vertical shift / смещение по вертикали
- // "alpha" - transparency / прозрачность
- // "scale" - scale / масштаб
- //
- // Vehicle class icon.
- // Иконка типа техники.
- "tankType": { "enabled": true, "dx": 0, "dy": 0, "alpha": 100, "scale": 1 },
- // Vehicle level.
- // Уровень техники
- "level": { "enabled": true, "dx": 0, "dy": 0, "alpha": 100, "scale": 1 },
- // Double XP icon
- // Иконка не сбитого опыта за первую победу в день.
- "xp": { "enabled": true, "dx": 0, "dy": 0, "alpha": 100, "scale": 1 },
- // Vehicle name.
- // Название танка.
- "tankName": { "enabled": true, "dx": 0, "dy": 0, "alpha": 100, "scale": 1 },
- // Vehicle rent info text.
- // Инфо текст аренды танка.
- "rentInfo": { "enabled": true, "dx": 0, "dy": 0, "alpha": 100, "scale": 1 },
- // Info text (Crew incomplete, Repairs required)
- // Инфо текст (Неполный экипаж, Требуется ремонт).
- "info": { "enabled": true, "dx": 0, "dy": 0, "alpha": 100, "scale": 1 },
- // Info text for "Buy vehicle" and "Buy slot" slots.
- // Инфо текст для слотов "Купить машину" и "Купить слот".
- "infoBuy": { "enabled": true, "dx": 0, "dy": 0, "alpha": 100, "scale": 1 },
- // Clan lock timer
- // Таймер блокировки танка
- "clanLock": { "enabled": true, "dx": 0, "dy": 0, "alpha": 100 },
- // Price
- // Цена
- "price": { "enabled": true, "dx": 0, "dy": 0, "alpha": 100 },
- // Action price
- // Акционная цена
- "actionPrice": { "enabled": true, "dx": 0, "dy": 0, "alpha": 100 }
- },
- // Extra cell fields (see playersPanel.xc).
- // Дополнительные поля ячеек (см. playersPanel.xc).
- "extraFields": [
- { "Name": "SlotBackground", "x": 1, "y": 1, "layer": "substrate", "width": 160, "height": 100, "bgColor": "0x0A0A0A" },
- { "Name": "MarksOnGunSymbol", "x": 135, "y": 18, "format": "<img src='xvm://res/carousel_gunmark/img/mog{{v.marksOnGun|x}}.png' width='14' height='17'>" },
- { "Name": "MarksOnGunNumber", "x": 144, "y": "{{v.marksOnGun?18|17}}", "align": "center", "format": "<b><font size='9' color='#C8C8B5'>{{v.marksOnGun|x}}</font></b>", "shadow": { "color": "0x000000", "alpha": 0.8, "blur": 2, "strength": 5, "distance": 0, "angle": 0 } },
- { "Name": "WinrateOnTank", "x": 2, "y": 27, "format": "<font face='XVM' size='13' color='#CCCCCC'>B</font> <b><font size='12' face='$FieldFont' color='{{v.c_winrate}}'>{{v.winrate%2d~%|--}}</font></b>", "shadow": { "color": "0x000000", "alpha": 0.8, "blur": 2, "strength": 5, "distance": 0, "angle": 0 } },
- { "Name": "vwn8effd", "x": 70, "y": -3, "format": "<font face='XVM' size='11' color='#CCCCCC'>@</font> <b><font size='11' face='$FieldFont' color='{{v.c_wn8effd}}'>{{v.wn8effd%0.2f}}</font></b>", "shadow": { "color": "0x000000", "alpha": 0.8, "blur": 2, "strength": 5, "distance": 0, "angle": 0 } }
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement