Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved Note/Diary Narration
Author Message
JoeBradleyUK Offline
Member

Posts: 115
Joined: Jul 2011
Reputation: 0
Post: #1
Note/Diary Narration
I'm trying to make it so when you pick up this note, an audio file works. Like Daniel's Diary. I followed another thread and I'm not sure what I'm supposed to do.

Here is my .lang file:

<CATEGORY Name="Journal">
<Entry Name="Diary_NDiaryOne_Name">Note To Self</Entry>
<Entry Name="Diary_NDiaryOne_Text">[Voice
NoteToSelf.ogg] Hello Nathaniel, [br][br]At the moment you're most likely reading this full of sweat and fear. [br]You cannot remember what you are doing here, which is probably for the best, as it will only make you stronger. [br]At the moment, all you ever need to know is that you have to get out of here, anyway you can. [br]Also, there is a plague broken out in the castle, and you are the last known survivor, but there may be more. [br]One Last last thing, there are these...things. These monsterous creatures of the dark, lurking in the shadows. [br] [br] Your former self, [br] [br]Nathaniel. </Entry>
</CATEGORY>

And in the level editor I have a NOTE placed down and in the NoteText it says NDiaryOne and use narration is ticked.
Moreover, i have the NoteToSelf.ogg inside the lang/eng/voices/diarys

What is wrong with this?

:Work In Progress:
Insanity
(This post was last modified: 07-16-2011 04:52 PM by JoeBradleyUK.)
07-12-2011 08:54 PM
Find all posts by this user Quote this message in a reply
triadtimes Offline
Senior Member

Posts: 451
Joined: Jan 2011
Reputation: 19
Post: #2
RE: Note/Diary Narration
Well if you have a note placed down then why does your .lang have
<Entry Name="Diary_NDiaryOne_Name">

If it's a note then have it say
<Entry Name="Note_NDiaryOne_Name">

Escape
Alone
(Г°ω°)Г

(This post was last modified: 07-12-2011 09:07 PM by triadtimes.)
07-12-2011 09:07 PM
Visit this user's website Find all posts by this user Quote this message in a reply
JoeBradleyUK Offline
Member

Posts: 115
Joined: Jul 2011
Reputation: 0
Post: #3
RE: Note/Diary Narration
But the thing is, when I make it Note_NDiaryOne etc. The note just immediately closes when picked up, and if I have it as diary_ then my custom story doesn't appear in my custom stories list
Also, When i place the diary entity it has no Use Narration option so i assumed you used the note entity for diarys.
Please, I have been working On this for about 3 hours now and I can't figure it out!



Thanks in advance.

:Work In Progress:
Insanity
(This post was last modified: 07-12-2011 09:40 PM by JoeBradleyUK.)
07-12-2011 09:12 PM
Find all posts by this user Quote this message in a reply
Kurton Offline
Senior Member

Posts: 268
Joined: Oct 2010
Reputation: 5
Post: #4
RE: Note/Diary Narration
It could be that you are using a note_generic or note_letter, etc, when for straightforward Diaries, you might need the diary_paper01 entity.

07-12-2011 10:00 PM
Find all posts by this user Quote this message in a reply
JoeBradleyUK Offline
Member

Posts: 115
Joined: Jul 2011
Reputation: 0
Post: #5
RE: Note/Diary Narration
(07-12-2011 10:00 PM)Kurton Wrote:  It could be that you are using a note_generic or note_letter, etc, when for straightforward Diaries, you might need the diary_paper01 entity.

The thing is, I would out of general knowledge chosen to place the diary paper, but as it didn't have a option to use narration in the entities tab, I used the notes instead, thinking I could only use them. So if that is the problem, how would I solve it then?

:Work In Progress:
Insanity
07-12-2011 10:03 PM
Find all posts by this user Quote this message in a reply
triadtimes Offline
Senior Member

Posts: 451
Joined: Jan 2011
Reputation: 19
Post: #6
RE: Note/Diary Narration
Diaries don't have Use Narration because they automatically use narration. If you have a diary you NEED narration. I would recommend using a diary unless you want it to be a note for story reasons.

Escape
Alone
(Г°ω°)Г

07-12-2011 10:05 PM
Visit this user's website Find all posts by this user Quote this message in a reply
JoeBradleyUK Offline
Member

Posts: 115
Joined: Jul 2011
Reputation: 0
Post: #7
RE: Note/Diary Narration
(07-12-2011 10:05 PM)triadtimes Wrote:  Diaries don't have Use Narration because they automatically use narration. If you have a diary you NEED narration. I would recommend using a diary unless you want it to be a note for story reasons.

So you're saying that in the lang file I should keep it at Diary_ and then place a Diary in the entities and in the Diary text type NDiaryOne in the entities tab?

Plus, is the actual voice file (.ogg) correctly used in my .lang?

:Work In Progress:
Insanity
(This post was last modified: 07-12-2011 10:26 PM by JoeBradleyUK.)
07-12-2011 10:24 PM
Find all posts by this user Quote this message in a reply
triadtimes Offline
Senior Member

Posts: 451
Joined: Jan 2011
Reputation: 19
Post: #8
RE: Note/Diary Narration
Yes, sounds good. If you're unsure what to do, however, then the best way I can explain would be this: http://www.youtube.com/watch?v=EnCAbgTY6d8

Escape
Alone
(Г°ω°)Г

07-12-2011 10:35 PM
Visit this user's website Find all posts by this user Quote this message in a reply
JoeBradleyUK Offline
Member

Posts: 115
Joined: Jul 2011
Reputation: 0
Post: #9
RE: Note/Diary Narration
(07-12-2011 10:35 PM)triadtimes Wrote:  Yes, sounds good. If you're unsure what to do, however, then the best way I can explain would be this: http://www.youtube.com/watch?v=EnCAbgTY6d8

Ok I'll check that video out and modify my Lang and map accordingly to what it says, I can't do it right now though as I'm on my iPod now, I've come off my laptop, if problems still persist, I will post on here again. Thanks again.
I looked the video, so basically if I wanted to do my own Narration I (not Daniel's) guess I would do the exact same except with my .ogg files? I will name them similar to like you have e.g Diary_L01_NoteToSelf.ogg

:Work In Progress:
Insanity
(This post was last modified: 07-12-2011 10:58 PM by JoeBradleyUK.)
07-12-2011 10:46 PM
Find all posts by this user Quote this message in a reply
triadtimes Offline
Senior Member

Posts: 451
Joined: Jan 2011
Reputation: 19
Post: #10
RE: Note/Diary Narration
Yeah, put them in the same place and name them whatever you want as long as you keep the name the same in the .lang file.

Escape
Alone
(Г°ω°)Г

07-12-2011 11:01 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)