Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
In reply to Gerter
Auto-translated
Another question regarding the model: during battle, the model is replaced, but the attack animation is missing.
In reply to sergejez
Auto-translated
sergejez
For the author, it opens because there are copies and a cache of the map in the game folders.
What error does the editor give you when opening this map?

The editor has stopped working, Windows is looking for a way to fix the problem. It's halfway through. I have a licensed version of Windows 7. Core-3 processor, 8 GB of RAM, GeForce GTX 1050 Ti, licensed and patched Heroes. This is already my fifth computer, and it didn't open on any of the previous ones, neither in XP nor in 10.
User Avatar
Auto-translated
Good people, please tell me how to get a hero into a ship?
In reply to Min_Carolin
User Avatar
Auto-translated
Min_Carolin
Hello everyone, could you please tell me how to put a hero on a ship?
Manually enter the coordinates of a point on the water where you want to place him. At the beginning of the game, a ship will automatically be created under the hero.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
In reply to RedHeavenHero
User Avatar
Auto-translated
RedHeavenHero
Manually enter the coordinates of a point on the water where you want to place him. At the beginning of the game, a ship will automatically be created under the hero.
Thank you very much. Also, do you happen to know how to make the game play the music you want, preferably with different music playing in different areas of the map? I have a map for Necropolis, but the landscape is Barbarian, and the Barbarian theme keeps playing everywhere, even in dungeons.
In reply to elizbar1967
Auto-translated
elizbar1967
The editor has stopped working; Windows is looking for a way to fix the problem. It's halfway there. I have a licensed version of Windows 7. Core-3 processor, 8 GB of RAM, GeForce GTX 1050 Ti, Heroes is patched and licensed. This is already my fifth computer, and it didn't work on any of the previous ones either, neither in XP nor in 10.
I don't know how to help you.
Try visiting this website http://www.maps4heroes.com/heroes5/maps.php?&limit=4
and look for the email address of the author "Guano." Try to contact him; he mentioned that he might be able to send you an editable version.

Added 2 minutes later


function arena_level_up_pl1F (hero)
MakeHeroInteractWithObject(heroname, "monster_arena1_pl1");
end;

Trigger(OBJECT_TOUCH_TRIGGER, "arena_level_up_pl1", "arena_level_up_pl1F");
And no one can help me; why isn't this nonsense working?
In reply to sergejez
User Avatar
Auto-translated
sergejez
But no one will help me, why isn't this nonsense working?
Replacing "heroname" with "hero" definitely doesn't work? Are there any syntax errors? Does the object you need to interact with actually exist on the map? Are there any errors in other parts of the script? More information would be helpful.
Нет войне.
In reply to sergejez
User Avatar
Auto-translated
sergejez


function arena_level_up_pl1F (hero)
MakeHeroInteractWithObject(heroname, "monster_arena1_pl1");
end;

Trigger(OBJECT_TOUCH_TRIGGER, "arena_level_up_pl1", "arena_level_up_pl1F");
Can anyone help me understand why this isn't working?

You definitely need to replace heroname with hero. If that doesn't help and there are no errors in the object names, it's possible that you can't interact with the object monster_arena1_pl1, or that you can't use OBJECT_TOUCH_TRIGGER on arena_level_up_pl1.
Try enabling the console; you can find instructions online. It will be very helpful.
In reply to 32MeTpa
Auto-translated
32MeTpa
heroname definitely needs to be replaced with hero. If that doesn't help and there are no errors in the object names, then it's possible that you can't interact with the monster_arena1_pl1 object, or that you can't attach OBJECT_TOUCH_TRIGGER to arena_level_up_pl1.
Try enabling the console; there are instructions online on how to do it. It will be very helpful.
It seems I have a very rare case.
1) I've already used this command and wrote "heroname" there, and it works, and still does.
2) The console doesn't say anything about my error, either when interacting with the object or afterward.

Added 1 minute ago
32MeTpa
heroname definitely needs to be replaced with hero. If that doesn't help and there are no errors in the object names, then it's possible that you can't interact with the monster_arena1_pl1 object, or that you can't attach OBJECT_TOUCH_TRIGGER to arena_level_up_pl1.
Try enabling the console; there are instructions online on how to do it. It will be very helpful.
I'll try to solve the problem in other ways; if I have any updates, I'll let you know.
User Avatar
Auto-translated
If the last cell he moves to coincides with the cell of the player's hero (or is within a radius of 1), then everything should happen automatically. Alternatively, use MakeHeroInteractWithObject.
 

К А
Стикеры GBF в Telegram
User Avatar
Auto-translated
It seems I have a very rare case.
1) I've already used this command and wrote "heroname," and it works, and still does.
2) The console doesn't say anything about my error, either when interacting with the object or afterward.
You would do better to listen to advice and fix obvious errors instead of saying that something works somewhere. The function receives the 'hero' variable, so it should be used further. Somewhere else in the code, you accidentally created a global variable with the name 'heroname' and assigned it the name of the main hero. That's why, during testing, it seemed to you that this function worked as it should. But it's just a coincidence that could disappear at any moment.

I described debugging methods in my FAQ. To make the console work at full capacity, you need to use debug messages. Before/after/inside the function, before/after the trigger.
РПГ-сценарий для HoMM5: Путь героя
ЧаВо по созданию карт для HoMM5: ЧаВо
In reply to Jack_of_shadows
Auto-translated
Jack_of_shadows
You would be better off listening to advice and fixing obvious errors instead of saying that something works somewhere. The function receives the hero variable, so it should be used further. Somewhere else in the code, you accidentally created a global variable named heroname and assigned it the name of the main hero. That's why, during testing, it seemed to you that this function worked as it should. But it's just a coincidence that can disappear at any moment.

I described debugging methods in my FAQ. To make the console work at full capacity, you need to use debug messages. Before/after/inside the function, before/after the trigger.
I understand you. :)
As they say, you live and learn.
User Avatar
Auto-translated
Here's the question: The "fire glow" effect works in the editor, in cutscenes, and in arenas, but it doesn't display in the game on the map, and it also doesn't play through scripts. Other effects work fine. What could be the problem?
Нет войне.
Auto-translated
How do I add the Tear of Ashi to a map? And if I select it in the Global Scenario Creator, how do I make sure the objective remains to defeat opponents, and victory isn't achieved simply by placing the Tear of Ashi in a castle?
User Avatar
Auto-translated
Hello everyone, could you please tell me how to assign an existing animation for combat and death?

Statistics

Welcome our newest member: Emil