Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
User Avatar
#943
Auto-translated
Is there a way to make the Oracle's Hut offer multiple quests in sequence?
User Avatar
#944
Auto-translated
It can be done through scripts.
 

К А
Стикеры GBF в Telegram
User Avatar
#945
Auto-translated
Could you describe it in detail? I'm still a beginner when it comes to scripts.
User Avatar
#946
Auto-translated
function Kvest1(hero) if GetObjectOwner(hero)==1 then SetObjectiveState(quest name 1, OBJECTIVE_ACTIVE); Trigger(OBJECT_TOUCH_TRIGGER,object,'Kvest2'); end; end; function Kvest2(hero) if GetObjectOwner(hero)==1 then SetObjectiveState(quest name 2, OBJECTIVE_ACTIVE); Trigger(OBJECT_TOUCH_TRIGGER,object,nil); end; end; Trigger(OBJECT_TOUCH_TRIGGER,object,'Kvest1'); ``` Something like that.
 

К А
Стикеры GBF в Telegram
In reply to Ment
User Avatar
#947
Auto-translated
Here's a question: how do you create scripted cutscenes?
#949
Auto-translated
Just a question:
is it possible to add new art to the game (i.e., add it, not replace it with a new texture, parameters, etc.), in addition to the existing ones (i.e., the ID itself, 97 and onwards)?
User Avatar
#950
Auto-translated
IDs are not added to the game without special tricks, such as editing the executable file. But the game contains many script-based artifacts, like Frida.
 

К А
Стикеры GBF в Telegram
In reply to Ment
#951
Auto-translated
Ment
IDs are not added to the game without special tricks, such as editing the executable file. But the game has plenty of scripted artifacts like Frida.
That's why I asked – about 2 artifacts: Frida and others. Aeliana is not enough. In general, as in NCF, you can't do without extra effort :D
In reply to JonnyP
User Avatar
#952
Auto-translated
Thank you, the second method helped, the one using the dialog in the map properties tree. But it only allows for one line of dialogue. How can I add more lines using a script?
User Avatar
#953
Auto-translated
Just add as many as you need using the right-click menu -> add (this refers to the "sentences" line).
 

К А
Стикеры GBF в Telegram
In reply to Дункан
#954
Auto-translated
Hello!
I need some help.
I haven't played HOMM5 for four years, but I decided to let my young daughter play. I wanted to enter codes for her so she could play and wouldn't need to call me for help every minute. As a result, I spent the whole day searching for codes, then patches (and in that time, so many have been released), and then installing a Russian language pack for the editor, which didn't even exist before.
I'm left with one problem – I can't play a single-player map where only the initial settings have been changed (all buildings are built, and the party already has 100 Titans).
When I load the map, the game displays an unknown error and closes.
The map is 356 KB in size, it's in the folder with the other maps, the path is no longer than it was, and it doesn't contain any Cyrillic characters.
What's the problem, and how can I solve it?

I apologize for the "many words," and I hope for your help.
User Avatar
#955
Auto-translated
The text is legible. ;)
To be honest, I haven't encountered this problem before. Are the maps created for your version of Heroes (meaning they work without any changes)?
 

К А
Стикеры GBF в Telegram
In reply to Ment
#956
Auto-translated
Yes, all the maps were on the original disc, and before editing, they opened and played without any problems.
By the way, regarding the maps – I downloaded a bunch of games from some Heroes website, intending to experiment with them, but the archive somehow downloaded as corrupted.
So, the maps have the original rules, definitely.

I checked the map, here is the list of errors:
Object and craig intersection: 160:76, ground floor.
Object and craig intersection: 160:77, ground floor.
Object and craig intersection: 160:79, ground floor.
Object and craig intersection: 160:78, ground floor.
Object and craig intersection: 20:107, ground floor.
Object and craig intersection: 126:151, ground floor.
Object and craig intersection: 19:187, ground floor.

But the rules are quite simple...
User Avatar
#957
Auto-translated
So, you extracted them from data.pak? I understand. I can suggest that you upload an example of an already edited map here (it can be a very simple one), and I will try to figure it out.
 

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

Statistics

Welcome our newest member: artem

Users Online 3 users 1644 guests