Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
User Avatar
Auto-translated
Is it possible to control the experience gain? For example, can a hero be prevented from gaining experience after a battle?
In reply to Jack_of_shadows
User Avatar
Auto-translated
Jack_of_shadows
If you just need a dummy unit that always stays in the town, you can place it next to the town and use scripts to disable its AI and make it move to a point with the coordinates of the town (or the entrance to the town). I haven't tested it, but it should work.
What about without scripts?
Справедливость - авторский глобальный мод

ColouredText - список заклинаний и их уровень в описании существ-колдунов
In reply to Андраил
User Avatar
Auto-translated
Andrail
What about without scripts?
There are scripts involved...
EnableHeroAI (script_name_of_the_hero, nil)
Всё, что сейчас происходит во мне, тоже является частью Вселенной. (с) Иванов Александр.
Цикл кампаний "Дыхание Смерти" из трёшки в четвёртом исполнении
Учебная карта
Астралия
За Королеву!
Подземелья и Дьяволы
Отголоски войны
Освобождение
User Avatar
Auto-translated
Is it possible to control the experience gain?
You can only adjust the experience coefficient so that the hero receives, for example, 10 times less experience than usual. The function is SetHeroesExpCoef().
And without scripts?
Have you tried setting it through the standard city settings interface? Perhaps there are more options through the property tree, or if you set a different hero and then open the map archive and edit the hero's name to the ruler in map.xdb. But these are just assumptions.
User Avatar
Auto-translated
SetHeroesExpCoef(), how do I use it?:o
In reply to Квант
User Avatar
Auto-translated
Quant
There's a squeak...
EnableHeroAI (script_name_of_hero, nil)
I'll spend the day working on scripts. For now, I'm learning the map editor.
Справедливость - авторский глобальный мод

ColouredText - список заклинаний и их уровень в описании существ-колдунов
In reply to John_Lock
User Avatar
Auto-translated
User01322342
SetHeroesExpCoef(), how do I use it?:o
Open the documentation, don't be lazy ;)
In reply to Jack_of_shadows
User Avatar
Auto-translated
Jack_of_shadows
Check the documentation, don't be lazy ;)
I was actually looking for it, but couldn't find it (I was looking in the documentation that came with the installed game, apparently it has outdated documentation), but I've already figured out how it works ;)
In reply to John_Lock
User Avatar
Auto-translated
Where in the editor can I find the Orcish structures of the Arena? For example, turrets?

Added 7 minutes later
Andrail
The editor doesn't allow placing a Sovereign in the city garrison. How can I do this?

It's easy. First, place any hero in the garrison that you are given.
Select the city.
In the city properties tree on the left, there should be a section called
GarrisonHero and something like this: AdvMapHero:Maps\SingleMissions\TheGreatDesert\map:item_ABB5AB83-36C2-4DBF-ABD2-A33805F2F519:AdvMapHero
Click on its properties [...].
On the right, the settings for this garrison hero appear. Look for the Shared section, click on its properties again, and change it to Kha-Belekh.
That is, to AdvMapHeroShared:MapObjects\Inferno\Sovereign.(AdvMapHeroShared)
Now you can work with it and configure it even from the city settings menu.
Мои карты

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

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

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

Мои моды (скорректированы мод на чумных энтов и циклопов зомби)
In reply to Markel the Imperor
User Avatar
Auto-translated
I've figured out the editor and scripts.
Now it's time to create a scenario.
Справедливость - авторский глобальный мод

ColouredText - список заклинаний и их уровень в описании существ-колдунов
Auto-translated
I have a problem. I generated a map, made changes, and fixed ALL the errors. As a result, when my friend tries to play, he gets error 0.2.0. If he hosts with my map, I also get error 0.2.0. I don't know what the problem is. Before this, I made maps and everything was fine, even with errors.
User Avatar
Auto-translated
Something weird happened while I was checking the map: for some reason, water appeared in areas of the map where it shouldn't be; I don't know how to explain this more specifically, here are the screenshots



Attachments 2
2 files attached • Total size: 172.5 KB
Делаю кампанию "Последний Феникс"
User Avatar
Auto-translated
Is it possible to configure the AI (computer player) so that it doesn't enter a specific area on the map, while allowing another player to enter that area?
In reply to Miss Stark
User Avatar
Auto-translated
Miss Stark
Is it possible to make it so that the AI (computer player) doesn't enter a specific area on the map, but another player can?
Scripts!
Справедливость - авторский глобальный мод

ColouredText - список заклинаний и их уровень в описании существ-колдунов
User Avatar
Auto-translated
I encountered an unknown issue while testing the map: for some reason, water appeared in areas of the map where it shouldn't be. I don't know how else to explain it; here are some screenshots.
Could it be that something was accidentally masked? This tab is located next to objects, tiles, regions, etc.
Is it possible to prevent the AI (computer player) from entering a specific area on the map, while allowing another player to enter it?
Place a region and find the corresponding script. SetRegionEnabled or something similar. There are settings for players there.
 

К А
Стикеры GBF в Telegram

Statistics

Welcome our newest member: Emil