Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
User Avatar
#4459
Auto-translated
If anyone has installed the Treants_Toe mod, they know that it has a very annoying bug – the corpses of the Ancient Ents “disappear” from the battlefield. Has anyone managed to fix it?
Мои карты

Возрождённый v 1.5 (обновление от 25/09/2016) :smile24:

готовится продолжение.

Великая Пустыня ( 25%) - про Маркела
Тьма над Иролланом (0%) - про Николаса

Мои моды (скорректированы мод на чумных энтов и циклопов зомби)
User Avatar
#4460
Auto-translated
PROBLEM WITH THE CUTSCENE
Most likely, I provided incorrect parameters for this video. It was planned that the hero would be shown slightly above himself, and, accordingly, the text of the cutscene would be displayed. When entering the map, the cutscene plays, but the camera looks forward from the ground, i.e., you can see tree stumps and grass. If I set Pitch to -1, then there is a field for the text, but the cutscene shows a black screen; please help.
Here is a screenshot
User Avatar
#4462
Auto-translated
I was configuring it using that very link. By the way, it might be because a part of the map isn't loaded. The cutscene simply plays at the beginning of the game. As soon as you enter the scenario, it starts. How can I fix this?
User Avatar
#4463
Auto-translated
OpenCircleFog( nX, nY, nFloorID, nRadius, nPlayerID )

Reveals the fog of war for player nPlayerID in a circle centered at the specified coordinates with a radius of nRadius. Constants for nFloorID are defined in /scripts/advmap-startup.lua and are as follows:
GROUND = 0
UNDERGROUND = 1
Try it out.
 

К А
Стикеры GBF в Telegram
User Avatar
#4464
Auto-translated
OpenCircleFog(4, 84, 0, 3, 0);
StartAdvMapDialog(0);
Is that correct? I tried it like this, but the cutscene didn't start, and the game started immediately.
User Avatar
#4465
Auto-translated
fktifzobr@mail.ru
These Wizards first appeared in Dark Messiah, then made their way into Might & Magic X, and later into other games.

Hey everyone, I'm just asking a simple question that might be off-topic. I'm currently working on a map, and I have a question: How can I remove the mission to capture a town within 7 days?
User Avatar
#4466
Auto-translated
It seems like the last parameter is 1.
Hey everyone, sorry if this is off-topic. I'm making a map and I have a question. How can I remove the mission to capture a town within 7 days?
In MapPropertiesTree, set "false" next to all lines with "DieInWeekWithoutTown". It exists in objectives (in single-player quests and in general) and possibly in players as well (but I'm not sure).
 

К А
Стикеры GBF в Telegram
User Avatar
#4467
Auto-translated
I'm still having trouble with the cutscene at the beginning.
StartAdvMapDialog(0);
OpenCircleFog(4,84,0,13,0);
If that's the case, the cutscene is still black, but there's also a small red and white triangle at the top of the screen.
OpenCircleFog(4,84,0,13,0);
StartAdvMapDialog(0);
If that's the case, the cutscene is simply skipped, and the game starts.
User Avatar
#4468
Auto-translated
Oops... I think the first player's number should be 1, not 0. And you can try using the "sleep" command. Although a pause might ruin the atmosphere. You could simply place an allied hero in the desired location.
 

К А
Стикеры GBF в Telegram
User Avatar
#4469
Auto-translated
I had an idea. Since the image doesn't appear at the beginning of the game, we could place a monster there that, for example, joins the player. We could write a script for it to trigger a cutscene, and when the hero approaches, the cutscene will start. Would that work? :)
User Avatar
#4470
Auto-translated
Well, the storyline looks interesting.
In practice, it seems that the scripts in the monster windows don't actually do anything. You need to write a trigger.
And what, nothing works?
 

К А
Стикеры GBF в Telegram
User Avatar
#4471
Auto-translated
Still, there's just a black screen instead of a cutscene. How can I write a trigger for this? Maybe it will work.
User Avatar
#4472
Auto-translated
Check out the Trigger function.
But it probably won't help. I think there's something wrong with the camera settings.
 

К А
Стикеры GBF в Telegram
User Avatar
#4473
Auto-translated
Tried entering the data for the cutscene again – still getting a black screen. Regarding the sleep function, how can I activate it?

Added 5 hours and 31 minutes later
Besides the cutscene, another question: how can I make two enemy heroes with different faction affiliations stand in place, and prevent attacking one of them?