Page 1 of 1

[1.1.80] "wind" and "ambient" sound types are not available in sound prototypes

Posted: Thu Jun 22, 2023 8:38 pm
by xaetral
When making a "sound" prototype, the "category" field is supposed to accept the strings "game-effect", "gui-effect", "ambient", "environment", "walking", "alert" or "wind", according to the official documentation.

But if you do use "wind" (or "ambient", as Bilka told me) the game will throw an "Unknown sound category" error.

Re: [Donion] [1.1.80] "wind" and "ambiant" sound types are not available in sound prototypes

Posted: Mon Jun 26, 2023 8:26 am
by Donion
Thanks for the report, the issues is now fixed for the next release.
"ambient" is the correct spelling

I'm sure you know but just to be completely clear (and for anyone else who might be wondering). Setting a "wind" or "ambient" category/type in the sound prototype doesn't make it an actual wind sound or ambient (music) track, they have their own prototypes: WindSound and AmbientSound. The category property only sets which mixer (volume slide) the sound is attached to.

Re: [1.1.80] "wind" and "ambient" sound types are not available in sound prototypes

Posted: Tue Jun 27, 2023 12:12 pm
by xaetral
Thank you for the quick fix 👍
Sorry for the spelling, the mistake is on my side.
And thank you for the little explanation, it confirms what I guessed from the documentation 😄