Intrigues Multiplayer
What this page is for
Section titled “What this page is for”Intrigues Multiplayer lets several people play one Intrigues game together, each as one character of the same world. This page says what it does, what it needs and what it leaves alone.
How a game is shared
Section titled “How a game is shared”One player hosts. The host’s machine runs the whole world: the schemes, the characters’ own decisions, the calendar, the dice, births, deaths and heirs, so that every player’s game follows one story and none of them can roll its own. The others join. Each plays one character. They see what that character may know, which is the public world plus the schemes the character takes part in, and nothing more.
A dialogue, an announcement or a sound shows only on the machine of the player it is meant for. Players can join and leave while the game runs. Seats are kept. While a player is away the game plays that character, and the player gets the same seat back on return, as long as their game keeps running: the seat key is kept in memory only. A restarted game joins as a new player unless your game keeps the key (MultiplayerSession.PlayerKey, or SeatKeyStore).
| What changes | What does not |
|---|---|
| The world changes only on the host. Players’ machines receive the changes and show them. | You make the game with the Studio, as before. You write no network code for the world itself. |
| Your own code that changes the world must run on the host. | Schemes, rules, requirements, dialogues, signals and the characters’ decisions already run on the host. |
How many players
Section titled “How many players”The host and up to 7 others make 8. The default for remote players is 7 (MaxPlayers). The README says the add-on is built for 8, and that more than 8 is not tested. A dedicated host, where nobody plays on the host’s machine, takes one remote player more than MaxPlayers. That is 8 by default. Set HostSettings.Dedicated for that. The Netcode Session component’s Server Only does not set it.
What you need
Section titled “What you need”- Intrigues 2.0 or newer.
- Netcode for GameObjects (NGO,
com.unity.netcode.gameobjects), or a transport of your own: the scripts for the connection compile only when NGO is installed, and the rest of the add-on needs no other package.
Not tested yet: measured runs with 4 and 8 machines (the automatic tests cover 8 players offline), and a host on the internet.
What it does not do
Section titled “What it does not do”- No host migration. If the host leaves, the session ends and players return to their menu.
- No lobby, matchmaking or Relay setup. Those are your game’s job.
How it connects
Section titled “How it connects”Start with the Quick start. Then read Host-aware game code, Who sees what and Seats, joining and waiting. What was and was not run is on Limits and what is not verified.