Multiplayer in Campaign mode

Arrange meetings with other people to play MP, announce your servers.
Post Reply
laur_lng
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Apr 12, 2016 8:24 am
Contact:

Multiplayer in Campaign mode

Post by laur_lng »

Hello, I noticed it is not possible to play multiplayer in Campaign mode. I have done the following: I played campaign on single player, I saved the gameplay, then I started a new multiplayer game and loaded the save game from the campaign and it worked for me, but no other player could join. Is it possible for two or more player to play campaign? Is there a solution?

Thank you!

FishSandwich
Smart Inserter
Smart Inserter
Posts: 1847
Joined: Sun Feb 23, 2014 3:37 pm
Contact:

Re: Multiplayer in Campaign mode

Post by FishSandwich »

Unless something was changed in the last year (when I last tried it) it should be possible using the method you described.

Are you able to host normal multiplayer games?

User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: Multiplayer in Campaign mode

Post by prg »

The campaign's control.luas use things like game.player and game.show_message_dialog, which are single player only. Was the error people were getting when joining something like "this can only be used when map contains exactly one player"?

Might work if you replace the control.lua in the save game with the freeplay one, script some appropriate victory conditions yourself or fix the existing control.lua to use a hardcoded player for the item checks and replace the message dialogs with prints and things like that.
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!

laur_lng
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Apr 12, 2016 8:24 am
Contact:

Re: Multiplayer in Campaign mode

Post by laur_lng »

prg wrote:The campaign's control.luas use things like game.player and game.show_message_dialog, which are single player only. Was the error people were getting when joining something like "this can only be used when map contains exactly one player"?

Might work if you replace the control.lua in the save game with the freeplay one, script some appropriate victory conditions yourself or fix the existing control.lua to use a hardcoded player for the item checks and replace the message dialogs with prints and things like that.
Thank you for your reply. Indeed, when another player tries to join I get an error message saying that only one player can play (to summarize it). Can you give me an example of the script I can use?

User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: Multiplayer in Campaign mode

Post by prg »

Don't have such a script laying around currently. You'd pretty much need to rewrite the existing campaign to be multiplayer aware. Maybe just remove the control.lua to play without those messages telling you what to do (and also without victory conditions, you'd need to know yourself when you're done playing.)
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!

_aspect
Manual Inserter
Manual Inserter
Posts: 1
Joined: Fri Jun 10, 2016 3:46 am
Contact:

Re: Multiplayer in Campaign mode

Post by _aspect »

Hey guys, was this issue solved? I am having the same issue and can't find a fix.

Zaflis
Filter Inserter
Filter Inserter
Posts: 417
Joined: Sun Apr 24, 2016 12:51 am
Contact:

Re: Multiplayer in Campaign mode

Post by Zaflis »

_aspect wrote:Hey guys, was this issue solved? I am having the same issue and can't find a fix.
It seems this depends on map you want to play. We played the 1 map where you have a wrecked base and then 2 train stations left and right. Other player had no objective UI at all, and once we finished them the game just crashed. But for the most part it worked well. Then map like Transport belt madness don't work in multiplayer at all.

Post Reply

Return to “Multiplayer”