Open main menu

Mashinky β

Changes

Multiplayer

3,889 bytes added, 00:40, 31 December 2021
no edit summary
=== Disclaimer ===
 {{Note|'''Disclaimer'''This is experimental feature available only at Experimental branch of the game. The feature is under constant development and details might change. This is up to date for version 0.60.324. Please check release notes at [https://discord.gg/N7ragmVFxs Discord] for updates.|warn}}{{Note|WORKING IN PROGRESS|}}  == Features ==* up to 8 players* Cooperative, competitive and anything in between* Random & Custom (premade) maps* Mod support* peer 2 peer with randevouz server* All Mashinky goodies :-) == Technical details ===== Implementation ===The multiplayer is implemented as peer-to-peer with help of Steam API. It means, that one of the players is host (server), which performs most of the game mechanics calculations. The other players are connected to the host as clients. Clients basically performs just graphics rendering. To make life easier, Mashinky provides a randevouz server, which simplifies connecting with other people Currently, there is no way to run the host standalone (headless) with all players connected as clients. === Game saving ===The game can be saved as usual, including autosave. It means, that the game can be restarted from any save point. If no instance of the game is running, the first started instance will become the host, and other clients can reconnect to the game from the Randevouz server browser. Otherwise, separate and parallel instance of the game is spawned. Do not hit the "Continue last game" button. This will load last save, and it will not connect to the running host. == Creating the game ==To start a game:# Click "New game" in game menu# Select map and game properties as usual# Double check, that "Multiplayer" is selected in Multiplayer tab (TODO: Add screenshot)# Customize Multiplayer settings#* Extension mode - Enable or disable the mods (see [[#Mods]])#* Players default relation - Initial setting of company access rights. This can be changed during the game (see [[#Company rights management]])# (optional, but advised) Set a password by clicking the Key (TODO: Add screenshot) Note: It is actually easier to start Multiplayer game, than Single player, as the MP option is default === Common game settings ===These settings are selected uppon the game creation, and is the same for all the players in the game:* '''Automatic signals'''* Magic flip* One depot* Vehicle aging* Running costs === Individual game settings ===These settings can be set individually by each player:* Signal type on the first click (One-way/Both-way) == Joining the game ==To connect the existing game:# Click "Join game" in main menu# Find the game in the Game browser. You can find the game local (LAN), in the Internet or by your Steam friend# Enter the password, if it was set by the host == Players & Companies ==Players and companies are independet entities. The player can have its own company, join an existing company or swap between companies during the game. If multiple players connect to one company, they all have unlimited access to the company's resources. There are various ways of interaction between companies. === Company rights management ===The access to company infrastructure can be done at multiple levels: Track sharing, infrastructure editing. Both is managed from the Company list window ==== Track sharing ====To enable track sharing, set a non-zero fee for using. The price is for 50squares used. Currently, the value is maxed to 1 green token, but it is planned to be more or less unlimited. Borders between trackk owners are marked by a border stone. If you manually drive a train past the borderstone to forbiden track, the train will crash. ==== Station sharing ====Station sharing is also possible. But note, that if cargo is unloaded in the station and processed by an industry, the proceedings go to the station owner, regardless whose train brought the cargo. ==== Infrastructure editing ====You can enable a different company to edit your infrastructure: add items, remove items and TODO: there are 3 buttons... :-D === Owner-only signal ===A special typ of signal is available, which allows only trains of the train to pass the signal.  
== Original announcement ==
9
edits