Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
In reply to RedHeavenHero
User Avatar
#3282
Auto-translated
RedHeavenHero
So, the function doesn't recognize the Fire Wave as a spell. You could try giving the hero a scroll or the Fire Wave itself at the beginning.

I tweaked it a bit in the editor, making it not related to SPECIAL, but related to the Destruction magic school. Now, when opening the map properties, it can be "assigned" to a hero. But there's still something wrong - during battle, the hero casts the Fire Wave and... nothing happens. No effect, no damage to the troops.

Added after 41 minutes
The same thing happens with the Devil's Chain.
Кампании для 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
#3283
Auto-translated
It could also be assigned without mods, through the hero's properties tree.

Added 1 minute ago
Maybe they can't be given to heroes?
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
In reply to RedHeavenHero
User Avatar
#3284
Auto-translated
RedHeavenHero
It could also be assigned without mods, through the hero's properties tree.

Added 1 minute ago
Maybe they can't be given to heroes?

Then how did Biara use the Chain?

The Chain's first effect plays out, and that's it. No damage is dealt.
Кампании для 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
#3285
Auto-translated
In the battle against Biara, there was a combat script that forced her to use Chain Lightning.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
#3286
Auto-translated
What exactly is this Soulstone resource?

Added 6 minutes ago
RedHeavenHero
This is the first one.
function capture_prt()
Trigger(5, "prt", nil)
RazeBuilding("cityname")
end

Trigger(5, "prt", "capture_prt")

The city name is PRT, and any hero can capture it, right?

Added 12 minutes ago
No, the script didn't work as expected. I thought that any hero would capture the city, the city would burn down, and become ruins.
Правило во взгляде...
User Avatar
#3287
Auto-translated
function capture_prt()
RazeBuilding("PRT")
end

Trigger(5, "PRT", "capture_prt")
Destroys the town "PRT" when it is captured by any hero.


Added 2 minutes later
What is this resource called Soulstone?
Some kind of soulstone. It is used in multiplayer when the ghost mode is enabled. In single-player, it turns into gold.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
#3288
Auto-translated
Ghost mode? Okay, what else haven't I learned about this version of Heroes?
Правило во взгляде...
User Avatar
#3289
Auto-translated
I haven't seen him in person either. ;) Maybe someone else knows more about him.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
#3290
Auto-translated
Is there a magic button here that lets you select an area and randomly scatter resources across it? I don't want to manually place them everywhere.
Правило во взгляде...
User Avatar
#3292
Auto-translated
How does it destroy? It creates a burst of flame and forms ruins. I need to preserve the ruins in this location. Ruins are present in the .towns objects.
Правило во взгляде...
In reply to Rhenish
User Avatar
#3293
Auto-translated
Rhenish
How does it destroy? It unleashes a burst of flame and creates ruins. I need to preserve the ruins in this location. Ruins are present in the .towns objects.
If a town is destructible (currently, these are the towns of Haven and Inferno), it replaces it with ruins.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
#3294
Auto-translated
Could you please tell me if there is any way to implement a limit on the maximum number of heroes that can be present simultaneously for each faction (for example, a maximum of 2 heroes)? Once the maximum is reached, no more heroes can be recruited. If one hero is killed, then one can be recruited.
It is important that this limit applies to computer-controlled players.
Any suggestions are welcome :)
Thank you in advance!
User Avatar
#3295
Auto-translated
It can be done with a script.
SetPlayerHeroesCountNotForHire(player_number, max_number_of_heroes)
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
#3296
Auto-translated
Probably, this ghost and stone were used in Arantir’s campaign (where the Holy Flame was obtained, right?).