Page 1 of 1
Bossfight and water
Posted: Sun Mar 27, 2016 8:20 pm
by vieuxchat
When I create a bossfight, start it and the party enters the water, the music of the bossfight stops.
Is there a way to prevent this ?
Thanks in advance.
Re: Bossfight and water
Posted: Sun Mar 27, 2016 8:34 pm
by minmay
There is not. Even if you remove the "underwater" track, the level's music will still restart when you leave the water.
Re: Bossfight and water
Posted: Sun Mar 27, 2016 10:15 pm
by vieuxchat
Thank you.
It's a bit sad. No over/underwater bossfight with epic music

Re: Bossfight and water
Posted: Mon Mar 28, 2016 6:21 am
by Isaac
This seems to work when I try it...
Code: Select all
function bossMusic()
--call via hidden one time floor_trigger under the party when they fall.
GameMode.playStream(boss.bossfight:getMusic())
end
I tried this in a boss fight starting with the party on land, and then falling into the water. The music stops as soon as they fall in, but starts again immediately ~and ends with the end of the boss fight.
It is too bad that the music won't play constantly while the party move in and out of the water.
**However... A careful choice of music might help a lot... I'd imagine that a regular drum beat might not sound so bad despite occasional restarts.

Re: Bossfight and water
Posted: Mon Mar 28, 2016 6:31 am
by minmay
But that still restarts the music every time.
Re: Bossfight and water
Posted: Mon Mar 28, 2016 9:23 am
by vieuxchat
The music also stops when I get out of the water...
Hum... Maybe a heart beat music could be enough. But a simple timer that starts the heartbeatsound every seconds would be enough.
Anyway, thanks for the try.
Re: Bossfight and water
Posted: Tue Mar 29, 2016 4:25 am
by Isaac
minmay wrote:But that still restarts the music every time.
Of course ~like it says.
If there is a last glog session for LoG2 before any LoG3 release, that might be a thing to ask... That a flag or a playstream_alt() be added, to the game; that does allow unbroken streams.
* I think the sudden stop when plunging under water, is meant to better emphasize the change to a [more] dangerous environment.