Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
In reply to Ment
User Avatar
Auto-translated
Ment
Regarding turn order, we had a user here who wrote a very good script to increase the turn order, it was debugged and all. RedHaven, don't you remember such an episode?
I don't remember. Where could that have been?
Or is it like in NHF: when a certain limit is reached, the hero receives additional movement points?

Added 5 minutes later
Rhenish
What to do if the editor suddenly stops saving the work of the whole day?
You can try to retrieve the data from Editor/H5MMods/map_name. In general, in such cases, I can advise one thing: create maps using the extended editor and the Resource menu. This allows you to control the process of packing the map into an h5m archive.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
Auto-translated
RedHeavenHero, but that's exactly what I was doing! However, it just changed the file's edit number, but didn't save the changes. I'm redoing it manually... By the way, if the script is for playing the animation of a dragon attacking with flames on a green dragon, will it work?
Правило во взгляде...
User Avatar
Auto-translated
I don't remember. Where could that have been?
Someone made a map like that...
 

К А
Стикеры GBF в Telegram
In reply to Rhenish
Auto-translated
Rhenish
What should you do if the editor suddenly stops saving your work from the entire day?
I have a habit of constantly pressing CTRL+S, and the editor usually even saves the map when you don't ask it to. You close the map, and it saves it.
In reply to Rhenish
User Avatar
Auto-translated
Rhenish
RedHeavenHero, but that's exactly what I was doing! But it just changed the file's edit number, without saving the changes. I'm redoing it manually...
Maybe the order of commands is incorrect? Or some step was missed.
By the way, if the script is for playing the animation of a dragon attacking with flames on a green dragon, will it work?
You can create an attack animation + play an effect, or add a new animation to the dragon with its own name.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

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

Could you please advise me on the following:

I'm creating a map and want to change the hero's portrait. I converted it to the TGA format, but now the background color doesn't change. Previously, it was mentioned that it might be possible to convert it to another format that would eliminate this issue. How can I do this if my editor only accepts the TGA format?
In reply to Voldemort
User Avatar
Auto-translated
Voldemort
Hello everyone!

Could you please advise me on the following:

I'm creating a map and want to use a different image for my hero. I converted it to the TGA format, but now the background color doesn't change. Previously, it was mentioned that it might be possible to convert it to another format that would eliminate this issue. How can I do this if my editor only accepts the TGA format?
Do you mean there's no transparency? Please upload it to the forum, and we'll figure something out. You'll also need to export this TGA image in the editor.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
Auto-translated
I think it's easier to just insert the DDS file directly. TGA files behave strangely. It's a matter of preference, of course...
 

К А
Стикеры GBF в Telegram
In reply to Ment
Auto-translated
Ment
I think it's easier to insert DDS files directly. TGA files behave strangely. It's a matter of taste, of course...


Yes, yes, I read about this format somewhere on a forum at the beginning...
How do I insert DDS files?
In reply to Voldemort
User Avatar
Auto-translated
Voldemort
Yes, I read about this format on a forum somewhere at the beginning...
How do I insert a DDS file?
a) Install a graphics editor that supports DDS. For example, Paint.NET or Photoshop with a plugin.
b) Export the TGA file in the editor itself.
Ment
TGA files behave inadequately.
How so? Perhaps it doesn't allow you to create textures whose dimensions are not a power of two. I agree, that's a drawback.
However, exporting still happens faster than messing around with an archiver.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
In reply to RedHeavenHero
Auto-translated
RedHeavenHero
a) Install an editor that supports dds. For example, Paint.NET or Photoshop with a plugin.
b) Export the tga in the editor itself.


I converted the image to dds format, I understand that.
Could you tell me how to insert it into the Heroes editor? When I check the box under "custom image" for a hero, the editor prompts me to select the path to the image, but for some reason, it only allows me to open the tga format.
What should I do?
In reply to Voldemort
User Avatar
Auto-translated
Voldemort
I converted the image to dds format, is that clear?
Could you tell me how to insert it into the Heroes editor? When I check the box under "custom image" for a hero, the editor prompts me to select the path to the image, but for some reason, it only allows me to open the tga format.
What should I do?
Now the real fun begins. We search for the hero's properties tree, and in it, we create a new object in the Textures -> Icon128 line. Now we save, close the editor. We open the map with an archiver. We find the xdb file there with the same name as the object. We open it with a notepad, and in DestName, we write the link to the texture, for example, >. We also change the image size tags (Width, Height). We copy the dds file to the folder with the xdb file. We save. We open the map. We check if it worked.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
Auto-translated
What do you mean?
Based on experience, I know, and a colleague confirmed, that it's difficult to properly adjust transparency in them. Although it's not always possible in DDS either, but I've already learned how to fix that issue.
 

К А
Стикеры GBF в Telegram
In reply to Ment
User Avatar
Auto-translated
Ment
Based on experience, and as this user confirmed, it's difficult to properly adjust transparency in them. Although it's not always possible in DDS either, but I've already learned how to fix that issue.
I think you just need to multiply the colors by the transparency value. Isn't that right?
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
Auto-translated
No, there are actually two different types of transparency, a white one and a black one. And you need to use the one that's in the developers' DDS files, and copy the color from there. I think that's how it works.
 

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

Statistics

Welcome our newest member: Emil