Posts from Current questions and answers regarding the map editor.
writes constantly in the console that the file cannot be found. I've tried many options. Can you tell me whether to start specifying the path with GetMapDataPath()... or with the folder where the file is stored in the map? And what does xpointer refer to? Maybe if I understand the principle, I'll finally figure it out.
In such cases, xpointer is always written, but I don't know what it's for.
Regarding the "file not found" error... I don't know, I managed to fix it, and I tried it.
Create a new Sound (try creating a NewFolder first – I named it "zaz", then create a NewObject in it – I also named it "zaz"), click the [...] next to SrcName, and specify your sound. Once again, it should be in the root folder, but not one created during game installation. In my case: "D:\games\Nival Interactive\Heroes of Might and Magic V - Tribes of the East\Complete\zaz.ogg". Then export, save, exit, and look for the created xdb file inside the map, and specify the path to it in the script. You can probably do it without exporting as well.
My script:
Play2DSound ("/zaz/zaz.xdb#xpointer(/Sound)");
Added 1 minute ago
Oh, I mixed them up. The first one is for Hammers of Fate, and the second one is for the original game.
Added 2 minutes ago
By the way, the editor for the original game is in the "bin" folder, and the editor for Hammers of Fate is in the "binA1" folder. The "bin" stands for "bin addon 1." Is that the Gold Edition? Am I right?
Пробуждение зла
Нашествие из Преисподней
Смена эпох
Скачать все кампании одним архивом: Яндекс.Диск Google.Диск
You can download the set of 3 Campaigns (English version) here
Одиночные сценарии Heroes V 3.1:
Незваные гости
Красный кристалл
Синий кристалл
Закат тьмы
Мультиплеерные карты для Heroes V 3.1:
Легендарная война
Сердце вулкана
Передел мира
You can technically translate the maps, but I'm afraid it would be a completely unnecessary hassle for you.