play the fire sound only from the added audioSource.

Support for MFPS 2.0
Post Reply
User avatar
pistachio15
New Member
New Member
Posts: 4
Joined: Thu Jul 02, 2020 10:35 pm

Sat Sep 12, 2020 8:46 am

I noticed that when I gameplayed, AudioSource was added in addition to the existing AudioSource.

(FireSound Empty FireSound TakeWeaponSound)←existing AudioSource
(Only Fire Sound)←Added AudioSource
https://imgur.com/HtroLQR

I want to play the fire sound only from the added audioSource.

I tried to remove the code from Bl_GUN script.
I couldn't find it because I'm Noob :(




I am grateful for your polite answer every time :D
i know my English is so bad.....
User avatar
Lovatto
Admin
Admin
Posts: 1549
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

Sat Sep 12, 2020 1:07 pm

The second Audio Source is added to play the "Bold" sound on snipers and shotguns to avoid interference with the "Fire" sound when this is still playing,
If you wanna play the all the weapon sounds from the default Audio Source, simply change all the references of "FireSource" to "Source" in bl_Gun.cs
Post Reply