Multiplayer Individual Starting Spawns Scenario (0.17 Update)

This is the place to share custom user maps, scenarios, and campaigns.
Oarc
Fast Inserter
Fast Inserter
Posts: 100
Joined: Sun Sep 18, 2016 2:04 pm
Contact:

Multiplayer Individual Starting Spawns Scenario (0.17 Update)

Post by Oarc »

Scenario is now updated for 0.17. It's stable at this point and has several new features.

GitHub here: https://github.com/Oarcinae/FactorioSce ... e/dev_0.17

Some details here: https://www.reddit.com/r/factorio/comme ... _scenario/

New 0.17 changes:
1. Option for vanilla type spawn system.
2. RSO removed - no more reliance on RSO for balance. Vanilla enemy spawning should be well balanced now.
3. Config file improvements. Create any of your own starting resources, even modded. Easier map-gen-settings setup.
4. Option for randomizing the starting resource placement a bit.
5. Info button/GUI allows admins to ban or restart players if required.
6. Fixed some old outstanding issues like abandoned bases not being fully deleted sometimes.

----------- Old 0.15/0.16 post below ------------------

Hello fellow engineers!

Awhile back, I was looking for a mod or scenario that would allow players to have individual starting areas in multiplayer. I asked around, searched the forums, and found several others asking the same questions. The only real answer I ever found was the spacebook mod which was, for me, a bit overkill. (The mod looks amazing, I just wanted something simpler for myself and the players who join my server.)
So I decided to make my own scenario...

Here's the good stuff:
https://github.com/Oarcinae/FactorioSce ... layerSpawn
http://imgur.com/gallery/SiKHG

To use it, you just put the scenario into your own scenario folder. I recommend creating a new game via single player first to generate a map. Save that and host using the save file. You don't get map generation options if you skip that step and immediately start a multiplayer game I think?

How it works:
1. When you spawn, you can choose to join the main base, spawn somewhere else, or spawn somewhere else on your own force (team).
2. All teams are neutral. I'm only interested in PvE CooP.
3. You can choose a near spawn or a far spawn. Near spawns you somewhere on the edge of the currently generated map. Far spawn puts you 1000-6000 tiles away from the center.
4. Each individual spawn has the basic resources (water, trees, coal, stone, copper, iron, oil). Enough to get you started and all the way to trains for sure.
5. When you die, you can choose where you want to respawn (either the main base, or your individual spawn).
6. All spawn points are created with safe areas around them. I turn off enemy expansion so that safe areas stay safe for the most part.

How it actually works:
It seems to have gone over pretty well on my server. I host a dedicated server most of the time, some of you may have joined my previous vanilla servers. So far I've gotten pretty good feedback. Made some changes to improve things (like adding the gravestone soft mod) by request as well.


Let me know if you have any questions. I just wanted to share this scenario that I've been having quite a lot of fun with. I think it's stable enough to share (I've hosted 2-3 games spanning about 50+ hours using this scenario).

If you want to see what the game plays like, feel free to join my server:
Oarc | 0.14.X | US-East | Wilderness Spawn


(Also posted on reddit: https://www.reddit.com/r/factorio/comme ... _scenario/)
Last edited by Oarc on Sun Mar 31, 2019 4:18 pm, edited 2 times in total.

boeljoet
Inserter
Inserter
Posts: 20
Joined: Fri Sep 09, 2016 7:54 am
Contact:

Re: Multiplayer Individual Starting Spawns Scenario

Post by boeljoet »

the senario seemt to work for the most part.

but is there a place where you can disable beacons

i think i have this checked as on. without my intention

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2903
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: Multiplayer Individual Starting Spawns Scenario

Post by darkfrei »

Nice vanilla modification!

Maniah
Inserter
Inserter
Posts: 40
Joined: Thu Mar 24, 2016 4:31 am
Contact:

Re: Multiplayer Individual Starting Spawns Scenario

Post by Maniah »

Love playing this version!

I'm currently in the proces of making my own scenario heavily based on your code: viewtopic.php?f=33&t=42384#p248138

cheezecake
Burner Inserter
Burner Inserter
Posts: 6
Joined: Mon Oct 12, 2015 4:33 am
Contact:

Re: Multiplayer Individual Starting Spawns Scenario

Post by cheezecake »

Could i ask you Oarc how to get rso into a copy of the base freeplay scenario? ive been successful at transferring your choice of starting materials from the oarc_utils.lua to my own scenario but cant seem to get rso installed to.

Oarc
Fast Inserter
Fast Inserter
Posts: 100
Joined: Sun Sep 18, 2016 2:04 pm
Contact:

Re: Multiplayer Individual Starting Spawns Scenario

Post by Oarc »

The way to get RSO in is a little bit complicated...

The best way would probably be to copy what I did from my scenario. You should just be able to include the same files and make sure the chunk generate event is called correctly.

The only thing I have to warn is that you can't use any scenario with a pre-set map. The scenario has to set the map resource generation to none (I think set all sizes to none, inluding enemies)

Kane
Filter Inserter
Filter Inserter
Posts: 666
Joined: Fri Sep 05, 2014 7:34 pm
Contact:

Re: Multiplayer Individual Starting Spawns Scenario

Post by Kane »

There is the PvP One now that comes with the base of the game. Quite decent can play in teams or enemies and lots of control really nice gui/everything build into game. Downside is it has no enemy controls and I thought it use the base maps spawns but it does not seem to. So this one might be still wanted quite a bit.

Oarc
Fast Inserter
Fast Inserter
Posts: 100
Joined: Sun Sep 18, 2016 2:04 pm
Contact:

Re: Multiplayer Individual Starting Spawns Scenario

Post by Oarc »

FYI, I've updated this scenario to support 0.15
It's still active and working.

Most recently I added the option to join different teams which also have shared vision.

ZigomatiX
Manual Inserter
Manual Inserter
Posts: 3
Joined: Tue Apr 25, 2017 9:22 am
Contact:

Re: Multiplayer Individual Starting Spawns Scenario

Post by ZigomatiX »

Thanks for your work =)

A bit of bug report.
We are 60+ hours into a game, and just noticed that we can't research the rocket silo (probably due to the Frontier Silo enabled at start).
So we can't build other silos. Nor can we create satellites and rocket parts...
When the research ends, it doesn't register and it's still in the research list.

I tried to add the research using command (/c game.player.force.technologies['rocket-silo'].researched=true ) but still same problem.
Is there any way to disable the rocket silo objective and re-enable the ability to research it ?
Or maybe a way to extract the map and factories layout already built and import them into another game without the frontier silo ? (we do not want to loose all this work =) ).

ZigomatiX
Manual Inserter
Manual Inserter
Posts: 3
Joined: Tue Apr 25, 2017 9:22 am
Contact:

Re: Multiplayer Individual Starting Spawns Scenario

Post by ZigomatiX »

Quick update,
We probably picked your scenarion right when u "broke" it =p
As a workaround, we used /c game.player.force.recipes['item'].enabled = true to add rocket-silos and all components given by the research.

Namely :
rocket-control-unit
rocket-silo
rocket-fuel
rocket-part
low-density-structure
satellite

Kane
Filter Inserter
Filter Inserter
Posts: 666
Joined: Fri Sep 05, 2014 7:34 pm
Contact:

Re: Multiplayer Individual Starting Spawns Scenario

Post by Kane »

Noticed RSO does not work with Bobs stuff like normal RSO does sadly :(

orzelek
Smart Inserter
Smart Inserter
Posts: 3911
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: Multiplayer Individual Starting Spawns Scenario

Post by orzelek »

Kane wrote:Noticed RSO does not work with Bobs stuff like normal RSO does sadly :(
Can you be a bit more specific?

Kane
Filter Inserter
Filter Inserter
Posts: 666
Joined: Fri Sep 05, 2014 7:34 pm
Contact:

Re: Multiplayer Individual Starting Spawns Scenario

Post by Kane »

orzelek wrote:
Kane wrote:Noticed RSO does not work with Bobs stuff like normal RSO does sadly :(
Can you be a bit more specific?
Bobs ores does not seem to be working correctly as they normally would with RSO Installed. I guess the version of RSO your using has no effect with his ores as they spawn like vanilla ores:
Image

Bit with bobs/rso installed they are spread out like your scenario is with vanilla ores.

orzelek
Smart Inserter
Smart Inserter
Posts: 3911
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: Multiplayer Individual Starting Spawns Scenario

Post by orzelek »

Did you install RSO as a mod or copy it into scenario?

RSO doesn't work properly without data stage changes and that would show up as normally generated ores - disabling them requires data stage modifications.

Kane
Filter Inserter
Filter Inserter
Posts: 666
Joined: Fri Sep 05, 2014 7:34 pm
Contact:

Re: Multiplayer Individual Starting Spawns Scenario

Post by Kane »

Well the Scenario comes with RSO so I did not install it again or copy anything but his lib files (that include RSO). I have a feeling bobs did not exist or does not work correctly.

orzelek
Smart Inserter
Smart Inserter
Posts: 3911
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: Multiplayer Individual Starting Spawns Scenario

Post by orzelek »

There is no way for scenario to come with RSO since RSO requires data stage to work properly atm.

Kane
Filter Inserter
Filter Inserter
Posts: 666
Joined: Fri Sep 05, 2014 7:34 pm
Contact:

Re: Multiplayer Individual Starting Spawns Scenario

Post by Kane »

But but... I just played 500 hours of the scenario :P

It for sure has some sort of RSO Version included without me installing RSO the mod:

https://github.com/Oarcinae/FactorioUti ... master/rso



Image

orzelek
Smart Inserter
Smart Inserter
Posts: 3911
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: Multiplayer Individual Starting Spawns Scenario

Post by orzelek »

Then I'm sorry but that RSO is not the one I'm maintaining :)
So you'd need to talk to owner of this RSO copy.

And it would be good if person doing it would change the name to not cause confusion between mod and scripts.

Kane
Filter Inserter
Filter Inserter
Posts: 666
Joined: Fri Sep 05, 2014 7:34 pm
Contact:

Re: Multiplayer Individual Starting Spawns Scenario

Post by Kane »

Oarc is the one why I'm posting here for his thread haha :)

bats92
Manual Inserter
Manual Inserter
Posts: 1
Joined: Wed May 17, 2017 5:28 pm
Contact:

Re: Multiplayer Individual Starting Spawns Scenario

Post by bats92 »

Good day,

I previously used an OARC scenario in my multiplayer server, however recently when trying to add the scenario again i'm getting a error - this is when i'm trying to generate the world after adding the scenario and utils.

I've followed the instructions as on the GITHUB page, i have Windows 10 - has anyone else had these issues?

The error is "Error while running on_init: LuaForce doesnt contain key set_friend."

I've checked the file it calls can i can see the entry is there so i am unsure why i am thrown the error.

Many thanks

Post Reply

Return to “Maps and Scenarios”