How do I set an emitter to be simulated on dedicated server?

Yeah you’re definitely going the wrong way about this I’m afraid.

First thing to note is that particle system collision is much more expensive than primitive collision. Most projectiles use simple spheres for collision because they are the fastest to resolve, and collision primitives have a lot of extra optimization such as collision filtering - something you won’t get in a particle system. You should definitely use a sphere primitive as the root component and use that for collision, especially with so many projectiles, and create a custom collision channel for them.

Next problem you have is that (going by your other thread) - you can’t spawn a component directly in the world, it must be part of an Actor. Even Matinee Cameras are actors. Without it being an actor, it can’t have any form of network relevancy or role, and therefore you can’t do any replication/network operations on it. Even though you can replicate components, they need to have a valid actor channel and Owner (plus various other things) to do so.

Additionally, lasers are typically instant-hit weapons not projectiles, so you want to do your laser via a Line Trace as MaxiHori suggests, and set the source and target points of a beam emitter. You can also simulate projectiles this way as well without having to actually spawn any moving object. There is a lot of writing out there about making hitscan weapons. ShooterGame has a good example, but of course that’s in C++. I can probably write a summary of how it works here so you can recreate it in Blueprint (but will have to do it later).

EDIT: One more thing - spawning lots of actors in a very short space of time can be very expensive. In order to get around that, you may need to look at ‘pooling’ your projectiles, which basically means spawning them all at the start of the game (or when you spawn a weapon for instance) - and the weapon will just find the first inactive projectile in an array of projectiles and fire that one off. Beware though, as this all comes with a cost of it’s own.


Also completely off topic - your forum name isn’t related to the ‘Forgotten Enemies’ expansion pack by any chance is it? (If it is, you’ll know what I’m on about).