Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
User Avatar
#3964
Auto-translated
What is Unicode encoding and what does it represent?
It's not that important. Open Notepad, click "Save As," and select Unicode from the list at the bottom (instead of ANSI).
What does Adv map mean? (I saw it in the videos while learning)
It's just a map. AdvMapDialog refers to videos that play directly on the map; there are many of these in Hammers of Fate (in the campaigns).
 

К А
Стикеры GBF в Telegram
User Avatar
#3965
Auto-translated
Hello everyone, I have 2 questions: How can I change an existing animation in Heroes 5? And how can I load it into the basicleAnim in the editor?
In reply to Ment
User Avatar
#3966
Auto-translated
Ment
It's not that important. Open Notepad, click "Save As," and select Unicode from the list at the bottom (instead of ANSI).

It's just a map. AdvMapDialog – these are videos that play directly on the map; there are many of them in Hammers of Fate (in the campaigns).
Okay, I understand, thank you.
Когда ты задумываешься о том, что ты задумался, ты перестаёшь задумываться ;)
Хаос во всём тоже порядок...
Кампания Седьмое затмение. Грань Империи.
В стадии разработки 10%
#3967
Auto-translated
The map editor works fine until saving. The saved file is 1 kilobyte in size. How can I save it?
User Avatar
#3968
Auto-translated
Hadgy, the path to the game folder should not contain Cyrillic characters.
User Avatar
#3969
Auto-translated
Well, as always, I'll keep it brief:D
1) How do I make it so that (when you choose a hero, castle, etc., and then click "create," but the castles are already selected) you can choose who will be the AI and who will be a human player? If this isn't possible, at least make it so that players 1 and 2 are set as humans. If there's a script, please provide it. (Although a scriptless solution would be preferable).
2) There are keyholders on the computer's side. Will they collect them? (You can't win without them).
3) Can you provide a link (I've seen it somewhere before, but I can't find it), or explain how to work with the Seer's Hut?
4) Will the AI enter the Seer's Hut and complete the quest?
5) Script: void playAnimation. Novik's quote: "Possible sAnimType values can be found in the xdb file that defines the animation for creatures." Where can I find them?! I can't find them! And what does this script look like? I mean, will the animation be in a video or directly in the game? And this phrase: "Constants for nActionTypeID are defined in /scripts/combat-startup.lua (again, where?!) was the final straw.
6) Script: void EnableHeroAI. I'm writing:
EnableHeroAI( "Orrin", nil )
Is there an error here?
7) When it says nPlayerID, do I just write PLAYER_5 instead, and that's it? Or do I need to write something else instead of n, which represents a number?
8) Will the AI examine obelisks, search for the Tear of Ashera, and will it answer the Sphinx's questions, and if so, can it make mistakes? (Both in the search and in the answer).
9) For now, this is a theoretical question for me:
Will the AI see the cutscene?:)
10) Also theoretical for me for now:
I have an army of Orcs set up (i.e., not a single unit, but several, and also a fence around them; I can't show a screenshot because I'm writing from my phone), and I'm going to block off the exit area. When the area is unblocked (I want it to be unblocked after completing the quest at the Seer's Hut, so I don't know how to do it yet), there's another area, and when you enter it, a small dialogue scene plays, and the Orcs offer Goblins, or you fight them. So, the question is, how do I make it so that after winning, all the Orcs become corpses, nothing can be collected from them, and when you exit this small camp, the entrance area is blocked again?
(And yes, by the way, the Seer's quest that I want to create is to destroy the Orcs, and if you accept the Goblins, the quest fails). And also, if you take the Goblins, it should be forbidden to attack the Orcs. And also, what choice will the AI make?
And how do I make it so that if the AI takes the Goblins, it leaves instead of attacking the Orcs (because if the Goblins are accepted, all the figures remain standing whole and unharmed).
This question has a lot of sub-questions, so I'll write a brief plan of questions. "How to make it so that" will be abbreviated as KSTCH.
1. Unblock the region after completing the quest at the Seer's Hut.
2. KSTCH: the option is Goblins or battle.
3. KSTCH: corpses after victory. (related to question 5)
4. KSTCH: nothing can be collected from the corpses, and the "ring" disappears (I just read that somewhere).
5. KSTCH: when you exit, the region is blocked.
6. KSTCH: the quest fails if you take the Goblins.
7. KSTCH: if you take the Goblins, you can't attack the Orcs.
8. What choice will the AI make?
9. KSTCH: if the AI takes the Goblins, it leaves instead of attacking.

11) Please tell me, I lost the script for disabling an object's function. For example, in Dwellings, you can no longer hire units.
12) In the script, do I need to write the name of the unit, hero, object, etc., which is specified in the left panel in the Name line?
13) The MOST important question, I decided to write it here, although it might belong in another topic, but it's also related to the editor!
I just don't understand! Maybe I'm stupid, because others seem to be able to do it, unlike me! I've reviewed both topics about creating videos, watched Nivall's videos, and followed the instructions from these topics, and it hasn't become any clearer! And even less clear is the phrase from Ser9k: "you'll figure it out yourself"! And the fact that I now have 2 tabs, DialogScenes and Maps, and I know how to stop and resume playing a video using the P and S buttons, also doesn't make things easier! I still don't understand how to create speech and its voice, how to make a unit perform actions in a video, attack, run, etc., how to make a hero "wave" his arms and talk, how to make the camera move, how to create videos in general?! And the fact that they tell me "using scripts," "refer to the manual," "here's a link" doesn't explain ANYTHING to me. All of Novik's scripts are printed out in front of me, all the other guides are on my C drive, Russian and dusty, because I just don't understand the meaning of the formulas, the so-called syntax! I'm begging, can someone explain to me in detail, as if I were a complete newbie, how to create videos?! I will be very, very, very grateful and happy for such an explanation! Thank you in advance!
14) To the previous question. How do I make it so that when a unit speaks, the name that I gave it is displayed?
15) I was advised to use the Lover tool in the Dungeon. But in the Russian version, Lover means passage, right? It works at the top, but when I go down into the Dungeon, it's blocked, as is the water. Why? How do I fix this?
16) When I launch the editor and open a map (any map), everything becomes "blurry," meaning the graphics. When I close it and reopen the map (without exiting the editor), everything becomes normal. But it blurs differently each time, sometimes everything, sometimes everything except the units, or except the objects, or except the road, or some combination of the above. Why is this happening? Can this be fixed? It's annoying that I always have to restart the map.
17) What do strategic, tactical, and town modes mean? And how do I switch between them?
18) How do I make it so that when you go to the cartographer, he opens the entire map for you, except for a specific area?
19) Why, when I place a resource or a chest, press the spacebar, and write text in "Message," then launch the game and pick it up, nothing happens?
20) When parentheses are used in scripts and they write x, y, do I only need to write one value? Because you can't physically limit an area with just one coordinate, or am I misunderstanding something? Maybe you need to write x and y twice?
21) Script: void SetRegionBlocked. I'm writing:
SetRegionBlocked( "ORKI", nil, PLAYER_5 )
Is there an error here?
I think that's all... I apologize for such a long text. If someone reads all of this and, most importantly, understands it and clearly answers all my questions, then that person has truly accomplished a heroic feat!:)
P.S. If one of the answers to any question is a script, then please write it.
Когда ты задумываешься о том, что ты задумался, ты перестаёшь задумываться ;)
Хаос во всём тоже порядок...
Кампания Седьмое затмение. Грань Империи.
В стадии разработки 10%
User Avatar
#3970
Auto-translated
Is there really no one here who has the courage to read and respond, or is everyone just too lazy, or does no one even visit this forum anymore?
Когда ты задумываешься о том, что ты задумался, ты перестаёшь задумываться ;)
Хаос во всём тоже порядок...
Кампания Седьмое затмение. Грань Империи.
В стадии разработки 10%
User Avatar
#3971
Auto-translated
Isn't anyone brave enough to read and answer, or are they just lazy, or does no one even visit this forum?
Personally, I'm too lazy. Try to figure it out yourself, and if you can't, then you can ask.
 

К А
Стикеры GBF в Telegram
User Avatar
#3972
Auto-translated
Okay, then answer the questions where I don't have a starting point. These are questions 1, 3, 15, and 17. I'll try to figure out the rest myself.
Когда ты задумываешься о том, что ты задумался, ты перестаёшь задумываться ;)
Хаос во всём тоже порядок...
Кампания Седьмое затмение. Грань Империи.
В стадии разработки 10%
User Avatar
#3973
Auto-translated
How can I make it so that (when you choose a hero, a castle, etc., and then click "create," but the castles are already selected) you can choose who will be the AI and who will be a human player? If this is not possible, then at least make it so that players 1 and 2 are set as human players. If a script is needed, please provide it. (Although, preferably without a script).
In MapPropretiesTree, there is a line called players. Expand it – there you can configure the color, as well as the options CanBeHumanPlayer and CanBeComputerPlayer (whether a human and AI can play for a given player number, respectively).
Can you provide a link (or write how to work with the prophet's hut)? I've seen it somewhere before, but I can't find it.
See the FAQ for this section.
I was advised to use the Lover tool in the Dungeon. But in the Russian version, Lover is a transition, right? It works at the top, but when I go down into the Dungeon, it is blocked, as is water. Why? How can I fix this?
I have no idea what it is in the Russian version. Do this: try all the brushes one by one, size 3x3. When you get what you need, you will immediately see it: instead of a black floor, a gray, rocky one will appear, and the transition will be sharp (a hole will be made).
What do strategic, tactical modes, and city mode mean? And how do I switch between them?
1. On the map, where there are cities, mines, etc.
2. Battle.
3. If you enter a city, you will see an animation and can build buildings, recruit troops, etc.
 

К А
Стикеры GBF в Telegram
User Avatar
#3974
Auto-translated


Added 1 hour and 41 minutes later
Thank you, Ment. Can you also tell me how to switch to these modes?
Когда ты задумываешься о том, что ты задумался, ты перестаёшь задумываться ;)
Хаос во всём тоже порядок...
Кампания Седьмое затмение. Грань Империи.
В стадии разработки 10%
User Avatar
#3975
Auto-translated
In the editor, perhaps? No, it's not possible there; it only allows editing the strategic map, and indirectly (through configuring cities, monsters on the map, etc.) affects everything else. In the game itself, this is obvious.
 

К А
Стикеры GBF в Telegram
In reply to Ment
User Avatar
#3976
Auto-translated
Ment
In the editor, perhaps? No, it only allows editing the strategic map, and indirectly (through setting up cities, monsters on the map, etc.) – everything else.
It's obvious in the game.
Ah... Then I understand.
Когда ты задумываешься о том, что ты задумался, ты перестаёшь задумываться ;)
Хаос во всём тоже порядок...
Кампания Седьмое затмение. Грань Империи.
В стадии разработки 10%
User Avatar
#3977
Auto-translated
Regarding players/computers. I followed all your instructions. But it's still impossible to select whether a player is human or a computer. Only the first player can be human. Could this be because the map is located in the "Single Player/Scenarios" section? Is it possible to fix this? Because the map was originally designed for at least two human players.
Когда ты задумываешься о том, что ты задумался, ты перестаёшь задумываться ;)
Хаос во всём тоже порядок...
Кампания Седьмое затмение. Грань Империи.
В стадии разработки 10%
User Avatar
#3978
Auto-translated
Of course... We need to make it multiplayer; RedHeaven recently mentioned how:
You can change the map type to multiplayer by opening the map file with an archiver and renaming the folder located inside the Maps subfolder of the archive to Multiplayer.
 

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