x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Replicate weapon sound (Sound Cue)

the client does not hear the shots fired by the server. i´m using Cue sound alt text alt text

Product Version: Not Selected
Tags:
sound-bp.png (137.2 kB)
more ▼

asked Mar 19 '15 at 02:49 AM in Blueprint Scripting

avatar image

Mapache
10 2 3 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

3 answers: sort voted first

Someone please answer this. sound replication is bllsht and it's about time something was done about it

more ▼

answered Jul 24 '16 at 09:34 AM

avatar image

Snoxx
21 3 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Got the same problem and was about to create a topic about it..

I have been playing around with my weapon blueprint for an hour trying to get it replicating sound properly..

My best attempt: alt text

Now the clients is playing sound, but it not 3d directional or anything, so it's still not usable in my case..

Please someone post a working sample of sound replication..

weaponsound.png (155.9 kB)
more ▼

answered Jul 25 '16 at 02:24 PM

avatar image

Xenosis
32 16 22 28

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

If you only execute on the server, the client won't hear it. Use multicast to play the sound on the server and all clients.

alt text

alt text

alt text

alt text

more ▼

answered Jul 25 '16 at 03:36 PM

avatar image

CometGoat
269 4 8 13

avatar image Xenosis Jul 25 '16 at 04:12 PM

Can't get it to work with multicast..

No sound on client, but the host can hear the client shoot in the distance etc. correctly now.

alt text

alt text

The WeaponSystem is attached to my top-down playercontroller as a non scene component..

multicast1.png (133.6 kB)
multicast2.png (100.4 kB)
avatar image CometGoat Jul 25 '16 at 04:26 PM

I added two more screenshots to show where my SpawnMulticastSound event was being called from.

avatar image CometGoat Jul 25 '16 at 04:20 PM

Can I see the the beginning of your Spawn Projectile graph? You'll want that to be running on the server, with the reliable box ticked.

avatar image Xenosis Jul 25 '16 at 05:19 PM

Sure here is the SpawnProjectile function: alt text

I tried doing as you showed, but something weird is happening now when the host shoots: link text

spawnprojectile.png (309.0 kB)
avatar image CometGoat Jul 25 '16 at 05:29 PM

If you zip up the project I can take a quick look at it, and then get back to you with what should be executing on the server and what on the client. :)

avatar image Xenosis Jul 25 '16 at 06:09 PM

That would be cool..

Could you add me to skype?

avatar image Snoxx Jul 26 '16 at 10:45 AM

Please post a reply to here also, I would like to know how to do this sound replication also. I am trying to make footsteps for everyone in the game and everyone can also hear other people

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question