Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
In reply to Иней
User Avatar
Auto-translated
Iney
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 the players that the players are playing as? And why, when I change something in "player," all the settings are disabled after I exit the editor?

Because the campaign editor is buggy. That's the answer to the first question. It's better to create campaigns using a text editor.

I didn't quite understand the second question. If you want to choose the hero yourself, you need to select the player first in playerProperties (map properties), then select the starting town for him, and then put a checkmark next to "generate hero in town" below. Something like that.
To prevent the settings from being reset, it's better to place some new object on the map before exiting the editor – that's more reliable.

Whatever
In reply to Иней
User Avatar
Auto-translated
Frost
Also: how do I make the player avatars visible in the game creation menu when selecting players? And why do all the settings revert after exiting the editor when I make changes in "player"?
Do you want the main heroes of the players to be visible in the game creation menu?
Then you need to open MapProperties --> Players Properties and iterate through the list of all players, setting the MainHero if necessary.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
Auto-translated
It’s better to create campaigns using a text editor.
Unfortunately, I don’t know how to do that.
To prevent the settings from being reset, it’s best to place a new object on the map before exiting the editor – this is more reliable.
Then you need to open MapProperties --> Players Properties and go through the list of all players, setting the hero to MainHero if necessary.
Unfortunately, this doesn’t work. The object is saved, but not the settings.
User Avatar
Auto-translated
Are you sure that your settings are being reset? What exactly is being reset? For example, does the player marked as the main hero disappear from the settings? Or does the main town disappear?

Whatever
User Avatar
Auto-translated
Hello! I'm new to this forum. I've learned mapmaking and some scripting. I have a question. Which script can be used to move an object from one part of the map to another during gameplay, and from a dungeon to the surface and vice versa?

Added after 1 hour and 4 minutes
I apologize for posting this message in the "Current Questions and Answers about the Map Editor" section instead of the "Scripts" section.
Готовиться компания за мага Сайруса. Готовность = 10%.
____________________

Всех моих врагов я беспощадно рву в клочья :mad: !
In reply to Heroist
User Avatar
Auto-translated
Heroist
Let's say a player marked as the main hero disappears from the settings? Or the main town?
Yes. Exactly.
User Avatar
Auto-translated
I don't know then. I haven't encountered that problem.

Whatever
User Avatar
Auto-translated
Good evening. I wanted to clarify: if the cells are arranged in a checkerboard pattern, with some cells being "accessible" and others "inaccessible," can the hero still pass through them? Or is adjacency of cells required?
Правило во взгляде...
User Avatar
Auto-translated
The hero can move up, down, left, and right, as well as diagonally in all directions.

Whatever
User Avatar
Auto-translated
Thank you, I found the error.
Правило во взгляде...
User Avatar
Auto-translated
Hello! I'm new to this forum. I've learned mapmaking and some scripting. I have a question. Which script can be used to move an object from one part of the map to another during the game, and from a dungeon to the surface and vice versa?
SetObjectPosition('object name', new position x, new position y, level: -1 by default -- current level, 0 -- surface, 1 -- dungeon);
For the script to work, the object must have the IsMovable property set to true.
 

К А
Стикеры GBF в Telegram
User Avatar
Auto-translated
So, two questions arose. 1st question: how to make the creatures on the map "fight"? (like in the campaign, either for Frida or for Isabel, when the knights held a tournament among themselves).
2nd question - how to set up an ambush?
Правило во взгляде...
User Avatar
Auto-translated
PlayObjectAnimation ('object name', 'animationType', animSpecType)

*animationType -- animation type, for example, happy, death, specability, attack00, attack01, etc.
**animationSpecType -- special settings for the animation, IDLE -- plays continuously in a loop, ONESHOT -- plays once, ONESHOT_STILL -- after playing, the object "freezes" in the last pose of the animation. It is effective to combine this with 'death', for example.

I didn't quite understand the second question. What does it mean to set up an ambush?

Whatever
User Avatar
Auto-translated
In Heroes of Might and Magic III and V, there's this unpleasant thing: the hero enters some kind of corridor-like area, and a message appears: "Ambush! Your troops lost nn xxxxx!" In Heroes of Might and Magic III, it was displayed as a sphere.
Правило во взгляде...
User Avatar
Auto-translated
Ah, that requires scripting. You need to define a region, then link it to a function that displays a message and performs subsequent actions.

Whatever

Statistics

Welcome our newest member: Emil