Jump to content
Korean Random

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


Recommended Posts

Добрый день, скажите, есть возможность добавить в прицеле обычном и снайперском режимах, надпись или значек какой именно заряжен снаряд. Что то по типу Б.Б. или О.Ф  

Бывает вместе с ремонтом нажимаешь на клавишу другого снаряда,, а видишь только через 2-3 выстрела.

Средствами XVM (а уж тем более сниппетов), нет.

Link to comment
Short link
Share on other sites

Кто подскажет, что это:

"sixthSenseStart": -1,

?

и возможно ли как-то использовать?

это не то, что ты думаешь и использовать пока ни у кого не получилось...

(уже поднимали вопрос ранее)

Link to comment
Short link
Share on other sites

@gjgflfk, в файле elements.xc:

изменяй Х и У по своему усмотрению.

        // Sixth sense lamp
        // Лампа шестого чувства
        {
            "$delay": 100,
            // Sixth sense lamp duration (in milliseconds). Example: "sixthSenseDuration": 7000,
            // Время горения лампочки шестого чувства (в миллисекундах). Например: "sixthSenseDuration": 7000,
            "sixthSenseDuration": "sixthSenseDuration",
            // Sixth sense lamp
            // Лампа шестого чувства
            "sixthSenseIndicatorXvm": {
                // To use some settings in this section, you may need to remove "//" before "$interval". Reduces the performance!
                // Чтобы использовать некоторые настройки этой секции, может понадобиться удалить "//" перед "$interval". Снижает производительность!
                // "$interval": 0,
                "_alpha": 100,
                "_x": "sixthSenseIndicatorXvm._x",
                "_y": "sixthSenseIndicatorXvm._y"
            }
        },

Link to comment
Short link
Share on other sites

@gjgflfk, в файле elements.xc:

изменяй Х и У по своему усмотрению.

        // Sixth sense lamp
        // Лампа шестого чувства
        {
            "$delay": 100,
            // Sixth sense lamp duration (in milliseconds). Example: "sixthSenseDuration": 7000,
            // Время горения лампочки шестого чувства (в миллисекундах). Например: "sixthSenseDuration": 7000,
            "sixthSenseDuration": "sixthSenseDuration",
            // Sixth sense lamp
            // Лампа шестого чувства
            "sixthSenseIndicatorXvm": {
                // To use some settings in this section, you may need to remove "//" before "$interval". Reduces the performance!
                // Чтобы использовать некоторые настройки этой секции, может понадобиться удалить "//" перед "$interval". Снижает производительность!
                // "$interval": 0,
                "_alpha": 100,
                "_x": "sixthSenseIndicatorXvm._x",
                "_y": "sixthSenseIndicatorXvm._y"
            }
        },

так меняю лампа не двигается вообще 

Link to comment
Short link
Share on other sites

 

 

не двигается вообще 
 

 

Попробуй выставить конкретные координаты.

 

'мой пример'

    {
      "$delay": 100,
      "sixthSenseDuration": "sixthSenseDuration + 1",
      "sixthSenseIndicatorXvm": { "_y": 50 }
    },

Link to comment
Short link
Share on other sites

// Лампа шестого чувства
    {
  "elements": [{
   "sixthSenseDuration":  10000,
    "sixthSenseIndicatorXvm": {
    "_x": "sixthSenseIndicator._2150",
    "_y": "sixthSenseIndicator._350"
  }
  }
  ]
}

У меня прописано так должно же работать что неправильно?

Link to comment
Short link
Share on other sites

@gjgflfk, сделай так:

// Лампа шестого чувства
{
  "elements": [
    {
      "sixthSenseDuration":  10000,
      "sixthSenseIndicatorXvm": {
        "_x": "2150",
        "_y": "350"
      }
    }
  ]
} 

 

"sixthSenseIndicator._x" / "sixthSenseIndicator._y" - это изначальные координаты лампы!!!

можно двигать так: "sixthSenseIndicator._x + 100"

или ставить свое значение "100"

 

по-другому работать не будет.

Edited by jem1510
Link to comment
Short link
Share on other sites

кошмар с этой лампой не хочет двигаться   прописал так но ни на милеметр

   {
  "elements": [{
   "sixthSenseDuration":  10000,
    "sixthSenseIndicatorXvm": {
   "sixthSenseIndicatorXvm":{"_x":"1000"},
    "sixthSenseIndicatorXvm":{"_y":"50"}
  }
  }
  ]
}

Link to comment
Short link
Share on other sites

 

 

кошмар с этой лампой не хочет двигаться прописал так но ни на милеметр
А лампа вообще какая используется?
Что прописано в battle.xc, в параметре "sixthSenseIcon"?
И желательно прикрепите архив папок configs и mods.
Link to comment
Short link
Share on other sites

А лампа вообще какая используется?

Что прописано в battle.xc, в параметре "sixthSenseIcon"?

И желательно прикрепите архив папок configs и mods.

// Путь к иконке 6-го чувства ("" для оригинальной иконки).

    "sixthSenseIcon": "xvm://res/SixthSense.png",

ИКОНКИ ТАМ В РЕС .Лампочка простая только красная  64НА64 

Link to comment
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...