Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
#426
Auto-translated
Please help! For some reason, I don't have Agrael in the map editor. All the other heroes from the missions are there, but how can I add him?
In reply to Ment
#428
Auto-translated
Thank you very much! :smile03:
#429
Auto-translated
Where can I download the map editor for 3.1?
User Avatar
#430
Auto-translated
Don't you have the game?
 

К А
Стикеры GBF в Telegram
#431
Auto-translated
Sorry, I thought it hadn't been updated...

But I can't seem to create a map that allows team play.

For example, 2 players against 2 AI opponents.

User Avatar
#432
Auto-translated
Good day. Sorry if this is not the right topic.
Please tell me how to practically implement the following idea: a hero kills a certain monster on the map, and as a result, his morale drops to an unacceptable level... say, -5, for example, or even less.
User Avatar
#433
Auto-translated
In the script, we write: `
function Bon(hero)
sleep(3);
GiveHeroBattleBonus(hero, 1, -7);
end;
Trigger(OBJECT_TOUCH_TRIGGER,'mon','Bon');
` Here, 'mon' is the script name of the monster or hero you are attacking, 1 indicates that the battle spirit will change, and -7 means it will decrease by 7.

Added 15 minutes later
Forgot to mention: the GiveHeroBattleBonus function only works in version 3.1.
 

К А
Стикеры GBF в Telegram
User Avatar
#434
Auto-translated
Grand Merci. I happen to have version 3.1. I'll go try it out. Ment, you guessed it: the idea was to make it -7... so that it would decrease noticeably, and it would be unrealistic to increase it with various Temples, Leadership skills, and amulets.
#435
Auto-translated
Hello everyone, fans of Heroes 5!)) I have a question. I want to create my own campaign, but when I try to add a map to the campaign list, the "Create Company" function doesn't recognize it; it doesn't appear in the dropdown list. The map is a single-player map with a quest, and it works – I can load it and play it in the scenarios section of the game. What do I need to do for the campaign editor to recognize my map? Please advise.
In reply to ulqAAA
#436
Auto-translated
How do you create main and side quests in the editor? I tried using the prophet's hut, but it doesn't seem to work. I think I'm doing everything correctly, but I can't assign it to the monster that needs to be killed!:smile04:

I have another question. In my case, the letter opens after the monster is killed. How can I make it so that the letter appears first, and then the battle starts, or the monster can be recruited?
In reply to Вольный Странник
User Avatar
#437
Auto-translated
Free Wanderer
How do you create main and secondary quests in the editor? I tried using the prophet's hut as well. It seems like everything is set up correctly, but I can't assign it to the monster that needs to be killed!:smile04:
Alright, so as I understand it, the quest itself is displayed, but it's not working? When setting up the quest, you need to set the 'kind' property to OBJECTIVE_KIND_DEFEAT_NEUTRALS, and in the 'parameters' property, add the script name of the monster (right-click, Add) (which can be edited in the 'Name' field of the monster).
Free Wanderer
I have another question. In my case, the letter opens after the monster is killed. How do I make it so that the letter appears first, and then the battle or the option to recruit the monster?
This is done through a script. Here's how:
SetObjectEnabled('mon',nil);
function Bat(hero)
MessageBox(GetMapDataPath()..'mes.txt');
MakeHeroIntractWithObject(hero,'mon');
end;
Trigger(OBJECT_TOUCH_TRIGGER,'mon','Bat');
mes.txt -- the text of the message, mon -- the script name of the monster.
 

К А
Стикеры GBF в Telegram
In reply to GerbIch.
#438
Auto-translated
GerbIch.
Hello everyone, fans of Heroes 5!)) I have a question. I want to create my own campaign, but when I try to add a map to the campaign list, the "Create Company" function doesn't see it; it's not in the dropdown list. The map is a single-player map with a quest, and it works – meaning I can enter and play it in the game's scenarios. What do I need to do for the campaign editor to recognize my map? Please advise.
Please advise, maybe there's some trick or nuance I'm missing.
#439
Auto-translated
How to do main and side quests? So that they appear in the game first.
User Avatar
#440
Auto-translated
I don't want to take another screenshot... Actually, I should say that this is described in the manual (HOMMV_Editor_Theory.pdf). You need to do approximately the same thing as in this screenshot (see the panel on the left). However, you don't need to change the parameters below "Award" in your case. CaptionFileRef and DescriptionFileRef contain paths to the name and description of the quest, respectively.
 

К А
Стикеры GBF в Telegram

Statistics

Welcome our newest member: Emil