Page 1 of 1

boss music stops when entering water

Posted: Mon Oct 26, 2015 8:14 am
by FeMaiden
is there a way around this?
I scripted a boss fight and my arena has some places where the player can jump in the water, but when they do, the boss music stops.
I guess the underwater sound is a separate music track?
is there any way to make the boss music keep playing while the player is underwater?

Re: boss music stops when entering water

Posted: Mon Oct 26, 2015 8:20 am
by minmay
nope, going underwater always changes the ambient track to "underwater". replacing that track or using GameMode.playStream() won't do you any good since the track will still restart every time you enter/leave the water.

Re: boss music stops when entering water

Posted: Mon Oct 26, 2015 9:06 am
by FeMaiden
minmay wrote:nope, going underwater always changes the ambient track to "underwater". replacing that track or using GameMode.playStream() won't do you any good since the track will still restart every time you enter/leave the water.
okay, i guess my boss fight was dumb anyway...I wanted mosquitoes to spawn (a much hated enemy) when the player triggers the fight and then they have to jump in the water to escape while periodically poking their heads up to take shots at the mosquitoes. but I suspect this fight would just piss people off anyway. I did leave some bombs as loot in an earlier level to accomodate non fire using parties.
I hardly use bombs but I found they can be useful in certain situations. and I tried to leave bombs in places so the player has them for the more difficult sections of my mod.

I might spawn the mosquites anyway but i'll just make it a regular encounter and I won't lock the player in with them so they can escape and later choose whether they want to kill the mosquitoes or not...