[MOD 0.12, 0.13, 0.14, 0.15] Flow Control

Topics and discussion about specific mods
GotLag
Filter Inserter
Filter Inserter
Posts: 532
Joined: Sat May 03, 2014 3:32 pm
Contact:

[MOD 0.12, 0.13, 0.14, 0.15] Flow Control

Post by GotLag »

Formerly known as Rotatable Pipes

For 0.14 and 0.15 mod info, please see the mod portal entry

Type: Mod
Name: Flow Control
Description: Adds new valves, pumps, and limited-connectivity pipes for better fluid layout and control
License: No rights reserved
Version: 1.1.2
Release: 2016-04-25
Tested-With-Factorio-Version: 0.12.30
Category: SimpleExtension
Download: Mod Portal
Flow Control_2.0.0.zip
Factorio 0.13
(169.25 KiB) Downloaded 2280 times
Flow Control_1.1.2.zip
Factorio 0.12
(169.17 KiB) Downloaded 3223 times
Older Versions

Localisations
Deutsch, English, 日本語, Русский

License
License
Description
This mod adds three valves, a new pump, and three rotatable pipe shapes that do not connect on all sides.
The valves and pump are unlocked by researching Fluid handling, the pipes have no research requirement.

Non-return valve
Also known as a check valve
Image
Allows full-speed flow in one direction, indicated by the green arrow.
Can output its fluid level to red/green wires.
Recipe: 1 steel plate, 1 iron gear, 1 pipe

Overflow valve
Image
Allows flow in the direction of the orange arrow, but only when the input pressure is above 80% (i.e. the attached pipe or tank is 80% full). The maximum flow rate of the overflow valve is less than a regular pipe. Useful as an outlet for excess production, for example cracking excess heavy oil when lubricant supply exceeds demand.
Can output its fluid level to red/green wires.
Recipe: 1 electronic circuit, 1 steel plate, 1 iron gear, 1 pipe

Top-up valve
Image
Allows flow in the direction of the white arrow, but only when the output pressure is below 80% (i.e. the attached pipe or tank is less than 80% full). The maximum flow rate of the float valve is less than a regular pipe. Useful for topping up or acting as a reduced-priority fluid input. Note that a small amount of fluid will remain in this valve when the pipe is emptied.
Can output its fluid level to red/green wires.
Recipe: 1 electronic circuit, 1 steel plate, 1 iron gear, 1 pipe

Small pump
Image
The small pump you know and love from Factorio. Included here to show its new icon (to match the others). No changes apart from the icon.

Express pump
Image
A high-speed, high-pressure pump for your high-speed, high-pressure pumping needs. Five times faster than the regular small pump, but uses only four times the electricity. For an example of their speed, two of these (one each side of the track) can fill a rail tanker in 10 seconds. Say goodbye to oil barrels forever!
Recipe: 3 small pumps, 4 steel plates, 1 pipe

Pipes
Elbow, T-junction and straight pipes, that only connect in appropriate directions. Each pipe is crafted from one normal pipe, and when mined drops a normal pipe.
Pipe pictures
Version History
Version history
Known Issues
Non-return and overflow valves have large fluid icons in the information overlay (Alt-key). This is because they are modified storage tanks, and the icon size is hard-coded. Can't fix, sorry.
Last edited by GotLag on Wed Apr 26, 2017 5:55 am, edited 27 times in total.
orzelek
Smart Inserter
Smart Inserter
Posts: 3924
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: [0.12.x] Rotatable Pipes v1.0.0

Post by orzelek »

Nice one :)
Might allow some nice and tidy designs on oil processing.
User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: [0.12.x] Rotatable Pipes v1.0.0

Post by ssilk »

Moved to single items board, cause it matches better. I know it's difficult to understand: if this mod is removed the gaps can be replaced with existing pipes (more or less).

BTW: viewtopic.php?f=97&t=16373 Straight Pipes
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
GotLag
Filter Inserter
Filter Inserter
Posts: 532
Joined: Sat May 03, 2014 3:32 pm
Contact:

Re: [0.12.x] Rotatable Pipes v1.0.0

Post by GotLag »

ssilk wrote:BTW: viewtopic.php?f=97&t=16373 Straight Pipes
That mod was my direct inspiration, as it has a few problems: it's got a bug that prevents Factorio from starting, it's apparently abandoned, and it's a bit of a pain to use (10 recipes, difficult to choose the right pipe in a hurry).
My version has only 3 new recipes, and I find it far more intuitive to pick the correct recipe based on shape and rotate it to fit, rather than choose a recipe based on which cardinal directions it connects to.
ProphetofEden
Burner Inserter
Burner Inserter
Posts: 19
Joined: Sun Feb 07, 2016 5:16 am
Contact:

Re: [0.12.x] Rotatable Pipes v1.0.0

Post by ProphetofEden »

i absolutely love this mod, i only wish that the pictures of whats inside the pipe where small like the vanilla, other then that this is exactly what i needed to organize my refinery and other systems
Megamin
Burner Inserter
Burner Inserter
Posts: 6
Joined: Thu Mar 03, 2016 11:51 am
Contact:

Re: [0.12.x] Rotatable Pipes v1.0.0

Post by Megamin »

Yes, I'd like to support previous post: smaller icons (and probably less numerous) should make info overview cleaner.
GotLag
Filter Inserter
Filter Inserter
Posts: 532
Joined: Sat May 03, 2014 3:32 pm
Contact:

Re: [0.12.x] Rotatable Pipes v1.0.0

Post by GotLag »

ProphetofEden wrote:i absolutely love this mod, i only wish that the pictures of whats inside the pipe where small like the vanilla, other then that this is exactly what i needed to organize my refinery and other systems
Megamin wrote:Yes, I'd like to support previous post: smaller icons (and probably less numerous) should make info overview cleaner.
I've found a way to fix this, but it would remove the ability to rotate pipes after they've been placed - you'd have to replacing it with a new rotatable pipe, oriented the way you need.
Should I go ahead?
Megamin
Burner Inserter
Burner Inserter
Posts: 6
Joined: Thu Mar 03, 2016 11:51 am
Contact:

Re: [0.12.x] Rotatable Pipes v1.0.0

Post by Megamin »

If it wasn't the mod main idea (well, it's called rotatable pipes for a reason, I guess)) -- fine with me, I never rotate them after placing anyway.
GotLag
Filter Inserter
Filter Inserter
Posts: 532
Joined: Sat May 03, 2014 3:32 pm
Contact:

Re: [0.12.x] Rotatable Pipes v1.0.0

Post by GotLag »

Megamin wrote:If it wasn't the mod main idea (well, it's called rotatable pipes for a reason, I guess)) -- fine with me, I never rotate them after placing anyway.
The name came because I couldn't think of anything else and it's how they work. I'm happy to change that as well.
GotLag
Filter Inserter
Filter Inserter
Posts: 532
Joined: Sat May 03, 2014 3:32 pm
Contact:

Re: [0.12.x] Rotatable Pipes v1.0.1

Post by GotLag »

Updated to fix the oversized fluid symbol, placed pipes can still be rotated. Everyone wins!
Aidoboy
Manual Inserter
Manual Inserter
Posts: 4
Joined: Fri Dec 04, 2015 8:15 pm
Contact:

Re: [0.12.x] Rotatable Pipes v1.0.1

Post by Aidoboy »

Windows Defender says this is a trojan. Anyone know what Win32/Spursint.A is?
GotLag
Filter Inserter
Filter Inserter
Posts: 532
Joined: Sat May 03, 2014 3:32 pm
Contact:

Re: [0.12.x] Rotatable Pipes v1.0.1

Post by GotLag »

It's a false positive is what it is.

http://www.garyshood.com/virus/results. ... 6d6802b1bb
boksiora
Fast Inserter
Fast Inserter
Posts: 109
Joined: Thu Mar 10, 2016 7:45 pm
Contact:

Re: [MOD 0.12.x] Rotatable Pipes v1.0.1

Post by boksiora »

Hi, if you get control.lua error on plugin start

Replace the code in your file in

Code: Select all

C:\Users\user\AppData\Roaming\Factorio\mods\Rotatable Pipes_1.0.1\control.lua
With

Code: Select all

require "defines"
if game.players then
game.on_event(defines.events.on_built_entity, function(event)
  if event.player_index then
  local player = game.players[event.player_index]
  if player then
  if event.created_entity.name == "pipe-elbow"
  or event.created_entity.name == "pipe-junction"
  or event.created_entity.name == "pipe-straight" then
    player.rotate_for_build()
    player.rotate_for_build()
  end
  end
  end
end)
end
GotLag
Filter Inserter
Filter Inserter
Posts: 532
Joined: Sat May 03, 2014 3:32 pm
Contact:

Re: [MOD 0.12.x] Rotatable Pipes v1.0.1

Post by GotLag »

What Factorio version, and is that multiplayer or single?
boksiora
Fast Inserter
Fast Inserter
Posts: 109
Joined: Thu Mar 10, 2016 7:45 pm
Contact:

Re: [MOD 0.12.x] Rotatable Pipes v1.0.1

Post by boksiora »

hi Gotlag my factorio version is 0.12.3 (old version) the error is on game start

the code above fixes it and its working with no problems


EDIT: i just updated my Factorio and its working with no problems. Seems the MOD have problems only on old versions
GotLag
Filter Inserter
Filter Inserter
Posts: 532
Joined: Sat May 03, 2014 3:32 pm
Contact:

Re: [MOD 0.12.x] Flow Control v1.1.0

Post by GotLag »

Added new valves and pump, changed name of mod from Rotatable Pipes to Flow Control.
erro
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Mar 15, 2016 3:38 pm
Contact:

Re: [MOD 0.12.x] Flow Control v1.1.0

Post by erro »

Very nice and useful mod!
Is it possible to add straight pipes with glass indicator? Like normal pipes do when you connect 2+ straight pipes. You still can use normal pipes between straight modded, but it is not possible to place indicators on the same line, cuz they will connect.
GotLag
Filter Inserter
Filter Inserter
Posts: 532
Joined: Sat May 03, 2014 3:32 pm
Contact:

Re: [MOD 0.12.x] Flow Control v1.1.0

Post by GotLag »

That would require making north-south and east-west straight pipes separate recipes, which I don't want to do. You can always press Alt to see the type of liquid in a pipeline, and mousing over the pipes will show their contents as well.
October
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sat Mar 19, 2016 1:34 pm
Contact:

Re: [MOD 0.12.x] Flow Control v1.1.0

Post by October »

I can't walk through pipes. Please, created this...
diilmac
Burner Inserter
Burner Inserter
Posts: 14
Joined: Wed Mar 23, 2016 12:34 pm
Contact:

Re: [MOD 0.12.x] Flow Control v1.1.0

Post by diilmac »

polish translation made by me
http://pastebin.com/xSFcKrp6
Post Reply

Return to “Mods”