Posts from Current questions and answers regarding the map editor.
People, how do I configure the game so that there are no resources at the beginning of the map?
SetPlayerStartResources(1,0,0,0,0,0,0,0)
Good afternoon or night, or maybe morning or even evening. I have a question: how can I insert my own image when loading my map? This is usually done in campaigns, and I also want to insert my own image for the map.
First of all, you need to create a dds image with TF_DXT1 (for example; you can use your own, but then change it in the xdb file
””).You can do this using Photoshop or GIMP. The height and width of the image must be divisible by 4, and they must also be specified in the file that I attached; the file name should also be specified there.
Thus, you put the dds image and the xdb file into the map archive.
Then, in the same archive, find the xdb file "map.xdb". You need to open it in Notepad and find the line
”"and replace it with””
Цикл кампаний "Дыхание Смерти" из трёшки в четвёртом исполнении
Учебная карта
Астралия
За Королеву!
Подземелья и Дьяволы
Отголоски войны
Освобождение
In the Tiles tab, there are tools that allow you to distort the terrain in any way and even create mountains. Then, you can apply a visual texture on top, such as a stone or a stone with moss (as in your example), and you're done.
Just don't forget to cover these mountains with a mask so that they cannot be walked on.
Dear Ment! This was the first option that came to my mind. I opened the map in the editor and confirmed that it's not a distortion of the terrain, but rather objects like "Mountain10x7," "Mountain4x3_2," etc., but they are transparent. Moreover, if you move this object to another terrain, such as grass, it takes on its usual black color. And only on terrains like Orcish (moss and pine needles) does it adopt the color of the terrain.
I searched for the same thing in other maps and found it in the Samsara map. There, the mountains are "covered" with a snow texture. I tried applying other types of textures (within the same map): it works with all of them except grass.
I tried digging into the parameters of the model itself, comparing it with a similar model on a newly created clean map, but I found no differences.
Now I really want to get to the bottom of it!
Hmm, interesting.
I think the issue might be with the texture used to color the mountain model. Perhaps applying a transparent texture to other mountain models could achieve the same effect, but I'm not sure.
Where can I change this texture?
Select an object and tinker with it in the left panel of the editor (via Shared - Model - Textures). The extended editor can also help by making some operations more convenient.
I tried leaving null instead of the texture – the mountain is just white, but not transparent.
Then I checked it in maps where it is transparent – the textures are not changed there. Also, if this mountain is placed on another terrain (e.g., dirty grass), it stops being transparent and immediately becomes a regular mountain. It seems that the properties of the object itself have not been changed, but the properties of the terrain texture overlay have. I don't know where I can check this.
And how do you create a mask on the mountains so that they cannot be walked on?