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
How do I trigger sounds & How do I make my own custom Flashbacks?
Melvin Offline
Member

Posts: 245
Threads: 38
Joined: Jun 2012
Reputation: 5
#1
How do I trigger sounds & How do I make my own custom Flashbacks?

How do I trigger custom sounds?

And how do I make my own custom flashbacks?

Thanks in advance, SmokeMelvin.

[Image: 25F7U37.png]
08-07-2012, 09:06 AM
Website Find
Traggey Offline
is mildly amused

Posts: 3,257
Threads: 74
Joined: Feb 2012
Reputation: 185
#2
RE: How do I trigger sounds & How do I make my own custom Flashbacks?

This belongs in development support, moved.

Please try to post your threads in the correct places in the future.
08-07-2012, 09:41 AM
Find
ApeCake Offline
Member

Posts: 116
Threads: 20
Joined: Jun 2012
Reputation: 4
#3
RE: How do I trigger sounds & How do I make my own custom Flashbacks?

For the custom sound, you should google it. Here you go.
http://www.frictionalgames.com/forum/thread-7395.html
Just use PlayGuiSound or PlaySoundAtEntity to test it.

I'm not sure about the flashback, maybe look at the original game files? I'm sure the level editor and the .hps is all you need.
08-07-2012, 03:03 PM
Find
i3670 Offline
Posting Freak

Posts: 1,308
Threads: 74
Joined: Oct 2011
Reputation: 36
#4
RE: How do I trigger sounds & How do I make my own custom Flashbacks?

There's quite alot of text when it comes to the voices and subtitles.

You'll need the subtitles in your extra_english.lang file like this:

<CATEGORY Name = "Flashbacks">
<Entry Name="Flashback1_01">Text Here</Entry>
</CATEGORY>

Then you will need your sound files in the lang/eng/voices/flashbacks/NAME-OF-FILE. You can add sound effects with e.g. Audacity. There's a thread on the forum on how to change it.

When all that is done you can make your .flash file. Which can look like this:

<Flashback>
<Voices>
<Voice VoiceSound="flashbacks/F01_01bs.ogg" EffectSound="fb_sfx_03_archivesMODIFIED.ogg" TextCat="" TextEntry="" />
<Voice VoiceSound="flashbacks/F01_01.ogg" EffectSound="" TextCat="Flashbacks" TextEntry="Flashback1_01" />
<Voice VoiceSound="flashbacks/F01_02as.ogg" EffectSound="" TextCat="" TextEntry="" />
</Voices>
</Flashback>

You will haft to time it so that the sounds and subtitles don't start when the screen turns white. That's what the F01_01bs and F01_02as are for.

I hope I've explained it well enough. Any questions just ask.

"What you think is irrelevant" - A character of our time

A Christmas Hunt
(This post was last modified: 08-07-2012, 03:28 PM by i3670.)
08-07-2012, 03:19 PM
Find




Users browsing this thread: 1 Guest(s)