Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
User Avatar
#3845
Auto-translated
I need help again.

1) How do I create a custom specialty for a hero? I went into the shared folder, changed one hero's specialty to another, but when I configure the hero, the specialty remains unchanged. What am I doing wrong?

2) I changed the animation of a creature so that it lies dead. It lies there, but when I test the map with it, you can still interact with it. How can I prevent this?

3) Also, if anyone remembers, in the campaign for Zehir in the original game, you need to kill with several heroes of the same type. How can I implement this in the editor?
No one can hide from my side.
User Avatar
#3846
Auto-translated
1) The special ability is changed separately, and the icon with the description is changed separately. I assume you only changed the first one. 2) It needs to be disabled with a script. SetObjectEnabled(script name in quotes, nil); Something like that. 3) The hero was probably in the database... Reserved. Check either in the manual or on the same map. I used hero reservation in "Adept of War."
 

К А
Стикеры GBF в Telegram
In reply to Ment
User Avatar
#3847
Auto-translated
Ment
1) The special ability is changed separately, and the icon with the description is changed separately. I assume you only changed the first one.
2) It needs to be disabled with a script. SetObjectEnabled(script name in quotes, nil); Something like that.
3) The hero was probably in the database... Reserved. Check either in the manual or on the same map. I used hero reservation in "Adept of War."

1) Ideally, this specialty should have appeared in the hero's settings. For example, I changed Ilia's specialty to increase the number of harpies. In her settings, it shows "Dark Mystic." I read the topic, found something about the specialty, but, as it seems, it's not the right thing.
2) Thank you.
3) And how do I check it in the map itself? I still won't understand anything in the manual.

And one last question... Do you happen to know exactly how much experience is needed to reach level 40?
No one can hide from my side.
User Avatar
#3848
Auto-translated
1) Ah, it doesn't change in the settings... And what exactly did you change in Shared? The ID? Was there a dropdown list? And yes, in principle, with specific specializations, the settings may not display correctly. Although this is unlikely to apply to a Dark Sorcerer, ideally, field tests should be conducted.
3) Ugh... If I remember correctly. It seems to be a setting in MapPropertiesTree. ReservedHero(es). Plus a special script to summon the enemy.
4) It's definitely in the manual. There should be a file with the IDs.
 

К А
Стикеры GBF в Telegram
In reply to Ment
User Avatar
#3849
Auto-translated
Ment
What exactly did you change in Shared? The ID? Was there a dropdown list? And yes, in principle, with specific specializations, the settings may not display correctly.

Yes.
For example, in the screenshot. It seems to be all correct.
Attachments 1
1 file attached • Total size: 141.8 KB
No one can hide from my side.
User Avatar
#3850
Auto-translated
Yeah, that's right...
Okay, I think I understand. It seems that the settings also display the description of the specialization, not what it actually is.
To change the icon, name, and description of the specialization, you need to modify the following:
1) SpecializationIcon
2) SpecializationNameFileRef
3) SpecializationDescFileRef
I suggest starting by changing the last two, as that's simple. The first one will require more work – you'll need to create an icon and everything. However, you can choose from existing icons, which would also be relatively easy.
 

К А
Стикеры GBF в Telegram
User Avatar
#3851
Auto-translated
Such a... silly question. How do I change it?
No one can hide from my side.
User Avatar
#3852
Auto-translated
Click on the row content. Buttons will appear on the right. Click on "..." to select something from what already exists in the game (this is not necessary for texts, but it can be used for an icon). Click on "new" to create something new. For texts, you need to select the name of the text file (preferably in English), and then a text editor will appear, where you need to write the name/description of the skill.
 

К А
Стикеры GBF в Telegram
User Avatar
#3853
Auto-translated
Thank you very much for your help.
No one can hide from my side.
#3854
Auto-translated
Dear forum members, please provide answers to a few questions regarding the Heroes 5 editor: How can I initially place a Grail in a random town? Is it possible to place multiple towns with a Grail? How can I make it so that the player can choose the race for the computer-controlled faction? How can I make it so that all empty castles change depending on the chosen race for the opponent? Is it possible to change the race of a monster depending on the opponent's race? How can I set the victory condition to survive for 1-2-3 game years? How can I set the defeat condition to losing a castle? If there is an experienced mapmaker, perhaps they would be willing to create a map? Even my limited knowledge of the editor, when creating the first prototypes, showed that the map would be very interesting, even with a small size.
User Avatar
#3855
Auto-translated
1) Click on the town where you need the Grail, press the spacebar, and go to the buildings tab. Then, you need to find the desired building and highlight it in bold (click and check the "build" box). The Grail is supposedly one of the special buildings, but I can't say for sure which one.
2) Yes, it should be possible. The Tear of Ashi is buried on the map only once, but there can be as many buildings in the town as you want.
3) You need "Random_town".
4) I know that "random_building" can be synchronized with random towns. It's possible that towns can also be synchronized with each other, but I haven't tried it myself. You also need to open the town settings with the spacebar and take a look.
5) A monster? Try it. Set a random monster, press the spacebar, and see what happens.
6) You need to set the corresponding task; read the FAQ for this section for information on tasks. "Defeat after n days" is one of the standard tasks, and it's in the list of tasks.
7) This task is activated by default; just don't change anything.
8) Unfortunately, I can't help with that. Perhaps if you describe the scenario and what you want to achieve in detail, someone might be interested and write it for you. However, based on my experience, people either don't have the time or have their own unrealized projects that they prioritize.
 

К А
Стикеры GBF в Telegram
In reply to Ment
User Avatar
#3856
Auto-translated
Ment

4) I know that random_building can be synchronized with random towns. It's possible that towns can also be synchronized with each other, but I haven't tried it myself. You also need to open the town settings with the spacebar and take a look.
Yes, you can do it that way; this property is used on the "Battle of the Factions" map.
Мои мини-моды

Мод RTF

Мои NCF существа
In reply to fktifzobr@mail.ru
#3857
Auto-translated
Good evening! Thank you for the tips! Sometimes I feel like I have a buggy editor – I can’t find the Grail in the buildings, and when I’m creating a random map, I can’t select the opponent’s race – it changes randomly with each new restart, but I can’t choose it; it seems I managed to organize the connection between cities based on race, but I can’t configure the game conditions at all; I can’t change anything in the tree, and if I click “edit scripts,” the editor freezes, and I have to close it… Maybe I should uninstall Heroes and look for another version? – although I think I installed it from a licensed disc…

Added 3 minutes later
I can describe the map, and I’m sure it would appeal to everyone – I haven’t seen similar examples, especially considering the minimal size of the map. But is there any point in doing this – judging by the dwindling communication on this topic, I’m probably too late with my idea.
User Avatar
#3858
Auto-translated
No, it's unlikely that the issue is with the heroes. Just try tweaking the settings.
And yes, I'm not sure if the city selection works in single-player. Try launching it from the multiplayer mode (there's a checkbox there that says "display single-player maps" or something like that).
Regarding crashes caused by scripts, it's a known issue. But your quests don't need scripts. I'm saying that the FAQ should have information on how to create them in general.
 

К А
Стикеры GBF в Telegram
#3859
Auto-translated
Thank you very much! I'll try to take a look at it over the weekend. Wishing everyone good health.

Statistics

Welcome our newest member: Emil

Users Online 3 users 1352 guests