Posts from Current questions and answers regarding the map editor.
Thanks anyway! Can you tell me more about the console and how to use it to check things?
I'm getting this error, how do I understand it?
Could the problem be that the object I want to disappear from the map isn't configured correctly?
SetObjectEnabled("skel", false);
SetObjectEnabled("skel", nil);
I just have one idea.
Added after 13 hours and 29 minutes
There’s a problem. I can’t make a bridge. More precisely, I can’t properly connect the bridge to the banks; I more or less align everything by height, but at the point where the bridge ends and the land begins, a thin red line lights up in the AI Passability, meaning the hero won’t be able to enter. I’ve been struggling with it all day. Maybe there’s a special way to connect the bridge to the land? Or are they just decorative and you can’t walk on them? The editor’s manual doesn’t say anything about this, except that the bridge consists of two parts.
Here are the screenshots:

So, you need to connect both parts of the bridge with land, and then check for accessibility? And is my approach correct in general?
After all, a hero can't walk onto an endless bridge :p ;) .
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"
Кампания для "Кодекса Войны"
"Выбор Сагиттеля"
Added 9 hours 0 minutes ago
I figured it out. Initially, the town was random, and I wrote the following script:
function town_nameF()
void =TransformTown("town_name",0)
RazeTown("town_name");
Trigger(OBJECT_CAPTURE_TRIGGER,"town_nameF",nil);
end;
Trigger(OBJECT_CAPTURE_TRIGGER,"town_name","town_nameF",nil);
In the editor, I set the destruction model for this town, and the hero who captures it does not die.
First, in the editor, in the "cities" section, the Demons have two alternative cities – the Biara Castle, and I don't remember the name of the second one. They look different from the regular cities, but the problem is that their properties cannot be customized.
I don't understand – are they purely decorative, or are they functional? If they are functional, is there a way to configure them beforehand?
I really need a Castle of this type as the central city for the Demons on the map I'm currently working on.
And my second question is: why can only one stack of creatures be added to the city garrison? I tried to add two units, but in the end, only one remains.
Added 4 hours 20 minutes later
A couple more questions:
If there is a sea between the cities, can a caravan travel from one city to another across the sea? If not, can this problem be solved with portals? I'm interested in a one-way portal – can a caravan pass through it?
Also, if I set a creature to increase in numbers over time, what is the approximate increase per week for such creatures?
And one more question – how do I create a neutral group of creatures on the map that includes different creatures? That is, how do I add other creatures to a group? And how are such groups divided into stacks, or are they divided automatically?
I have two questions.
First, in the editor, in the "cities" section, the Demons have two alternative cities – the Biara Castle, and I don't remember the name of the second one. They look different from the regular cities, but the problem is that their properties cannot be customized.
I don't understand – are they purely decorative, or are they functional? If they are functional, is there a way to configure them beforehand?
I really need a Castle of this type as the central city for the Demons on the map I'm currently working on.
And my second question is, why can only one stack of creatures be added to a city garrison? I tried to add two squads, but in the end, only one remains.
Added after 4 hours 20 minutes
A couple more questions:
If there is a sea between cities, can a caravan travel from one city to another across the sea? If not, can this problem be solved with portals? I'm interested in a one-way portal – can a caravan pass through it?
Also, if you set a creature to increase in numbers over time, what is the approximate increase per week for such creatures?
And one more question – how do you create a neutral group of creatures on the map that includes different creatures? That is, how do you add other creatures to a group? And how are such groups divided into stacks, or are they divided automatically?
I didn't understand the second question.
A caravan cannot travel across water, but it can definitely travel through two-way portals, and probably through one-way portals.
The increase is, I think, approximately the minimum weekly increase in a city.
Click on the creature, find the "AdditionalStacks" item in the left panel, click "add," and configure it.