Skip to content

Posts from Scripts

4.8 (8 ratings)
In reply to Олегарх
User Avatar
Auto-translated
Oligarch
So, does this path need to be integrated into the map?
Yes, into each map where TalkBox is present.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
In reply to RedHeavenHero
User Avatar
Auto-translated
RedHeavenHero
Yes, in every map where there is a TalkBox.
Thank you!
Мои карты:
Town
Готовится:Чума (40%), Сосиска(42%), Война Грааля
User Avatar
Auto-translated
I have a question: could the script be throwing an error because I'm trying to enable and add a touch trigger to Gore, where Tieru is located? I have several identical names, just copied, but they refer to different objects. The script gets angry and blocks everything, complaining about the attempt to place a trigger on Gore, where Tieru is located. I don't understand.

Whatever
User Avatar
Auto-translated
function prorokF() end SetObjectEnabled('prorok', nil) Trigger(OBJECT_TOUCH_TRIGGER, "prorok", 'prorokF'); ``` Prorok - this is the name given to Mount Tieru. Here is the entire script snippet with the use of this name. Perhaps the error is obvious, but I'm tired and can't see it :smile05: :smile05:
Attachments 1
1 file attached • Total size: 4.3 KB

Whatever
User Avatar
Auto-translated
Okay, I understand, he doesn't consider this object to be something that can be interacted with. I can adjust the active tiles, but the script still throws an error. How do I change the object type, for example, to a dwelling?

Whatever
User Avatar
Auto-translated
I have never used this mountain, but it seems that nothing happens when it is touched, so there is no point in blocking it. I advise you to do as I did - place a region of 1 tile in size in front of the active tile of the mountain, and write a function for it. The same result will be achieved.

Added 4 minutes ago
and paint the tiles on the sides of this region using a mask. This way, the player will definitely stand on the region, and it will seem to him that he is interacting with the object.

Added 9 minutes ago
I had the same error, I just remembered, when there were 2 objects with the same name on the map.
Кампании для Heroes V 3.1 (Трилогия):

Пробуждение зла
Нашествие из Преисподней
Смена эпох

Скачать все кампании одним архивом: Яндекс.Диск Google.Диск

You can download the set of 3 Campaigns (English version) here


Одиночные сценарии Heroes V 3.1:


Незваные гости
Красный кристалл
Синий кристалл
Закат тьмы

Мультиплеерные карты для Heroes V 3.1:

Легендарная война
Сердце вулкана
Передел мира
User Avatar
Auto-translated
Yes, I've already checked, and I understand why it wasn't interactable. I removed and added a couple of tiles; now, it can be interacted with. However, the script checks the object type. I need to find where I can change this type to "dwelling," for example, and then everything will be fine.

Whatever
User Avatar
Auto-translated
of course, you can do it that way, but it will be much more difficult, and it will most likely result in a mod.
Кампании для Heroes V 3.1 (Трилогия):

Пробуждение зла
Нашествие из Преисподней
Смена эпох

Скачать все кампании одним архивом: Яндекс.Диск Google.Диск

You can download the set of 3 Campaigns (English version) here


Одиночные сценарии Heroes V 3.1:


Незваные гости
Красный кристалл
Синий кристалл
Закат тьмы

Мультиплеерные карты для Heroes V 3.1:

Легендарная война
Сердце вулкана
Передел мира
User Avatar
Auto-translated
But it looks better. Let's not forget that a trigger cannot be multi-touch; each time, you'll have to teleport the hero back to the cell, and that's not very elegant.
And as for the mod, if you could see how much else I've changed: from building descriptions to artifact properties. It's not scary.)

Whatever
User Avatar
Auto-translated
ahaha, well, in that case, yes, that's better. I just don't understand why teleport the unit one square. Is the idea that the player should click on the mountain many times while standing in the same spot?
Кампании для Heroes V 3.1 (Трилогия):

Пробуждение зла
Нашествие из Преисподней
Смена эпох

Скачать все кампании одним архивом: Яндекс.Диск Google.Диск

You can download the set of 3 Campaigns (English version) here


Одиночные сценарии Heroes V 3.1:


Незваные гости
Красный кристалл
Синий кристалл
Закат тьмы

Мультиплеерные карты для Heroes V 3.1:

Легендарная война
Сердце вулкана
Передел мира
User Avatar
Auto-translated
Actually, no, but you'll have to click many times. At least three times.

Added 1 hour 16 minutes ago
Ugh... I gave up on all that and used a region trigger...

Whatever
User Avatar
Auto-translated
After using *PlayObjectAnimation ("cr6", "death", ONESHOT_STILL);*, a "skirt" remains under the creature. Is there a way to remove it?
Карты для Heroes of Might and Magic V
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"

Кампания для "Кодекса Войны"
"Выбор Сагиттеля"
User Avatar
Auto-translated
skirt? How is that possible? o_o

Whatever
User Avatar
Auto-translated
It’s visible in the screenshot.
Attachments 1
1 file attached • Total size: 54.7 KB
Карты для Heroes of Might and Magic V
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"

Кампания для "Кодекса Войны"
"Выбор Сагиттеля"
User Avatar
Auto-translated
Aha. You mean this. I think here we need to intervene in the character model, more precisely, remove one component (it's not present in the videos or during combat), which will have an effect on all characters, whether they are lying down or standing. Although, I'm not 100% sure, but I think this thing doesn't depend on the animation and it's impossible to remove it only for the death animation.

Whatever

Statistics