Page 1 of 1

Two Firesounds?

Posted: Sat Dec 05, 2009 10:57 pm
by KnightsFan
My dilemma is I have two sounds I want to play when I fire my gun, one after the other. One is the rifle firing, the other is the bolt being pulled. I tried simply adding another sample in the .snd file, but, of course, then it just alternated which one to play.

Is there a way to either play the two sounds in a row, or combine the two .wavs into one?

Re: Two Firesounds?

Posted: Sat Dec 05, 2009 11:02 pm
by kinetosimpetus

Re: Two Firesounds?

Posted: Sat Dec 05, 2009 11:03 pm
by Deviss
KnightsFan wrote:My dilemma is I have two sounds I want to play when I fire my gun, one after the other. One is the rifle firing, the other is the bolt being pulled. I tried simply adding another sample in the .snd file, but, of course, then it just alternated which one to play.

Is there a way to either play the two sounds in a row, or combine the two .wavs into one?
you can use custom sounds for make 2 files for one fire 0,5 each one so when you fire 50% of one sound and 50% of the other :wink: for example

my dc17 pistol fire have 2 sounds

SoundProperties()
{
Name("dc17pistol_fire");
Group("weapons");
Inherit("weapon_template");
SampleList()
{
Sample("firedc17pistol_1", 0.5);
Sample("firedc17pistol_2", 0.5);
}
}

Re: Two Firesounds?

Posted: Sat Dec 05, 2009 11:12 pm
by KnightsFan
kinetosimpetus wrote:
KnightsFan wrote:combine the two .wavs into one
http://URL Shorteners are disallowed on Gametoast. Use direct links only./ykkn8qx
:funny2: You make me feel dumb. I'll try one.

Deviss: But then half the time it plays one and half the time it plays the other...

Re: Two Firesounds?

Posted: Sat Dec 05, 2009 11:19 pm
by Deviss
KnightsFan wrote:Deviss: But then half the time it plays one and half the time it plays the other...
no first shoot 1 sound second shoot 2 sound third shoot 1 sound etc XD

Re: Two Firesounds?

Posted: Sun Dec 06, 2009 12:05 am
by KnightsFan
I have

Code: Select all

SoundProperties()
{
    Name("m24fire");
    Group("weapons");
    Inherit("weapon_template");
    SampleList()
    {
        Sample("m24", 0.5);
        Sample("m24bolt", 0.5);
    }
}
And it randomly plays one sound OR the other. What's wrong?

Re: Two Firesounds?

Posted: Sun Dec 06, 2009 12:08 am
by Deviss
KnightsFan wrote:I have

Code: Select all

SoundProperties()
{
    Name("m24fire");
    Group("weapons");
    Inherit("weapon_template");
    SampleList()
    {
        Sample("m24", 0.5);
        Sample("m24bolt", 0.5);
    }
}
And it randomly plays one sound OR the other. What's wrong?
ouch i don't know :S for me work fine and for rifle i have 7 sounds XD

Re: Two Firesounds?

Posted: Sun Dec 06, 2009 12:12 am
by AQT
Yeah, that's how it works with that setup, randomly. What if, though, you change the 0.5s to 1.0s? If this doesn't work, a wav editor would be your best bet as kinetosimpetus suggested.

Re: Two Firesounds?

Posted: Sun Dec 06, 2009 12:59 am
by KnightsFan
I already tried with 1.0's a few days ago, same thing as 0.5's. Yeah, I'll just have to go spend the rest of my weekend finding out how to use wav editors.

Re: Two Firesounds?

Posted: Sun Dec 06, 2009 1:33 am
by Maveritchell
It doesn't matter whether you put 1.0, 0.5, or 10.0 (although it really only makes sense if you make them total up to 1.0) - those represent the frequency of the sound, and if you're listing more than one, it will choose one or the other but not both at the same time. Like kinetosimpetus said, you need to combine your custom .wav sounds together.