Sound Entity Doesn'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: Sound Entity Doesn't work (/thread-19612.html) |
Sound Entity Doesn't work - batass - 12-20-2012 Hello, I copy the sound "ambience_haunting.ogg" and "ambience_haunting.snt" from Amnesia.app/Contents/Resources/sounds/ambiance and paste it in Amnesia.app/Contents/Resources/custom_stories/mymap/sounds. In HPL Level Editor, I use the "sounds (5)" tool and put this sound in my map, right in the place where I appear in the game. When I select it, I can see that his name is "Sound_1", it's active, there is nothing written in the "Sound Entity File" square, "Use Default" is checked, Distance is min=1/max=5 and volume=1. Here is the .sng file I use: <SOUNDENTITY> <SOUNDS> <Main> <Sound File="ambience_haunting" /> </Main> </SOUNDS> <PROPERTIES Volume="0.5" MinDistance="0" MaxDistance="0" Random="1" Interval="0" FadeEnd="False" FadeStart="False" Stream="True" Loop="True" Use3D="False" Blockable="False" BlockVolumeMul="0.5" Priority="0" /> </SOUNDENTITY> The problem is: When I Play my Custom Story, I can hear my footsteps, my heartbeat when there's no lightning, etc..., but I can't hear my sound. Do I forget something? Thank You and sorry for my english. RE: Sound Entity Doesn't work - The chaser - 12-20-2012 (12-20-2012, 07:01 PM)batass Wrote: Hello, Yes, you forgot to do something: <SOUNDENTITY> <SOUNDS> <Main> <Sound File="ambience_haunting.ogg" /> </Main> </SOUNDS> <PROPERTIES Volume="0.5" MinDistance="0" MaxDistance="0" Random="1" Interval="0" FadeEnd="False" FadeStart="False" Stream="True" Loop="True" Use3D="False" Blockable="False" BlockVolumeMul="0.5" Priority="0" /> </SOUNDENTITY> And, is .snt, not sng RE: Sound Entity Doesn't work - batass - 12-20-2012 Thank you for your response. I changed the .snt file. It's now: <SOUNDENTITY> <SOUNDS> <Main> <Sound File="ambience_haunting.ogg" /> </Main> </SOUNDS> <PROPERTIES Volume="0.5" MinDistance="0" MaxDistance="0" Random="1" Interval="0" FadeEnd="False" FadeStart="False" Stream="True" Loop="True" Use3D="False" Blockable="False" BlockVolumeMul="0.5" Priority="0" /> </SOUNDENTITY> But unfortunately, there is still the same issue. I can't here the sound. Is there anything I forget? Thanks. RE: Sound Entity Doesn't work - FlawlessHappiness - 12-21-2012 (12-20-2012, 07:01 PM)batass Wrote: there is nothing written in the "Sound Entity File" square I'm pretty sure that if you want a sound, then there should be something in the "Sound Entity File" RE: Sound Entity Doesn't work - The chaser - 12-21-2012 Code: <SOUNDENTITY> Try this one. Fresh from the =sounds]wiki RE: Sound Entity Doesn't work - FlawlessHappiness - 12-21-2012 (12-21-2012, 11:01 AM)The chaser Wrote: Fixed ^ You had some color codes in there RE: Sound Entity Doesn't work - The chaser - 12-21-2012 What? That's just from the wiki and worked perfectly for me 0_0 Ok, it's: Code: <SOUNDENTITY> RE: Sound Entity Doesn't work - batass - 12-21-2012 It still doesn't work. With the "sounds tool (5)" I select the sound I want by clicking on the grey square next to "sound file". Then the name of the sound is written in the white square. After that, I place the sound where I want in the map and as soon as I click and place it, if I look at the tab "Sound", I can see that the white square of "Sound Entity File" is blank. And if I click on the grey square (...) next to it, re-select the sound and click on "load" the white square remains blank. Is it normal? Thanks. PS: The issue is the same if I don't choose a custom sound. Even with the sounds taken directly from the "sounds" folder of Amnesia's Resources. RE: Sound Entity Doesn't work - Daemian - 12-31-2012 i had a problem like this with a sound problem was it had the same name, so mine was ignored, the original ran instead so i changed its name. file name, reference inside the .snt, etc. and it worked |