Skip to content

Posts from Questions about the Heroes 4 map editor.

4.7 (3 ratings)
User Avatar
#158
Auto-translated
Question: In the Heroes 3 map editor, there is a tool called "Map Check" (for errors). Does such a tool exist in the Heroes 4 editor?
In reply to dnaop-wr
#159
Auto-translated
Guys, help me out, what should I do? I was making a map and accidentally dragged the object palette, and now the crosshair is above the screen. I can't move the panel at all. I've tried moving the heroes, but nothing works. It's stuck like that. Is there something I can delete in the registry?:(
#160
Auto-translated
I understand that this question may have already been asked, but I can’t read all the pages of the thread. :)
So, is there a way to insert a custom voice file (audio accompaniment) into the “Prologue/Epilogue” scenario properties? For example, is it possible to replace or add a voice from the campaigns of Heroes 3 to the game files?
In short, is it possible to add a voice to the Epilogue/Prologue that is NOT from the list of suggested voices (campaigns of 4 heroes)?
In reply to xXx[34rus]
#161
Auto-translated
Dear experts, I am new to mapmaking and I really hope for your help. I want to write a script so that after two days, let's say, after a hero captures a castle, a specific message appears. I create a calendar event in the map properties for the first day. I set a numerical variable called "castle" in it. Then, in the standard events of this castle - capture - I assign the value of the current day to the "castle" variable. Then, again in the map properties, in the repeating events, I create a conditional action. If the current day is equal to "castle" + 2, then show a message. But nothing happens. I am waiting for an answer. Thank you in advance.
User Avatar
#162
Auto-translated
I don't have the editor handy, and I haven't used it in over two years, but your line of thinking is correct. Try assigning a numerical variable to the "castle" property of the castle itself. And do the same with repeating events.
:smile17:
In reply to General ZeT
#163
Auto-translated
General ZeT
I don't have the editor handy, and I haven't used it in over two years, but your line of thinking is correct. Try assigning a numerical variable to the "castle" property of the castle itself. And do the same with repeating events.


I tried, but unfortunately, it didn't work.
User Avatar
#164
Auto-translated
When creating a quest, how do you set up a question with two answer options, so that one answer leads to one outcome and the other answer leads to a different outcome?

Added 33 minutes later
Hey, is anyone here? I have a question: how do you make it so that in a quest, you can bring a bunch of items and sell them? (Like with the wand merchant in the Between Life and Death campaign). And another unrelated question: I made an avatar for myself, but it doesn't appear. What should I do?
In reply to Силос Занж
#165
Auto-translated
Silos Zanj
When creating a quest, how do you make two answer options for a question, so that one option leads to one outcome, and the other option leads to a different outcome?

Added 33 minutes later
Hey, is anyone here? I have a question: how do you make it so that in a quest, you can bring a lot of items and sell them? (Like in the Between Life and Death campaign, with the wand merchant). And another question, not related to the topic: I made an avatar for myself, but it doesn't appear. What should I do?
When you create a question, two answer options, "yes" and "no," appear automatically.
#166
Auto-translated
2Silos Zanj,
I have a question: how can I make it so that in the editor, within a quest, you can bring in a lot of items and sell them?
You can look at examples of scripts posted on the forum, here:
http://heroes.ag.ru/maps/scripts/

There is also a good guide on HoMM4 scripts nearby:
http://heroes.ag.ru/advices/Scripting_Guide/
Ваяю кампанию под HoMM4, обновленный мод Equilibris ver. 3.55 <заморожено>
In reply to Valex
User Avatar
#167
Auto-translated
Thank you! I have another question: how do I create an event that will be triggered after a specific event has occurred?
In reply to Силос Занж
#168
Auto-translated
Silos Zanj
I have another question: how do I create an event that will be activated after a certain event?

Could you provide more details? There are many possible solutions (triggering the second event directly after the first one completes, delaying the activation of the second event, using variables or not, etc.).
Ваяю кампанию под HoMM4, обновленный мод Equilibris ver. 3.55 <заморожено>
In reply to Valex
User Avatar
#169
Auto-translated
What I mean is this: let's say you approach some object, a message appears, and then after a few days, another message is activated – well, that's how I tried to explain it.
In reply to Силос Занж
#170
Auto-translated
Silos Zanj
What I mean is this: let's say you approach some object, a message appears, and then after a few days, another message is activated – something like that, I tried to explain.
Let's say you want a certain message to appear 5 days after you activate a specific local event. In the local event, you set the variable "A" to the current day. You create a repeating event that will be activated from the first day and then every day, and in it, you have "condition: if-equal-add[variable "A"+5] -- then-show message, etc."
And then the most important thing: you create a calendar event that is activated on the first day and never again, and in it, you assign the largest negative number to the variable "A", just fill in nines in all the fields.
In reply to St.Snake
User Avatar
#171
Auto-translated
That's exactly what I meant. And another question: how can I make it so that when a certain town is captured, many of its buildings are removed?
#172
Auto-translated
Buildings cannot be removed.