Jump to content
Korean Random
Sign in to follow this  
pricolisb

% отметок

Recommended Posts

* Parameters for tank carousel
* Параметры карусели танков
*/
{
  "carousel": {
    // false - Disable customizable carousel.
    // false - Отключить настраиваемую карусель.
    "enabled": false,
    // Type of cells - "default" (depends from window size), "normal" or "small"
    // Вид ячеек - "default" (в зависимости от размера окна), "normal" (обычные), "small" (маленькие)
    "cellType": "default",
    // Normal cells settings
    // Настройки ячеек обычного размера
    "normal": ${"carouselNormal.xc":"normal"},
    // Small cells settings
    // Настройки ячеек маленького размера
    "small": ${"carouselSmall.xc":"small"},
    // Number of rows at carousel. 0 - use client settings
    // Количество рядов карусели. 0 - использовать настройки клиента
    "rows": 0,
    // Background transparency (default - 100)
    // Прозрачность подложки (по умолчанию - 100)
    "backgroundAlpha": 100,
    // Mouse wheel scrolling speed multiplier (default - 1)
    // Множитель скорости прокрутки колесом мыши (по умолчанию - 1)
    "scrollingSpeed": 1,
    // true - hide cell "Buy vehicle".
    // true - скрыть ячейку "Купить машину".
    "hideBuyTank": false,
    // true - hide cell "Buy slot".
    // true - скрыть ячейку "Купить слот".
    "hideBuySlot": false,
    // true - show total slots count in the "Buy vehicle" cell.
    // true - показывать общее количество слотов в ячейке "Купить машину".
    "showTotalSlots": false,
    // true - show used slots count in the "Buy slot" cell.
    // true - показывать количество занятых слотов в ячейке "Купить слот".
    "showUsedSlots": true,
    // set to false to remove background for locked vehicles (default: true)
    // поставить false, чтобы отключить фон для заблокированной техники (по-умолчанию: true)
    "enableLockBackground": true,
    // Visibility filters.
    // Видимость фильтров.
    "filters": {
      // false - hide filter.
      // false - скрыть фильтр.
      "params":   { "enabled": true },  // main params        / основные параметры
      "bonus":    { "enabled": true },  // x2 bonus           / x2 бонус
      "favorite": { "enabled": true }   // favorite tanks     / основные танки
    },
    // Spacing between filters cells.
    // Отступ между ячейками фильтров.
    "filtersPadding": {
      "horizontal": 11,   // по горизонтали
      "vertical": 13      // по вертикали
    },
    // Order of nations.
    // Порядок наций.
    //"nations_order": ["ussr", "germany", "usa", "france", "uk", "china", "japan", "czech"],
    "nations_order": [],
    // Order of types of vehicles.
    // Порядок классов техники.
    "types_order":   ["lightTank", "mediumTank", "heavyTank", "AT-SPG", "SPG"],
    // Tank sorting criteria, available options: (minus = reverse order)
    // Критерии сортировки танков, доступные значения: (минус = в обратном порядке)
    // "nation", "type", "level", "-level", "maxBattleTier", "-maxBattleTier", "premium", "-premium",
    // "winRate", "-winRate", "markOfMastery", "-markOfMastery", "xtdb", "-xtdb", "xte", "-xte",
    // "damageRating", "-damageRating", "marksOnGun", "-marksOnGun"
    "sorting_criteria": ["nation", "type", "level"],
    // Suppress the tooltips for tanks in carousel
    // Убрать подсказки к танкам в карусели
    "suppressCarouselTooltips": false

 

 

 

Что мне сюда нужно дописать чтобы появился процент отметок в карусели подскажите пожалуйста желательно прям по середине иконки

Edited by pricolisb

Share this post


Link to post

Short link
Share on other sites

Сюда, ничего. Это нужно в carouselNormal.xc или carouselSmall.xc.

Share this post


Link to post

Short link
Share on other sites

А что именно и куда воткнуть чтобы заработало вот карусель нормал

/**

* 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 / масштаб

//

// Nation flag.

// Флаг нации.

"flag": { "enabled": true, "dx": 0, "dy": 0, "alpha": 100, "scale": 1 },

// Vehicle icon.

// Иконка танка.

"tankIcon": { "enabled": true, "dx": 0, "dy": 0, "alpha": 100, "scale": 1 },

// 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, "textFormat": {}, "shadow": {} },

// Vehicle rent info text.

// Инфо текст аренды танка.

"rentInfo": { "enabled": true, "dx": 0, "dy": 0, "alpha": 100, "scale": 1, "textFormat": {}, "shadow": {} },

// Info text (Crew incomplete, Repairs required)

// Инфо текст (Неполный экипаж, Требуется ремонт).

"info": { "enabled": true, "dx": 0, "dy": 0, "alpha": 100, "scale": 1, "textFormat": {}, "shadow": {} },

// Info image

// Инфо иконка

"infoImg": { "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, "textFormat": {}, "shadow": {} },

// 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 },

// Favorite vehicle mark

// Маркер основной техники

"favorite": { "enabled": true, "dx": 0, "dy": 0, "alpha": 100 },

// Stats field that appears on the mouse hover

// Поле статистики, отображаемое при наведении мыши

"stats": { "enabled": true, "dx": 0, "dy": 0, "alpha": 100, "textFormat": {}, "shadow": {} }

},

// Extra cell fields (extended format supported, see extra-field.txt).

// Дополнительные поля ячеек (поддерживается расширенный формат, см. extra-field.txt).

"extraFields": [

// Slot background

// Подложка слота

{ "x": 1, "y": 1, "layer": "substrate", "width": 160, "height": 100, "bgColor": "0x0A0A0A" },

// Average damage

// Средний урон

{

"enabled": true,

"x": 1, "y": 28, "width": 18, "height": 18, "alpha": "{{v.tdb?|0}}",

"src": "xvm://res/icons/carousel/damage.png"

},

{

"enabled": true,

"x": 17, "y": 28,

"format": "<b><font face='$FieldFont' size='12' color='{{v.c_xtdb|#CFCFCF}}'>{{v.tdb%d}}</font></b>",

"shadow": ${ "def.textFieldShadow" }

},

// Sign of mastery

// Знак мастерства

{

"enabled": true,

"x": 1, "y": 12, "width": 23, "height": 23,

"src": "img://gui/maps/icons/library/proficiency/class_icons_{{v.mastery}}.png"

},

// Battles count

// Количество боёв

{

"enabled": true,

"x": 158, "y": 17, "align": "right", "width": 13, "height": 13, "alpha": "{{v.battles?|0}}",

"src": "xvm://res/icons/carousel/battles.png"

},

{

"enabled": true,

"x": 145, "y": 14, "align": "right",

"format": "<b><font face='$FieldFont' size='12' color='#CFCFCF' alpha='#F0'>{{v.battles}}</font></b>",

"shadow": ${ "def.textFieldShadow" }

},

// Winrate

// Процент побед

{

"enabled": true,

"x": 158, "y": 32, "align": "right", "width": 13, "height": 13, "alpha": "{{v.winrate?|0}}",

"src": "xvm://res/icons/carousel/wins.png"

},

{

"enabled": true,

"x": 145, "y": 28, "align": "right",

"format": "<b><font face='$FieldFont' size='12' color='{{v.c_winrate|#CFCFCF}}'>{{v.winrate%2d~%}}</font></b>",

"shadow": ${ "def.textFieldShadow" }

}

]

}

}

 

 

Далее карусель small

/**

* Small carousel cells settings

* Настройки ячеек карусели малелького размера

*/

{

// Definitions

// Шаблоны

"def": {

// Text fields shadow.

// Тень текстовых полей.

"textFieldShadow": { "enabled": true, "color": "0x000000", "alpha": 80, "blur": 2, "strength": 2, "distance": 0, "angle": 0 }

},

"small": {

// Cell width

// Ширина ячейки

"width": 160,

// Cell height

// Высота ячейки

"height": 35,

// 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 / масштаб

//

// Nation flag.

// Флаг нации.

"flag": { "enabled": true, "dx": 0, "dy": 0, "alpha": 100, "scale": 1 },

// Vehicle icon.

// Иконка танка.

"tankIcon": { "enabled": true, "dx": 0, "dy": 0, "alpha": 100, "scale": 1 },

// 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": false, "dx": 0, "dy": 0, "alpha": 100, "scale": 1, "textFormat": {}, "shadow": {} },

// Info text (Crew incomplete, Repairs required)

// Инфо текст (Неполный экипаж, Требуется ремонт).

"info": { "enabled": true, "dx": 0, "dy": 0, "alpha": 100, "scale": 1, "textFormat": {}, "shadow": {} },

// Info image

// Инфо иконка

"infoImg": { "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, "textFormat": {}, "shadow": {} },

// 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 },

// Favorite vehicle mark

// Маркер основной техники

"favorite": { "enabled": true, "dx": 0, "dy": 0, "alpha": 100 },

// Stats field shown on the mouse over

// Поле статистики, отображаемое при наведении мыши

"stats": { "enabled": true, "dx": 0, "dy": 0, "alpha": 100, "textFormat": {}, "shadow": {} }

},

// Extra cell fields (extended format supported, see extra-field.txt).

// Дополнительные поля ячеек (поддерживается расширенный формат, см. extra-field.txt).

"extraFields": [

// Slot background

// Подложка слота

{ "x": 1, "y": 1, "layer": "substrate", "width": 160, "height": 35, "bgColor": "0x0A0A0A" },

// Sign of mastery

// Знак мастерства

{

"enabled": true,

"x": 4, "y": 14, "width": 23, "height": 23,

"src": "img://gui/maps/icons/library/proficiency/class_icons_{{v.mastery}}.png"

},

// Vehicle name

// Название танка

{

"enabled": true,

"x": 159, "y": 14, "align": "right",

"format": "<font face='$FieldFont' size='15' color='{{v.premium?#FFA759|#C8C8B5}}'>{{v.name}}</font>",

"shadow": { "$ref": { "path": "def.textFieldShadow" }, "color": "{{v.premium?0xFC3700|0xC8C8B5}}", "alpha": "{{v.premium?85|35}}", "blur": "{{v.premium?10|8}}" }

},

// Winrate

// Процент побед

{

"enabled": true,

"x": 24, "y": 16,

"format": "<b><font face='$FieldFont' size='12' color='{{v.c_winrate|#C8C8B5}}'>{{v.winrate%2d~%}}</font></b>",

"shadow": ${ "def.textFieldShadow" }

}

когда я пытаюсь сделать по рекомендациям с ютуба просто работать перестает

Edited by vlad_cs_sr

Share this post


Link to post

Short link
Share on other sites

А что именно и куда воткнуть

pricolisb, прячьте такие сообщения в споилер, а ещё лучше - прикрепляйте сами файлы
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

Нужно процент получения 3 отметок вывести в карусель танков.

И ещё вопрос почему когда я что то неправильно вписываю в default конфиг у меня сразу же грузится тот который был при установке хвм все мои остальные значения сбрасываются

Edited by pricolisb

Share this post


Link to post

Short link
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...