Frictional Games Forum (read-only)
Narration won't work - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Narration won't work (/thread-14158.html)



Narration won't work - i3670 - 03-21-2012

Hello Forum!

I'm currently trying to narrate a note but it doesn't work.

Script and .lang :

Name: note_generic_1
CustomSubItemName: A1
NoteText: A1

Narration: checked
OpenNoteInJournal: checked

<LANGUAGE>
<CATEGORY Name="Journal">
<Entry Name="Note_A1_Name"> Random Title </Entry>
<Entry Name="Note_A1_Text">[br][voice note_test.ogg][br]Random rabbeling</Entry>
</CATEGORY>

Location of the sound file: redist/custom_stories/haunting/sounds/voices



Solved: If anyone else needs help with diary narration just click in the "Noob to pro"-link in Your Computers signature.



RE: Narration won't work - Your Computer - 03-22-2012

Convert to diary.


RE: Narration won't work - i3670 - 03-22-2012

(03-21-2012, 11:22 PM)i3670 Wrote: Hello Forum!

I'm currently trying to narrate a note but it doesn't work.

Script and .lang :

Name: note_generic_1
CustomSubItemName: A1
NoteText: A1

Narration: checked
OpenNoteInJournal: checked

<LANGUAGE>
<CATEGORY Name="Journal">
<Entry Name="Note_A1_Name"> Random Title </Entry>
<Entry Name="Note_A1_Text">[br][voice note_test.ogg][br]Random rabbeling</Entry>
</CATEGORY>

Location of the sound file: redist/custom_stories/haunting/sounds/voices
Convert the "Journal" or the "Note_A1_Text" or "Note_generic_1" or the sound file?





RE: Narration won't work - Obliviator27 - 03-22-2012

Use the diary_paper01 entity instead of the note_generic entity.



RE: Narration won't work - i3670 - 03-22-2012

(03-22-2012, 12:22 PM)Obliviator27 Wrote: Use the diary_paper01 entity instead of the note_generic entity.
Tried that, didn't work.



RE: Narration won't work - Your Computer - 03-22-2012

(03-22-2012, 12:36 PM)i3670 Wrote: Tried that, didn't work.

That's because simply changing the entity to a diary entity isn't enough. Diaries have their own entry syntax that differ from notes.


RE: Narration won't work - i3670 - 03-22-2012

But how come it doesn't work with notes? I know that diaries need narrations to work.


Edit: Solved it, thanks for the help.