Friday Facts #392 - Parametrised blueprints

Regular reports on Factorio development.
Post Reply
User avatar
FactorioBot
Factorio Staff
Factorio Staff
Posts: 409
Joined: Tue May 12, 2015 1:48 pm

Friday Facts #392 - Parametrised blueprints

Post by FactorioBot »


Splitframe
Long Handed Inserter
Long Handed Inserter
Posts: 68
Joined: Thu Aug 28, 2014 4:44 pm
Contact:

Re: Friday Facts #392 - Parametrised blueprints

Post by Splitframe »

Release when?
(edit: Good feature, wanted this for ages)
Last edited by Splitframe on Fri Jan 05, 2024 12:07 pm, edited 1 time in total.

User avatar
Hares
Fast Inserter
Fast Inserter
Posts: 168
Joined: Sat Oct 22, 2022 8:05 pm
Contact:

Re: Friday Facts #392 - Parametrised blueprints

Post by Hares »

THAT. WAS. I. WAS. LOOKING. FOR.
I lived only to see that moment. Now I would live to see it being released.

SnowZyDe
Inserter
Inserter
Posts: 44
Joined: Fri Sep 01, 2023 12:28 pm
Contact:

Re: Friday Facts #392 - Parametrised blueprints

Post by SnowZyDe »

Omg

lonjil
Manual Inserter
Manual Inserter
Posts: 4
Joined: Fri Oct 09, 2020 12:46 pm
Contact:

Re: Friday Facts #392 - Parametrised blueprints

Post by lonjil »

Very cool.

I already have a feature request: instantiating a parameterized blueprint into a regular blueprint so you can select options once and then place it a hundred times. This should create a new blueprint that you could use and then discard, or you could place in your blueprint collection next to the still remaining parameterized blueprint. This could be extended further to allow the same for a whole blueprint book. If all the blueprints in the book have the same parameters, you could generate a new book with all the options pre-set.

Oh, crap, I already have a second feature request: being able to select between tiers, e.g. whether the blueprint should be built with yellow, red, or blue belts, and so on.

User avatar
Hares
Fast Inserter
Fast Inserter
Posts: 168
Joined: Sat Oct 22, 2022 8:05 pm
Contact:

Re: Friday Facts #392 - Parametrised blueprints

Post by Hares »

A small detail I have noticed: train stops changed colors depending on the item type.

User avatar
Hares
Fast Inserter
Fast Inserter
Posts: 168
Joined: Sat Oct 22, 2022 8:05 pm
Contact:

Re: Friday Facts #392 - Parametrised blueprints

Post by Hares »

lonjil wrote:
Fri Jan 05, 2024 12:12 pm
Very cool.

I already have a feature request: instantiating a parameterized blueprint into a regular blueprint so you can select options once and then place it a hundred times. This should create a new blueprint that you could use and then discard, or you could place in your blueprint collection next to the still remaining parameterized blueprint. This could be extended further to allow the same for a whole blueprint book. If all the blueprints in the book have the same parameters, you could generate a new book with all the options pre-set.
+1 on that!
Oh, crap, I already have a second feature request: being able to select between tiers, e.g. whether the blueprint should be built with yellow, red, or blue belts, and so on.
You can already do this by applying an upgrade planner (configured specifally to work only on belts) to an existing blueprint or even the entire book. I usually do so to a book of balancers.

Free_Ham_
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Jan 05, 2024 12:15 pm
Contact:

Re: Friday Facts #392 - Parametrised blueprints

Post by Free_Ham_ »

Not sure I understood most of what was said, but it looks cool and helpful.

User avatar
Ghoulish
Filter Inserter
Filter Inserter
Posts: 468
Joined: Fri Oct 16, 2015 8:40 am

Re: Friday Facts #392 - Parametrised blueprints

Post by Ghoulish »

Voodoo magic, I found it hard to follow!
See the daily™ struggles with my Factory! :D https://www.twitch.tv/repetitivebeats

IForgotMyName
Inserter
Inserter
Posts: 31
Joined: Sat Aug 26, 2023 3:18 pm
Contact:

Re: Friday Facts #392 - Parametrised blueprints

Post by IForgotMyName »

Look like something with great potential, even if it's still a little raw
It is not entirely clear how you can conveniently configure Parametrised blueprints; Let's say in my blueprint there are a bunch of identical assemblers, but with different types of Parameterization identifiers. How can I change the ID of specific assemblers without redoing the blueprint setup from scratch?

User avatar
BlacKcuD
Inserter
Inserter
Posts: 20
Joined: Sat Mar 05, 2016 3:50 am
Contact:

Re: Friday Facts #392 - Parametrised blueprints

Post by BlacKcuD »

As always, I read the FFF during my lunch break and immediately wet my pants.
Modded Multiplayer Mega Bases Only!

gGeorg
Filter Inserter
Filter Inserter
Posts: 436
Joined: Wed Jun 19, 2019 8:06 pm
Contact:

Re: Friday Facts #392 - Parametrised blueprints

Post by gGeorg »

"The question is, how to implement it without adding unnecessary GUI clutter in the way unless we care about this specific feature? "

I like reading yours FFF because of analytic approach and continuous searching for a holy grail. However, The question I copied in red, is the most valuable sentence o the article. Thank you.

I hope ministry of education send you a query for mass license of Factorio for education purpose of young programmers&technicians.
Last edited by gGeorg on Fri Jan 05, 2024 12:25 pm, edited 1 time in total.

User avatar
Shingen
Long Handed Inserter
Long Handed Inserter
Posts: 92
Joined: Fri Jan 04, 2019 3:25 pm
Contact:

Re: Friday Facts #392 - Parametrised blueprints

Post by Shingen »

for some usecases it's really cool, but i do have my doubts about some parts of it.

Image
1. what would happen if you selected a recipe with 2 ingredients? what about 4?

Image
2. the formulas allowing for certain ratios of ingredients make the blueprints 'generalized'... but only for recipes with the exact same ratios of ingredients (and posiibly also the count of ingredients [1]), which is only 1 step away from just having a blueprint for a specific recipe. doesn't seem that hugely useful.
3. while parameters 1-3 may easily exist as filters in blueprinted train stop inserters, in what manner does the parameter 0 exist in the blueprinted factory? will i need, for example, a constant combinator with that signal placed somewhere while blueprinting?
Last edited by Shingen on Fri Jan 05, 2024 12:27 pm, edited 2 times in total.

User avatar
MatHack
Inserter
Inserter
Posts: 21
Joined: Sat Sep 24, 2016 11:26 am
Contact:

Re: Friday Facts #392 - Parametrised blueprints

Post by MatHack »

Lovely feature, great, I would like to request the possibility to set value to a (formula based on) stack size of the selected item.
Dev by day, gamer by night

momift
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri Sep 17, 2021 2:09 pm
Contact:

Re: Friday Facts #392 - Parametrised blueprints

Post by momift »

beautiful feature. I've been playing Factorio for years and I have to tell the truth, even today I struggle to understand how to configure the logistics network except to do simple things. This feature will help me a lot.

For example, one thing I just can't do is have a line that collects liquids and based on the liquid fill one container or another.

Anyway, you did a great job!
Last edited by momift on Fri Jan 05, 2024 12:33 pm, edited 1 time in total.

User avatar
Hares
Fast Inserter
Fast Inserter
Posts: 168
Joined: Sat Oct 22, 2022 8:05 pm
Contact:

Re: Friday Facts #392 - Parametrised blueprints

Post by Hares »

I have a rather technical question (probably was biten by FFF #390). Will the Blueprint Exchange String Format change because of this?

badams
Burner Inserter
Burner Inserter
Posts: 10
Joined: Wed Feb 27, 2019 6:58 pm
Contact:

Delighted and excited

Post by badams »

Omg omg omg WANT!

This morning my kid comes to me, saying “Hey, you know how you grumble each time you expand “Delivery Cannon Row” in our K2SE game? _They fixed that_”

To which I reply with a pause, then realization that it’s Friday, and blurt out “parameterized blueprints?!?!” (No, I hadn’t read the Friday Facts yet)

Kiddo grins and nods. “Yyyep!”

Passing traffic grinds to a halt as I break out in a happy dance.

(No traffic was harmed in the making of this anecdote. Based on a true story, with minor embellishments. All rights reserved. Do not pass Go without collecting $200 plus tax. Void where prohibited.)

FuzzyOne
Inserter
Inserter
Posts: 21
Joined: Fri Aug 02, 2019 10:20 pm
Contact:

Re: Friday Facts #392 - Parametrised blueprints

Post by FuzzyOne »

Absolutely Fantastic!!

Just one feature request: Could we please have default values that can be set by "Parameter Planners", that work just like Upgrade planners, but set a default for the numbered parameters please? Well, perhaps that's two feature requests in one ;) .

Xcone
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sat Sep 29, 2018 9:09 am
Contact:

Re: Friday Facts #392 - Parametrised blueprints

Post by Xcone »

This looks really cool with a lot of potential. I can imagine this will be particularly handy for stations. I recognize myself like a 100% in the use-case you sketched.

I will admit I find it a bit fuzzy how those purple parameter values find their way in the blueprint if they're not available elsewhere?
There's the parameterization window, which is actually a reconfiguration window? As somethings can become parameters, but might not be (unticking it), but only be reconfigured?

Also, if parameter 1 is the same as parameter 0 (the dependency bit), why not use parameter 0 multiple times in the blueprint? I'm sure it has it's uses this way, but I don't immediately see it. This might be a bit over engineered.

I also don't really understand what the "Ingredient of:" things means/does. Is that only for dependency? Or can I put something else in there? Why is it called "ingredient of" instead of "same as", or "change to".

So, my thoughts: Awesome feature! Much wanted! Definitely going to use it!
Buuut ... might need a little bit more attention/care to the UI and the wording. I am a software developer by trade, and I struggle with it. It might also help to have 1 slightly longer clip that just shows the feature A-Z, instead of the "tried this, changed that, imagine such, now it's as follows".

Great work though! Looking at all these new FFFs makes me quite exited for V2.0!

User avatar
Stringweasel
Filter Inserter
Filter Inserter
Posts: 368
Joined: Thu Apr 27, 2017 8:22 pm
Contact:

Re: Friday Facts #392 - Parametrised blueprints

Post by Stringweasel »

Can't wait to use this in bot-malls and train stations! I do have two questions though:

What happens when you specify 3 parameterized ingredients, but the recipe only has two? My hope would be that the third is silently ignored.

Can you please turn the tiny checkmark button into a big "Confirm" button? If this is to simplify repetitive tasks a bigger button would be easier to click on muscle-memory :)

Image
Alt-F4 Author | Factorio Modder
My Mods: Hall of Fame | Better Victory Screen | Fluidic Power | Biter Power | Space Spidertron | Spidertron Dock | Weasel's Demolition Derby
Official Contributor to Space Exploration

Post Reply

Return to “News”