Placeable-off-grid


Adds "placeable-off-grid" flag to every entity in the game. Was just wondering if I could do that.

Tweaks
a month ago
0.16 - 2.1
704
Logistics Cheats
Owner:
JohnTheCoolingFan
Source:
https://github.com/JohnTheCoolingFan/...
Homepage:
https://discord.gg/KPnETvMDYk
License:
MIT
Created:
8 years ago
Latest Version:
0.3.1 (a month ago)
Factorio version:
0.16 - 2.1
Downloaded by:
704 users

Ever got tired of simple grid-based building, with no real challenge? Then this mod is exactly for you! You're no longer constrained by limitations of the grid! Build wherever you want, whatever you want!

Short about

PlaceableOffGrid is mod that allows you to place any entity (conveyors, assemblers, inserters, pipes, etc.) not only on the grid. It breaks some graphics (like conveyor belts.) but still fun and, maybe, hardcore.
How to enable grid

Settings

  • You can control which entity types get affected by the mod.
  • You can enable or disable the tool to snap the entities to grid (or lock it behind a research)

A word of caution

The placeable-off-grid flag on belts and belt-adjacent entities is discouraged, but since 0.3.0 there are mechanisms put in place to prevent those issues. If those mechanisms fail, your save could be bricked.

Image

Long about

Transport belts

On a screenshot below, you can see how belts looks like with this mod (placed by hand)
Don't worry, you can disable this for belts and pipes. Scroll to the end to find out how.
Image
They are still working well, because belt that moves items and belt-the-entity is a separate objects. Entity have cycled animation, hitboxes, etc. but Item-moving are always tied to the grid and moves items. Entity is just graphics.

Linking

Item-moving parts need to be “linked” with each other to move items to the next segment of belt. When entity placement tied to grid, parts link automatically. But with PlaceableOffGrid you need to do this “by hand”.
On the next images you can see belts when placing them:
Not linked: Image
Linked: Image
Also linked, but distance are shorter: Image
Same with splitters: Image

Underground belts

While placing underground belt, you can see "link line" connecting output and input.
Image
Remember, it's just a graphics (and collision).
Image
We can also place second underground belt output, so we have 1 input and 2 outputs, but item-moving part still the same (just a preview, I tested this).
Image

Pipes

Same thing with pipes:
Linked: Image
Not linked: Image
Grid-look (Shift+Space): Image

Rails

Rails have a bit of differences with belts and pipes. Rails have their own, more precise work logic and grid (nut placeable-off-grid flag still work). Rail planned places rails by grid, but if you place rails by hand, you need to be very precise.
Image
Image
And this is what you get if you hold LMB and run at the east:
Image
You can't place any of train parts there:
Image

Did you ever knew that rails have two rail-grids? Every lane built with rail planner:
Image

Train signals and stations have placeable-off-grid flag too:
Image
I tested stopping position with stations:
Image

Heat pipes

Heat pipes are working like fluid pipes.
Image

Settings

Starting from 0.1.3 you can select which prototype-types will be affected by Placeable-off-grid:
Image
For belts and pipes it should be "transport-belt", "underground-belt", "splitter", "pipe", "pipe-to-ground", "heat-pipe"

Useful tools

Snapper to grid tool added in 0.1.4. It turns this: Image into this: Image
But it don't affect on belts, pipes, rails, etc.

Various screenshots:

Cheat-pole

Generators are connected
Image

Map bug

Image

"Squeak through"

Generators are connected
Image

:D

Image

Lab complex

Image

Other my mods:

Mod source code is also available at Gitlab (mirrored from github)

Image

Support

If you would like to support my unholy work, you can donate me using BTC, BCH or ETH (images are too large, so it's just a link):
Bitcoin Cash (BCH)
Bitcoint (BTC)
Ethereum (ETH)

You can also contact me on discord, if you would like to donate some other way.