Hello all,
I was just wondering on how to import my own music into my map.
The music of which I am trying to upload is in .MP3 format and i want to import it into "ambient_generic"
Thanks.
1
Re: import music
Posted by v1be on Fri Jun 22nd at 9:37pm 2007
Posted by v1be on Fri Jun 22nd at 9:37pm 2007
v1be
member
9 posts
11 snarkmarks
Registered: Mar 15th 2007
Location: Canada
Occupation: pro gamer =)
member
9 posts
11 snarkmarks
Registered: Mar 15th 2007
Location: Canada

Occupation: pro gamer =)
Re: import music
Posted by Riven on Sat Jun 23rd at 3:09am 2007

Riven
super admin
1639 posts
802 snarkmarks
Registered: May 2nd 2005
Location: Austin, Texas, USA
Occupation: Architect
Posted by Riven on Sat Jun 23rd at 3:09am 2007
This is actually pretty easy to do.
There are just a few things you need to remember:
- It must be placed within the C:Program FilesSteamsteamapps<your username>half-life 2hl2sound folder or within a sub-folder of that folder.
(NOTE: it can be in any Source game sound folder; that's just Half-Life 2's directory) - When browsing for it under the "Sound Name" keyvalue under an ambient_generic, you must type out the file path leading to the file starting from the sound folder within the sound name text box under the sound resource browser. For example: If I have a sound named thunder_loop.wav and it is directly under the sound folder under the hl2 folder, I would have to type in the sound name text box: "thunder_loop.wav" without the quotes of course. Hammer already knows that it should be in the sound folder, but you just tell it what sound to look for. You must add the tag at the end; otherwise it will refuse to play, so if it's an .mp3 you should type: music.mp3 as part of the sound name.
(NOTE: If you try to search for it through the sound resource browser's filter, it normally will not show up unless you have restarted Steam, Hammer, or the SDK after placing the sound file within the sound folder. Even then, the sound may not show up or even play when you click on it, but it should play however when tested in-game.) - Check out Orpheus's tutorial which basically says that you can have: MP3 @22050 and mono. Wave @11025 and 8 bits. Wave @22050 and 8 bits. Wave @44100 and 16 bit. as well as .mp3's. But be aware, that .mp3's will NOT loop automatically, you would have to manually make a logic_timer set to tell the sound to play (again) after the allotted time of seconds the sound actually lasts, once the sound is finished, the logic_timer will fire its output and the sound should play again as if it were looped.
-And that's all you really need to keep track of! Also, you can use these sounds with any entity that has a "sound name" keyvalue or a "start sound" keyvalue or anything with the word "sound" in it!
Riven
super admin
1639 posts
802 snarkmarks
Registered: May 2nd 2005
Location: Austin, Texas, USA

Occupation: Architect
Re: import music
Posted by v1be on Sat Jun 23rd at 5:51am 2007
Posted by v1be on Sat Jun 23rd at 5:51am 2007
Thanks, also how do I make teleports work properly?
because so far i have done this:
Made my "trigger_teleport" and named it "Portal1", then I made my "info_target" and named it as "portal1dest". I then went back to my "trigger_teleport" and went to "Remote Destination: portal1dest"
Is this correct?
or instead of using "Remote Destination" should i use "Local Destination Landmark" instead?
Thanks.
because so far i have done this:
Made my "trigger_teleport" and named it "Portal1", then I made my "info_target" and named it as "portal1dest". I then went back to my "trigger_teleport" and went to "Remote Destination: portal1dest"
Is this correct?
or instead of using "Remote Destination" should i use "Local Destination Landmark" instead?
Thanks.
v1be
member
9 posts
11 snarkmarks
Registered: Mar 15th 2007
Location: Canada
Occupation: pro gamer =)
member
9 posts
11 snarkmarks
Registered: Mar 15th 2007
Location: Canada

Occupation: pro gamer =)
Re: import music
Posted by Riven on Sat Jun 23rd at 6:58am 2007

Riven
super admin
1639 posts
802 snarkmarks
Registered: May 2nd 2005
Location: Austin, Texas, USA
Occupation: Architect
Posted by Riven on Sat Jun 23rd at 6:58am 2007
You should probably ask that in a separate thread so that people searching for a similar problem may find it through their search keywords. And also, mark this thread as correct, if that's the info you needed; besides I'm always hungry for me lucky snarkmarks!
Riven
super admin
1639 posts
802 snarkmarks
Registered: May 2nd 2005
Location: Austin, Texas, USA

Occupation: Architect
1
© Snarkpit.net 2001 - 2023, about us, donate, contact
Snarkpit v6.1.0 created this page in 0.0204 seconds.

Snarkpit v6.1.0 created this page in 0.0204 seconds.

