Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
In reply to Triplex2
User Avatar
Auto-translated
Triplex2
Where is PlayObjectAnimation located?

Added 10 minutes later
MapProperties - Scripts tab, write it there.
Мои карты:
Town
Готовится:Чума (40%), Сосиска(42%), Война Грааля
User Avatar
Auto-translated
In the game, the background on the hero icon is transparent. I created the icon myself, and the background is either white or black. How do I make it transparent? I don't quite understand. RLE?
Герман стоял неподвижно. Герман сошёл с ума. "Старуха!!!" - закричал он в ужасе. Он сидит в Обуховской больнице, в семнадцатом нумере, не отвечает ни на какие вопросы и бормочет необыкновенно скоро: "Тройка, семёрка, туз. Тройка, семёрка, дама".
In reply to crazy_kill
User Avatar
Auto-translated
crazy_kill
In the game, the background on the hero icon is transparent. I made the icon myself, and the background is either white or black. How do I make it transparent? I don't quite understand. RLE?

Usually, in Photoshop: Yandex will help
and then reformat the PNG to TGA, and then to DDS. I usually do it this way (when the process reaches TGA, I open it in Paint and make corrections so that there are no extra pixels in the background).
Карты для Heroes V: Повелители орды:
Multiplayer: Господство, Извечное противостояние, Война за Магию, Торговая империя, Анатомия войны, Эксперимент
SingleScenario: Последний Рубеж, Трон, Элиралис, Вернуться домой!, Лабиринты разума
Campaign: Колонизация
In reply to KioM
User Avatar
Auto-translated
KioM
usually, in Photoshop: use Yandex for help
and then reformat the PNG to TGA, and then to DDS. I usually do it this way (when the process reaches TGA, I open it in Paint and make adjustments so that there are no extra pixels in the background).
You can install a plugin for Photoshop and save in DDS format 8:8:8:8 with an alpha channel.
Моды для HeroesV:
NHF 0.90 : NHF - группа в VK

Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...
User Avatar
Auto-translated
Thank you! I forgot about dds.

Added 20 hours and 10 minutes ago
1) So, my previous question. Should I put the dds files in the game folder? If so, I either have a "grainy" background or no image at all. Maybe I'm using the wrong saving method (I don't really understand) (DXT1, DXT3, DXT5, A8R8G8B8, X8R8G8B8, etc.)?
2) When I insert a tga file using the editor, the transparency disappears (i.e., there are no semi-transparent elements).
Герман стоял неподвижно. Герман сошёл с ума. "Старуха!!!" - закричал он в ужасе. Он сидит в Обуховской больнице, в семнадцатом нумере, не отвечает ни на какие вопросы и бормочет необыкновенно скоро: "Тройка, семёрка, туз. Тройка, семёрка, дама".
Auto-translated
1) So, regarding my previous question: should I put the .dds file in the game folder?

Put it in the folder where your file is located (it could be the "maps" folder, or it could be the "user mods" folder).
User Avatar
Auto-translated
Still the same problem. I insert an icon for the hero (both through the editor and into the dds folder, and other methods), but the background is still white. Could the problem be with the texture file for the image, "filename.(Texture).xdb"? I tried it as suggested above, but it didn't work. Either I don't understand something, or... I don't know what. Is the format absolutely required to be "TF_TXD1" for icons? Help! Thank you in advance.
Герман стоял неподвижно. Герман сошёл с ума. "Старуха!!!" - закричал он в ужасе. Он сидит в Обуховской больнице, в семнадцатом нумере, не отвечает ни на какие вопросы и бормочет необыкновенно скоро: "Тройка, семёрка, туз. Тройка, семёрка, дама".
In reply to crazy_kill
Auto-translated
crazy_kill

2) When I insert a TGA file through the editor, the transparency disappears (i.e., there are no semi-transparent elements).
With the .PSD format, transparency is not lost during export. Try it; if it doesn't work, I'll explain in more detail. :smile33:
Oh, and by the way, send me the texture (image) itself – there might be a problem with it.
User Avatar
Auto-translated
Could you provide more details about PSD?
Герман стоял неподвижно. Герман сошёл с ума. "Старуха!!!" - закричал он в ужасе. Он сидит в Обуховской больнице, в семнадцатом нумере, не отвечает ни на какие вопросы и бормочет необыкновенно скоро: "Тройка, семёрка, туз. Тройка, семёрка, дама".
In reply to crazy_kill
Auto-translated
crazy_kill
Could you provide more details about PSD?
Alright, here's how to replace a hero's texture, using Dugald as an example. (There are other methods, but this is the easiest for me.)

1. First, familiarize yourself with this tutorial: http://psatkha.narod.ru/tutorial_ru.html
I'm not sure if you'll need to do everything described there, but it's worth learning. Also, you can immediately select the Material table in the [Resource - Select Tables] menu (item #6).
2. Select Dugald, and in the object properties window on the left, click on Shared, then click the ... button.

3. A window will appear. In the right part, you'll see two lines: FaceTexture and FaceTextureSmall. Select FaceTexture and click the ... button. (Each hero's 'portrait' has two sizes: 128x128 and 64x64. Let's ignore the second line for now; it's not necessary, and everything will still work.)

4. In the right part, select the first line and click the ... button.

5. A window will appear where you can select your ready-made .PSD file (this is the standard Photoshop format), of course, with a transparent background. The file itself should be in the Complete folder.

6. Mine looks like this. (The image size must be 128x128).

7. On the left, right-click on Heaven_Dougal_128x128.(Texture) -> HierarchicalExport -> ForceExport.

8. After exporting, close all windows by clicking OK and see the result.

If there are no errors in the LogWindow, the result will be the same; otherwise, you did something wrong. :smile04:

Added after 11 minutes
crazy_kill
Could you provide more details about PSD?
Your hero's image is fine, but the format is incorrect. The editor won't find it. Use either .tga or .PSD (you have .PNG). The .tga format loses transparency during export
User Avatar
Auto-translated
The hero's image (portrait) looks good, but the format is incorrect. The editor won't recognize it. It should be either .tga or .PSD (you have .PNG), and the .tga format loses transparency during export.
I already know that.
.....
I know this method (but still, thank you very much). The hero whose appearance can be changed is in prison, and that's why there's a problem.
Герман стоял неподвижно. Герман сошёл с ума. "Старуха!!!" - закричал он в ужасе. Он сидит в Обуховской больнице, в семнадцатом нумере, не отвечает ни на какие вопросы и бормочет необыкновенно скоро: "Тройка, семёрка, туз. Тройка, семёрка, дама".
In reply to crazy_kill
Auto-translated
crazy_kill
the changeable hero is in prison, that's how it is. That's why there's a problem.
This isn't a problem. This is how you create a mod that will also affect other maps. Change his appearance, then remove him from the map and put him in prison - and that's it :)
User Avatar
Auto-translated
I did it like in the example, the ground disappeared, and the hero turned into a demon on a horse (i.e., an Inferno hero on a Death Knight's horse). I must have made a mistake somewhere; I'm going to check where. :-)
....
Amazing mods often emerge from such errors. I should save it.
Герман стоял неподвижно. Герман сошёл с ума. "Старуха!!!" - закричал он в ужасе. Он сидит в Обуховской больнице, в семнадцатом нумере, не отвечает ни на какие вопросы и бормочет необыкновенно скоро: "Тройка, семёрка, туз. Тройка, семёрка, дама".
User Avatar
Auto-translated
Is it possible to modify the city arena by removing the walls and the tower, leaving only an open field, even without a catapult?
Моды для HeroesV:
NHF 0.90 : NHF - группа в VK

Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...
User Avatar
Auto-translated
I think so. Just make empty walls and an empty catapult. If the blockable tiles are linked to them, then, as I understand it, everything will be removed. Wouldn't it be easier to just not build a castle in the town? Or do you need a large field without walls?
 

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

Statistics

Welcome our newest member: Emil