Skip to content

Working with custom sounds for creatures.

User Avatar
#3
Auto-translated
[email protected]

Yes, I created soundtracks for units. In the animations, file paths to the sound files are specified. You can create a copy of a sound file (xdb), rename it, move it to another location, and then add it to the animation.

The xdb file itself is just a text file with settings. The most important thing is the UID written in it, which is essentially the name of the actual sound file located in the bin\Sound\... folder.
Just take your sound file and rename it to something like 30102022-0000-0000-0000-000000000001, put it in bin/sound..., and then add it to the xdb.

I know this, I've already done it. The problem is that the sound should come from the character, i.e., when you move the camera closer to him, the sound gets louder, and when you move it away, it gets quieter. But instead, the sound plays across the entire arena, like music.