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"

Spawning Emitters (Muzzle Flashes and Ejecting Shells) On server

Hello, I am making a CO-OP Multiplayer Zombie Shooter, just a little project for me and my friends, And I am to the part in the project where I start to implement weapon attributes (ex. Muzzle flashes, Ejecting casings of the weapons bullet type, etc) and I have it all set up on client side, but not server side, I thought it was easy as a click of a button but i cant seem to find a replication button anywhere for the emitters. I am assuming I will have to make a function telling the muzzle flash to spawn using switch has authority, But I already set up firing animations for the weapons for server side and client side, But i try to plug in the particle effects and they don't show up. Please help me with this problem! Thank you!

Product Version: UE 4.13
Tags:
more ▼

asked Sep 24 '16 at 06:37 AM in Blueprint Scripting

avatar image

ClassyGentleman
44 9 6 12

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Hey ClassyGentleman,

Here is an example of how you can make sure the Authority (server/host) can let the other client(s) know to create a muzzle flash / sound / shell ejection:

alt text

more ▼

answered Sep 27 '16 at 09:12 PM

avatar image

ImVawx ♦♦ STAFF
6.7k 114 17 127

avatar image ClassyGentleman Sep 27 '16 at 09:20 PM

Thank you, Will for surely use this!

avatar image ClassyGentleman Dec 17 '16 at 10:45 PM

For some reason this is not working in 4.14.1. Any idea why?

(comments are locked)
10|2000 characters needed characters left

You must Replicate Functions in Blueprints. If you've no idea how this works, then follow this piece of documentaion, should be easy to digest:

https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/Networking/ReplicateFunction/Blueprints/index.html

And if you follow aong with those quick videos from Epic staff, you'll master it quickly ;) Specially "Part III: Function Replication" at ur case.

https://forums.unrealengine.com/showthread.php?2956-New-Blueprint-Networking-Tutorial-Videos-Posted&p=22776&viewfull=1#post22776.

more ▼

answered Sep 24 '16 at 03:18 PM

avatar image

mamoniem
1.2k 33 23 64

avatar image ClassyGentleman Sep 25 '16 at 12:37 AM

I have tried that, It just doesn't seem to work for me, I set it to replicate and nothing works alt text

weaponblueprint.png (463.3 kB)
(comments are locked)
10|2000 characters needed characters left
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