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!
Multiplayer in Campaign mode
-
- Smart Inserter
- Posts: 1847
- Joined: Sun Feb 23, 2014 3:37 pm
- Contact:
Re: Multiplayer in Campaign mode
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?
Are you able to host normal multiplayer games?
Re: Multiplayer in Campaign mode
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.
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!
Re: Multiplayer in Campaign mode
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?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.
Re: Multiplayer in Campaign mode
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!
Re: Multiplayer in Campaign mode
Hey guys, was this issue solved? I am having the same issue and can't find a fix.
Re: Multiplayer in Campaign mode
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._aspect wrote:Hey guys, was this issue solved? I am having the same issue and can't find a fix.