Project set up
Configuring spawn points
In order for Remote Viewer actors to be spawned in the correct place in your world you first need to configure this in your level.
Add
J_PlayerStartVolume
s to your map, encompassing the areas that you would like remote viewers to be spawned within.If not already in the level, place a
BPM_SpawnControls
actor and setup theSpawn Areas
array with your newly created volumes
Setting up your master actor class
Create a new actor class which derives from
AM2M_RemoteViewerMasterActor
Configure roles for your master and visualizer actors and enter the names of the roles in the corresponding settings
While this may not be the case for your project, typically the master actor has no visual representation and can be spawned as a a simple observer (eg, the render target defined by
PawnLodLevelSet
isSpectatorPawn
or similar)The visualizer actor's role should use a
PawnLodLevelSet
with your desired render target. (the render target determines which class is spawned as the visual representation of your visualizers!). Please read the networking section first for a base understanding of Morpheus actors and render targets
Setting up your visualizer Morpheus Actor
Alongside the visualizer render target actor discussed above, this is the class that will be spawned for each user that is watching your experience from the web portal so should be configured as you see fit for your project.
Create a new Morpheus actor class which inherits from
AM2M_RemoteViewerVisualizer
Create a new Morpheus component which inherits from
M2M_RemoteViewerControlComponent
and add it to the actor you created in step 1. SeeBPMC_RemoteViewerVisualizerControlComponent
for an example of how emotes can be handled throughEvent Perform Action
Setting up the spawner with your master and visualizer actor classes
Open the spawner class that is used by your project. You can find this through your map's World Settings pane
Choose your master and visualizer actor class in the corresponding settings boxes
Ensure that
Remote Viewers Enabled
is set to true
Last updated