Home   Help Search Login Register  

Author Topic: A baffling unexplained problem  (Read 1729 times)

0 Members and 1 Guest are viewing this topic.

Zahael

  • Guest
A baffling unexplained problem
« on: 17 Mar 2003, 11:06:52 »
***I copied this post to general because I was getting no responses under the sound and cutscenese section***

Hi everybody, I have an amazing and baffling problem.  I am no stranger to making my own cutscenes or acompaning sound, but this has got me stumped.  I would reallym really appreciate any help.

MY problem is this - I have a smalll cutscene where an officer is being briefed by his commanding officer.  I have no problem doing this - the wav to lip worked fine and the speech was perfect. Problem was that some of the camera angles were faily far away, so sometime the speech could no tbe heard.  To solve this, I created a second set of speech files, exactly the same and used the "playsound" command directly after the "say" command, so the lip file would still work. Eg this sound file was called "comd1" I save it to a new file called "pscomd1", add it to the description.ext and change the original "comd1" file so that it plays silence (i delete the sound so there was just an empty file.  THis should've stopped ghosting or cluttering of sounds).

This problem is, no speech plays.  Its baffling because text comes  up as though it is playing, but no sound comes out. I used exaclty the same sound format as before (44hz, 16 bit, mono) but no sound.  As an experiment I deleted the "say" command and just used the playsound, and text comes up, but no sound.

I assume my description.txt is correct because if it wasn't, I would get an error message or the text wouldn't come up.  

Can anyone see any glaring things that it might be?  It is really giving me the sh*ts.  Big time.

THanks in advance,

Zahael  
 
 

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:A baffling unexplained problem
« Reply #1 on: 17 Mar 2003, 14:35:00 »
I don't know enough about sounds even to understand your problem fully, never mind know the answer, but it seems to me you are asking the game simultaneously to play some speech and also to play some silence.     Since silence is what you are getting, that file/sound seems to be prevailing.    What happens if you remove the silence file altogether?
« Last Edit: 18 Mar 2003, 12:22:44 by macguba »
Plenty of reviewed ArmA missions for you to play

Zahael

  • Guest
Re:A baffling unexplained problem
« Reply #2 on: 18 Mar 2003, 04:51:06 »
Yes, I thought of this as well.  BUt I have used a similar method with a previous mission and there were no probs (I discovered the technique after posting about a year ago and someone suggested it to me).  Thinking that might be it, I removed the silence file and just used the playsound command.  Same thing, the writing came up, so it could definately access the file, but no sound.  Baffling

Zahael

  • Guest
Re:A baffling unexplained problem
« Reply #3 on: 19 Mar 2003, 02:50:12 »
Any other ideas??

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:A baffling unexplained problem
« Reply #4 on: 19 Mar 2003, 23:17:43 »
Heya Zaheal,

I regularly do this sort of thing (Have one sound file playing while another displays the text).

Could you please post up the two entries in your .ext file, and we'll see if we can't sort this puppy out ;)

Offline mcnorth

  • Members
  • *
Re:A baffling unexplained problem
« Reply #5 on: 20 Mar 2003, 05:35:37 »
Having been brutally punished by perplexing sound & sfx problems all I can offer is pity. But you can bet I'll watch this thread to learn a thing or two.

Zahael

  • Guest
Re:A baffling unexplained problem
« Reply #6 on: 21 Mar 2003, 01:41:56 »
Thnks Sui.  TO tell you the truth, I think you were the one who gave me the idea in the first place, and it has worked before which is why I am at a loss to explain why thi swon't work.

I will attach the entire description.ext file.  THe sound files with the ps prefix in front of them are the actual sound files (ps stands for playsound) while the files lacking ps are the silent, lip files.

I use it in the script by going:
PlaySound "pscomd1"
comd say "comd1"

Thanks.  I really do appreciate it.

Zahael

  • Guest
Re:A baffling unexplained problem
« Reply #7 on: 21 Mar 2003, 02:01:45 »
Hmm, it didn't seem to attach.  I'll try again

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:A baffling unexplained problem
« Reply #8 on: 21 Mar 2003, 03:52:37 »
Hmm... that looks ok...

Ah ha!

I think I've worked out what's going on.
You can keep that as it is but make sure that there is no comd1.ogg file in your sound directory.
If you get rid of any sound file called comd1.ogg (even if it's silent/empty) out of your sound directory and if you leave the lip file in there, you'll still get the lip movement ;)

What I think might have been happening is that the playsound file was playing a (silent) sound over top of the speech, so you can't hear the speech.

Zahael

  • Guest
Re:A baffling unexplained problem
« Reply #9 on: 22 Mar 2003, 07:02:00 »
Sorry Sui, good try but no joy.  Same shit, different day. Can I send you the actual sound file and maybe you can see what I am doing wrong or maybe something I can't see?

Thnaks

Zahael

Zahael

  • Guest
Re:A baffling unexplained problem
« Reply #10 on: 22 Mar 2003, 07:15:05 »
Maybe an email address.  Its too big to attach

rock dude

  • Guest
Re:A baffling unexplained problem
« Reply #11 on: 22 Mar 2003, 18:57:58 »
why did you gras on mickey you evil prick he is my brother and i am going to find and beat you up

 >:(

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:A baffling unexplained problem
« Reply #12 on: 23 Mar 2003, 00:11:26 »
* Sui steps over all the abusive plebs

Geez... is it a full moon or something? What caused these guys to come out of the woodwork?

Anyway Zahael,
Instead of sending me the sound file, just delete it from your sounds directory. Get rid of it :)

Leave the .ext file as is, and leave the .lip file in there. Remove the .ogg file and it should (hopefully) work...

Zahael

  • Guest
Re:A baffling unexplained problem
« Reply #13 on: 23 Mar 2003, 05:39:21 »
SOrry Sui, you misunderstood me.  I actually did do that like you suggested, but it didn't work.  What I wanted to do was send you the sound file that actually had the speech in it (the file I used with the playsound command) and maybe you can look at it and be able to see something that I can't.  Or maybe you could use it on your computer and see if it works for you, or something.

And what the hell was that random crap that guy was spinning??

Thanks Sui.  I appreciate the help

Zahael

Zahael

  • Guest
Re:A baffling unexplained problem
« Reply #14 on: 24 Mar 2003, 08:02:18 »
Still with me sui?