Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom Music
Tripication Offline
Member

Posts: 172
Threads: 19
Joined: Dec 2011
Reputation: 6
#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
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#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
Website Find
Tripication Offline
Member

Posts: 172
Threads: 19
Joined: Dec 2011
Reputation: 6
#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
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#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
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#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
Find
Tripication Offline
Member

Posts: 172
Threads: 19
Joined: Dec 2011
Reputation: 6
#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
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#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
Tripication Offline
Member

Posts: 172
Threads: 19
Joined: Dec 2011
Reputation: 6
#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




Users browsing this thread: 1 Guest(s)