Feral Heart

Help & Guidance => Member Made Tutorials => Modding & Meshing Tutorials => Topic started by: GaaraRocks! on January 30, 2011, 12:16:55 am

Title: Adding Sound to Objects Tutorial 2 Ways *UPDATE*
Post by: GaaraRocks! on January 30, 2011, 12:16:55 am
I didnt know where to put this as i cant find any tutorial places. So this is for the people that need help with some things. I'll probably update it when i decide to make tutorials for other things as well. If its not in the right place sorry i just couldnt find anywhere else that i could put it.


Adding Sound to Objects the easier way.
Instead of the one below this ones alot easier. If you already have the mesh you want all textured ect. Or using one of the meshes already givin to you. you can add sound more easily to it with this code.

go to FeralHeart/media/objects
there you will see structures,grass,misc ect

lets say you wanted to add sound to a tree.

go to the tree folder and add the music file there. Take a good look at it and remember how its spelt and .mp3 or wav file.

now back out of the tree folder where you added your sound.

you should see a notepad file thats called MyTrees with OBJECT under it it light grey.

Open it up using notepad.

Scroll down to the bottom of notepad and paste this in there.

[FirTree+Birds]
sound=Birds.mp3
mesh0=firTree.mesh;0 0 0;1 1 1;1 0 0 0;
coll0=b;0 0 0;7 110 7;

you can add anything you want to name the mesh in the []  <-- brackets

example [Treewithsound] [tree+sound] ect it will be the name of the object

where it says sound=

thats the name of the audio file. Put there the name of the audio file you moved into the folder. anything will do as long as its the spelt the same as the audio file.

where it says mesh0=firTree.mesh;0 0 0;1 1 1;1 0 0 0;

The firTree has to be renamed to your mesh type.

Lets say you had a rock you would name it

mesh0=rock.mesh;0 0 0;1 1 1; 0 0 0;




Adding Sound to Objects in Object Maker

load up FeralHeart game.

Go on Object Maker.

When its loaded there you should be on Object tab (It will automatically put you on that tab first)

In the object tab look for group:

Click on the object you want the music or sound to be attached to. Any object you can use.
After you found the object you want press Load.

The mesh should now be placed on the terrain.

Under 'Load' and 'Delete' you should see 'Sound'

In that box type the name of the audio file and type of audio it is. for example lets say the sound file name was WolvesHowling.
You would name it WolvesHowling.wav

Depending on your file it can be wav,mp3 ect.

CAPS INCLUDED. You must spell it the exact way its named on the audio file.

Now press Enter

Now above Group click test.

If the sound comes on that means it worked.

IF IT WORKED THIS IS WHAT YOU NEED TO DO NEXT

Now at the top it will have the name of the mesh you chose the sound to be on. Rename it to whatever mesh type you used then you could either type withSound

Example:  (Just imagine i used a tree for the sound and my sound was WolvesHowling) i would rename mine to Tree+WolvesHowling

That way you know which mesh has sound and which dont. Also it tells you which sound file is on what mesh.

Renaming it will stop it from replacing the old mesh with the one with sound.

Once its saved you can then find it and place in your map.


Now even easier for people that cant read instructions well without getting stuck. With these pics it will be easier. Dont know why i didnt think of it sooner lol.

picture tutorial:


Step 1: Click on a object you want sound on. (where my arrow is)
(http://i610.photobucket.com/albums/tt183/TheDevilTwins/TreeTest1.jpg)


Step 2: Click on the Sound Bar. (where my Arrow is.)

(http://i610.photobucket.com/albums/tt183/TheDevilTwins/ArrowOnSound2.jpg)

Step 3: Type in the sound bar the name of your mp3 or wav file.

(http://i610.photobucket.com/albums/tt183/TheDevilTwins/WindOnTree3.jpg)

Step 4: Click on the Test Button (Where my arrow is)

(http://i610.photobucket.com/albums/tt183/TheDevilTwins/HitTest4.jpg)


Now the object should have sound.

Where it says name: enter your own personal name for the tree. then click save. You are now done.
Title: Re: Adding Sound to Objects Tutorial 2 Ways *UPDATE*
Post by: Tigg on January 31, 2011, 10:52:11 am
Thank you for making an extra Tut for this. *stickys*  ;)
Title: Re: Adding Sound to Objects Tutorial 2 Ways *UPDATE*
Post by: Redlinelies on January 31, 2011, 02:15:57 pm
*Moooofs eet*
Title: Re: Adding Sound to Objects Tutorial 2 Ways *UPDATE*
Post by: Avani on January 31, 2011, 02:33:36 pm
Thx for the tut!
:B
Title: Re: Adding Sound to Objects Tutorial 2 Ways *UPDATE*
Post by: GaaraRocks! on February 01, 2011, 11:03:15 pm
thanks guys.

Now i made it much easier to follow. I have added a picture tutorial with the rest so people can either choose to code the sound in, use object maker.

But whats best of all is a picture telling you what to click on hehe. This way people who cant follow instructions correctly will now have pics to help. Hopefully this made sense.
Title: Re: Adding Sound to Objects Tutorial 2 Ways *UPDATE*
Post by: Lionessesrule on February 15, 2011, 10:56:12 am
CRAP I TRIED TO DOWNLOAD THE BRAND NEW VERSION CAUSE MY COMPUTER SAID I HAD TO AND IT DOESNT SHOW UP AND THE THINGS THAT ARE SUPPOSED TO "HELP" DONT WORK PLZ HELP ME OUT HERE!!!!!!!!!!!!!!!!!
Title: Re: Adding Sound to Objects Tutorial 2 Ways *UPDATE*
Post by: Kittens on February 20, 2011, 12:28:00 am
Very helpful :D I just have a question though. Is it possible to add, say, a playlist of looping sounds to an object?
Title: Re: Adding Sound to Objects Tutorial 2 Ways *UPDATE*
Post by: GaaraRocks! on March 23, 2011, 04:38:36 pm
not that i know of. I have actually tested it but it wont go to the next song. if i do find out however i will update this thread
Title: Re: Adding Sound to Objects Tutorial 2 Ways *UPDATE*
Post by: Moonwolf678 on March 25, 2011, 09:12:51 pm
How do u add music to maps though?
Title: Re: Adding Sound to Objects Tutorial 2 Ways *UPDATE*
Post by: Redlinelies on March 25, 2011, 09:55:37 pm
There's no good way to do that yet.
Title: Re: Adding Sound to Objects Tutorial 2 Ways *UPDATE*
Post by: GaaraRocks! on April 01, 2011, 06:58:04 am
ok i've been testing around and XD finally figured out how to get your own music into FH. But the only problem is that i havent figured out how to get it to play custom music for 1 map. However i have managed to get FH to play my own music when roaming around bonfire island and the other maps. lol to my surprise it was pretty simple. Im getting much better at figuring out things to do with games. Once i figure out how to get it working for 1 map i'll post. I have my sis to give me a hand as 2 brains are better then 1. Well wish me luck at finding it out.
Title: Re: Adding Sound to Objects Tutorial 2 Ways *UPDATE*
Post by: ginbearhound on May 07, 2011, 05:47:01 am
Not to be off topic but I need help. I don't know where to make a post or download patches. I'm extremely absolutely sorry D":
Title: Re: Adding Sound to Objects Tutorial 2 Ways *UPDATE*
Post by: Stuey on May 28, 2011, 12:47:19 am
ER, what do i do if my music file turned into a rar when i put it in o3o

For example, im trying to add file- 01 The Time (Dirty Bit).rar onto my stereo mesh. It doesnt exactly work when i put it in. You know if i should maybe use winrar or something? o3o
Title: Re: Adding Sound to Objects Tutorial 2 Ways *UPDATE*
Post by: GaaraRocks! on May 28, 2011, 10:12:13 pm
.rar isnt a music file so most likely FH will fail to read it. It must be a sound file. So if the sound file is inside the rar you will have to take it out and place the music file in sounds. Then when you type the name of the sound file exactly how it is named Every spelling must be correct. Then after the name put the sound file type after it. like example .mp3 or .wav
Title: Re: Adding Sound to Objects Tutorial 2 Ways *UPDATE*
Post by: Stuey on May 29, 2011, 01:59:37 pm
.rar isnt a music file so most likely FH will fail to read it. It must be a sound file. So if the sound file is inside the rar you will have to take it out and place the music file in sounds. Then when you type the name of the sound file exactly how it is named Every spelling must be correct. Then after the name put the sound file type after it. like example .mp3 or .wav


Kk, i shall try this o3o

Thanks! ^v^
Title: Re: Adding Sound to Objects Tutorial 2 Ways *UPDATE*
Post by: dragonlovertori on May 30, 2011, 02:51:41 pm
*hugs* thank you
Title: Re: Adding Sound to Objects Tutorial 2 Ways *UPDATE*
Post by: 246bramble on June 05, 2011, 07:36:53 pm
ok not trying to get "off-topic" but i have been trying to get weather  from impressive title to my map, how do u do this? i looked on my weather thing in FH and i pressed some of the things i copyed but nothing happens can anyone help me with this problem?!? :-[
Title: Re: Adding Sound to Objects Tutorial 2 Ways *UPDATE*
Post by: Lawcere on June 16, 2011, 01:19:52 pm
Hi, I've added music to objects before, but with the new game version they won't work. Everything works in Map Maker, but when I try to download the exported files on another computer, the objects show up but not the music. What am I doing wrong?
Title: Re: Adding Sound to Objects Tutorial 2 Ways *UPDATE*
Post by: Bloodclaw10 on October 14, 2011, 12:59:45 pm
Hey nice!You..also know how to add music or sound in a map?I have no idea how i should do that..
Title: Re: Adding Sound to Objects Tutorial 2 Ways *UPDATE*
Post by: GaaraRocks! on December 18, 2011, 10:44:55 pm
Sorry for the late reply. I thought they took down this thread when everything was changed.

@Brambleheart: the weather files are particles not objects. You will have to go into Sky maker to make particles show up. However im not that good with getting particles to work just yet. Still testing them out myself.

@Lawcere: When the files are exported they still need the sound file. Because you arent adding the sound file onto the other pc the object doesnt have anything to read even though its coded too. So to get the sound to work on your other pc including others is to send the exported file with the sound you used in the object maker. People will need to place the sound file in C:\FeralHeart\media\sounds.

@Schascha: to add music into the map you'll have to do it alittle different then adding to objects.

Follow these instructions carefully.

Go to C:\FeralHeart
you will see the feralheart game icon. Dont click it though. Look for music.cfg and open it with any wordpad program. i use notepad that comes with windows xp.

Now once its open you should see something like:

[Title]
media/music/title.mp3
[Plains]
media/music/plains1.mp3
media/music/plains2.mp3
media/music/plains3.mp3
[Caves]
media/music/caves1.mp3
media/music/caves2.mp3


at the bottom under you will need to write in your map name so it should look like this now.make sure you add the [] in around the map name:

[Title]
media/music/title.mp3
[Plains]
media/music/plains1.mp3
media/music/plains2.mp3
media/music/plains3.mp3
[Caves]
media/music/caves1.mp3
media/music/caves2.mp3
[MAPNAME]


you will now need to write in the name and location and name of the music you want to play in your map.

[Title]
media/music/title.mp3
[Plains]
media/music/plains1.mp3
media/music/plains2.mp3
media/music/plains3.mp3
[Caves]
media/music/caves1.mp3
media/music/caves2.mp3
[MAPNAME]
media/music/SONGNAME.mp3



you can add as many songs as you want to the map. However when you export the map you must give people the music files including the coding of the songs that you have coded in the music.cfg. However we arent finished. After you have coded in the music in the music.cfg you will need to load up the game.

(http://i610.photobucket.com/albums/tt183/TheDevilTwins/AddingMusicToMap-1.png)

You see where i circled in red the Music (Group or Filename)

you need to write in the name of the MapName you used for the coding inside the music.cfg
however leave out the []
They arent needed only the MapName. Save and then your done. whenever you test the map you should hear your music play. Dont forget to turn on your music in the options menu otherwise you wont hear it.
Title: Re: Adding Sound to Objects Tutorial 2 Ways *UPDATE*
Post by: animals_rock on July 15, 2012, 07:57:32 am
Thanks for posting this 8D it helped a bunch :3
Title: Re: Adding Sound to Objects Tutorial 2 Ways *UPDATE*
Post by: GaaraRocks! on October 05, 2012, 11:50:26 pm
Thanks for posting this 8D it helped a bunch :3

No problem, glad i could be of help