Amnesia not recognizing .ogg file!=SOLVED! - 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: Amnesia not recognizing .ogg file!=SOLVED! (/thread-25058.html) |
Amnesia not recognizing .ogg file!=SOLVED! - Wafflychicken - 04-12-2014 hey guys so I have been folliwing Mudbill's youtube videos which I gotta say are pretty awesome! But recently i've got myself into a pickle with adding narrated messages to my game. The problem is that I recorded a sound file with windows sound recorder and converted it to .ogg through the website he sent. the only problem is that when I click on the note to read it it just goes straight into my inventory without letting me read it, but I do know about the UseNarration tool on the level editor and i just dont know what to do. I saved the file as voice1.ogg and created a new folder called voices just like mudbill did, anyway if anyone could help me with this it would be much appreciated here is my .lang file <LANGUAGE> <CATEGORY Name="CustomStoryMain"> <Entry Name="Description"> hello how are you? </Entry> </CATEGORY> <CATEGORY Name="Messages"> <Entry Name="msgname">The door is locked</Entry> </CATEGORY> <CATEGORY Name="Inventory"> <Entry Name="ItemName_KeyDesc">A Key</Entry> <Entry Name="ItemDesc_KeyDesc">It's for unlocking a door.</Entry> </CATEGORY> <CATEGORY Name="Journal"> <Entry Name="Note_voice_Name">Strange Letter</Entry> <Entry Name="Note_voice_Text">[voice voice1.ogg] [br]Hello. [br][br][br] How are you on this fine day?</Entry> </CATEGORY> </LANGUAGE> and here is my .hps file incase you need it void OnStart() { SetLocalVarInt("DoorLocked", 1); AddUseItemCallback("","key_1","Locked_Door", "UseKeyOnDoor", true); SetEntityPlayerInteractCallback("Locked_Door", "DoorLockedPlayer", false); } void UseKeyOnDoor(string &in asItem, string &in asEntity) { SetSwingDoorLocked(asEntity, false, true); PlaySoundAtEntity("", "unlock_door.snt", asEntity, 0, false); RemoveItem(asItem); SetLocalVarInt("DoorLocked", 0); } void DoorLockedPlayer(string &in asEntity) { if(GetLocalVarInt("DoorLocked") == 1) { SetMessage("Messages", "msgname", 2); } } void OnEnter() { } void OnLeave() { } RE: Amnesia not recognizing .ogg file! - PutraenusAlivius - 04-12-2014 Code: <CATEGORY Name="Journal"> If this is a diary, then why is it NOTE_voice_Text? RE: Amnesia not recognizing .ogg file! - Wafflychicken - 04-12-2014 (04-12-2014, 03:54 PM)SomethingRidiculous Wrote: no I forgot to mention it was a note oops sorry RE: Amnesia not recognizing .ogg file! - PutraenusAlivius - 04-12-2014 (04-12-2014, 03:55 PM)Wafflychicken Wrote:(04-12-2014, 03:54 PM)SomethingRidiculous Wrote: You cannot make a note to have a narration (Well at least what I remembered), only DIARIES can have a narration. On Diaries, narration is necessary. RE: Amnesia not recognizing .ogg file!=SOLVED! - Wafflychicken - 04-12-2014 (04-12-2014, 03:55 PM)Wafflychicken Wrote:(04-12-2014, 03:54 PM)SomethingRidiculous Wrote: also when i click on the note with usenarration on the note just instantly goes to my journal so the .ogg file isnt being recognised you see (04-12-2014, 03:57 PM)SomethingRidiculous Wrote:(04-12-2014, 03:55 PM)Wafflychicken Wrote:(04-12-2014, 03:54 PM)SomethingRidiculous Wrote: are you sure because he does it in the video? RE: Amnesia not recognizing .ogg file! - WALP - 04-12-2014 Then use this video instead: https://www.youtube.com/watch?v=qoK3C4OfcnI RE: Amnesia not recognizing .ogg file! - Wafflychicken - 04-12-2014 (04-12-2014, 04:15 PM)The Mug Wrote: Then use this video instead: just watched it and within the first 10 seconds he tells me that voice over's are only supported for diaries ahh well i'll just change it now then thanks for all the help (04-12-2014, 04:15 PM)The Mug Wrote: Then use this video instead: btw would the category name in the .lang file still be journal? just wondering RE: Amnesia not recognizing .ogg file! - DnALANGE - 04-12-2014 Here is my example of one of my storĂ½s: <CATEGORY Name="Journal"> Code: <Entry Name="Diary_IntroStartText_Name1">Note from Rose</Entry> As you can see this is ONLY diary! |