Hi,
I made a millwheel loop for the windmill and the windgenerator. Now as the wheel's turning speed varies, I want the sound volume to vary accordingly. The problem is, when I start the loop like this for example:
and then want to change the volume to 100:
the function returns
I made a millwheel loop for the windmill and the windgenerator. Now as the wheel's turning speed varies, I want the sound volume to vary accordingly. The problem is, when I start the loop like this for example:
Sound("millwheel_loop", false, 50, nil, 1);
and then want to change the volume to 100:
Sound("millwheel_loop", false, 100, nil, 1);
the function returns
false
and nothing happens. So is there a trick to do it or is this not possible? Otherwise I would need to have multiple sounds.
![](https://attach.openclonk.org/avatars/65-0196.png)
![](https://attach.openclonk.org/avatars/64-84632.png)
![](https://attach.openclonk.org/avatars/29-2030.png)
Is it possible to have something to set the volume for all sounds? Something like
I found a nice underwater-sound and that together with lowering the sound volume would make up a really cool atmosphere for diving.
SoundVolume(iVolume, iPlayer)
? (And ResetSoundLevel())I found a nice underwater-sound and that together with lowering the sound volume would make up a really cool atmosphere for diving.
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill