Spaceblock


Who wants to go planetside? It's dirty and disgusting, doesn't support engineer life, and has an unpleasant smell. Why not instead grow the factory from orbit?

Mod packs
2 days ago
2.0
2.47K
Factorio: Space Age Icon Space Age Mod
Planets Environment

g Individual teams

4 days ago

Is it possible to add an option to make everyone a separate force?
Basically, everyone plays their own game and soft-competes with each other.
Added benefit is that you can see your own stats, currently stats are all jumbled up.
I talked to many players today in a server, and everyone said they would be very interested to try a version of space-block where everyone is a separate team.

4 days ago

I... genuinely don't know. Is that even possible in vanilla? If it is, the same procedure should work.

4 days ago

If you have to script it then you create a force and set the force for the player:

https://lua-api.factorio.com/latest/classes/LuaGameScript.html#create_force
https://lua-api.factorio.com/latest/classes/LuaControl.html#force

I tried starting a game a PvP:

78.742 Error MainLoop.cpp:1468: Exception at tick 12665: The mod Spaceblock (2.1.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event yunrus-space-block::on_tick (ID 0)
LuaSpacePlatform API call when LuaSpacePlatform was invalid.
stack traceback:
[C]: in function 'enter_space_platform'
yunrus-space-block/control.lua:191: in function <yunrus-space-block/control.lua:186>
78.742 Error ClientMultiplayerManager.cpp:86: MultiplayerManager failed: "The mod Spaceblock (2.1.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event yunrus-space-block::on_tick (ID 0)
LuaSpacePlatform API call when LuaSpacePlatform was invalid.
stack traceback:
[C]: in function 'enter_space_platform'
yunrus-space-block/control.lua:191: in function <yunrus-space-block/control.lua:186>"
78.743 Info ClientMultiplayerManager.cpp:608: UpdateTick(12665) changing state from(InGame) to(Failed)

In PvP mode each team gets a silo on the planet and that seems to break the space platform. No idea how to disable the silo creation. An option in Spaceblock to play as separate teams should be trivial though. Building teams would be more complex.

Side note: you (as admin) can always start the game cooperative and then move players to different forces via the lua console.

3 days ago

I could take a shot at this @YunruStellaria, is this open source on github? Else it would be very hard to contribute.

3 days ago

I made some changes in my local, looks like it works right. But can't be sure unless tested with another player.
Do you have a discord where I could collaborate with a tester?

3 days ago

I was able to test changes with two players, made some improvements, but sadly can't play this with others unless I share the changed mod files manually with players somehow.

3 days ago
(updated 3 days ago)

No github, but it's under MIT license, so feel free to fork it! Although ideally I'd prefer if you made a mod that just set everyone to individual teams because then I would use it personally for non-spaceblock games.

Re: PvP game: I believe PvP ends when any team launches the rocket (if they haven't killed everyone else first), so space might not exist?

2 days ago

That is a genius idea, i will do that.

2 days ago

https://mods.factorio.com/mod/solo-teams
Pushed out an alpha iteration, not sure if it works.

New response