Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
In reply to Markel the Imperor
User Avatar
9 years ago
Auto-translated
Markel the Imperor
Is it possible to change/set the weeks using scripts?
There are constants for weeks... Maybe it's possible to extract them from the Tower of the Astrologer.
In reply to Markel the Imperor
User Avatar
9 years ago
Auto-translated
Markel the Imperor
Is it possible to change/set the lunar weeks using scripts?
As far as I know, it's not possible to change them. Scripts can only be used to find out the ID of the lunar week. There is an option to set your own lunar calendar through the map properties tree, but it will be impossible to change it during the game.
In reply to RedHeavenHero
User Avatar
9 years ago
Auto-translated
1. What script is needed so that when entering a region, an enemy castle switches to your side? 2. What should I do if I place a Temple with a first-level spell and set the "Weakness" spell, but when saving the map, I get an error: NO_Spell, and this spell cannot be learned. What should I do? 3. How do I prevent units from being upgraded, for example, from Haven to Landlords, Archers, etc.?
User Avatar
9 years ago
Auto-translated
1. Event for the region
TRIGGER: The player's hero enters the region
Call the function to change the object's allegiance.
I recommend downloading the ".xls" file called "Functions." You can find it somewhere on this site.

2. Check the property tree of this object. There is probably something wrong there.

3. /topic/8262/
User Avatar
9 years ago
Auto-translated
How can I make an Orc hero cast "Reinforce" in battle? I can't find it in the list of spells. How can I make a hero simply attack a target?
In reply to Квант
User Avatar
9 years ago
Auto-translated
Quant
section: TACTICAL

That's the thing, I've already looked into it...

I only found
commandMoveAttack, but if you apply it to a hero (who fights in melee), it complains that the object cannot be moved and does nothing.

commandShot also doesn't work on heroes who fight in melee (I haven't checked it on ranged units).

And there's no mention of Podmogi anywhere.
User Avatar
9 years ago
Auto-translated
The developers mainly focused on implementing features that they themselves needed for scenarios and campaigns. In this case, battles with heroes fighting using physics were not something they "programmed," so it's quite possible that such a function doesn't exist. Reinforcements... Can't you find its ID? Judging by the IDs I see, it could be either 296 (it comes after 295, the last one in the list of battle cries). Or there might be a suspicious gap in the 240-276 range. But in general, it's a bit unclear here.
In reply to Ment
User Avatar
9 years ago
Auto-translated
Is it possible to add such a "creature" to the battlefield as an additional trench/mine of the Fortress faction, etc.? Or increase the number of turrets. In battle, if a soldier steps on it, it says: Trench: casting the "Entangling Roots" spell. This means it is formally a kind of creature.
User Avatar
9 years ago
Auto-translated
Yes, technically speaking, that's correct. However, I don't think they can be summoned. For that to happen, they would need an ID from the list of IDs assigned to monsters, but they don't have one. On the other hand, the Warlock in the final mission of the sixth campaign somehow managed to place a wall. It was probably defined in the map objects rather than through a script, but in any case, it might help you. Take a look at how it works.
9 years ago
Auto-translated
Hello! I'm new here. Could you please share some icons for the editor? The ones I had are gone. I found some old links on the forum, but they don't work anymore.
User Avatar
9 years ago
Auto-translated
There seem to be two graphical buttons in the top panel. One is a green rectangle above a gray rectangle. The second is a red rectangle below the gray one. The first one is for editing the surface, and the second one is for dungeons. At least, that's what I think.
9 years ago
Auto-translated
What to do if, after saving a map, the editor doesn't open it and displays an error:
User Avatar
9 years ago
Auto-translated
FAQ
I save the map, but it stops working, and the editor won't open it. After saving, it weighs 22 bytes. What should I do?
There are two possible causes for the problem:
1) The path to the map or the map name contains Cyrillic characters. To avoid this problem, replace all Cyrillic characters with Latin characters.
2) The path to the map is too long (e.g., C:\Program Files\Nival Interactive\Heroes of Might and Magic V\Heroes of Might and Magic V\Heroes of Might and Magic V\Heroes of Might and Magic V\Maps). Solution: shorten the path as much as possible.From FAQ.
In reply to RedHeavenHero
User Avatar
9 years ago
Auto-translated
How can I change the name of a building, such as a Fortress, and prevent it from performing its original function?

Statistics

Welcome our newest member: recijeb