EmptyEpsilon icon indicating copy to clipboard operation
EmptyEpsilon copied to clipboard

Stop (Fade Out) Sounds in Scripts

Open k9lego opened this issue 7 years ago • 3 comments

Hello daid, I'll keep my request short. It would be very helpful for my group if we had fade out (fade speed, maybe??) added to scriptable sounds. A way to end sound files early, but not too abruptly would greatly be appreciated.

It would allow one of my members to configure music based on scriptable cues, such as 10 enemies near the player triggers more intense music than one fighter. While this is technically possible now, sometimes a track needs to be ended early. If this is at all possible, it would be greatly appreciated!! :) k9lego

k9lego avatar Apr 02 '18 01:04 k9lego

I agree. It would be nice to have different stages of music too. For example, you start with one big fleet of ships, and then you shave the fleet down a bit, then the music gets less intense, then shave the fleet down some more, less intense, etc. Or you know, a few ships come in range, then more ships come in range, the music gets more intense. Or, if you have a few ships chasing you (or maybe you're running away from them), and not necessarily attacking you, the music maybe would just be a little tense. Or, maybe instead of in range, the tense music can be if the enemy ships are nearby, and only science can see them.

LJDude avatar Apr 02 '18 23:04 LJDude

Yes! We can start sounds/music in scripts already. The only problem is we cannot stop long tracks early. If a long intense music is playing, it cannot be stopped if the enemies are defeated. Also, a way to know if a sound is still playing certainly would be helpful... :)


From: LJDude [email protected] Sent: Monday, April 2, 2018 6:09 PM Subject: Re: [daid/EmptyEpsilon] Stop (Fade Out) Sounds in Scripts (#532) To: daid/EmptyEpsilon [email protected] Cc: k9lego [email protected], Author [email protected]

I agree. It would be nice to have different stages of music too. For example, you start with one big fleet of ships, and then you shave the fleet down a bit, then the music gets less intense, then shave the fleet down some more, less intense, etc. Or you know, a few ships come in range, then more ships come in range, the music gets more intense. Or, if you have a few ships chasing you (or maybe you're running away from them), and not necessarily attacking you, the music maybe would just be a little tense. Or, maybe instead of in range, the tense music can be if the enemy ships are nearby, and only science can see them.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdaid%2FEmptyEpsilon%2Fissues%2F532%23issuecomment-378076919&data=02%7C01%7C%7C29e2c173de8b44ea426108d598eecc0b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636583073740942875&sdata=hapyYilq3zVkW1jmeMZyMtdZztgjN8OBV5dKvDJFQm8%3D&reserved=0, or mute the threadhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKf4rjeGCyim76SgzTCPzwGBtZ5QFISoks5tkq-igaJpZM4TDC6A&data=02%7C01%7C%7C29e2c173de8b44ea426108d598eecc0b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636583073740942875&sdata=mh5qbFe3IsKxJ8j%2FpD7kVoP6aE6HiX7tHWDJT8F5aR4%3D&reserved=0.

k9lego avatar Apr 03 '18 03:04 k9lego

@LJDude I was looking into the source code, and there is a "Threat Level" function. That might be useful.

k9lego avatar Apr 04 '18 01:04 k9lego