1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00
The RedMew scenario code for Factorio. https://redmew.com/
Go to file
2018-04-05 15:39:35 +02:00
locale/en locale/gen_[...] ==> map_gen/[...] #152 2018-01-19 15:18:01 +01:00
map_gen add sine fill builder 2018-03-29 19:23:58 +01:00
resources locale/resources/ ==> resources/ 2018-01-19 15:03:41 +01:00
utils Made Task queue only change tasks per tick every 5 seconds 2018-02-02 00:37:08 +01:00
.gitignore added *.sh to gitignore 2018-01-24 12:42:57 +01:00
autodeconstruct.lua Fixed uranium decon. Added commands all-tech, hax, pool, meltdown 2018-02-26 16:57:47 +01:00
band.lua locale/resources/ ==> resources/ 2018-01-19 15:03:41 +01:00
base_data.lua Initial commit. Imported RedMew 1.7 2017-06-13 13:16:07 +02:00
config.lua Removed Wells, on_tick.lua. Enabled walk distance again. 2018-04-05 15:39:35 +02:00
control.lua Removed Wells, on_tick.lua. Enabled walk distance again. 2018-04-05 15:39:35 +02:00
corpse_util.lua Schedule check once every 60 ticks 2017-12-19 16:47:07 +01:00
custom_commands.lua Removed Wells, on_tick.lua. Enabled walk distance again. 2018-04-05 15:39:35 +02:00
fish_market.lua Removed Wells, on_tick.lua. Enabled walk distance again. 2018-04-05 15:39:35 +02:00
follow.lua fixed typo in follow.distance() which caused the function to return incorrect results 2017-07-30 18:00:28 +02:00
info.lua Removed Wells, on_tick.lua. Enabled walk distance again. 2018-04-05 15:39:35 +02:00
LICENSE Create LICENSE 2017-09-17 23:11:08 +02:00
map_layout.lua added cookie map 2018-03-27 16:15:43 +01:00
nuke_control.lua added entities_allowed_to_bomb 2018-02-08 08:55:26 +01:00
player_list.lua Removed Wells, on_tick.lua. Enabled walk distance again. 2018-04-05 15:39:35 +02:00
poll.lua Removed Wells, on_tick.lua. Enabled walk distance again. 2018-04-05 15:39:35 +02:00
reactor_meltdown.lua Fixed uranium decon. Added commands all-tech, hax, pool, meltdown 2018-02-26 16:57:47 +01:00
README.md Update README.md 2018-03-25 19:07:16 +02:00
score.lua GUI updates for #129 2017-12-15 11:52:26 -05:00
spawn_control.lua added function for adding new spawns 2017-08-28 07:08:23 +01:00
tasklist.lua Tasklist no longer shows on start. 2017-12-16 06:47:02 -05:00
train_station_names.lua Initial commit. Imported RedMew 1.7 2017-06-13 13:16:07 +02:00
user_groups.lua Small changes in code 2018-02-01 09:09:44 -05:00
walk_distance.lua Removed Wells, on_tick.lua. Enabled walk distance again. 2018-04-05 15:39:35 +02:00

RedMew Scenario

Getting Started

To use our scenario download it here and unzip it into %AppData%/factorio/scenarios/ (~/.factorio/scenarios for linux)

Generating maps

There are 3 ways to generate maps using our scenario: Vanilla, FactorioMapConverter and Custom Maps.

Vanilla

Just start the scenario from the scenario menu and you are ready to go.

Custom Maps

We have many premade map modules that you can combine to create a unique map.

Checkout map_gen/data/map_previews to view all our modules. You can select and activate a module by removing the "--" infront of the module in the map_layout.lua file.

You can mix as many modules as you want, as long as they logically fit together.

Futher instructions on this read the comments in the map_layout.lua file.

FactorioMapConverter

You can generate your own maps from images. This works in 2 steps:

First convert the image file into a lua file (For example image_data.lua). Then use our scenario to loa the image_data.lua file and generate the map from it.

To achieve this please follow these steps:

  1. Download the Map Converter here (Windows only) to generate the image_data.lua.
  2. Place your image_data.lua file in the folder /map_gen/data/presets/
  3. Create new lua file (for example my_image.lua) inside the folder map_gen/presets/. This file is used to configure your map (scale, translaten etc.)
    To do this you can copy map_gen/presets/template.lua and replace line 8 to point to your image_data.lua
  4. Load your new preset by adding a new line to map_layout.lua. This should look similar to this:
    MAP_GEN = require "map_gen.presets.my_image.lua"
  5. Load the scenario from the scenario menu.