MP Sound

Have questions about CoD/UO mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

creator
CJ Worshipper
CJ Worshipper
Posts: 492
Joined: July 6th, 2006, 11:37 pm
Location: The Netherlands
Contact:

MP Sound

Post by creator » July 26th, 2006, 1:21 am

how do i add music to my map?
what i need to make in my radiant

i got the script i know how to modifie it
i know where my sound need to be
but what i got to place in the radiant?

trig_multiple

targetname
key: soundname ?
Cod 1 Mapper&Modder&Moddeler

creator
CJ Worshipper
CJ Worshipper
Posts: 492
Joined: July 6th, 2006, 11:37 pm
Location: The Netherlands
Contact:

Post by creator » July 26th, 2006, 2:43 am

C_Jumps almost done
BSB size: 3,328 KB at the moment
PK3 Size: 1,355 KB
no sound yet..
i think its going to be release it soon.
still need to add music to finish room hope some 1 can help.
Cod 1 Mapper&Modder&Moddeler

User avatar
red_gee
CJ Worshipper
CJ Worshipper
Posts: 203
Joined: May 18th, 2006, 11:57 pm
Location: Outerhaven, Zanzibar Land
Contact:

Post by red_gee » July 26th, 2006, 4:19 am

Image

creator
CJ Worshipper
CJ Worshipper
Posts: 492
Joined: July 6th, 2006, 11:37 pm
Location: The Netherlands
Contact:

Post by creator » July 26th, 2006, 1:18 pm

k looking...
Cod 1 Mapper&Modder&Moddeler

creator
CJ Worshipper
CJ Worshipper
Posts: 492
Joined: July 6th, 2006, 11:37 pm
Location: The Netherlands
Contact:

Post by creator » July 26th, 2006, 1:25 pm

there is nothing on it that can help....
:(
i need to put my own sound in my map
not effect sounds.

and i want for CoD1
not UO
Cod 1 Mapper&Modder&Moddeler

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » July 26th, 2006, 3:09 pm

Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

User avatar
red_gee
CJ Worshipper
CJ Worshipper
Posts: 203
Joined: May 18th, 2006, 11:57 pm
Location: Outerhaven, Zanzibar Land
Contact:

Post by red_gee » July 26th, 2006, 4:12 pm

Sry, it said Cod at the top of the page, I figured if it was UO it would have been under the UO page

Luke
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 1774
Joined: May 31st, 2005, 12:42 am
Location: Cornwall, UK

Post by Luke » July 26th, 2006, 4:29 pm

same commands to play sounds in cod, uo or cod 2.

creator
CJ Worshipper
CJ Worshipper
Posts: 492
Joined: July 6th, 2006, 11:37 pm
Location: The Netherlands
Contact:

Post by creator » July 27th, 2006, 11:11 pm

wel..
i dont know what im doing wrong.
but im doing something wrong..
luke can u help me here?
can u make me a little script and tell me what to do in my radiant
or ofcourse drofder :roll:
Cod 1 Mapper&Modder&Moddeler

Luke
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 1774
Joined: May 31st, 2005, 12:42 am
Location: Cornwall, UK

Post by Luke » July 28th, 2006, 12:16 am

i dont know what im doing wrong
I don't know what you're doing to say what you're doing wrong, post your gsc, explain what you've done, and have you created the all important .CSV file?

creator
CJ Worshipper
CJ Worshipper
Posts: 492
Joined: July 6th, 2006, 11:37 pm
Location: The Netherlands
Contact:

Post by creator » July 28th, 2006, 1:13 pm

well..
actuly i only got .CSV file..
cause i dont know what to make in the game
and my gsc script don't work.
Cod 1 Mapper&Modder&Moddeler

creator
CJ Worshipper
CJ Worshipper
Posts: 492
Joined: July 6th, 2006, 11:37 pm
Location: The Netherlands
Contact:

Post by creator » July 28th, 2006, 6:11 pm

i try'd those stuff from modsonline
but it isnt working...
can just some 1 help me tell me here what to do?
and maybe post a good script that works
come on i want to finish C_jumps :?
Cod 1 Mapper&Modder&Moddeler

Luke
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 1774
Joined: May 31st, 2005, 12:42 am
Location: Cornwall, UK

Post by Luke » July 28th, 2006, 6:39 pm

This method plays the sound so that only the player that triggers it will hear it. The only mapping needed is to make a trigger:

Code: Select all

test()
{
trig = getent("trig","targetname");  //your trigger name
while (1)
{
trig waittill ("trigger",user); 
user playlocalsound("yoursound"); //replace yoursound with the alias name in your csv file
wait 5; //change wait time to the length of sound or longer
}
}
Make sure your sound file is in .wav format, and is mono (1 channel)

creator
CJ Worshipper
CJ Worshipper
Posts: 492
Joined: July 6th, 2006, 11:37 pm
Location: The Netherlands
Contact:

Post by creator » July 29th, 2006, 12:21 am

Luke wrote: Make sure your sound file is in .wav format, and is mono (1 channel)
and how i do that and look if its 1 channel m8?
o and i like ur avatar :)

and is this the good csv ?

Code: Select all

null,1,null.wav,,,,,,,,,,,,,


#Custom sound aliases,,,,,,,,,,,,,,,

c_sound,,misc/test.wav,1,1,,,600,600,auto,,,nonlooping,,,
in sounds/misc the sound = test.wav

so this be the proper code?

Code: Select all

test()
{
trig = getent("trig","sound_trig");  //your trigger name
while (1)
{
trig waittill ("trigger",user);
user playlocalsound("c_sound"); //replace yoursound with the alias name in your csv file
wait 5; //change wait time to the length of sound or longer
}
}
or this

Code: Select all

user playlocalsound("test")
thanks for helping me luke 8)
Cod 1 Mapper&Modder&Moddeler

Luke
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 1774
Joined: May 31st, 2005, 12:42 am
Location: Cornwall, UK

Post by Luke » July 29th, 2006, 12:41 am

and how i do that and look if its 1 channel m8?
Right click on the .wav file, go to properties and click the summary tab.

Not sure about your csv, it might be correct, but i've always used Microsoft excell to edit these files, and I don't know if the number of commas inbetween is important.
so this be the proper code?

Code:

Code: Select all

test()
{
trig = getent("trig","sound_trig");  //your trigger name
while (1)
{
trig waittill ("trigger",user);
user playlocalsound("c_sound"); //replace yoursound with the alias name in your csv file
wait 5; //change wait time to the length of sound or longer
}
}
or this

Code:

Code: Select all

user playlocalsound("test")
the word "test" i just used as the thread name, it has nothing to do with the name of the sound file, and not related to it.
In your csv your sound alias is "c_sound"
so your script should be

Code: Select all

user playlocalsound("c_sound")

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests