View unanswered posts | View active topics It is currently Sat Jun 15, 2024 11:01 pm



Reply to topic  [ 6 posts ] 
 Halp. Sound issues 
Author Message
User avatar

Joined: Fri Sep 28, 2012 6:06 am
Posts: 69
Reply with quote
Post 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.


Thu Oct 11, 2012 9:00 pm
Profile
User avatar

Joined: Mon Oct 11, 2010 1:15 pm
Posts: 594
Location: Finlandia
Reply with quote
Post 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.


Thu Oct 11, 2012 9:40 pm
Profile
User avatar

Joined: Fri Sep 28, 2012 6:06 am
Posts: 69
Reply with quote
Post 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.


Thu Oct 11, 2012 9:48 pm
Profile
User avatar

Joined: Mon Oct 11, 2010 1:15 pm
Posts: 594
Location: Finlandia
Reply with quote
Post 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.


Thu Oct 11, 2012 10:12 pm
Profile
User avatar

Joined: Fri Sep 28, 2012 6:06 am
Posts: 69
Reply with quote
Post 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.


Fri Oct 12, 2012 6:47 am
Profile
User avatar

Joined: Mon Oct 11, 2010 1:15 pm
Posts: 594
Location: Finlandia
Reply with quote
Post Re: Halp. Sound issues
Oh, you're going for something far more complex. You'll need scripts for that.


Fri Oct 12, 2012 7:19 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.066s | 13 Queries | GZIP : Off ]