Frictional Games Forum (read-only)
Adding Voice to Note - 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: Adding Voice to Note (/thread-12997.html)



Adding Voice to Note - wretic91 - 01-31-2012

Hi,

Anyone can link a script.. so the sounds will play it when i click on my Note?. i already got the .ogg ready.
i only need a good proper script so i can insert it and try it out! i dont mind if its an example.. but i really cant find a good YouTube video were there showing it properly. (maybe im wrong).

Would be cool!

Wretic.


RE: Adding Voice to Note - SilentStriker - 01-31-2012

(01-31-2012, 07:15 PM)wretic91 Wrote: Hi,

Anyone can link a script.. so the sounds will play it when i click on my Note?. i already got the .ogg ready.
i only need a good proper script so i can insert it and try it out! i dont mind if its an example.. but i really cant find a good YouTube video were there showing it properly. (maybe im wrong).

Would be cool!

Wretic.
That's better Wink You have to use a diary to use voices here's 2 tutorial one about diary and one about diary vs notes Smile

http://www.youtube.com/watch?v=EnCAbgTY6d8


http://www.youtube.com/watch?v=qoK3C4OfcnI&feature=plcp&context=C3238f10UDOEgsToPDskJA3r_QuJfNi7HWI6rqqk4V



RE: Adding Voice to Note - wretic91 - 01-31-2012

ok so i got this.. in my extra_english.lang

<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description"> A young adult searching for his missing dad ENJOY!!</Entry>
</CATEGORY>

<CATEGORY Name="Journal">
<Entry Name="Diary_Son1_Name1">Son1</Entry>
<Entry Name="Diary_Son1_Text1">
[voice Dear_Son.ogg]

Dear Son,[br]
If you are reading this YOU have to hurry![br]
[br]That means you already missed the ghosthunt in the forrest and we have already entered the famous castle![br]
[br]Son make haste! so you wont miss everything![br] [br]Dad.[br] [br]PS[br]
[br]i forgot to mention bring the lantern with you! its really dark here.[br]</Entry>


</CATEGORY>

</LANGUAGE>


something is not right.. first of all i changed the entity of the note to a diary. now when i go in-game instead of you are actually seeing the note and hear a voice talking. it simply puts it in his diary's folder. But i can see whats inside the note (the text).. anyone knows the problem?



RE: Adding Voice to Note - Your Computer - 01-31-2012

(01-31-2012, 07:24 PM)wretic91 Wrote: something is not right.. first of all i changed the entity of the note to a diary. now when i go in-game instead of you are actually seeing the note and hear a voice talking. it simply puts it in his diary's folder. But i can see whats inside the note (the text).. anyone knows the problem?

Either .map_cache conflict or the game can't find the audio file or the audio file is blank or a br tag is required after every voice tag.


RE: Adding Voice to Note - wretic91 - 01-31-2012

(01-31-2012, 08:35 PM)Your Computer Wrote:
(01-31-2012, 07:24 PM)wretic91 Wrote: something is not right.. first of all i changed the entity of the note to a diary. now when i go in-game instead of you are actually seeing the note and hear a voice talking. it simply puts it in his diary's folder. But i can see whats inside the note (the text).. anyone knows the problem?

Either .map_cache conflict or the game can't find the audio file or the audio file is blank or a br tag is required after every voice tag.
thanks for helping.. any idea where i can find this .map_cache ? its possible to delete right ?




RE: Adding Voice to Note - Your Computer - 01-31-2012

(01-31-2012, 09:26 PM)wretic91 Wrote: thanks for helping.. any idea where i can find this .map_cache ? its possible to delete right ?

Wherever your map is.


RE: Adding Voice to Note - flamez3 - 02-01-2012

(01-31-2012, 09:26 PM)wretic91 Wrote: its possible to delete right ?
Yes