1
0
mirror of https://github.com/Oarcinae/FactorioScenarioMultiplayerSpawn.git synced 2024-12-14 10:23:17 +02:00
A custom scenario for Factorio which provides each player a unique starting spawn point in a multiplayer game.
Go to file
2018-02-03 21:50:52 -05:00
locale Exposing more custom enemy options for my custom difficulty. Added disable destroy factor for evolution. 2018-02-03 14:37:32 -05:00
config.lua Exposing more custom enemy options for my custom difficulty. Added disable destroy factor for evolution. 2018-02-03 14:37:32 -05:00
control.lua Adding a kit command and belt immunity. 2018-02-01 13:37:34 -05:00
LICENSE First commit 2016-11-10 05:22:32 -05:00
README.md Fix typo and correct readme since RSO is now included. 2017-12-17 13:08:07 -05:00
regrowth_map.lua Add some comments in code, todo and explanation. 2018-02-03 21:50:52 -05:00
separate_spawns_guis.lua Reducing the long reach by about half, seemed kind of OP. Added a custom flag for changing to my difficulty settings. Fixed silo charting for other forces. Removed attempts at trying to randomize regrowth of ores. 2018-02-03 12:10:55 -05:00
separate_spawns.lua Add some comments in code, todo and explanation. 2018-02-03 21:50:52 -05:00

FactorioScenarioMultiplayerSpawn

A custom scenario for allowing separate spawn locations in multiplayer. Designed for Co-op and PvE.

0.16 is EXPERIMENTAL RIGHT NOW... Both the game and the scenario.

NOTE

It appears as though the method of saving a zip file on one computer and then using that to host on another headless server may causes crashes / GUI issues. Please try launching the game from the command line instead. See STEP 3 - Option 3.

Instructions

STEP 1

Download the zip.

Place it in your Factorio/scenarios/... folder.

It should look something like this (for my windows steam install location):

C:\Users\user\AppData\Roaming\Factorio\scenarios\FactorioScenarioMultiplayerSpawn\control.lua

STEP 2

Go into config.lua and edit the strings to add your own server messages.

Rename the "FactorioScenarioMultiplayerSpawn" folder to something shorter and more convenient (optional).

STEP 3

OPTION 1 (Client Hosted)

Start a multiplayer game on your client like normal.

OPTION 2 (Headless)

(Bugged in 0.16) Generate a new map, use that save file to host if you want to.

OPTION 3 (Headless)

Place the scenario code in the game's scenario folder, typically something like "..\Factorio\scenarios\FactorioScenarioMultiplayerSpawn\.."

Start a new game (generates a random map based on the config in config.lua) from the command line: ./factorio --start-server-load-scenario FactorioScenarioMultiplayerSpawn --server-settings my-server-settings.json

If you want to RESUME from this method, use something like this: ./factorio --start-server-load-latest --server-settings my-server-settings.json

Configuration

Look in config.lua for some controls over the different modules.

Not all configurations have been fully tested so modify at your own risk.

If you want to change the RSO config, look for the rso_config and rso_resource_config files.

TODO

I need to update this with more details about the implementation and explain some of the configuration options.

For now, just take a look at the source and it should be easy to understand I hope.

Credit

RSO is not my own creation. It was done by Orzelek. I requested permission to include it in my scenario.

https://mods.factorio.com/mods/orzelek/rso-mod

Several other portions of the code (tags, frontier style rocket silo) have also been adapted from other scenario code.

Credit to 3Ra for help as well: https://github.com/3RaGaming

Praise be to Mylon

Random Notes

While it is an option to disable RSO, I would not recommend doing that. I can't guarantee any bugs or issues as I focus mostly on testing with RSO enabled.

Feel free to submit bugs/fixes/requests/pulls/forks whatever you want.

I do not plan on supporting PvP, but I will help anyone who wants to make it a configurable option.