use same audio channel

hi every one
in original street of rage 2 When one of the enemies dies, she/he makes the sound of death
When two of the enemies die with in half of second apart .first one who died played his/her die sound then the second one stops the first enemies die sound and he/she play his/her die sound
if i use normal sound command in their die animation all the die sounds will played in the same time and it makes the game became too loud
how i can create an effect like street of rage 2 ?

Thank you all for your cooperation
 
You can do this @pedramtolo, but it won't be easy. All of OpenBOR's sound channel management (there are 64 channels) is handled automatically by default, and assumes creators want the opposite of what you are asking for. There's no way at all to control it with native commands.

You'll need to trigger your sound with script so you can capture the channel and then manipulate it as you want. There is an overview on how audio works here that will help you understand. If you want to dive in and give the script procedure a try we can go from there.

DC
 
You can do this @pedramtolo, but it won't be easy. All of OpenBOR's sound channel management (there are 64 channels) is handled automatically by default, and assumes creators want the opposite of what you are asking for. There's no way at all to control it with native commands.

You'll need to trigger your sound with script so you can capture the channel and then manipulate it as you want. There is an overview on how audio works here that will help you understand. If you want to dive in and give the script procedure a try we can go from there.

DC
hi it is a good idea you gave me thank you so much
 
Back
Top Bottom