Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
In reply to Prosecutor
User Avatar
Auto-translated
Prosecutor
Is it possible to disable the initial quest if the hero doesn't have a town and needs to capture one within a week? If so, how?
This has been discussed at least 3 times in this thread (or related ones), and one of them was very recently! Use the search function!

Added after 13 minutes
Vulpes93
I have a 2vs2 map.
How do I make it so that after the first player's hero dies, the second player is credited with the victory? HERO MUST SURVIVE doesn't work.

Also, I specified the DEFEAT HERO quest and 2 parameters with two heroes.
The quest is completed if either of these heroes dies, but it should only be completed after both heroes die. How can I solve this? DEFEND OBJECT?
Please provide your code (if implemented with scripts) or a screenshot (if implemented with the editor)! It's best to work with scripts.
Моды для HeroesV:
NHF 0.90 : NHF - группа в VK

Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...
In reply to Dyrman
User Avatar
Auto-translated
How can I add categories for objects (effects and others), as shown in the screenshot in post #1765?
In reply to jackysm
User Avatar
Auto-translated
jackysm
How can I add the object categories (effects and others) mentioned in post #1765, as shown in the screenshot?
FullEditor.h5u is renamed to FullEditor.pak and placed in the data folder...

For completeness, you need the mod from here

MapFiltres
Adds many objects to the editor, which previously had to be obtained through a complicated process (mainly, many effects). To install, copy MapFiltres.xml to the Editor folder in your game folder.
Author: Honter
Моды для HeroesV:
NHF 0.90 : NHF - группа в VK

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

Please share your code (if implemented with scripts) or a screenshot (if implemented with the editor)!
It's best to work with scripts.
I can't work with scripts yet. When I click the Edit button, the editor closes.
Reinstallation is not possible at the moment.
I'm only working in the editor; later, when possible, I'll work on scripting.
For now, this is what I have in the editor:


готовность 70% PAUSED
Don't pretend to be a victim.
User Avatar
Auto-translated
Dyrman, thank you very much, everything works perfectly.
In reply to Vulpes93
User Avatar
Auto-translated
Vulpes93
I can't work with scripts yet. When I click the Edit button, the editor closes.
Reinstallation is not possible at the moment.
I'm only working in the editor, and later, when I have the opportunity, I'll start working on scripting.
Please reduce the image size, or implement zoom on click.

This function only works for one hero.
If, besides these two heroes, the player has no one else, then use Defeat All, not Defeat Hero; if there are others, scripts are needed. Scripts are much more flexible than these tasks. You don't necessarily need the standard editor to write scripts. You can find a link to an alternative version in the script topic or even in this one.
Моды для HeroesV:
NHF 0.90 : NHF - группа в VK

Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...
In reply to Dyrman
User Avatar
Auto-translated
Dyrman
Please reduce the image size, or implement zoom on click.

This function only works for a single hero.
If the player has no other heroes besides these two, use Defeat All instead of Defeat Hero. If there are other heroes, scripts are needed. Scripts are much more flexible than these tasks. You don't necessarily need a standard editor to write scripts. You can find a link to an alternative version in the script topic or even in this one.
I have a quest to kill two heroes from two different players and receive a reward. Neither of these heroes will lose if they are without a town for 7+ days.
Okay, scripts. I can create a .lua file, but how do I link it to the general MapScript? I tried creating a script through the tree, but the file isn't created, and the path isn't saved.

готовность 70% PAUSED
Don't pretend to be a victim.
User Avatar
Auto-translated
Vulpes93, if the script editor crashes, try scripting through this: -> http://hmm5.sklabs.ru/. It's quite convenient.
In reply to jackysm
User Avatar
Auto-translated
jackysm
Vulpes93, if it crashes when you're using the script editor, try scripting through this: -> http://hmm5.sklabs.ru/. It's quite convenient.
I have this program. I can create scripts, but I can't connect them. The path isn't saved.

готовность 70% PAUSED
Don't pretend to be a victim.
In reply to Vulpes93
User Avatar
Auto-translated
Vulpes93
I have this program. I can create scripts, but I can't connect them. The path isn't saved.
Because the path doesn't lead to the Lua file itself, but to the XDB file, which contains a link to the Lua file.

MapScript.xdb:

Моды для HeroesV:
NHF 0.90 : NHF - группа в VK

Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...
In reply to Dyrman
User Avatar
Auto-translated
Dyrman
Because the path doesn't lead to the lua file itself, but to the xdb file, which contains a link to the lua file.

MapScript.xdb:

MapScript.xdb is located in the folder
D:\GAMES\HMM5MP2\Editor\H5MMods\myMap\Maps\Multiplayer\myMap?
but it's not there for me ><

готовность 70% PAUSED
Don't pretend to be a victim.
In reply to Vulpes93
User Avatar
Auto-translated
Vulpes93
MapScript.xdb is located in the folder
D:\GAMES\HMM5MP2\Editor\H5MMods\myMap\Maps\Multiplayer\myMap?
But it's never there for me ><
You need to create it (if there are no scripts), and you can do this either manually or through the editor ;)
But the easiest way is to copy both files (lua and xdb) from another map :smile08:
This is a better way to ensure the correct encoding.
Моды для HeroesV:
NHF 0.90 : NHF - группа в VK

Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...
In reply to Dyrman
User Avatar
Auto-translated
Dyrman
You need to create it (if there are no scripts), and you can create it either manually or using the editor;
But the most "cheaty" way is to copy both files (lua and xdb) from another map :smile08:
It's better to do it this way to be sure about the encoding.
Well deserved plus)) but if you're not a karma-hunter, you can pretend to be modest :D

and also
need to remember xD
give an example of a simple script... for example, the first player loses if the hero of the second player dies. make up the names :3 you'll get over 1 plus, that is, 2.

готовность 70% PAUSED
Don't pretend to be a victim.
In reply to Vulpes93
User Avatar
Auto-translated
Vulpes93

and also,
you need to remember xD
give an example of a simple script... for example, the first player loses if the second player's hero dies. make up names randomly :3 you’ll get over 1 plus, that is, 2
Well, there is actually a topic about scripts here. Here is one of its messages:
/topic/at/591694/

And here is some electronic junk mail
http://www.woggrad.ru/ru/vestnik-heroes/2011-09.html
/topic/at/564473/
It discusses how to create scripts.
Моды для HeroesV:
NHF 0.90 : NHF - группа в VK

Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...
In reply to Dyrman
User Avatar
Auto-translated
Discussing vulnerabilities and flaws in the forum is prohibited, right? )) It's a bit unusual, but reasonable. Thanks again.

Added 1 hour 26 minutes ago
Sucking my blood Your topic didn't help.
It needs to be created (if there are no scripts), and it can be created either manually or through an editor. But the most cheating way is to copy both files (lua and xdb) from another map. It's better to do this to be sure about the encoding.
I'll have to wait until the option to reinstall the game appears.

I should have thought of manually entering the path. Everything is fine now.

готовность 70% PAUSED
Don't pretend to be a victim.

Statistics