Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved Custom Music
Author Message
Tripication Offline
Member

Posts: 172
Joined: Dec 2011
Reputation: 6
Post: #1
Custom Music
Hey, I was wondering if it is at all possible to have custom music in a mod, without turning it into a full conversion.

[Image: speedart__2___yoshimitsu_by_kamofudge-d4yo6kk.png]
(This post was last modified: 12-29-2011 01:27 PM by Tripication.)
12-29-2011 06:12 AM
Find all posts by this user Quote this message in a reply
Your Computer Offline
SCAN ME!

Posts: 3,235
Joined: Jul 2011
Reputation: 215
Post: #2
RE: Custom Music
Yes, it is. The game normally resolves file paths automatically.

Tutorials: From Noob to Pro
12-29-2011 06:32 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Tripication Offline
Member

Posts: 172
Joined: Dec 2011
Reputation: 6
Post: #3
RE: Custom Music
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?

[Image: speedart__2___yoshimitsu_by_kamofudge-d4yo6kk.png]
12-29-2011 06:43 AM
Find all posts by this user Quote this message in a reply
flamez3 Offline
Posting Freak

Posts: 1,320
Joined: Apr 2011
Reputation: 57
Post: #4
RE: Custom Music
(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.

12-29-2011 06:55 AM
Find all posts by this user Quote this message in a reply
Statyk Offline
Modmau5

Posts: 3,600
Joined: Sep 2011
Reputation: 198
Post: #5
RE: Custom Music
(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?

12-29-2011 06:58 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Tripication Offline
Member

Posts: 172
Joined: Dec 2011
Reputation: 6
Post: #6
RE: Custom Music
Actually, i changed my mind. I kind of meed it to be played at a phonograph, so ill use sound...if its simple enough

[Image: speedart__2___yoshimitsu_by_kamofudge-d4yo6kk.png]
(This post was last modified: 12-29-2011 07:25 AM by Tripication.)
12-29-2011 07:23 AM
Find all posts by this user Quote this message in a reply
flamez3 Offline
Posting Freak

Posts: 1,320
Joined: Apr 2011
Reputation: 57
Post: #7
RE: Custom Music
(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.

(This post was last modified: 12-29-2011 09:34 AM by flamez3.)
12-29-2011 09:34 AM
Find all posts by this user Quote this message in a reply
Tripication Offline
Member

Posts: 172
Joined: Dec 2011
Reputation: 6
Post: #8
RE: Custom Music
Thanks for that, worked perfectly Big Grin

[Image: speedart__2___yoshimitsu_by_kamofudge-d4yo6kk.png]
12-29-2011 01:17 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)