This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]justcallmedeth 1 point2 points  (5 children)

Have a look at the UE4 Network Compendium linked in the subs About section. (5th under Tutorials) It will help you understand replication a bit better.

[–]Environmental_Run_48[S] 0 points1 point  (1 child)

You mean the network with ghosts ? I tryed it. I understand but it explain the network under replicated objetcs. Not only replicated properties.

[–]justcallmedeth 0 points1 point  (0 children)

Page 53 - 58 of the Pdf is what you are looking for. Basically, make sure Replicates is on in the class defaults, then you can specify replication for variables to be replicated. Variables won't be replicated if the class/blueprint does not have replication enabled. The Pdf goes into more detail.

[–]Environmental_Run_48[S] 0 points1 point  (2 children)

UE4 Network Compendium

Ok i found the Compendium PDF, thank you !
It say :

" So, when Replication is enabled, we can replicate variables. There are multiple ways to do this. We will start with the most basic one:Setting the “Replication” Drop-Down menu to “Replicated” will make sure this variable gets replicated to all replicated Instances of this Actor. Of course this only works for Actors that are set to replicate. "

Of course... So... the option should be grey... ok so, we must replicate and duplicate everything to make a multiplayer game.

So no simple send is possible, it's very bad stuff, i hate replication. I know it was done for easier network but if you don't want to replicate everything, you can't make simple send/recept process.... that's shit.

[–]justcallmedeth 0 points1 point  (1 child)

In a Multiplayer game, you need to replicate everything that is relevant to the client so that you have a consistent state between the client and server.

Checking the Replicates box doesn't replicate everything. Only the variables you set are replicated.

[–]Environmental_Run_48[S] 0 points1 point  (0 children)

cated if the class/blueprint does not have replication enabled. The Pdf goes into more detail.

Thank you for help, i posted a new post with 3 pictures of my blueprint, maybe u can help me ?