Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
In reply to Ment
User Avatar
#3951
Auto-translated
Ment
It's not really important in this case. In general, in programming, a boolean variable can only have two values (usually 0 and 1).
So, should I write something before "Enable," or not? Sorry, I'm not thinking clearly today. By the way, I have another question. When I was creating the map, I was planning for two players (on one computer), and I realized too late that I needed to click "multiplayer." Can I change this somehow? Can I convert it into a multiplayer map, or is there another way to do it? Because it's really frustrating; I've already made 40% of the map, and I spent 3 days on it, and now this happened. :(
Когда ты задумываешься о том, что ты задумался, ты перестаёшь задумываться ;)
Хаос во всём тоже порядок...
Кампания Седьмое затмение. Грань Империи.
В стадии разработки 10%
User Avatar
#3952
Auto-translated
Regarding the Dungeon, I suggest you read the manual. Judging by the description, you are building it incorrectly. Did you use the "lower" tool?
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
#3953
Auto-translated
Hmm... No, I haven't used it before, thank you, I'll try it.
Когда ты задумываешься о том, что ты задумался, ты перестаёшь задумываться ;)
Хаос во всём тоже порядок...
Кампания Седьмое затмение. Грань Империи.
В стадии разработки 10%
User Avatar
#3954
Auto-translated
You can change the map type to multiplayer by opening the map file with an archiver and renaming the folder located inside the Maps subfolder of the archive to Multiplayer.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
#3955
Auto-translated
Thank you very much, RedHeavenHero!!! I greatly appreciate it!

Added 2 minutes later
But the question about Enable still remains. Could you please advise?
Когда ты задумываешься о том, что ты задумался, ты перестаёшь задумываться ;)
Хаос во всём тоже порядок...
Кампания Седьмое затмение. Грань Империи.
В стадии разработки 10%
User Avatar
#3956
Auto-translated
EnableHeroAI('hero_name', nil) -- disables the hero
EnableHeroAI('hero_name', 1) -- enables the hero again
Was there a question about this?
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
In reply to RedHeavenHero
User Avatar
#3957
Auto-translated
RedHeavenHero
EnableHeroAI('hero_name', nil) -- disables the hero
EnableHeroAI('hero_name', 1) -- enables it again
Was this the question?
Thank you! Now it's clear!:)

Added after 15 hours and 20 minutes
RedHeavenHero
You can change the map type to multiplayer by opening the map file with an archiver and renaming the folder inside the Maps subfolder of the archive to Multiplayer.
I think I misunderstood you. I don't have any folders inside the Maps folder. :smile32: Here's the path: C:\Heroes of Might and Magic V - Complete Pack\Tribes of the East\Maps[br][/br] If you need to install something, please provide a link. I have WinZipper.
P.S. To be honest, I've never used an archiver before. I just used it to extract files when I downloaded them.
Когда ты задумываешься о том, что ты задумался, ты перестаёшь задумываться ;)
Хаос во всём тоже порядок...
Кампания Седьмое затмение. Грань Империи.
В стадии разработки 10%
User Avatar
#3958
Auto-translated
C:\Heroes of Might and Magic V - Complete Pack\Tribes of the East\Maps\map_name.h5m\Maps[B]SingleMissions[/B][br][/br]
This is what the path should look like. You need to rename the highlighted folder to Multiplayer, but to access the contents of the h5m file, you will need an archiver. Alternatively, you can change the extension to zip, which should allow the system to open the archive, and of course, after making the changes, you need to restore the h5m extension.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
In reply to RedHeavenHero
User Avatar
#3959
Auto-translated
RedHeavenHero
C:\Heroes of Might and Magic V - Complete Pack\Tribes of the East\Maps\map_name.h5m\Maps[B]SingleMissions[/B][br][/br]
This is what the path should look like. You need to rename the highlighted folder to Multiplayer, but to access the contents of the h5m file, you'll need an archiver. Or you can change the extension to zip, then the system should open the archive automatically, and, of course, after the changes, you need to change the extension back to h5m.
Can you explain to a newbie how to do this?:confused:

Added after 46 minutes
Okay, I figured out how to open the file with other programs. Can you give me a link to an archiver? As far as I understand, WinZipper
isn't suitable here.
Когда ты задумываешься о том, что ты задумался, ты перестаёшь задумываться ;)
Хаос во всём тоже порядок...
Кампания Седьмое затмение. Грань Империи.
В стадии разработки 10%
User Avatar
#3960
Auto-translated
Okay, I figured it out, thanks. I was using a different path than the one you mentioned. But, I encountered a problem that might not be related to this topic, but I decided to post it here anyway. I went into the map properties (although now I realize I shouldn't have), and clicked "Edit," opening the map using the WinZipper application, and to my surprise, all the maps started displaying with this icon: . How can I fix this? Although the editor still opens the maps, this issue is still very concerning to me.
Attachments 1
1 file attached • Total size: 21.1 KB
Когда ты задумываешься о том, что ты задумался, ты перестаёшь задумываться ;)
Хаос во всём тоже порядок...
Кампания Седьмое затмение. Грань Империи.
В стадии разработки 10%
User Avatar
#3961
Auto-translated
How can this be fixed?
You can reassociate file extensions, but it's best not to do anything.
 

К А
Стикеры GBF в Telegram
In reply to Ment
User Avatar
#3962
Auto-translated
Hello everyone. I have two questions: how can I prevent a hero from moving on the map, and how can I add "scripted" heroes to the editor, such as Nicholas, Faidaen, Tralsai, and King Tolgar? Thank you in advance.
User Avatar
#3963
Auto-translated
How do you prevent a hero from moving on the map?
RedHeaven
EnableHeroAI('hero_name', nil) – disables the hero.
How do I add “scripted” heroes like Nicholas, Faidaen, Tralsai, and King Tolgar to the editor?
Find them in HeroShared within the advanced editor; instructions for enabling them are in the FAQ.
 

К А
Стикеры GBF в Telegram
User Avatar
#3964
Auto-translated
I also have two more questions:
1) What is Unicode encoding, and what does it mean?
2) What does an Adv map mean? (I saw it in the videos while learning).
Когда ты задумываешься о том, что ты задумался, ты перестаёшь задумываться ;)
Хаос во всём тоже порядок...
Кампания Седьмое затмение. Грань Империи.
В стадии разработки 10%
In reply to Варсус
User Avatar
#3965
Auto-translated
Thanks, Ment.

Statistics

Welcome our newest member: Emil