Skip to content
#3726
Auto-translated
Jewily, Hottabych, thank you, everything works.

I've been quite into textures lately, but now I'm getting back to scripts.
Tell me, does anyone know how to create a custom object and apply custom textures to it?
I can create objects, but they are only saved in the map folder, and if I remove such an object from the map, I don't know how to access that folder later.
I have to delete the object from the folder and then recreate it on the map.

And I can only replace the original textures by placing the ones I've drawn in the Data folder (at least I don't have to pack them into the original archive), but that's probably not the right way to do it.
Besides, it doesn't always give the desired result.

For example, there's an object called T-river in the editor
(it's located in Model:_(Model)\TerrainObjects\Grass\Rivers\T-river.(Model))
And this object is buggy; it doesn't have a texture for the stone riverbank, only the water itself.
I could quickly draw a texture, but I don't understand how to apply it.
If, for example, I do it through an xdb file, then, firstly, there is such a file for this model, but it doesn't say anything about the texture.
And secondly, it's not clear where to put this file later. Should I also put it in the Data folder?

Sorry if the question is off-topic (although xdb files are directly related to scripts).

Statistics

Welcome our newest member: wayal