Data Realms Fan Forums
http://45.55.195.193/

Halp. Sound issues
http://45.55.195.193/viewtopic.php?f=1&t=31927
Page 1 of 1

Author:  YouKnowMe [ Thu Oct 11, 2012 9:00 pm ]
Post subject:  Halp. Sound issues

Okay so I posted about a problem, figured out the answer with the wiki which is I think out of date, and came upon another problem.

I'm making a gun. I have made the sounds for the gun, and can't figure out something I need to know.


Fire sound, check
Empty sound, Check

Spin up sound, Check
Sustained fire sound that isn't the spin up sound..... not check... What do I do?

Basically I need it to play 1 sound when I start spinning up the barrel, and then play a different sound continuously when firing. can this be done?

Edit-- If I knew lua I could probably do a dumb HeldDevice::IsActivated thing to trigger a sound, but I don't know how to do *that* either... and I'd rather avoid lua if possible.

Author:  4zK [ Thu Oct 11, 2012 9:40 pm ]
Post subject:  Re: Halp. Sound issues

There's only the spin sound + fire sound by default. The pitch of the spin-up sound rises when firing, and that's about it.

Though, if what you want - and what you have - is a fire sound loop, you should try replacing the default fire sound with one that loops. Just make sure to add the LoopSetting = -1 factor to the fire sound when using a loop.

If you're trying to get rid of the spinning sound when firing, well, it's not possible, at least for what I know.

Author:  YouKnowMe [ Thu Oct 11, 2012 9:48 pm ]
Post subject:  Re: Halp. Sound issues

4zK wrote:
There's only the spin sound + fire sound by default. The pitch of the spin-up sound rises when firing, and that's about it.

Though, if what you want - and what you have - is a fire sound loop, you should try replacing the default fire sound with one that loops. Just make sure to add the LoopSetting = -1 factor to the fire sound when using a loop.

If you're trying to get rid of the spinning sound when firing, well, it's not possible, at least for what I know.


Great... Well... I've encountered another problem in testing what i've got...

My firing/spin-up sound, which is a loop... well, one is 1.5 seconds, 2 are 3 seconds, and one is 6 seconds... with loopsetting = -1 it loops forever even when i'm not firing, Even if I just tap the button. I am totally clueless on what to do for this.

--edit

spin-up sounds looping forever is apparently a glitch. So I know what would have to be done with lua to make this work, but I don't have any idea how to do it, and will likely ask someone else to make me a lua script.

Author:  4zK [ Thu Oct 11, 2012 10:12 pm ]
Post subject:  Re: Halp. Sound issues

Ohh, does the single loop include both spin-up and firing sound? That'll probably work better as a firing sound on it's own, without a spin-up sound. You can always include the spin-up though, just without the sound.

EDIT: There is a bug that makes spin-up loops keep playing if the weapon is switched while shooting.

Author:  YouKnowMe [ Fri Oct 12, 2012 6:47 am ]
Post subject:  Re: Halp. Sound issues

4zK wrote:
Ohh, does the single loop include both spin-up and firing sound? That'll probably work better as a firing sound on it's own, without a spin-up sound. You can always include the spin-up though, just without the sound.

EDIT: There is a bug that makes spin-up loops keep playing if the weapon is switched while shooting.


Sound 1 should play when I first start pulling the trigger. It is 3 seconds long, and is not a loop. The spin-up time is 3 seconds.

Sound 2 -should- play, after the spin-up time is complete, and loop until magazine is empty, and stop abruptly.

Sound 3 plays each time a bullet is fired. This is the normal firing sound, and is not a loop

Sound 4 should play the moment sound 2 stops. I can probably do this with a gib, or a tracer round, or something.

if you want a preview, of what i'm trying to do, just PM me.

Author:  4zK [ Fri Oct 12, 2012 7:19 am ]
Post subject:  Re: Halp. Sound issues

Oh, you're going for something far more complex. You'll need scripts for that.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/