- Joined
- Dec 14, 2016
- Messages
- 54
Howdy y'all! I need a lil help about somethin'.
So I'm making a space map that's near completion, but this problem is keepin' me from progressing. I want all units play a certain looping sound while moving.
The units of this map are all spaceships, so I kinda want them to make engine sounds as they move. Of course, different unit type play different move sound depending on my taste (for example, massive spaceships use different move sound than smaller spaceships).
I tried some of the methods which it didn't worked out as I wanted to.
Method 1: Play Sound from Sound editor (didn't work)
As we know it, we can't play a sound file from Sound Editor without finishing or stopping the same sound that is currently played.
Method 2: Use a dummy model as "sound" (so close)
I had this brilliant idea that when moving, periodically creates a special effect using a "dummy model" that I created from Mago's Model Editor. This model plays a certain sound when it plays its Death animation. So in a sense, it "plays" a sound when a unit moves. Problem is, I can't control when to stop playing a sound. For example, I used "DoomTarget" sound which lasts for 2 seconds. If a unit moved for 1 second, the sound still plays until it is finished.
I've no idea now how to achieve this feature. Not really necessary to accomplish the map, but it'll be great if I make this one a lil bit realistic. That's why I need help right now.
Any ideas?
So I'm making a space map that's near completion, but this problem is keepin' me from progressing. I want all units play a certain looping sound while moving.
The units of this map are all spaceships, so I kinda want them to make engine sounds as they move. Of course, different unit type play different move sound depending on my taste (for example, massive spaceships use different move sound than smaller spaceships).
I tried some of the methods which it didn't worked out as I wanted to.
Method 1: Play Sound from Sound editor (didn't work)
As we know it, we can't play a sound file from Sound Editor without finishing or stopping the same sound that is currently played.
Method 2: Use a dummy model as "sound" (so close)
I had this brilliant idea that when moving, periodically creates a special effect using a "dummy model" that I created from Mago's Model Editor. This model plays a certain sound when it plays its Death animation. So in a sense, it "plays" a sound when a unit moves. Problem is, I can't control when to stop playing a sound. For example, I used "DoomTarget" sound which lasts for 2 seconds. If a unit moved for 1 second, the sound still plays until it is finished.
I've no idea now how to achieve this feature. Not really necessary to accomplish the map, but it'll be great if I make this one a lil bit realistic. That's why I need help right now.
Any ideas?
Last edited: