/factorio-softmod-pack

My custom Factorio softmod pack

Primary LanguageLuaGNU General Public License v3.0GPL-3.0

DDDGamer's Factorio v0.16 Softmod Collection (Scenario) Build Status

Contains QOL code to help out in the game such as automatic deconstruction of miners, death markers, tasks, player list, etc...

What is a soft mod? A modification to the control.lua file.

control.lua

  • Factorio folder location: Factorio/data/base/scenarios/freeplay/
  • Scenario location: %appdata%/Factorio/scenarios/<scenario_name>
  • Purpose: The file sets up the initial game and is downloaded onto all the clients automatically in multiplayer. The original vanilla file tells the game to give you items at the start of the game and gives you pistol + ammo upon respawn. Extension of this functionality brings "limitless possibilities". The Wave defence Scenario is one example of a softmod already packaged with the game.

Support Me

If you found the pack or the source code useful, consider supporting me on Patreon.

button

Installation

  • Download the softmod pack zipped file (dddgamer-softmod-pack.zip) from the Latest Release
  • Extract to %appdata%/Factorio/scenarios/
  • (Optional) Enable/disable softmod modules in the control.lua to your liking
  • Launch Factorio
  • Play -> Scenarios -> dddgamer-softmod-pack

Add to an existing save

  • Download the softmod pack zipped file (dddgamer-softmod-pack.zip) from the [Latest Release]
  • Browse to the save file (.zip archive file)
    • Local saves are in C:/Users/[your-username]/AppData/Roaming/Factorio/saves/
  • Open your save game zip
    • (typically _autosave1.zip for autosaves on regular game or servers)
  • Extract the softmod pack contents into the saved file replacing the control.lua

Dev

Some notes to help the dev process.

Notes:

  • Previous pack versions are saved on separate branches.
  • This pack is not finalized, there are still some modules under development that are not listed in the control.lua

Files

Dev files will be removed from the release build, see the github repository for all the files.

.
├── .build-scripts/      <- Scripts for github/travis builds
├── locale/             <- Translation strings
├── modules/            <- The actual softmod modules
├── stdlib/             <- Factorio "standard library" classes, main one being the Event
├── util/               <- Contains some utility classes like colors, math, styles.
├── .code-templates.md  <- Some code snippets for development purposes.
├── config.lua          <- Just creates a config global for now.
├── control.lua         <- Entry file that loads all the other modules, configure what to load here.
└── README.MD           <- This file

References

Screenshots

Game Start with softmod pack Auto Research Task List Game Info Player List