The Player Replication Config Asset

This page explains the settings inside a Player Replication Config Asset and Coala's Player Replication System

as well as how to create a new instance of the config asset to specify your own custom settings.

Player Replication Config Assets are used inside the "BP_Coala_PlayerRep_Handler_Example" Blueprint and its subtypes.

It is used to specify settings for Coala's Player Replication System and to make it easier to switch between different settings during development.

How to Create a New Config Asset

In your project, right-click into your Content Browser and select 'Miscellaneous' and 'Data Asset'.

Inside the following dialog box, select CoalaPlayerReplicationConfig as data asset class.

This will create a new Data Asset and you can open it to edit its settings.

The Settings Explained

The settings available in this Data Asset have matching setters in Coala's Player Replication System (class UCoalaPlayerReplication) and the following explanation also applies to those.

By default, the Coala Player Replication System may trigger a player update in three cases:

    • You force an update using the appropriate functions

    • The local player moves

    • There has been too much time since the last update

In case of the last two, the following two settings control how often an update is send:

Seconds Between Player Refreshes (Min/Max):

When other players are visible around you, specify the minimum/maximum time between two refreshes.

Seconds Between Player Refreshes When Alone (Min/Max):

When no other players are visible around you, specify the minimum/maximum time between two refreshes.

Default Local Player Visibility:

This setting is a privacy setting. The position and data of the local player (the user of the current device) will only be send to the Coala Servers if

this value is not 'Always Invisible.'

If its set to 'Always Visible', this data will always be sent.

If its 'Only Visible when Required,' this data will only be sent to other players if the local player is in a zone specified in the Coala Backend.

Request Distance from Player in Meters (X/Y):

The half extents of the box around the player where other players should be displayed in.