Page 1 of 6

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

Posted: Mon Feb 29, 2016 8:44 am
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 2231 times
Flow Control_1.1.2.zip
Factorio 0.12
(169.17 KiB) Downloaded 3177 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.

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

Posted: Mon Feb 29, 2016 6:21 pm
by orzelek
Nice one :)
Might allow some nice and tidy designs on oil processing.

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

Posted: Tue Mar 01, 2016 11:46 pm
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

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

Posted: Wed Mar 02, 2016 12:46 am
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.

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

Posted: Wed Mar 02, 2016 8:41 am
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

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

Posted: Thu Mar 03, 2016 12:04 pm
by Megamin
Yes, I'd like to support previous post: smaller icons (and probably less numerous) should make info overview cleaner.

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

Posted: Thu Mar 03, 2016 12:57 pm
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?

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

Posted: Thu Mar 03, 2016 1:26 pm
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.

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

Posted: Fri Mar 04, 2016 4:31 am
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.

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

Posted: Fri Mar 04, 2016 1:23 pm
by GotLag
Updated to fix the oversized fluid symbol, placed pipes can still be rotated. Everyone wins!

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

Posted: Fri Mar 04, 2016 4:40 pm
by Aidoboy
Windows Defender says this is a trojan. Anyone know what Win32/Spursint.A is?

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

Posted: Fri Mar 04, 2016 5:49 pm
by GotLag
It's a false positive is what it is.

http://www.garyshood.com/virus/results. ... 6d6802b1bb

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

Posted: Thu Mar 10, 2016 7:52 pm
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

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

Posted: Fri Mar 11, 2016 12:56 pm
by GotLag
What Factorio version, and is that multiplayer or single?

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

Posted: Fri Mar 11, 2016 1:28 pm
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

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

Posted: Tue Mar 15, 2016 2:10 pm
by GotLag
Added new valves and pump, changed name of mod from Rotatable Pipes to Flow Control.

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

Posted: Tue Mar 15, 2016 3:43 pm
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.

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

Posted: Tue Mar 15, 2016 4:17 pm
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.

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

Posted: Sat Mar 19, 2016 2:53 pm
by October
I can't walk through pipes. Please, created this...

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

Posted: Wed Mar 23, 2016 1:09 pm
by diilmac
polish translation made by me
http://pastebin.com/xSFcKrp6