Frictional Games Forum (read-only)

Full Version: Diary is apparently troublemaking
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
i'm sorry if i shouldn't make another thread about this, but i've been reading different threads and tried different things but my diary keeps going directly into my pocket without showing up...

diary inside .lang file
Spoiler below!


<Entry Name="Diary_diary_adam_1_Name1">Adam's diary</Entry>
<Entry Name="Diary_diary_adam_1_Text">
[voice adam_1_page1.ogg][br]

5th of august, 1835.
[br]
[br]
Today Justine invited me to the library. She seemed happy and excited. I was just as happy.
I'm glad she wants to see me again. We haven't done anything for months.
Even though we aren't officially "together", I feel that there is something between us.
Anyway she showed me my room where i am right now. It's dark outside, even though it is summer.
I can't wait to see what tomorrow will bring. I should get some sleep.

[br][voice adam_1_page2.ogg][br]

6th of august, 1835.
[br]
[br]
Today Justine came into my room quite early. She says she wants me to further into the library.
She seems quite excited about something she wants to show me. I wonder what it is.
I didn't even know the library what that big. She told me to dress up. Then she pulled a lever next to the bed.
It sounded like something moved at the entrance of the library. She told me to wait here, until she had done something.
She's calling now.
</Entry>


.ogg files and placement

Spoiler below!

[Image: 2i0u4cz.png]


Diary in editor
Spoiler below!

[Image: vo3p07.png]



When i go into "Diaries" ingame i see the name of the diary "Adam's diary", but not the text inside of it...
Can anybody help me out here? Smile
Make sure you have the "OpenNoteInJournal" box checked in the level editor
No you are misunderstanding. I am using the diary entity.
diary_paper01.ent

And when i pick it up, it sounds like it is opening and closing at the same time, as if my sound file was empty. But it isn't...
This happened to me before, I dont remember howto fix it though xD, I think it had to to something witch the lang file.

EDIT:

I think i remember, put a [br] between <Entry Name="Diary_diary_adam_1_Text"> and[voice adam_1_page1.ogg][br] like this:


<Entry Name="Diary_diary_adam_1_Text">[br][voice adam_1_page1.ogg][br]
Nope sorry... It still opens and closes with no text inside the diary
Arent you supposed to put in [next_page]

|
|
\/

Spoiler below!

Adam's diary

[voice adam_1_page1.ogg][br]

5th of august, 1835.
[br]
[br]
Today Justine invited me to the library. She seemed happy and excited. I was just as happy.
I'm glad she wants to see me again. We haven't done anything for months.
Even though we aren't officially "together", I feel that there is something between us.
Anyway she showed me my room where i am right now. It's dark outside, even though it is summer.
I can't wait to see what tomorrow will bring. I should get some sleep.

[next_page]
[br][voice adam_1_page2.ogg][br]

6th of august, 1835.
[br]
[br]
Today Justine came into my room quite early. She says she wants me to further into the library.
She seems quite excited about something she wants to show me. I wonder what it is.
I didn't even know the library what that big. She told me to dress up. Then she pulled a lever next to the bed.
It sounded like something moved at the entrance of the library. She told me to wait here, until she had done something.
She's calling now.



No that is only for notes.
Is it, cause i used it in my diary and it worked, in TDD it is used too...
No it still didn't work... Where did you put your sound files?
Mine isn't a FC so I made a folder called "CS_lang" and put the sound files in there. I think that is the problem.
Pages: 1 2