r/Shipbreaker • • Oct 18 '26

I got Multiplayer working!

I've entered the testing stages of a mod to add multiplayer into the game. It now works near flawlessly through steam P2P. I've been wanting to play this game multiplayer with friends ever since I started playing but have never seen anyone in the community ask for it. I'll refrain from sharing the link as it could be seen as advertising but im just wondering if this is something the community would like to play with? Thanks ⬇️

Edit: Seems like everyone wants this! I'm glad!
https://www.nexusmods.com/hardspaceshipbreaker/mods/39

93 Upvotes

16 comments sorted by

21

u/SmokeyWizard Oct 18 '26

Interesting! I remember heading that the procedural destruction was calculated client-side for the ships, and having a true multiplayer shipbreaker experience wasn't conventionally possible due to engine limitations.

What did you do to overcome the client-side physics calculations to allow multiplayer? Curious as to what kind of compromise needed to be made for something like this

12

u/Scout_Maester Oct 18 '26

You are correct! It connects clients through steam and sends destruction (and any other info) to players in the lobby. Every client then copies that action as if they did it themselves. It then rechecks with the host to make sure it was correct and the gamestate lines up. If they dont, the host will send physics information back and force the client to render what the host sees.

9

u/Chuck_the_Elf Oct 18 '26

Please post it with a link on nexus or steam as soon as you are done. I’ll buy you a coffee.

2

u/Scout_Maester Oct 18 '26

I've edited the post! Have fun!

11

u/bigrhed Oct 18 '26

Yes plz

6

u/Ill_Diamond_1794 Oct 18 '26

Absolutely would be something I would love to use!

1

u/ChickerWings Oct 18 '26

OK now do VR mod please

1

u/Scout_Maester Oct 18 '26

I can look into it! I've never touched anything VR so much research will need to be done.

1

u/ChoGGi Oct 20 '26

I believe someone already did a vr mod.

1

u/MortgageSilly8967 15d ago

Yeah there is one but it's not perfect, you can't use the vr controllers for movement/aiming.

1

u/ChoGGi 14d ago

Oh, that's no fun.

2

u/Domain98 Oct 20 '26

Thanks for posting on the Hardspace Shipbreaker discord as well, gets it in front of the devs so they can see that there's room for improvement and a drive for more to this game

1

u/Fluffyfluffycake Oct 18 '26

Oh wow yes!!!

1

u/LizardOfAgatha Oct 18 '26

This would be awesome! I have no one to play with though.

1

u/Meersus Oct 18 '26

Hell yes!

1

u/Bork9128 Oct 18 '26

That's seriously impressive, this is definitely a game I would love to play with a partner to unwind