Skip to content

Current questions and answers regarding the map editor.

User Avatar
#2988
Auto-translated
RedHeavenHero
The xdb files with (Texture) are completely unnecessary. And what are the links to the images in the map itself?
Okay, I removed Texture, and everything started working) It's strange that no one mentioned these issues in that thread. Another strange thing: at the beginning of the game, a dialogue scene plays, then a talkbox appears, followed by a questionbox, and so on. I don't know if this information is important or not. So, it's unclear why the script resets after answering the talkbox in 33% of cases. Moreover, this only happens when the dialogue scene is interrupted by clicking "Ok." Why does the script sometimes work and sometimes not, even though it remains unchanged? Error: value was NIL when getting global with name tlkb. tlkb is a variable in the talkbox function. The function looks like this:
function TalkBF(id, num)
tlkb=num;
xxx=num-1;
QuestionBox(GetMapDataPath().."podsk.txt", "yespodskF");
sleep(4);
if k==0 then
if num==1 then
SetGameVar("anjel" , 7);
elseif num==2 then
SetGameVar("anjel" , 9);
elseif num==3 then
SetGameVar("anjel" , 11);
else
SetGameVar("anjel" , 13);
end;
elseif k==1 then
if num==1 then
SetGameVar("anjel" , 10);
elseif num==2 then
SetGameVar("anjel" , 12);
elseif num==3 then
SetGameVar("anjel" , 15);
else
SetGameVar("anjel" , 18);
end;
elseif k==2 then
if num==1 then
SetGameVar("anjel" , 13);
elseif num==2 then
SetGameVar("anjel" , 15);
elseif num==3 then
SetGameVar("anjel" , 18);
else
SetGameVar("anjel" , 20);
end;
else
if num==1 then
SetGameVar("anjel" , 15);
elseif num==2 then
SetGameVar("anjel" , 18);
elseif num==3 then
SetGameVar("anjel" , 22);
else
SetGameVar("anjel" , 25);
end;
end;
end;


tlkb, xxx, k are global variables defined before the execution of this function

Added 4 minutes ago
I also don't understand the error that appears a certain number of times at the start of the game - Couldn't play animation, even though I didn't play any "supernatural" animations for the creatures. And for the same riders, for example, the Death animation doesn't work on the map, even though I went into Shared and assigned them the Arena animation set. I had to simply remove them from the map

Added 5 minutes ago
I think I figured out how to solve the first problem, but I'm still puzzled by the animations
Кампании для Heroes V 3.1 (Трилогия):

Пробуждение зла
Нашествие из Преисподней
Смена эпох

Скачать все кампании одним архивом: Яндекс.Диск Google.Диск

You can download the set of 3 Campaigns (English version) here


Одиночные сценарии Heroes V 3.1:


Незваные гости
Красный кристалл
Синий кристалл
Закат тьмы

Мультиплеерные карты для Heroes V 3.1:

Легендарная война
Сердце вулкана
Передел мира