Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
In reply to Олегарх
User Avatar
#1579
Auto-translated
Besides the initial activity and visibility, it’s best not to change any other parameters unless you are absolutely sure.
 

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

you were right about doing everything correctly, but you absolutely shouldn't touch the starting quest 'kill everyone' - otherwise, you'll mess things up and it will lead to failure - win or fail after completing any quest :smile33:. You can make it invisible. Create a new quest in the Objectives tab and experiment there.
Oh, thanks for the idea!
Yes, it really helped! I created a new objective, put the same conditions there, and in the first one, I set it to be immediately active but invisible.
Мои карты:
Town
Готовится:Чума (40%), Сосиска(42%), Война Грааля
In reply to Олегарх
User Avatar
#1581
Auto-translated
I didn't change anything. Including the initial activity and visibility. To be more precise, I changed the first ("0") task. There was 'true' in 'Instant Victory'. I thought that was the reason.
Карты для Heroes of Might and Magic V
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"

Кампания для "Кодекса Войны"
"Выбор Сагиттеля"
In reply to Победитель
User Avatar
#1582
Auto-translated
Winner
When any quest is completed via script, the first player wins (in one case, it even caused a crash). What could be the problem?
There are primary and secondary quests. Use only secondary quests. Primary quests may have additional parameters or conditions.
Моды для HeroesV:
NHF 0.90 : NHF - группа в VK

Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...
In reply to Победитель
#1583
Auto-translated
Winner
I didn't change anything. Including the initial activity and visibility. To be more precise, I changed the first ("0") task. There was 'true' in 'Instant Victory'. I thought that was the reason.

It seems that was the case - because you set the "possible" (instead of "false") icon for "Instant Victory" for this task.

Added 1 minute ago
Dyrman
There are primary and secondary tasks. Use only secondary tasks. Primary tasks may contain both additional parameters and conditions.


The division into primary and secondary also makes sense - so you don't have to worry about manually setting the condition for "Instant Victory" or "Defeat" (in case the task fails).
In reply to Победитель
#1584
Auto-translated
Winner
When a script completes any task, the first player wins (in one case, it even caused a crash). What could be the problem?
the same problems again :rolleyes: ...
I already explained everything in the neighboring thread about the editor; all that remains is to determine the level of skill ;) .
...and as usual, there are millions of answers to the question, but they are all about something completely different :smile04: ...
In reply to JonnyP
User Avatar
#1585
Auto-translated
JonnyP
the same problems again :rolleyes: ...
I already explained everything in the neighboring thread about the editor; it remains to determine the level of skill ;) .
...and as usual, to one question, there are millions of answers about something completely different :smile04: ...
Ohhh. So, Kill'em all shouldn't have been deleted? How do I restore it now?
Карты для Heroes of Might and Magic V
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"

Кампания для "Кодекса Войны"
"Выбор Сагиттеля"
In reply to Победитель
#1586
Auto-translated
Winner
Ohhh. So, was it a mistake to delete "Kill'em all"? How do I restore it now?
Create a new map and insert the same parameters into your map that were set by default.
In reply to JonnyP
#1587
Auto-translated
JonnyP
create a new map and insert the same parameters into your map as were set by default.


are these modifications mandatory?

wouldn't it be easier to simply add "Kill All" to the list of common objectives?
In reply to antonag07
#1588
Auto-translated
antonag07
But what – are these tweaks mandatory?!

Wouldn't it be simpler to just add "Kill Everyone" to the list of common objectives?
No, it's not mandatory. It's just to see what the initial parameters were for the 'kill em all' task, i.e., to restore the task to its original form, which is what you're suggesting.
In reply to Олегарх
User Avatar
#1589
Auto-translated
Could you please add this task under a different number? I don’t want to redo all the others.
Карты для Heroes of Might and Magic V
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"

Кампания для "Кодекса Войны"
"Выбор Сагиттеля"
In reply to Победитель
#1590
Auto-translated
Winner
Could you add this task under a different number? I don't want to redo all the others.
I don't think the number matters, only the script name. Just insert it, and it will be under number zero if you want, and the others will shift accordingly.
#1591
Auto-translated
I have a problem! As usual, I was experimenting in the map properties editor, and I came across the monster section. I started creating a new monster and, for some reason, I started with the name. Then, at the bottom, in the list of creatures, I selected the Devil and gave it the skin of an Agrael. When I look in the editor, it's just a regular Devil. How can I make the Agrael model appear?
In reply to HAndOS
User Avatar
#1592
Auto-translated
I have 2 questions about the prophet's hut: 1. Is it possible to repeat the quest? For example: you need to bring ore to get an army. After completing the quest, when you approach the prophet again, he gives you the same quest, and so on, either infinitely or up to a set limit (e.g., 3 times). 2. Is it possible to make the quest available only when certain conditions are met (e.g., level 20)? Accordingly, if the hero's level is greater than or equal to 20, then when approaching the prophet, he will receive the quest; otherwise, a message will appear: "You need to reach level 20."
User Avatar
#1593
Auto-translated
1) Yes, you can. Simply write again:
SetObjectiveState("<quest name in quotes>", OBJECTIVE_ACTIVE);
I don't know how to make it work infinitely or three times; you need to check it experimentally.

2) Yes, you can:
If GetHeroLevel("<scripted hero name")>=20 then
And then write what should happen in this case.
Карты для Heroes of Might and Magic V
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"

Кампания для "Кодекса Войны"
"Выбор Сагиттеля"

Statistics

Welcome our newest member: Emil