Two Firesounds?
Moderator: Moderators
- KnightsFan
- Second Lance Corporal

- Posts: 108
- Joined: Fri Mar 06, 2009 9:34 pm
Two Firesounds?
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?
Is there a way to either play the two sounds in a row, or combine the two .wavs into one?
-
kinetosimpetus
- Imperial Systems Expert

- Posts: 2381
- Joined: Wed Mar 25, 2009 4:15 pm
- Projects :: A secret project
Re: Two Firesounds?
http://URL Shorteners are disallowed on Gametoast. Use direct links only./ykkn8qxKnightsFan wrote:combine the two .wavs into one
-
Deviss
- Master of the Force

- Posts: 3772
- Joined: Tue Aug 12, 2008 7:59 pm
- Projects :: Clone Wars Extended
Re: Two Firesounds?
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 otherKnightsFan 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?
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);
}
}
- KnightsFan
- Second Lance Corporal

- Posts: 108
- Joined: Fri Mar 06, 2009 9:34 pm
Re: Two Firesounds?
kinetosimpetus wrote:http://URL Shorteners are disallowed on Gametoast. Use direct links only./ykkn8qxKnightsFan wrote:combine the two .wavs into one
Deviss: But then half the time it plays one and half the time it plays the other...
-
Deviss
- Master of the Force

- Posts: 3772
- Joined: Tue Aug 12, 2008 7:59 pm
- Projects :: Clone Wars Extended
Re: Two Firesounds?
no first shoot 1 sound second shoot 2 sound third shoot 1 sound etc XDKnightsFan wrote:Deviss: But then half the time it plays one and half the time it plays the other...
- KnightsFan
- Second Lance Corporal

- Posts: 108
- Joined: Fri Mar 06, 2009 9:34 pm
Re: Two Firesounds?
I have
And it randomly plays one sound OR the other. What's wrong?
Code: Select all
SoundProperties()
{
Name("m24fire");
Group("weapons");
Inherit("weapon_template");
SampleList()
{
Sample("m24", 0.5);
Sample("m24bolt", 0.5);
}
}-
Deviss
- Master of the Force

- Posts: 3772
- Joined: Tue Aug 12, 2008 7:59 pm
- Projects :: Clone Wars Extended
Re: Two Firesounds?
ouch i don't know :S for me work fine and for rifle i have 7 sounds XDKnightsFan wrote:I haveAnd it randomly plays one sound OR the other. What's wrong?Code: Select all
SoundProperties() { Name("m24fire"); Group("weapons"); Inherit("weapon_template"); SampleList() { Sample("m24", 0.5); Sample("m24bolt", 0.5); } }
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Two Firesounds?
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.
- KnightsFan
- Second Lance Corporal

- Posts: 108
- Joined: Fri Mar 06, 2009 9:34 pm
Re: Two Firesounds?
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.
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Two Firesounds?
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.
