Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
User Avatar
#3873
Auto-translated
There’s probably nothing that can be done about it.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
#3874
Auto-translated
Hello everyone! I need help with three issues, but I can't figure them out.
1. How do I install a Russian language pack that adds NCF creature icons to the map editor?
2. How do I create quests? I don't understand it at all; I want to create a map with a mission to capture a town.
3. How do I place an enemy hero so that they don't move?
Please explain as clearly and in as much detail as possible, as I'm not a programmer.

(I've already solved the problem with the NCF icons. :) )
User Avatar
#3875
Auto-translated
2. Refer to the editor documentation, specifically Editor Theory and Editor Practical Guide. 3. First, find out the script name of the hero (hero properties => Settings => Script name). In the script (map properties => Script => Edit Script), write the following command:
EnableHeroAI('hero_script_name', nil)
where you replace hero_script_name with the script name of your hero.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
In reply to RedHeavenHero
User Avatar
#3876
Auto-translated
Is it possible to make MoveHero unconditional, so that the hero doesn't hesitate if his path is blocked by an obviously unbeatable army/garrison? I simply need it for the storyline, so that they periodically arrive and are defeated by the garrison, gradually weakening it. Of course, if it's not possible, I'll have to resort to using MoveHeroRealTime, but maybe there's another way?
Мои карты

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

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

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

Мои моды (скорректированы мод на чумных энтов и циклопов зомби)
User Avatar
#3877
Auto-translated
The hero doesn't seem to be afraid of the dangers along the way. Check if there are any impassable obstacles in the hero's path.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
#3878
Auto-translated
Does the EXTRA_EXPERT skill level work with non-professional skills?
Мои карты

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

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

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

Мои моды (скорректированы мод на чумных энтов и циклопов зомби)
User Avatar
#3879
Auto-translated
Please tell me how to enable the ability for an ally to choose a town, hero, and bonus, and also how to allow myself to choose who will play and generally block a player (in a Scenario)? I encountered this issue because I created a cooperative map. I can choose who and how to play for myself, but the bots cannot. They have full randomness, and I can't do anything about it (even block a player). In the map editor, I set HumanPlayable, but it didn't help.
User Avatar
#3880
Auto-translated
CanBeHumanPlayer = true, so that the player can be controlled by a human.
CanBeComputerPlayer = true, so that the player can be controlled by the computer.
HeroInTown = true, so that a hero appears in the garrison of the player's main town (they can be selected).
CanBeDisabled = true, so that the player can be disabled.
CanChangeBonus = true, so that the bonus can be changed.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
#3881
Auto-translated
RedHeavenHero, thank you, I'll try it. I'll post the results here.
update
nothing has changed =( I'm sad. I did everything as instructed, but everything remained the same =(
The map is attached. tor_xrall_rndtf is the final version, the rest are the modifications before it.
Attachments 1
1 file attached • Total size: 1.7 MB
User Avatar
#3882
Auto-translated
Okay. Rename the SingleMissions folder to Multiplayer, and it will work.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
#3883
Auto-translated
Thanks, it worked =)
I owe you a beer and a plus.
User Avatar
#3884
Auto-translated
I apologize, but could you remind me (or point me in the right direction) on how to add an image to the map loading screen? (so that instead of the griffin, a specific image is displayed). I remember finding a thread about this on the forum before, but I've searched everywhere and can't find it. So, I'm asking for help. Thank you in advance.
User Avatar
#3885
Auto-translated
1. In PWLPicture, click New, enter a name, and click OK. 2. Use the tool to access the texture properties, where you specify the link to the texture file (SrcName) and the texture subformat (e.g., you can set it to DXT1). InstantLoad is for instant loading. 3. The image itself should be in TGA or PSD format, with a size of 1024x1024. Note that the lower quarter of the image will always be cropped in the game, so it is advisable to fill this quarter with black or transparent color. 4. In the object tree on the left, find the texture, right-click, and select Export. After this, you can check if everything was exported correctly by enabling the Log Window.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
In reply to RedHeavenHero
User Avatar
#3886
Auto-translated
RedHeavenHero
1. In PWLPicture, click New, enter a name, and click OK.
2. Use ... to access the texture properties, where you specify the file path for the texture (SrcName) and the texture format (e.g., you can set it to DXT1). InstantLoad is for quick loading.
3. The image itself should be in TGA or PSD format, with a size of 1024x1024. Keep in mind that the bottom quarter of the image will always be cropped in the game, so it's advisable to fill this quarter with black or a transparent color.
4. In the object tree on the left, find the texture, right-click, and select Export.

After this, you can check if everything was exported correctly by enabling the Log Window.

Thank you very much. Could you also tell me why I can't enter text in the SrcName field? I added a TGA image with a resolution of 1024x1024 to the root of the map, I copy the path to it, paste it into SrcName, and when I press Enter, all the pasted text disappears...
User Avatar
#3887
Auto-translated
The map should not contain a TGA file. The image should be stored separately on the disk, and the path to it should be specified in the usual way.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4

Statistics

Welcome our newest member: leyu