Frictional Games Forum (read-only)

Full Version: Narration won't work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
Convert to diary.
(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?


Use the diary_paper01 entity instead of the note_generic entity.
(03-22-2012, 12:22 PM)Obliviator27 Wrote: [ -> ]Use the diary_paper01 entity instead of the note_generic entity.
Tried that, didn't work.
(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.
But how come it doesn't work with notes? I know that diaries need narrations to work.


Edit: Solved it, thanks for the help.