Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
User Avatar
#2696
Auto-translated
Thank you very much! I'll keep experimenting and see if I can come up with something else.
Правило во взгляде...
User Avatar
#2697
Auto-translated
That's not the case.

so you must have confused it with something else.

Whatever
User Avatar
#2698
Auto-translated
Either I'm blind, or I'm not looking in the right place. I couldn't find CanCaptureOnlyNotVisit. BUT I didn't select the target city. I didn't select anything at all and I'm looking at the general properties of the map.
Правило во взгляде...
User Avatar
#2699
Auto-translated
You need to select it, otherwise the necessary property tree, which is unique to each object, won't appear.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
#2700
Auto-translated
this is a property of the object itself, not the map in general. You need to click on the object.

Whatever
User Avatar
#2701
Auto-translated
Okay, thanks! I found everything.

Added 10 minutes later
And here's a question: will the buildings burn down if ANY hero/player captures them, or only if Vlad does?
Правило во взгляде...
User Avatar
#2702
Auto-translated
only Vlad.

Whatever
User Avatar
#2703
Auto-translated
Thank you, I'll continue exploring.

Added 32 minutes later
And how do I add a skeleton object to the map? I can't find it in the All-Terrain Objects.
Правило во взгляде...
User Avatar
#2704
это sand objects

Whatever
User Avatar
#2705
Auto-translated
How can I prevent players from choosing their color (and, consequently, the player itself if the castle and hero are not randomly assigned)? What conditions are necessary to include a map in a custom campaign?
In reply to Иней
User Avatar
#2706
Auto-translated
Iney
How can I prevent the player from choosing a color (and also prevent choosing the player if the castle and hero are not random)?
In the map properties, set the values for players[player number]\CanBeHumanPlayer (player can be human) and players[player number]\CanBeComputerPlayer (player can be computer) to the desired values (true, false for a human player and false, true for a computer player).
What conditions are needed to include a map in your campaign?
Ask again or look at the previous page.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
#2707
Auto-translated
Hello everyone. What needs to be done for creatures from the Dungeon faction to join a hero with a specific name?
Правило во взгляде...
In reply to Rhenish
User Avatar
#2708
Auto-translated
Rhenish
Hello everyone. What needs to be done so that creatures from the Dungeon faction join a hero with a specific name?
function InitDungeonCreatures()
for i, mob in GetObjectNamesByType"CREATURE" do
local type = GetObjectArmySlotCreature(mob, 0)
if (type >= CREATURE_SCOUT and type <= CREATURE_BLACK_DRAGON) or (type >= CREATURE_STALKER and type <= CREATURE_RED_DRAGON) then
SetObjectEnabled(mob, nil)
Trigger(4, mob, "TouchDundeonCreature")
end
end
end

function TouchDundeonCreature(hero, monster)
if hero == "hidden hero name" then
SetMonsterCourageAndMood(monster, 1, 0, 0)
end
SetObjectEnabled(monster, 1)
Trigger(4, monster, nil)
sleep(1)
MakeHeroInteractWithObject(hero, monster)
end

startThread(InitDungeonCreatures)
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
#2709
Auto-translated
Thanks! (10 characters)
Правило во взгляде...
In reply to RedHeavenHero
User Avatar
#2710
Auto-translated
RedHeavenHero
Ask again or check the previous page.
Oh, I didn't notice. But for some reason, I have several maps, and only one of them is finished. When selecting maps, only one map is available, and it's not the one that's finished.
Also: how do I make it so that when creating a game, the player selection shows which players are playing as which heroes? And why do all the settings revert after exiting the editor when I make changes in the "player" section?