RFC ---- Pipe mod ---- Request For Comments

Place to get help with not working mods / modding interface.
Epsilon
Manual Inserter
Manual Inserter
Posts: 1
Joined: Fri Nov 08, 2024 5:11 pm
Contact:

RFC ---- Pipe mod ---- Request For Comments

Post by Epsilon »

Pipes suck. In the base game, pipes play like a prototype. There's no way to control where they connect. Underground pipes are extremely limited, with a single entity that connects on one side on the surface, and the opposite way underground. Factorio 2.0 fixed fluid movement in pipes; now I want to fix the pipes themselves.

Existing mods solve parts of the problem. No mod(s) solve all the problems without shoving absurd complexity at the user.

Goals:
  • Control surface pipe connections
  • Flexible connections for Surface-to-ground (STG) pipes
  • Low complexity in Entity / Item / Recipe (EIR) and technologies
  • Blueprint compatible
  • Simple to use
Design:

Pipes of 3 different materials that only connect to their own type using connection_category. This allows pipe braiding as seen in NPT.

Underground pipes are a departures from what came before. STG will:
  1. have 3 materials (for all connections, above and below, utterly incompatible with other material pipes).
  2. connect in all 4 directions underground.
  3. Single EIR per material.
  4. not require any surface connections like underground pipe extension from AFH. This is the same EIR as STG.
  5. No active scripting, no UI, no complexity anywhere
Technical requirements:
  • 15 * 3 sprites for surface pipes. 3 material types, 15 connection combinations.
  • 15 * 3 sprites for STG pipes. 3 material types, 15 surface connection combinations.
  • 16 sprites for STG pipes with no surface connection.
  • 3 EIR for surface pipes
  • 3 EIR for STG pipes
  • Tunable mod parameter for connection length
Alternate ideas:
  1. Reduce surface pipe EIR by auto-selecting material for click/drag pipes?
  2. Control which underground connections are enabled? Perhaps use scripting to connect underground, to avoid entity complexity.
  3. Underground pipe terminators? As stated, we may accidentally connect to distant underground pipes. Especially true if user increases connection length.
  4. Add a connector pipe and EIR, to connect pipes of different materials?
Feedback wanted!
  • How can I improve this design?
  • Bugs or unforeseen problems?
Artwork wanted as well.
Post Reply

Return to “Modding help”