Auto-translated
For juss456. Sorry, I can't answer your questions because I only started working with the map editor yesterday. How do I create and draw a new hero? What does it mean to expand the editor? When will you release the scripts?
To expand the editor, go to the folder where the game is installed and find the profiles folder there. Open the editor_a2 file in it with Notepad, find the line "setvar map_editor_mode =", and change the "1" at the end to "0". That is, it should look like this: setvar map_editor_mode = 0. Save. Exit. Load the editor.
I have uploaded the Manuals, the link is in the previous message.
Added 11 minutes ago
Basically, my idea is this: a Portal. But it only allows passage if you sacrifice a certain number of developed units (15 Lords or Broodlings, 35 Nightmares or Unicorns, 60 Succubi or Temptresses, 150 Cerberuses or Hellhounds, 250 Archdevils or Pitfiends, and 350 Imps or Parasites). So, I'm thinking that you enter the portal, and a message appears saying that a certain sacrifice is required if you want to pass. And if you have it, a message appears asking if you agree to give those units, and then you pass. Is this possible? I named the portal Shio.
PS: Please answer in a private message.
Assign a name to this portal, for example, portal.
Disable it in the scripts:
SetObjectEnabled("portal", nil);
Attach a trigger to it:
Trigger(4, "portal", "portalF");
Write the function you need for the trigger:
function portalF(heroname) --// heroname - the name of the hero entering the portal
if heroname=="hero" then --// check if the right hero entered
QuestionBox(GetMapDataPath().."vopros.txt", "otvetDAF"); --// When the player answers OK, the otvetDAF function is called
end;
end;
function otvetDAF()
RemoveHeroCreatures("hero", nCreatureID, nCount ) --// removes creatures with id nCreatureID from the hero's army. nCount - the number of creatures to remove
...
SetObjectPosition("hero", nX, nY, nFloorID = -1 ) --// moves the hero to the desired coordinates (looks like teleportation)
end;
Added 2 minutes ago
Instead of "portal" it will be "Shio"
Кампании для Heroes V 3.1 (Трилогия):
Пробуждение зла
Нашествие из Преисподней
Смена эпох
Скачать все кампании одним архивом: Яндекс.Диск Google.Диск
You can download the set of 3 Campaigns (English version) here
Одиночные сценарии Heroes V 3.1:
Незваные гости
Красный кристалл
Синий кристалл
Закат тьмы
Мультиплеерные карты для Heroes V 3.1:
Легендарная война
Сердце вулкана
Передел мира
Пробуждение зла
Нашествие из Преисподней
Смена эпох
Скачать все кампании одним архивом: Яндекс.Диск Google.Диск
You can download the set of 3 Campaigns (English version) here
Одиночные сценарии Heroes V 3.1:
Незваные гости
Красный кристалл
Синий кристалл
Закат тьмы
Мультиплеерные карты для Heroes V 3.1:
Легендарная война
Сердце вулкана
Передел мира