Jump to content
Korean Random
sirmax

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

Recommended Posts

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

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

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

Share this post


Link to post

Short link
Share on other sites

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

"sixthSenseStart": -1,

?

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

Share this post


Link to post

Short link
Share on other sites

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

"sixthSenseStart": -1,

?

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

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

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

Share this post


Link to post

Short link
Share on other sites

@sirmax,

Кстати, а по нажатию кнопки нельзя сниппет запускать?

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

ВСем доброго времени суток как прописать чтоб лампа двигалась раньше двигалась щас что-то перестала.

Share this post


Link to post

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

Share this post


Link to post

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

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

Share this post


Link to post

Short link
Share on other sites

 

 

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

 

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

 

'мой пример'

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

Share this post


Link to post

Short link
Share on other sites

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

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

Share this post


Link to post

Short link
Share on other sites

 

 

что неправильно?

"_x": "sixthSenseIndicatorXvm._2150",
"_y": "sixthSenseIndicatorXvm._350"

Share this post


Link to post

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

Share this post


Link to post

Short link
Share on other sites

 

 

по-другому работать не будет
"sixthSenseIndicatorXvm":{"_y":"HEIGHT/2-284"}, 

вполне работает

Share this post


Link to post

Short link
Share on other sites
"sixthSenseIndicatorXvm":{"_y":"HEIGHT/2-284"}, 

вполне работает

 

и как тут писать x нужен главное

Edited by gjgflfk

Share this post


Link to post

Short link
Share on other sites

 

 

x нужен
"sixthSenseIndicatorXvm":{"_x":"???"}, 

вместо вопросов значение

Share this post


Link to post

Short link
Share on other sites

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

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

Share this post


Link to post

Short link
Share on other sites

 

 

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

Share this post


Link to post

Short link
Share on other sites

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

elements.xc

 

{
"elements": [{	// настройка перемещение элементов
	"sixthSenseIndicatorXvm":{"_x":"1000","_y":"50"}
	}]
}

Share this post


Link to post

Short link
Share on other sites

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

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

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

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

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

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

Share this post


Link to post

Short link
Share on other sites

 

 

ИКОНКИ ТАМ В РЕС .Лампочка простая только красная 64НА64
Расширение изображения по указанному вами пути какое? png?

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...