Frictional Games Forum (read-only)
Custom Music - 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 Music (/thread-12164.html)



Custom Music - Tripication - 12-29-2011

Hey, I was wondering if it is at all possible to have custom music in a mod, without turning it into a full conversion.


RE: Custom Music - Your Computer - 12-29-2011

Yes, it is. The game normally resolves file paths automatically.


RE: Custom Music - Tripication - 12-29-2011

So all i would have to do is put the music into the /custom_stories/"customstoryname"/... Folder, and it would recognize the file in the code as in that path?


RE: Custom Music - flamez3 - 12-29-2011

(12-29-2011, 06:43 AM)Tripication Wrote: So all i would have to do is put the music into the /custom_stories/"customstoryname"/... Folder, and it would recognize the file in the code as in that path?
Yes, I would put it in it's own folder named music or sounds. You would have to convert it to .ogg format as well as have the right script for the sound to played. Music doesn't require this script if I remember correctly.


RE: Custom Music - Statyk - 12-29-2011

(12-29-2011, 06:55 AM)flamez3 Wrote: Music doesn't require this script if I remember correctly.
Only if you don't want it to be played...

Question. Is it MUSIC? Or a SOUND?


RE: Custom Music - Tripication - 12-29-2011

Actually, i changed my mind. I kind of meed it to be played at a phonograph, so ill use sound...if its simple enough


RE: Custom Music - flamez3 - 12-29-2011

(12-29-2011, 07:23 AM)Tripication Wrote: Actually, i changed my mind. I kind of meed it to be played at a phonograph, so ill use sound...if its simple enough
Make a text document. Copy the EXACT name of the sound and paste it as the name of the text document. Change the extension of the text document to a .snt Now insert this text into the document:



<SOUNDENTITY>
<SOUNDS>
<Main>
<Sound File="SOUND.ogg" />
</Main>
</SOUNDS>
<PROPERTIES Volume="1" MinDistance="12" MaxDistance="50" Random="1" Interval="0" FadeEnd="False" FadeStart="False" Stream="False" Loop="False" Use3D="True" Blockable="False" BlockVolumeMul="0.7" Priority="0" />
</SOUNDENTITY>

The bold part means the exact same name as the sound with the .ogg extension goes there. You should be find after that.


RE: Custom Music - Tripication - 12-29-2011

Thanks for that, worked perfectly Big Grin