Custom sound malfunctioning - 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: Custom sound malfunctioning (/thread-14522.html) Pages:
1
2
|
Custom sound malfunctioning - Damascus - 04-06-2012 I'm trying to put a sound inside my grandfather clock that plays my custom sound "ticktock.ogg" Here is the .snt file: <SOUNDENTITY> <SOUNDS> <Main> <Sound File="ticktock.ogg" /> </Main> </SOUNDS> <PROPERTIES Volume="1" MinDistance="1" MaxDistance="50" Random="0" Interval="0" FadeEnd="False" FadeStart="False" Stream="False" Loop="True" Use3D="True" Blockable="True" BlockVolumeMul="0.7" Priority="5" /> </SOUNDENTITY> The sound plays, but only when I'm standing so close that I'm basically touching the clock. Then when I step away from it, it immediately stops. RE: Custom sound malfunctioning - Zaari - 04-06-2012 Try changing Blockable to false. If the sound is literally being played inside the clock, the clock itself could be blocking it or something. If that doesn't work, then try setting Priority to 0. RE: Custom sound malfunctioning - Damascus - 04-06-2012 Tried changing both things, but it's still behaving the same. RE: Custom sound malfunctioning - Zaari - 04-06-2012 Hmm, are you using a HPL script to play the sound or are you playing it in the editor? If you're using a script, then post it here so we can see it. If you're using the editor, then try moving the sound around and see what happens. RE: Custom sound malfunctioning - Damascus - 04-06-2012 I'm using it in the Level Editor. It plays wherever I move it to, but still only within that extremely tiny radius. RE: Custom sound malfunctioning - Zaari - 04-06-2012 (04-06-2012, 05:30 AM)Damascus Wrote: I'm using it in the Level Editor. It plays wherever I move it to, but still only within that extremely tiny radius.Try using a different .ogg sound in the .snt file and see if the problem still happens. RE: Custom sound malfunctioning - Damascus - 04-06-2012 It wouldn't let me change the .ogg. Even after I deleted the sound in the Level Editor, saved the .snt with the new .ogg and reloaded it, it still played the original ogg. Only after I saved an entirely new .snt did it take the changes, and now it plays beyond the radius. RE: Custom sound malfunctioning - Zaari - 04-06-2012 (04-06-2012, 05:39 AM)Damascus Wrote: It wouldn't let me change the .ogg. Even after I deleted the sound in the Level Editor, saved the .snt with the new .ogg and reloaded it, it still played the original ogg.Now try lowering the MaxDistance in the new .snt file to somewhere around 10. If it still doesn't work then I have no clue how to fix it. RE: Custom sound malfunctioning - Damascus - 04-06-2012 It works once I save it to yet another .snt file. However, it's not coming from a specific location like I thought it would if I ticked "true" for Use3D. Should it be false instead? RE: Custom sound malfunctioning - palistov - 04-06-2012 If you want to use 3D for sound, make sure the track is Mono, not Stereo. |