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
Music during note
Damascus Offline
Senior Member

Posts: 646
Threads: 118
Joined: Mar 2012
Reputation: 29
#1
Music during note

I see plenty of tutorials for narrating a voice while you read a note, but how can I play music while the note is open, like many of Daniel's notes?

03-14-2012, 05:48 AM
Find
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#2
RE: Music during note

I think you actually do it with script. When the player picks up the diary note, you can run a function. You set this up with the CallbackFunc or the PlayerInteractCallback field. Simply use the PlayMusic function.

03-14-2012, 06:16 AM
Find
Damascus Offline
Senior Member

Posts: 646
Threads: 118
Joined: Mar 2012
Reputation: 29
#3
RE: Music during note

Will that also allow me to stop the music when the note closes? I don't know what script I would use to call a function upon that.

(This post was last modified: 03-14-2012, 07:30 AM by Damascus.)
03-14-2012, 07:30 AM
Find
A.I. Offline
Member

Posts: 114
Threads: 16
Joined: Feb 2012
Reputation: 2
#4
RE: Music during note

There is a bit easier way to do this, it is what I did on my -*Tortured*- (that I never completed) I just used the regular voice and added the music turned down in the background with Audacity. Maybe a bit easier.
03-14-2012, 07:37 AM
Find
Damascus Offline
Senior Member

Posts: 646
Threads: 118
Joined: Mar 2012
Reputation: 29
#5
RE: Music during note

I won't actually be using voices.

03-14-2012, 07:48 AM
Find
A.I. Offline
Member

Posts: 114
Threads: 16
Joined: Feb 2012
Reputation: 2
#6
RE: Music during note

Ahhh, then i don't know......if you were to use music as a voice it would go on as long as the music would, unless the player presses escape.
03-14-2012, 07:50 AM
Find
Stepper321 Offline
Senior Member

Posts: 263
Threads: 26
Joined: Nov 2011
Reputation: 8
#7
RE: Music during note

You can't, sorry.

Signature to awesome to be displayed.
03-14-2012, 02:32 PM
Find
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#8
RE: Music during note

(03-14-2012, 02:32 PM)Stepper321 Wrote: You can't, sorry.
It is possible to play music when reading a note or diary, they have it in TDD. But I'm not sure if it is possible in notes but I know that it's possible.



03-14-2012, 02:48 PM
Find
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#9
RE: Music during note

No, I don't believe there's any native functionality to stop the music after the player closes the note. I think you'll have to let it run its course, after which your other music should resume, providing you put true as the Boolean value for the abResume argument.

03-14-2012, 10:40 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#10
RE: Music during note

Diaries can have a callback attached to them for when the player closes the diary. This can (at least in theory, i haven't tried it myself) be used to stop the music.

Tutorials: From Noob to Pro
(This post was last modified: 03-15-2012, 12:45 AM by Your Computer.)
03-15-2012, 12:44 AM
Website Find




Users browsing this thread: 1 Guest(s)