Grid Planner


Plan out base geometry and reserve space by assigning chunks to regions. Basically a pixel art editor on a large grid overlaid on the factorio map, intended for planning factory layouts.

Utilities
16 hours ago
2.0
16
Owner:
unique_2
Source:
https://github.com/BlueOne/factorio-g...
Homepage:
N/A
License:
MIT
Created:
16 hours ago
Latest Version:
0.1.1 (16 hours ago)
Factorio version:
2.0
Downloaded by:
16 users

Grid Planner

Plan out base geometry and reserve space by assigning chunks to regions. Basically a pixel art editor on a large grid overlaid on the factorio map, intended for planning factory layouts.

Inspired by GridLocked, Bigfoot's Base Engineering Video and Pyanodon Mods. Uses Flib.

Features

General: Undo, Redo, Configure Visibility, Configure Grid Size and Offset.

Drawing Tools: Rect Draw, Pipette

Region Config: Create, Delete, Configure, Regions. Change Region Order in Display

Hotkey Defaults

  • Rect Draw Tool: Control + Shift + R
  • Pipette: Control + Shift + Q
  • Undo: Control + Shift + Z
  • Redo: Control + Shift + Y
  • More Visible: Control + Shift + W
  • Less Visible: Control + Shift + S

Multiplayer Notes: Players have separate undo/redo queues, which is fine if the edits don't overlap but might be confusing if they do.

Future

There is always more that one can do but right now the mod works well for me and my personal requirements. If enough people are interested I might put some more time into it. Or you can drop a pull request (as soon as I put the source somewhere).

Performance is good but there is potential for optimization. On my device drawing ~1k grid cells makes the game stutter noticably, deletion and changing color is faster. It takes a long time to reach this point in natural gameplay due to two reasons: It makes sense to increase grid size when your build size increases, for example due to construction bots or simply batching more. It also makes sense to delete areas where no more planning is needed because the area is settled.

Features I might add enough people poke me and I find the time:

  • Some way to draw at specific distances. Not sure on the UI yet.

  • Layers, e.g. to allow different grid sizes on the same surface.

  • Select, Copy, Paste, Rotate, Mirror, for symmetry enjoyers

  • A way to differentiate regions beyond color, to increase visual clarity. Not sure what to do exactly yet.

  • Performance optimization or batch long operations over multiple ticks.

  • Better UI Styling