Jump to content
Korean Random
sirmax

[Сниппеты / Snippets] Расширенная настройка боевого интерфейса

Recommended Posts

 

 

в другой теме
это мод гамбитера, там есть конфиг собственный 

Share this post


Link to post

Short link
Share on other sites

это мод гамбитера, там есть конфиг собственный 

А какой конкретно мод? Или конфиг от Гамбитера?

Share this post


Link to post

Short link
Share on other sites

@Pendalf51, "res_mods\configs\damagelog\Damaged.cfg" и "res_mods\configs\damagelog\Blocked.cfg".

Вот оно как. Спасибо, разобрался.

Share this post


Link to post

Short link
Share on other sites

всем доброго, помогите сдвинуть уши вверх..

блин почему то не сдвигаются пробывал "y"  менять ничего не получается
{
            // Left panel
            // Левая панель игроков (ухо)
            "leftPanel": {
      "$delay": 100,
               "_alpha": null,
               "_x": null,
               "_y": 30
            },
            // Right panel
            // Правая панель игроков (ухо)
            "rightPanel": {
       "$delay": 100,
                "_alpha": null,
                "_x": null,
                "_y": 30
            },

а snippet-bt.xc обязательно создавать? или можно в elements.xc ковыряться только....

Share this post


Link to post

Short link
Share on other sites

 

а snippet-bt.xc обязательно создавать?

не обязательно. весь конфиг вообще может быть в 1-м файле

Share this post


Link to post

Short link
Share on other sites

не обязательно. весь конфиг вообще может быть в 1-м файле

убрал секцию в баттл :)

Share this post


Link to post

Short link
Share on other sites

@sirmax,запутался я что то...  как задебажить рамку сюда?

"elements":[{"teamBasesPanel":{"_y":70}}] 

Share this post


Link to post

Short link
Share on other sites

 

@sirmax,запутался я что то...  как задебажить рамку сюда?

"elements":[{"teamBasesPanel":{"_y":70}}] 

хз

вопрос снят, разобрался

Share this post


Link to post

Short link
Share on other sites

 

 

а в самом деле... в каком файле была эта опция? напомни плз. у меня нет этих надписей 

вспомнил наткнулся в конфиге случайно) в файле battle

 // true - hide textfields "Allies | Enemies".

 // true - спрятать два текстовых поля "Союзники | Противники".
 "hideTeamTextFields": true

Share this post


Link to post

Short link
Share on other sites

Народ, помогите в уши вставить клановые значки. И их же по вешать над танком в бою (и взводные)

Share this post


Link to post

Short link
Share on other sites

Помогите. После обновы перестал меняться шрифт и размер battleTimer

{
    // Timer text format
    // Подстановка для формата текста в таймере боя
    "timerFont": {
      "size": 32,              // размер шрифта
      "font": "Digiface",    // шрифт
      "align": "center"        // выравнивание
    },
    // Minimap coordinates font
    // Подстановка для шрифта координат миникарты
    "minimapFont": {
        "color": "0xE5CA00",    // цвет / color
        "alpha": 100            // прозрачность / transparency
    },
    // Interface elements
    // Элементы интерфейса
    "elements": [
        // "_x"     - положение по горизонтали  / horizontal position
        // "_y"     - положение по вертикали    / vertical position
        // "_alpha" - прозрачность              / transparency

        // You can use constants, relative paths and mathematical expressions:
        // Можно использовать константы, относительные пути и математические выражения:
        // "_x": 100,
        // "_y": "HEIGHT / 2 + sin(minimap._alpha)",

        // Players panels
        // Панели игроков (уши)
        {
            "$delay": 100,
            // Left panel
            // Левая панель игроков (ухо)
            "leftPanel": {
                "_y": null
            },
            // Right panel
            // Правая панель игроков (ухо)
            "rightPanel": {
                "_y": null
            },
            // Players panels switcher
            // Переключатель режимов панелей игроков
            "switcher_mc": {
                "_y": "leftPanel._y - 25"
            }
        },
        // Sixth sense lamp
        // Лампа шестого чувства
        {
            "$delay": 100,
            // Sixth sense lamp duration (in milliseconds). Example: "sixthSenseDuration": 7000,
            // Время горения лампочки шестого чувства (в миллисекундах). Например: "sixthSenseDuration": 7000,
            "sixthSenseDuration": "sixthSenseDuration",
            // Sixth sense lamp
            // Лампа шестого чувства
            "sixthSenseIndicator": {
                // To use some settings in this section, you may need to remove "//" before "$interval". Reduces the performance!
                // Чтобы использовать некоторые настройки этой секции, может понадобиться удалить "//" перед "$interval". Снижает производительность!
                // "$interval": 0,
                "_alpha": 100,
                "_x": "sixthSenseIndicator._x",
                "_y": "sixthSenseIndicator._y"
            }
        },
        // Battle timer
        // Таймер боя
     {
         "$delay":500,
         // Battle timer
         // Таймер боя
         "battleTimer": {
   "main" : {
    "_x": "WIDTH - 190",        // установить X на 80 левее края экрана
    "_y": 0,                   // установить Y по верху экрана
    "dotsMC": {                // TextField: точки
     "_x": "-80/2",           // центрируем
     "_y": "-3",              // выравниваем точки относительно цифр
     "_height": 100,          // высота (с запасом)
     "_width": 80,            // ширина (с запасом)
     "text": ":",
     "$textFormat": ${"timerFont"}
    },
    "secondsMC": {             // TextField: секунды
     "_x": 5,                 // выравнивание влево, поэтому x = 5
     "_height": 100,          // высота (с запасом)
     "_width": 80,            // ширина (с запасом)
     "$textFormat": { "$ref": { "path": "timerFont" }, "align": "left" } // формат текста с выравниванием влево
    },
    "minutesMC": {             // TextField: минуты
     "_x": -85,               // выравнивание вправо, поэтому x = -(width+5)
     "_height": 100,          // высота (с запасом)
     "_width": 80,            // ширина (с запасом)
     "$textFormat": { "$ref": { "path": "timerFont" }, "align": "right" } // формат текста с выравниванием вправо
    }
   }
  }
     },
        // Minimap
        // Миникарта
        {
            "$delay": 100,
            // Minimap
            // Миникарта
            "minimap": {
                "_alpha": "minimap._alpha",
                // Vertical coordinates
                // Координаты по вертикали
                "rowA": { "textColor": ${"minimapFont.color"}, "_alpha": ${"minimapFont.alpha"} },
                "rowB": { "textColor": ${"minimapFont.color"}, "_alpha": ${"minimapFont.alpha"} },
                "rowC": { "textColor": ${"minimapFont.color"}, "_alpha": ${"minimapFont.alpha"} },
                "rowD": { "textColor": ${"minimapFont.color"}, "_alpha": ${"minimapFont.alpha"} },
                "rowE": { "textColor": ${"minimapFont.color"}, "_alpha": ${"minimapFont.alpha"} },
                "rowF": { "textColor": ${"minimapFont.color"}, "_alpha": ${"minimapFont.alpha"} },
                "rowG": { "textColor": ${"minimapFont.color"}, "_alpha": ${"minimapFont.alpha"} },
                "rowH": { "textColor": ${"minimapFont.color"}, "_alpha": ${"minimapFont.alpha"} },
                "rowJ": { "textColor": ${"minimapFont.color"}, "_alpha": ${"minimapFont.alpha"} },
                "rowK": { "textColor": ${"minimapFont.color"}, "_alpha": ${"minimapFont.alpha"} },
                // Horizontal coordinates
                // Координаты по горизонтали
                "colsNames": { "textColor": ${"minimapFont.color"}, "_alpha": ${"minimapFont.alpha"} }
            }
        },
        // Kill-log
        // Килл-лог (лог убитых)
        {
            "$delay": 100,
            // Kill-log
            // Килл-лог (лог убитых)
            "playerMessangersPanel": {
                "_alpha": 100,
                "_alphaSpeed": 1
            }
        }
    ]
}

Edited by Partizan

Share this post


Link to post

Short link
Share on other sites

 

 

После обновы перестал меняться шрифт и размер battleTimer
Таймер был переделан в 9.15. И больше эти элементы не доступны:
[B:005] _root.battleTimer: {// _level0.battleTimer
  "enabled": true
}

(Если я нигде не ошибся при логгировании)

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

Таймер был переделан в 9.15. И больше эти элементы не доступны:

[B:005] _root.battleTimer: {// _level0.battleTimer
  "enabled": true
}

(Если я нигде не ошибся при логгировании)

 

Т.е.теперь battleTimer все,не переделать сниппетом?Или наименование изменилось?У меня вообще пропал:(

Share this post


Link to post

Short link
Share on other sites

Таймер был переделан в 9.15. И больше эти элементы не доступны:

[B:005] _root.battleTimer: {// _level0.battleTimer
  "enabled": true
}

(Если я нигде не ошибся при логгировании)

 

а лог какого уровня ставил?

Share this post


Link to post

Short link
Share on other sites

а лог какого уровня ставил?

Какой бы уровень ни был - логгируется одно и то же.

Share this post


Link to post

Short link
Share on other sites

веселье кончилось?

Ну в принципе, стоковый таймер стал похож на мой сниппет, за исключением подложки, так что для меня не особо критично

Share this post


Link to post

Short link
Share on other sites

Придется флешку потрошить,слишком он мелкий по моему.

Share this post


Link to post

Short link
Share on other sites

 

 

веселье кончилось?
Походу.

Вообще я перфекционист. И вы не представляете, как меня бесит это криво-расположенное двоеточие в новом таймере =(

Share this post


Link to post

Short link
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...