- Joined
- Dec 13, 2018
- Messages
- 2,326
There might be an extremely simple solution to my problem but I can't seem to figure it out.
Sounds are not playing correctly in the regions I assign them to. I am using the Blizzard ambient sounds, and they just refuse to play across regions. Custom music and everything else plays as it should. I have made sure the sounds are looping and whatnot. I have tried setting them to a region and adding them by triggers, none of which seems to work. Ambient sounds really add to the atmosphere of the map, and I am meticulous when it comes to music and sounds. In worst case scenario I have to attach the sound to a unit, but I am really reluctant to doing that.
EDIT:
I swear, sounds in this game is so broken.
Here's what I tried that *kinda* fixed my issue. Playing sounds at map initialization doesn't work, but for the stuff that doesn't work at initialization I used to play it at 0:00 elapsed time. So this trigger should in theory work:
If I try to play the same sound again with this trigger:
Attaching the sound to a region doesn't work at all no matter what channel it is played through, regardless of it being a 3D sound or not.
God I hate sounds. It is without a doubt the least functional, yet most complicated thing in the editor to deal with.
EDIT 2:
This works:
Sounds are not playing correctly in the regions I assign them to. I am using the Blizzard ambient sounds, and they just refuse to play across regions. Custom music and everything else plays as it should. I have made sure the sounds are looping and whatnot. I have tried setting them to a region and adding them by triggers, none of which seems to work. Ambient sounds really add to the atmosphere of the map, and I am meticulous when it comes to music and sounds. In worst case scenario I have to attach the sound to a unit, but I am really reluctant to doing that.
EDIT:
I swear, sounds in this game is so broken.
Here's what I tried that *kinda* fixed my issue. Playing sounds at map initialization doesn't work, but for the stuff that doesn't work at initialization I used to play it at 0:00 elapsed time. So this trigger should in theory work:
-
Sound initialization
-
Events
- Time - Elapsed game time is 0.00 seconds
- Conditions
-
Actions
- Sound - Disable dawn and dusk sounds
- Sound - Use the Felwood daytime ambient theme
- Sound - Use the Felwood nighttime ambient theme
- Sound - Set music volume to 70.00%
- Sound - Clear the music list
- Sound - Stop music After fading
- Set PlayListForest = Sound\Music\mp3Music\Human1.mp3;Sound\Music\mp3Music\Human2.mp3;Sound\Music\mp3Music\Human3.mp3
- Custom script: call PlayMusic( udg_PlayListForest )
- Sound - Play RainAmbience <gen> at 100.00% volume, located at (Center of (Playable map area)) with Z offset 0.00
- Sound - Play Human 1
-
Events
- Sound - Play RainAmbience <gen> at 100.00% volume, located at (Center of (Playable map area)) with Z offset 0.00
If I try to play the same sound again with this trigger:
-
Rain
-
Events
- Player - Player 1 (Red) types a chat message containing rain as An exact match
- Conditions
-
Actions
- Sound - Play RainAmbience <gen> at 100.00% volume, located at (Center of (Playable map area)) with Z offset 0.00
-
Events
Attaching the sound to a region doesn't work at all no matter what channel it is played through, regardless of it being a 3D sound or not.
God I hate sounds. It is without a doubt the least functional, yet most complicated thing in the editor to deal with.
EDIT 2:
This works:
-
Sound initialization
-
Events
- Time - Elapsed game time is 0.00 seconds
- Conditions
-
Actions
- Sound - Disable dawn and dusk sounds
- Sound - Use the Felwood daytime ambient theme
- Sound - Use the Felwood nighttime ambient theme
- Sound - Set music volume to 70.00%
- Sound - Clear the music list
- Sound - Stop music After fading
- Set PlayListForest = Sound\Music\mp3Music\Human1.mp3;Sound\Music\mp3Music\Human2.mp3;Sound\Music\mp3Music\Human3.mp3
- Custom script: call PlayMusic( udg_PlayListForest )
- Sound - Play Human 1
- Trigger - Run Rain <gen> (checking conditions)
-
Events
-
Rain
- Events
- Conditions
-
Actions
- Sound - Play RainAmbience <gen> at 100.00% volume, located at (Center of (Playable map area)) with Z offset 0.00
- Set RainSound = (Last played sound)
Last edited: