OpenClonk Bugtracker - OpenClonk
View Issue Details
0001341OpenClonkEnginepublic2015-06-16 17:552017-08-20 11:41
Assigned To 
PlatformOSOS Version
Product Version 
Target Version8.1Fixed in Version 
Summary0001341: Playing same sound repeatedly is not possible
DescriptionI want to play a sound with Sound("example") that takes for example 2 seconds, and I want to play the same sound again one second later. Then the second call and subsequent calls of Sound("example") have no effect. The sound gets played again only when the first sound is finished.

Also, creating multiple objects that play that sound does not change the behaviour. Is this intended, and if so, do we still need it that way? Also I saw that in Mortimers plugin for eclipse there is a parameter "multiple" in the Sound()-function that is not present in the docu. Did it get removed some time ago?
TagsNo tags attached.
Attached Files

2015-06-16 20:21   
I remember some discussion on passing some flags to the last parameter of sound, allowing for multiple sounds. But I can't find that discussion any more. Maybe someone else remembers.
2015-09-30 03:39   
Yes, sounds are limited by allowing the same sound only once near the same location. I think this is because otherwise, simple things such as blasting rocks in a cave are unreasonably loud and don't sound that good.

The flag to play multiple exists, but is not exposed to the script interface iirc.
2015-10-02 17:54   
(Last edited: 2015-10-02 17:56)
There is only one boom sound when you blast firestone material, although there are many explosions.
That's a weird behaviour.

Maybe there sould be a way to define how quick a sound can get repeated. (the boom sound is really long, but most of the time there is silence in this sound)

2015-11-30 14:02   
Sounds like this is intended behaviour. Removed Target Version.
2015-11-30 16:39   
Can we just expose that flag to the script interface then?

Issue History
2015-06-16 17:55MarkyNew Issue
2015-06-16 20:21MaikelNote Added: 0003675
2015-09-30 03:39Sven2Note Added: 0003850
2015-10-02 17:54PyritNote Added: 0003852
2015-10-02 17:56PyritNote Edited: 0003852bug_revision_view_page.php?bugnote_id=3852#r943
2015-10-16 00:33Sven2Target Version => 7.0
2015-11-30 14:02ClonkonautNote Added: 0004197
2015-11-30 14:02ClonkonautStatusnew => acknowledged
2015-11-30 14:02ClonkonautTarget Version7.0 =>
2015-11-30 16:39MaikelNote Added: 0004201
2017-08-05 13:58MaikelTarget Version => 8.0
2017-08-20 11:41ZapperTarget Version8.0 => 8.1