Page 1 of 1

Sounds

Posted: Thu Feb 09, 2012 4:37 am
by MandeRek
Hello GT!
I got a lot of custom sounds ingame, but some are not really played.. as I want. I got a custom fire sound ingame, and it's true the weapon is fired a lot, but the sound is hard, and can be heard throughout whole map, even when you're not even close to a unit firing the weapon.

Some hero sounds I added are so soft, I can hardly hear them on my volume to max (sorry bout that, neighbours :oops: )
I tried some amplifying in audacity but it doesn't really help, I also used some of these lines:
Hidden/Spoiler:
SoundStreamProperties()
{
Name("kamino_fire");
Group("weapons");
Inherit("weapon_template");
MinDistance(15);
Gain(0.9);

Stream("htm_hero_vo_quick");
SegmentList()
{
Segment("kamino_fire", 1.0, 0.0, 0.0); //Alien sounds.. scary!
}
}
I hear the sound fewer times now, which is good, but it's still so strong! Also, is there a way to edit the sounds to be amplyfied, or maybe have higher priority than other sound files, through the file I used above?
I basicly want the gun the be heared only when you're close to the firing unit.

Thanks in advance for helping!

Re: Sounds

Posted: Thu Feb 09, 2012 5:02 am
by AQT
Weapon sounds aren't meant to be set up as streams. You don't need the MinDistance line, and the Gain should be set at 1.0 for maximum volume.

Re: Sounds

Posted: Thu Feb 09, 2012 1:30 pm
by Marth8880
Yes, change it so they are set up as effects, not streams. Streams are typically sent to the "ingamemusic", "music", or "voiceover" bus, which has a much higher gain than the "soundfx" bus, but "weapons_template" is configured to send to the "soundfx" bus, so I guess all streams are just naturally louder than effects. Actually...actually, no, wait...I think streams are always played throughout the entirety of the level or a set soundstream region. Hmm...yes, this makes sense now!

Re: Sounds

Posted: Thu Feb 09, 2012 2:05 pm
by MandeRek
Okay, I'll try and see! :D
Edit: When I change all SoundStream to Sound and Segment to Sample, etc., the sound isn't ingame :S

I really want to keep some sounds secret for my upcoming map, but could maybe someone check on my files for me?

Re: Sounds

Posted: Thu Feb 09, 2012 8:46 pm
by AQT
Custom effects aren't meant to be referenced from an .stm file. If that is everything you changed, then you would still have:
MandeRek wrote:Stream("htm_hero_vo_quick");
Which isn't necessary. Custom effects use an .asfx file instead. See: