[Radiant Editor]Music Files

[Radiant Editor]Music Files

Re: [Radiant Editor]Music Files Posted by MadMan on Thu Apr 29th 2004 at 12:49pm
MadMan
47 posts
Posted 2004-04-29 12:49pm
MadMan
member
47 posts 54 snarkmarks Registered: Apr 29th 2004 Location: Land of Tulips
I know that i need to go to worldspawn and enter key: music but what can are can be in value? :wtf:
Re: [Radiant Editor]Music Files Posted by KoRnFlakes on Thu Apr 29th 2004 at 12:52pm
KoRnFlakes
1125 posts
Posted 2004-04-29 12:52pm
1125 posts 511 snarkmarks Registered: Jul 3rd 2002 Occupation: Yus! Location: Norfolk
probably one of the values from a .csv - check your pak files in a soundaliases folder there should be several .csv's each have scripted sounds in. basically csv's can define what sound to use, how loud looping pitch etc etc, you probably need to refer to the name right at the start of the line of one of them.
Re: [Radiant Editor]Music Files Posted by MadMan on Thu Apr 29th 2004 at 1:03pm
MadMan
47 posts
Posted 2004-04-29 1:03pm
MadMan
member
47 posts 54 snarkmarks Registered: Apr 29th 2004 Location: Land of Tulips
yes, the mp soundfiles are in pak3/sound/.. :king:

maybe i know, lets try..
Re: [Radiant Editor]Music Files Posted by MadMan on Thu Apr 29th 2004 at 1:39pm
MadMan
47 posts
Posted 2004-04-29 1:39pm
MadMan
member
47 posts 54 snarkmarks Registered: Apr 29th 2004 Location: Land of Tulips
I hoped that it would work, alll hope is gone now :crash: ..
Re: [Radiant Editor]Music Files Posted by ReNo on Thu Apr 29th 2004 at 2:19pm
ReNo
5457 posts
Posted 2004-04-29 2:19pm
ReNo
member
5457 posts 1991 snarkmarks Registered: Aug 22nd 2001 Occupation: Level Designer Location: Scotland
I think you did something different to what Korn suggested. It seems CoD works with having sound files (which is where you looked in the pak file), which are referenced by things called sound aliases. These set the volume, pitch, looping, and so on, as Korn said. You have to reference THESE in the world spawn rather than the sound files directly it would appear.

But I'm just reiterating Korn's suggestion, I've never even played CoD let alone look in its pak file so I haven't a clue :biggrin: If it turns out to be right, mark up Korn's answer as correct.
Re: [Radiant Editor]Music Files Posted by KoRnFlakes on Thu Apr 29th 2004 at 3:13pm
KoRnFlakes
1125 posts
Posted 2004-04-29 3:13pm
1125 posts 511 snarkmarks Registered: Jul 3rd 2002 Occupation: Yus! Location: Norfolk
hehe, yeah thats what I meant.

check pak1.pk3 - soundaliases/iw_music.csv
the 1st scripted soundalias is airfield_escape - try referring to one of those names.
Re: [Radiant Editor]Music Files Posted by MadMan on Thu Apr 29th 2004 at 3:27pm
MadMan
47 posts
Posted 2004-04-29 3:27pm
MadMan
member
47 posts 54 snarkmarks Registered: Apr 29th 2004 Location: Land of Tulips
the normal musicfiles used in mp are in pak3 , dont think i need to adjust the .csv files.., or..?

i guess that the only thing i need to do is entering a music file within the map file itself..

i really need help what this :confused:
Re: [Radiant Editor]Music Files Posted by KoRnFlakes on Thu Apr 29th 2004 at 3:32pm
KoRnFlakes
1125 posts
Posted 2004-04-29 3:32pm
1125 posts 511 snarkmarks Registered: Jul 3rd 2002 Occupation: Yus! Location: Norfolk
basically the csv defines a name & then how the sound works. all you need is the name, try adding the name e.g airfield_escape to your worldspawn. or just add ambientPlay("airfield_escape"); to your gsc.
Re: [Radiant Editor]Music Files Posted by MadMan on Fri Apr 30th 2004 at 7:25am
MadMan
47 posts
Posted 2004-04-30 7:25am
MadMan
member
47 posts 54 snarkmarks Registered: Apr 29th 2004 Location: Land of Tulips
KoRnFlakes said:
basically the csv defines a name & then how the sound works. all you need is the name, try adding the name e.g airfield_escape to your worldspawn. or just add ambientPlay("airfield_escape"); to your gsc.
GOT IT!!!!!!! :beerchug:

i added this to my gsc file '' ambientPlay("ambient_mp_powcamp"); ''

now the best part IT WORKS!!
Re: [Radiant Editor]Music Files Posted by KoRnFlakes on Fri Apr 30th 2004 at 7:28am
KoRnFlakes
1125 posts
Posted 2004-04-30 7:28am
1125 posts 511 snarkmarks Registered: Jul 3rd 2002 Occupation: Yus! Location: Norfolk
bleh :/ where are my snarkmarks
Re: [Radiant Editor]Music Files Posted by Kage_Prototype on Fri Apr 30th 2004 at 8:26am
Kage_Prototype
1248 posts
Posted 2004-04-30 8:26am
1248 posts 165 snarkmarks Registered: Dec 10th 2003 Occupation: Student Location: Manchester UK
You know, usually you'd mark the person who suggested the answer correct, not yourself. :razz:
Re: [Radiant Editor]Music Files Posted by MadMan on Fri Apr 30th 2004 at 5:45pm
MadMan
47 posts
Posted 2004-04-30 5:45pm
MadMan
member
47 posts 54 snarkmarks Registered: Apr 29th 2004 Location: Land of Tulips
Kage_Prototype said:
You know, usually you'd mark the person who suggested the answer correct, not yourself. :razz:
:chainsaw:

Look at his answer .., its correct! :lol: