Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
User Avatar
14 years ago
Auto-translated
However, it is technically more refined, as it does not contain endless loops that overload the computer.
In reply to Победитель
User Avatar
14 years ago
Auto-translated
Winner
Encountered a strange issue. A script adds creatures based on the difficulty level. But for some reason, it was outputting incorrect numbers, not the ones I intended. I wrote "print(diff)", and for some reason, it always outputted "2" regardless of the difficulty. I checked in other maps – the same thing happened. Either something is broken in the game, or in the map... I decided to replace "DIFFICULTY_EASY" etc. with numbers (4 - "Recruit", 1 - "Hero"). It seems to be working now. But I'm surprised by this, as everything was normal before.
This error also occurred on my home computer. I reinstalled the game, but I still don't understand what's happening. Has anyone else encountered this?
User Avatar
14 years ago
Auto-translated
Ment
However, it is technically more refined because it doesn't contain infinite loops that overload the computer.

In this script snippet, the loop starts upon contact and ends as soon as the monster or hero ceases to exist (usually, the loop only triggers once, so it doesn't heavily load the computer). The only thing that could spoil the effect is Break() in the combat script.
User Avatar
14 years ago
Auto-translated
But in this part of the script, the loop starts upon contact and ends as soon as the monster or hero ceases to exist (usually, the loop only triggers once). The only thing that could ruin the effect is Break() in the combat script.
Oh, did you do it that way? I didn't notice. Then yes, it doesn't really matter.
User Avatar
14 years ago
Auto-translated
Is it possible to influence what is studied in the witch's hut?
User Avatar
14 years ago
Auto-translated
Scripts can be used.
In reply to Ment
User Avatar
14 years ago
Auto-translated
Okay, and one more question: are there any scripts that affect dark energy?
User Avatar
14 years ago
Auto-translated
and what am I supposed to do with such a Dungeon???
Attachments 1
1 file attached • Total size: 88.8 KB
User Avatar
14 years ago
Auto-translated
Please compress the screenshot. From the manual, which is located in the game folder:
In reply to Победитель
User Avatar
14 years ago
Auto-translated
Winner
Please compress the screenshot.

From the manual, which is located in the game folder:
and is it impossible to translate the names of the tools (my editor is in Russian)?
In reply to Sanctuary
User Avatar
14 years ago
Auto-translated
Sanctuary
Is it impossible to translate the names of the tools (my editor is in Russian)?
I think you should go here.
I hope a screenshot won't be necessary...
User Avatar
14 years ago
Auto-translated
I've figured out the Dungeon. Now I have another question:
I wanted to make a video with a monster following this example, but I don't have a "New" button. What do I need to do to make it appear???
And one more thing:
I expanded the map editor; which functions (I selected all) should I choose?
In reply to Sanctuary
User Avatar
14 years ago
Auto-translated
There are two types of cutscenes in Heroes: DialogScene and AdvMapDialog. If you want to create a simple cutscene like in /topic/7468/, then it's an AdvMapDialog, and there's no need to expand the editor for it. As for the "new" button being located further to the right, try compressing the Property column or expanding the properties tree to see it.
In reply to Sanctuary
User Avatar
14 years ago
Auto-translated
Sanctuary
how do I make something like this???
What's so special about it? It’s just an alchemist's lab. If you need to rotate it, you can do that with the R key. You can generally rotate it at any angle, but this is more complicated because R rotates by 90 degrees

Statistics

Welcome our newest member: recijeb