Teleport won't play sound

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

Moderator: Core Staff

Post Reply
User avatar
<LT>YosemiteSam[NL]
Core Staff
Core Staff
Posts: 2155
Joined: December 7th, 2004, 2:07 am
Location: Netherlands
Contact:

Teleport won't play sound

Post by <LT>YosemiteSam[NL] » June 5th, 2010, 4:20 pm

I made a teleport with sound and it worked fine but all of a sudden the sound stopped working.
When I replace the sound with another different sound with exactly the same soundalias settings but another name (changed the script and stuff to the new name)...it works.
I also changed the name of the sound i want to play but that strangely enough doesn't work :|
So it's not radient I guess.
Has anybody experienced this before ?

User avatar
Rezil
Core Staff
Core Staff
Posts: 2030
Joined: July 24th, 2006, 11:21 am
Location: Cramped in a small cubicle/making another jump map

Re: Teleport won't play sound

Post by Rezil » June 5th, 2010, 4:46 pm

I find that .wav sometimes don't work for me(replacing it with an .mp3 usually fixes this). Never had it stop for no reason though.
Drofder2004: Drofder's rules for reviewing a map
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.

User avatar
<LT>YosemiteSam[NL]
Core Staff
Core Staff
Posts: 2155
Joined: December 7th, 2004, 2:07 am
Location: Netherlands
Contact:

Re: Teleport won't play sound

Post by <LT>YosemiteSam[NL] » June 5th, 2010, 6:41 pm

Now it's getting scary :?
I renamed the teleport sound file to fiveminutes and changed the gsc and csv files accordingly.
I renamed the fiveminutes sound file to test
Before when I selected the fiveminutes sound (not the teleport sound I want) it played the sound.
Now that I renamed it to test and the teleport sound to fiveminutes, when I playtest the map (using the compiler) it still plays the fiveminutes sound (the sound before the change of name) !!???
I've searched my harddrive but their are only 2 fiveminutes wav's which, when played in mediaplayer, play the teleport sound.

Is this sound stored in the code of the map somewhere...don't think it is. Or is this a bug in the editor/compiler ?

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

Re: Teleport won't play sound

Post by Drofder2004 » June 5th, 2010, 7:50 pm

My guess is a csv being read from an alternate source...
this is why I always test maps in IWD's and on a new installation of the game.
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
<LT>YosemiteSam[NL]
Core Staff
Core Staff
Posts: 2155
Joined: December 7th, 2004, 2:07 am
Location: Netherlands
Contact:

Re: Teleport won't play sound

Post by <LT>YosemiteSam[NL] » June 6th, 2010, 11:36 am

I found the problem. It's the compiler, it "saved" that sound somewhere.
I IWD'd the files and now it works. Never had a compiler problem before but I'll use the iwd now like you suggested drofder.
And the mp3's aswell, like Rezil suggested.
Thx guys for the reply.

Post Reply

Who is online

Users browsing this forum: No registered users and 37 guests