Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
In reply to Rainer
User Avatar
Auto-translated
Rainer
Hello! I was planning to create a Shio scenario, and I placed the Stronghold of the Overlord. However, when I entered the game, I couldn't enter it. What is the purpose of the Overlord's Stronghold?

You can disable it, or set a trigger to activate on touch. When attempting to touch the Stronghold, start a scripted battle (StartCombat or SiegeTown) with Kha-Beleth, as done in the original campaign, or, if the game is played as demons, give/check quests. Without scripts, the object is useless...
In reply to RedHeavenHero
User Avatar
Auto-translated
I have another question :) So, I won this battle, is it possible to use a script to award a prize? For example, if you defeat a Lord, you get 30,000 gold...
In reply to Rainer
User Avatar
Auto-translated

StartCombat(hero, "Kha-Beleth", , nil, "combatResult")

function combatResult(hero, isWinner)
if isWinner then
SetPlayerResource(PLAYER_1, GOLD, GetPlayerResource(PLAYER_1, GOLD) + 30000);
end;
end;
The StartCombat function needs to be placed within a function that triggers when the hero touches an object.
In reply to RedHeavenHero
User Avatar
Auto-translated
RedHeavenHero

StartCombat(hero, "Kha-Beleth", , nil, "combatResult")

function combatResult(hero, isWinner)
if isWinner then
SetPlayerResource(PLAYER_1, GOLD, GetPlayerResource(PLAYER_1, GOLD) + 30000);
end;
end;
The StartCombat function needs to be placed within a function that triggers when the hero touches an object.
Thank you ;)
User Avatar
Auto-translated
Please tell me how to unlock the heroes from the original game in the Tribes of the East map editor. (Not to allow them on the map, but to make it so that they can be placed on the map and a map can be created using them).
So that Nicholas and Markel are there, for example.
User Avatar
Auto-translated
The question is not exactly related to the topic, but with the artifact "Wings of the Angel," you can fly from island to island.
жизнь за Аиур
User Avatar
Auto-translated
(do not restrict it on the map, but make it so that they can be placed on the map and used to create a map).
So, it is possible. Select any hero, click on them, find "Shared" on the left panel, click on it, then click "..." and choose the hero you want from the list.
 

К А
Стикеры GBF в Telegram
Auto-translated
Sorry for being off-topic. But could someone tell me or provide a link where I can download the manual for the map editor in Russian? I only managed to understand the first 5 sentences in English.
In reply to HAndOS
User Avatar
Auto-translated
zehir12
Sorry for being off-topic. But can anyone tell me or provide a link where I can download a manual for the map editor in Russian? Because I could only understand the first 5 sentences of the English version.
You should go here, especially the last link; it has a Russian manual.
Моды для HeroesV:
NHF 0.90 : NHF - группа в VK

Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...
In reply to HAndOS
Auto-translated
Dyrman, thank you very much!

Added 19 hours and 55 minutes ago
Sorry for being off-topic again, but could you tell me if I wrote the script correctly?
function blockF ()
MessageBox ("/Maps/RMG\4939-1686-2472-1326\preymushestvo/block.txt");
end;














Trigger(REGION_ENTER_AND_STOP_TRIGGER, "block", "blockF")
In reply to HAndOS
User Avatar
Auto-translated
zehir12

MessageBox ("/Maps/RMG\4939-1686-2472-1326\preymushestvo/block.txt");
end;
Why are the slashes pointing in different directions o_O?
And please be more careful with the "inter," otherwise, you'll end up with messages containing long empty spaces.
Моды для HeroesV:
NHF 0.90 : NHF - группа в VK

Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...
Auto-translated
I've corrected it to: ``` function blockF () MessageBox ("/Maps/RMG/4939-1686-2472-1326reymushestvo/block.txt"); end; Trigger(REGION_ENTER_AND_STOP_TRIGGER, "block", "blockF") ``` But it still doesn't work, and the console displays an error!
In reply to HAndOS
Auto-translated
zehir12
I corrected it to: function blockF()
MessageBox("/Maps/RMG/4939-1686-2472-1326reymushestvo/block.txt");
end;

Trigger(REGION_ENTER_AND_STOP_TRIGGER, "block", "blockF")
But it still doesn't work. And the console displays an error!


Are you sure you corrected it exactly like that?! It's quite possible that the error is here (highlighted in bold) - function blockF()
MessageBox("/Maps/RMG/4939-1686-2472-1326reymushestvo/block.txt");
end;

That is, you missed a small letter, and the function no longer works ;)
Auto-translated
I fixed everything again. But when I enter a region in the console, it gives me the following error: script failed.

Statistics