Skip to content

Posts from Current questions and answers regarding the map editor. Auto-translated

5.0 (12 ratings)
In reply to Ment
User Avatar
#641
Auto-translated
You click on the hut, in the left panel of the editor, you find the Quest line, and expand it. You set the parameters:
-Name (script name)
-CaptionFileRef (quest name, for this, click on the text field, click the new button, enter the file name with the name, type the name in the text field)
-DescriptionFileRef (same as above, but for the quest description)
-Kind (quest type)
-Parameters (required for some quest types)
-Award (reward).
This is valuable information, but could you please provide an example? When I made the map, the hut still didn't work, and it said "there is no one here."
I couldn't get anything to work. Could you show me an example of what you wrote in each of the parameters?
Thank you in advance!:smile21:
User Avatar
#642
Auto-translated
OK. A specific example from one of my maps:
task: bring the Shackles of Fate
reward: the Crown of Sar-Issa
Attachments 1
1 file attached • Total size: 37.7 KB
 

К А
Стикеры GBF в Telegram
In reply to Ment
User Avatar
#643
Auto-translated
I followed the example, but it didn't work. The prophet's quest appears, but it can't be completed. See the image below. Perhaps the quest itself is missing. But how do I enable it? That's the question. You even gave me an example, but I still couldn't complete it. What would have happened if there hadn't been an example? To be honest, when there wasn't an example, I wrote everything in Russian, and the map would crash. Now, only the prophet's quest can't be completed, but at least the map works. I'd like to ask you to explain again where the error might be. And could you please provide an example of a hero quest, as you did before? I won't be able to figure it out without your help! Thank you in advance!
Attachments 1
1 file attached • Total size: 27.3 KB
User Avatar
#644
Auto-translated
In Parameters, is the artifact number set (e.g., 7)? Perhaps it was forgotten... If it is set, I can suggest you download my map ("The Tale of Igor's Campaign," link in my signature; there's a hut east of the Orc town) so you can "test" this feature.
 

К А
Стикеры GBF в Telegram
User Avatar
#645
Auto-translated
Thanks, it worked now!
Do you always need to set 7 in Parameters?
Or is that the artifact number?
And can you add some text there, like:
"The prophet said that he needs this and that, and as a reward, he will give, for example, a bag of infinite gold???"
And what does the line "SpellID" mean???

Added after 37 minutes
Hello again!!!
Why, when I decided to change the prophet's quest objective, the quest stopped working again?
I left everything as it was and only replaced it with ARTIFACT_BOOK_OF_POWER.
Here are pictures of the unsuccessful attempt...

and here's another one....
User Avatar
#646
Auto-translated
7 – artifact number. It doesn’t work because you changed the task type to Obj_kind_manual; change it back.
 

К А
Стикеры GBF в Telegram
In reply to Ment
User Avatar
#647
Auto-translated
Sorry, it was just my carelessness; I didn't enable the right settings, and I wanted something else! I've changed everything, and it's working now! I practiced by changing the artifact numbers, but I'm curious how many there are in the game. Also, could you please tell me which type of artifact corresponds to each number? It would be easier for me if you could list them, as you know more about this topic than I do. For example, 1 - such and such artifact, 2 - such and such, and so on... Thank you in advance!!!
-------------------------------------------
What does SpellID mean? Is it the type of troops received for completing a prophet's quest? If so, why didn't it work for me? The images are below:

And here:
.
I would appreciate it if you could answer all my questions and list the number of each artifact; this is very important to me!
Thank you for your answer in advance!!!
User Avatar
#648
Auto-translated
Spells are magical incantations. You can find the IDs for artifacts, as well as troops and spells, in a special manual called "ID's for scripts rus."
Attachments 1
1 file attached • Total size: 52.3 KB
Карты для Heroes of Might and Magic V
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"

Кампания для "Кодекса Войны"
"Выбор Сагиттеля"
In reply to Победитель
User Avatar
#649
Auto-translated
Is it possible to implement a system where completing a quest rewards the player with a specific unit, such as a group of Manticores? And have a message displayed at the top, like: "Find these items for me, and you will receive 5 Manticores." :smile45:
User Avatar
#650
Auto-translated
The text in the DescriptionFileRef should match the quest description. Monsters will be awarded if you set award_creature and configure the armySlot fields: creature (type) and count (number).
 

К А
Стикеры GBF в Telegram
In reply to Ment
User Avatar
#651
Auto-translated
Yes, I managed to get the reward troops for completing the prophet's quest, but is it possible to change it so that the prophet asks for an artillery unit instead of a unit of archers, and gives an artillery unit as a reward?
Also, if the prophet's quest works, I want to know how to make neutral units join my army with a 100% chance, even if my army is small, since I need to bring troops to the prophet, and they are all hostile, so no one wants to join my army. How can I make it so that a neutral unit joins with a 100% chance, so that I can complete the prophet's quest?
Thank you in advance for your answer!
In reply to Дункан
User Avatar
#652
Auto-translated
Duncan
Yes, I managed to get troops as a reward for completing the prophet's quest, but is it possible to change everything so that the prophet asks for, say, a unit of archers instead of an artifact, and gives an artifact as a reward?
And also, if the prophet's quest works, I want to know, for example, that troops need to be brought to the prophet, but they are all hostile, and you can only fight them. No one wants to join the army. How can I make it so that a neutral unit joins with a 100% chance, even if the army is small, so that I can complete the prophet's quest to the end!
Thank you in advance for your answer!
With scripts, Duncan, with scripts...
I don't like the settings tree because of its limited functionality. But with scripts, anything is possible... But that's another topic. Study the scripts.
Моды для HeroesV:
NHF 0.90 : NHF - группа в VK

Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...
In reply to Dyrman
User Avatar
#653
Auto-translated
I, on the other hand, don't understand scripts; I only understand how to use the settings tree. Or, I wish someone would teach me how to use them!
I can enable the console where you need to enter scripts, but I don't know how to enter the scripts themselves, and I don't know how! If anyone knows how to make the Oracle ask for a unit instead of an artifact, and give an artifact as a reward instead of a unit, please write it down, either in scripts or through the settings tree!
I would be very grateful!
User Avatar
#654
Auto-translated
You need to set objective_kind_assemble_army, and in the parameters, instead of the artifact number, there should be an even number of parameters: the first, third, and so on – the IDs of the creatures, followed by their quantity.
 

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