Announcement

Collapse
No announcement yet.

[Tutorial/Video] The ReplicationGraph - Overview, How to write your own ReplicationGraph

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [Tutorial/Video] The ReplicationGraph - Overview, How to write your own ReplicationGraph

    In 4.21 the ReplicationGraph was released in Unreal Engine as it had been an experimental feature in 4.20. When I first heard about the ReplicationGraph in 4.20, it came clear that we were going to need this feature in our project.

    So I took the time to learn the ReplicationGraph a few months ago with very limited documentation. And to this day the documentation is still limited, so I though I'd change that.

    ~~~

    I made a video where I breifly go over the replication graph and I show how I usually like to write ReplicationGraphs for my games.
    I Also provide the source of the Project that I wrote and also a template ReplicationGraph that you can use for your own games.

    It's quite a long video but there's a lot to cover. There are timestamps in the video description.

    Topics covered in the video:
    1. Adding ReplicationGraph to a project
    2. Creating our ReplicationGraph Nodes
    3. Handling routing actors into different nodes
    4. Determine how actors are routed
    5. Setting Special settings explicitly for actors (ReplicationInfo Data)
    6. Creating a custom Always Relevant Connection Node
    7. Handling Level Streaming in the ReplicationGraph
    8. Adding and Removing actors from the DependantActorList
    9. Adding the gameplay debugger to the ReplicationGraph



    GitHub source:
    https://github.com/MazyModz/UE4-DARe...onGraphExample

    ~~~

    The ReplicationGraph is a high-level server optimization feature. And it is essentially responsible for creating lists of actors that a specific connection should receive network updates from.
    And the way it generates these lists is that actors go through the RepGraph and are then routed into these different "Nodes" depending on what the actor is.
    In these "Nodes" the actor then get's handled differently depending on what the Node is. This is explained more in the video.

    ~~~

    Useful docs for the ReplicationGraph:
    https://docs.unrealengine.com/en-US/...plicationGraph
    https://www.youtube.com/watch?v=CDnNAAzgltw

    ~~~


    If you have any questions about the ReplicationGraph feel free to comment and I will do my best to answer them!



    ~ Dennis "MazyModz" Andersson


    #2
    Thank you very much.

    Comment

    Working...
    X