-
-
Notifications
You must be signed in to change notification settings - Fork 72
Multiplayer
Since you can have thousand of actor in your dungeon, you cannot send all of them throught the network.
So the generation is deterministic and is based on a seed which is send to all clients and thus they generate all the same dungeon.
However be careful, all the actors spawned by the generation are not linked throught the network and thus can't be replicated.
So each of them has to be deterministic too, and they can spawn afterward from the server actors you want to be replicated.
Also, all players must be connected and loaded when you call the Generate function, otherwise, clients which arrives after won't trigger the Generate event.
You cannot play in multiplayer directly from the viewport, you have to play in standalone and not in single process.
To do that, you have to click on the arrow next to the play button and go to "Advance Settings".
Then in Multiplayer Options, set number of player to 2, uncheck the single process box and set the play mode to "Listen Server" or "Client".
Finally, close the settings window and click again on the arrow next to the Play button and choose "Standalone Game".
You can join the Discord server dedicated to this plugin if you want to share, help or ask questions about it.
Installation
Getting Started
Room Architecture
Door
Plugin Settings
Packaging
Dungeon Generator
Choose First Room Data
Choose Next Room Data
Continue To Add Room
Is Valid Dungeon
Occlusion Culling
Door Types
Room Initialization
Room Custom Data
Room Visitor
Room Observer
Console Commands
Multiplayer
Navigation Mesh
Geometry Brushes
If you like my plugin, please consider tipping: