Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Making one sound take over another?
Linus Ågren Offline
Senior Member

Posts: 309
Threads: 58
Joined: Jan 2011
Reputation: 5
#1
Making one sound take over another?

Well, I am having a little issue regarding some voice acting and my actual map. There is a lot of noise on the map (explosions, crumbling walls etc) and that is making the voice acting unheard.

To the point: Is there anyway to make the voice-acting kind of "take-over" the other sounds, like making them all lower while he speaks, or make the actual sound of him go more in the front so it is clear what he says?

Thanks!

Creator of The Dark Treasure.
07-30-2013, 06:05 PM
Website Find
Kullin Offline
Member

Posts: 218
Threads: 23
Joined: May 2013
Reputation: 3
#2
RE: Making one sound take over another?

The only thing I can think of is either lower the volume of one of them in the .SNT and set the other's volume higher .SNT, maybe? Do you understand what i mean?
07-30-2013, 06:37 PM
Find
Linus Ågren Offline
Senior Member

Posts: 309
Threads: 58
Joined: Jan 2011
Reputation: 5
#3
RE: Making one sound take over another?

(07-30-2013, 06:37 PM)Kullin Wrote: The only thing I can think of is either lower the volume of one of them in the .SNT and set the other's volume higher .SNT, maybe? Do you understand what i mean?

Absolutely, but I would like to avoid that since there are like 10 different sounds and in that case, I would need to swap them out each time the voicing comes in. =/

Creator of The Dark Treasure.
(This post was last modified: 07-30-2013, 06:43 PM by Linus Ågren.)
07-30-2013, 06:42 PM
Website Find
Kullin Offline
Member

Posts: 218
Threads: 23
Joined: May 2013
Reputation: 3
#4
RE: Making one sound take over another?

FadeInSound(string& asSoundName, float afFadeTime, bool abPlayStart);
Fades in a sound.
asSoundName - internal name
afFadeTime - time in seconds
abPlayStart - ?


Maybe don't really know
07-30-2013, 07:01 PM
Find
Artyom Offline
Senior Member

Posts: 370
Threads: 27
Joined: Jul 2012
Reputation: 11
#5
RE: Making one sound take over another?

All you need to know is on the wiki, go there.

- Inactive account -
07-30-2013, 08:21 PM
Find
Linus Ågren Offline
Senior Member

Posts: 309
Threads: 58
Joined: Jan 2011
Reputation: 5
#6
RE: Making one sound take over another?

(07-30-2013, 08:21 PM)Zandrojakov Wrote: All you need to know is on the wiki, go there.

Could you please push me in the right direction there then?
I cannot find anything that meets my requirements. Confused

The only close thing I found was FadeGlobalSoundVolume, but that will not work since it will lower ALL sounds.

Edit: I had to make an emergency solution. Though, if anybody knows this, please reply!

Creator of The Dark Treasure.
(This post was last modified: 07-31-2013, 09:09 AM by Linus Ågren.)
07-30-2013, 10:30 PM
Website Find




Users browsing this thread: 1 Guest(s)