Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
User Avatar
Auto-translated
The first one is correct, in my opinion. And then they get mixed up during map generation.
 

К А
Стикеры GBF в Telegram
User Avatar
Auto-translated
I was thinking the same thing. Let's try it out sometime.

Added 3 hours and 3 minutes ago
I have another question...
There's a unit on the map that will definitely join the hero. I need a dialogue box with the unit's speech to appear before it joins.

What script do I need to use for this, and where should I put the script?
Can you provide detailed instructions?
User Avatar
Auto-translated
Here's a question for the experts: is there a way to use SetCombatAmbientLight to set the lighting separately for the surface and the Dungeon in multiplayer? Or is there another way to achieve this?
In reply to codenameray
Auto-translated
codenameray
Okay, thanks.

Added 6 hours 16 minutes ago
Another question - you can write your own questions and answers for the Sphinx. But there are three fields for the answer, and how do you specify which answer is the correct one?
The first field is the correct answer;
the fields below it are the incorrect answer options.
You can also customize not only your own answers/questions, but also the reward (amount of experience, gold, artifacts).

Added 4 minutes ago
codenameray
I thought the same thing. We'll check it out sometime.

Added 3 hours 3 minutes ago
Here's another question...
There's a unit on the map that will definitely join the hero. I need a window with the unit's dialogue to appear before it joins.

What script do I need to use for this, and where do I put the script?
Can you give me detailed instructions?
This can be done by creating a region. Then you write a script with a trigger for entering that region and the desired function (something like "message box"). I don't have the manual with the script functions on hand right now, but you can find it in the game folder.
In reply to Azrail
User Avatar
Auto-translated
Azrail
I have a question for the experts: is there a way to use SetCombatAmbientLight to set the lighting separately for the surface and the dungeon in multiplayer? Or is there another way to solve this?
This is a function for combat, right? So, you need to change the lighting during combat? Because there's a function for non-combat situations: SetAmbientLight(floorID, lightName, fade = false, time = 1); (You probably understand what the parameters mean).
 

К А
Стикеры GBF в Telegram
User Avatar
Auto-translated
Yes, that’s correct, it’s for battles. The second function changes the lighting in strategic mode, and there are no issues with it, but when you need to set the lighting for tactical mode accordingly, it becomes quite funny. For example, it can’t rain in a Dungeon, but if I set “rain today” in both modes on the surface, then the rain during a battle in the Dungeon looks very absurd. I would like the lighting in the Dungeon to remain unchanged during a battle on the same “rainy” day, but the function doesn’t allow it. Is there any way to bypass this?
User Avatar
Auto-translated
Your function isn't described in the manual, so I don't know how it's activated: before the battle or during reconnaissance :(. I would do it this way: before the battle starts, use GetObjectPosition, so we know where the battle is taking place: in a Dungeon or not. Then, if your function is activated before the battle, everything is simple. If not, you can run two different StartCombat functions depending on the situation.
 

К А
Стикеры GBF в Telegram
In reply to Вурдалаг
User Avatar
Auto-translated
And in that case, who could you recommend that I contact?
Лучше всего побеждать
:smile49: :smile49: :smile49: :smile49: :smile49: :smile49: :smile49: :smile49: :smile49: :smile49:
:smile54: :smile54: :smile54: мой сайт заходите на него :smile54: :smile54: :smile54:
In reply to Вурдалаг
Auto-translated
Ghoul
Then, who could you recommend to me?
Questions about scripts are more related to mapmaking than to discussions about walkthroughs and technical issues, so you need to study the topics related to the "Map Editor".
User Avatar
Auto-translated
I have a question:

How do I place the Tear of Ash on the map? And not just place it, but ensure it remains within a single territory, meaning it should always be on one player's territory and not appear randomly in different locations on the map.
For example, I have Orcs on my map.
I want to place obelisks on their territory so that when the map is assembled, the Tear is on their peninsula, but in different locations each game.

Basically, I hope I've made myself clear.
User Avatar
Auto-translated
Place a large number of Ash Tears in the locations you deem appropriate. At the start of the map, one will be randomly selected.
 

К А
Стикеры GBF в Telegram
User Avatar
Auto-translated
Thanks, I'll keep that in mind. By the way, can a computer actually find and install the Ashi's Tear, or is it not smart enough to do so?
Auto-translated
finds it – and often without fully revealing the map-puzzle.
In reply to Вурдалаг
User Avatar
Auto-translated
Ghoul
And then, who wouldn’t you be able to recommend someone to me?
I initially said that we need to go to the Mapmaking section. As for experienced script writers, I can recommend Ment, Ser9K, Dyrman. Just formulate your question clearly and concisely. And it is better to do this in this or this topic.

It would be best to rename this thread and move it to another section...
Карты для Heroes of Might and Magic V
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"

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

Statistics

Welcome our newest member: Emil