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-10-25 12:34:50 +02:00
locale/en locale/gen_[...] ==> map_gen/[...] #152 2018-01-19 15:18:01 +01:00
map_gen Update map_gen/Diggy/Feature/MarketExchange.lua 2018-10-25 12:34:50 +02:00
resources updated regs 2018-10-09 15:32:29 +01:00
utils moved math functions into math.lua 2018-10-04 17:56:49 +02:00
.gitignore added *.sh to gitignore 2018-01-24 12:42:57 +01:00
antigrief.lua changed Game.players to Game.get_player_by_index(index) 2018-09-23 11:46:58 +01:00
autodeconstruct.lua refactor + burner drill bug fix 2018-07-19 13:28:00 +01:00
base_data.lua changes to match new event module 2018-04-06 20:58:50 +01:00
blueprint_helper.lua changed Game.players to Game.get_player_by_index(index) 2018-09-23 11:46:58 +01:00
bot.lua changed Game.players to Game.get_player_by_index(index) 2018-09-23 11:46:58 +01:00
config.lua Some polishing and minor fixes 2018-10-02 10:09:03 +02:00
control.lua Merge pull request #226 from Valansch/sqrt_cleansing 2018-10-09 11:44:39 +02:00
corpse_util.lua changed Game.players to Game.get_player_by_index(index) 2018-09-23 11:46:58 +01:00
custom_commands.lua fixed all_tech syntax error 2018-10-16 15:59:31 +02:00
fish_market.lua changed Game.players to Game.get_player_by_index(index) 2018-09-23 11:46:58 +01:00
follow.lua changed Game.players to Game.get_player_by_index(index) 2018-09-23 11:46:58 +01:00
infinite_storage_chest.lua changed Game.players to Game.get_player_by_index(index) 2018-09-23 11:46:58 +01:00
info.lua map info text boxes now word wrap 2018-10-07 15:49:12 +01:00
LICENSE Remove user guide from license 2018-08-25 02:55:55 -04:00
map_layout.lua Disabled diggy by default 2018-10-14 14:25:41 +02:00
nuke_control.lua autoban barcodes 2018-10-04 10:53:35 +02:00
paint.lua changed Game.players to Game.get_player_by_index(index) 2018-09-23 11:46:58 +01:00
player_colors.lua changed Game.players to Game.get_player_by_index(index) 2018-09-23 11:46:58 +01:00
player_list.lua moved math functions into math.lua 2018-10-04 17:56:49 +02:00
player_stats.lua changed Game.players to Game.get_player_by_index(index) 2018-09-23 11:46:58 +01:00
poll.lua moved math functions into math.lua 2018-10-04 17:56:49 +02:00
popup.lua added /popup-player cmd + hooks to show popus programmatically. 2018-10-07 23:22:03 +01:00
reactor_meltdown.lua Game is now local 2018-09-22 23:25:13 +01:00
README.md Update README.md 2018-09-12 21:47:15 +02:00
report.lua changed Game.players to Game.get_player_by_index(index) 2018-09-23 11:46:58 +01:00
score.lua changed Game.players to Game.get_player_by_index(index) 2018-09-23 11:46:58 +01:00
spawn_control.lua changed Game.players to Game.get_player_by_index(index) 2018-09-23 11:46:58 +01:00
tag_group.lua changed Game.players to Game.get_player_by_index(index) 2018-09-23 11:46:58 +01:00
tasklist.lua moved math functions into math.lua 2018-10-04 17:56:49 +02:00
train_saviour.lua changed Game.players to Game.get_player_by_index(index) 2018-09-23 11:46:58 +01:00
train_station_names.lua changed Game.players to Game.get_player_by_index(index) 2018-09-23 11:46:58 +01:00
user_groups.lua changed Game.players to Game.get_player_by_index(index) 2018-09-23 11:46:58 +01:00
wood_market.lua changed Game.players to Game.get_player_by_index(index) 2018-09-23 11:46:58 +01:00

RedMew Scenario

Getting Started

To use our scenario download it here and unzip it into %AppData%/factorio/scenarios/ (~/.factorio/scenarios for linux). If you are using our scenario for a public-facing multiplayer server, please be sure to provide attribution back here to the github and keep links to our discord/patreon/website intact.

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.