Staredit Network > Forums > Modding Assistance > Topic: Adding sound channels
Adding sound channels
Dec 23 2016, 8:57 am
By: Pr0nogo  

Dec 23 2016, 8:57 am Pr0nogo Post #1


Is it possible to increase the amount of sound channels in Brood War? I am looking into making movement sounds using iscripts (e.g. a Marine's walking animation plays a loop-friendly walking sound, or a Vulture's walking animation plays a loop-friendly engine sound), but obviously this eats up a lot of sound channels when several units move at once. Last I checked the max sound channels was incredibly low, something like 18 or 20 (maybe even lower?), so I'm curious as to whether or not something like this would be possible.

I must stress the 'is it possible' part of this question. If it's a lot of coding work (which is out of my wheelhouse), I'm willing to pony up cash for the job. Extremely interested in making this a reality. Thanks for the help!

Dec 23 2016, 9:29 am TF- Post #2

Cool idea, but with movement sounds per unit you will have sound channel issues even with an expanded limit, SC2 uses a complex system of sound priority and limits per sound, to determine how many times a sound can play concurrently, and which sounds should get cut out first when the game runs out of sound channels, I think you would need something like that to have armies with movement sounds.

Another random barely related thing I noticed about sc2 is that they even removed constant movement sounds for performance reasons, with few exceptions like terran flying buildings, and made it so short movement sounds play at the beginning of unit movement only, reimplementing the old style from the beta videos where tanks made noise constantly while moving around was a huge pain in the ass, but cool when it finally worked.

Dec 23 2016, 12:32 pm Pr0nogo Post #3


I could just make the sound have a random chance to play using randcondjmp if movement was overcrowding the channels.

Dec 23 2016, 5:24 pm IskatuMesk Post #4

Lord of the Locker Room

Anything is possible, and anything can be done. It's never a question of "can", it's a question of "will". It's all a question of skill and time. This would not be a trivial task, it would be reconstructing BW's sound engine and a lot of reverse engineering.

> blizzard
> caring about performance

Guess that's why we have CASC lmao

Show them your butt, and when you do, slap it so it creates a sound akin to a chorus of screaming spider monkeys flogging a chime with cacti. Only then can you find your destiny at the tip of the shaft.

  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:03 pm]
Ashamed -- On a happy note... I managed to stream a 50gb 4k file via plex ( While encoding ) This pushes my threads to the max though ha...
[09:03 pm]
Ashamed -- Mini Moose 2707
Mini Moose 2707 shouted: Ashamed mad
yeah wth am I going to do with 16 cores and 32gbs of ram on a single host lol
[09:02 pm]
ihjel -- theskinsurf
theskinsurf shouted: it would be very weird to start a map and not touch the intraforce allies and have them lose alliance/vision somehow, never happened to me
Happens when humans and computers are mixed in a force.
[08:51 pm]
Mini Moose 2707 -- Ashamed
Ashamed shouted: all the matx boards blow :(
[08:30 pm]
Ashamed -- all the matx boards blow :(
[08:29 pm]
Ashamed -- My new Mobo doesn't support visualization :( I am hoping it will get a bios update. Dumb bought 16 core processor and 32gbs of ram and I can't even virtulize ha. W00t new Hardware!
[07:10 pm]
Ashamed -- ><
[05:28 pm]
NudeRaider -- jjf28
jjf28 shouted: NudeRaider way down on my priority list tbh
FaRTy1billion shouted: NudeRaider never had these problems in the first place :wob:
which is probably why they fixed it :rolleyes: (others suffer from it) Also while I also have workarounds for it I appreciate native support.
[05:18 pm]
theskinsurf -- it would be very weird to start a map and not touch the intraforce allies and have them lose alliance/vision somehow, never happened to me
[05:15 pm]
theskinsurf -- cross-force allies won't start with vision or alliance, intraforce allies should
Please log in to shout.

Members Online: jun3hong, Roy, ihjel, Ashamed, Eisoncai, KYSXD, Kenoli