Factorio

Factorio

View Stats:
ZBRUH10 Dec 31, 2024 @ 11:47am
How to do parameters
How does it work
Originally posted by Nilfsen:
Probaly would be faster to give you some simplified explanation but I've decided to turn it in to guid:
https://steamcommunity.com/sharedfiles/filedetails/?id=3397319883
< >
Showing 1-8 of 8 comments
Fel Dec 31, 2024 @ 12:06pm 
You might want to be a bit more precise with the question because there are two places with parameters, train interrupts and blueprints, and they are not the same thing at all.
ZBRUH10 Dec 31, 2024 @ 12:34pm 
In blueprints
Last edited by ZBRUH10; Dec 31, 2024 @ 12:35pm
ZBRUH10 Dec 31, 2024 @ 12:40pm 
Like to do the stations thing in the parameterization blog
Qosmius Dec 31, 2024 @ 1:11pm 
I dont know how to create them from scratch, but i have alot of prints that uses parameterers and i know how to edit them for my liking. If you want i can try to teach you as much as i can.
Fel Dec 31, 2024 @ 1:14pm 
When you make or edit a blueprint, there are buttons at the top, on the right of the name.
The parameters are the green button with a purple square in it.

What you can do with it depends on what the blueprint contains.
For many things, there are no parameters to apply.
For a train stop with a name containing icons, those icons become parameters.
For a train, some wait conditions like inactivity time become parameters as well.
For machines with a recipe set (assembling machines for example but not furnaces) the recipe also becomes a parameter.
For circuit network stuff, nearly everything except the three special signals (everything, anything and each) become parameters too.

Note that things are groupped, if there are for example 2 wait conditions on a train with 5 seconds, you will see a parameter with a value of 300 (5 seconds multiplied by 60 updates per second) with a "2X" shown when mousing over the value, they will not be distinct.

You can do a variety of things with these parameters, naming them (to make it easier to remember what they all mean) would be the most basic.
If it is a number, changing the value directly (like putting 600 instead of 300 in the previous example to have the times be 10 seconds) works fine, I have yet to figure out the "variables" thing but the "formula" can allow you to use a formula instead of a direct value (which would have more value with variables obviously).

For things that are signals/recipes/icons, you can directly change the value or set it as a parameter, which changes it to a purple icon with a number.
If you have more than one with that checkbox enabled, you can set ones after the first one in the list to be the ingredients of any of the ones above.
It will always be the ingredients in the order they are listed in, a transport belt for example will always be iron plate first then iron gear wheel second.
It does limit things a bit when it comes to parametrizing recipes in assembling machines directly, since an assembling machine can't make iron plates for example.
When using the blueprint, it will ask you to select what the parameters that are not set as "ingredient of" from a list of all signals.

Maybe someone will offer more details on the variables and formulas, but that's how it works.
Just think of it as an advanced functionality for blueprints, useful in some cases but not necessary for most.
The author of this thread has indicated that this post answers the original topic.
Nilfsen Dec 31, 2024 @ 5:29pm 
Probaly would be faster to give you some simplified explanation but I've decided to turn it in to guid:
https://steamcommunity.com/sharedfiles/filedetails/?id=3397319883
Last edited by Nilfsen; Dec 31, 2024 @ 5:30pm
ZBRUH10 Jan 1 @ 6:50am 
Originally posted by Nilfsen:
Probaly would be faster to give you some simplified explanation but I've decided to turn it in to guid:
https://steamcommunity.com/sharedfiles/filedetails/?id=3397319883

Thank you I think I know how to do it now, also happy new year!
Fel Jan 1 @ 6:57am 
I also thank you, this is a well written guide that covers the parts I didn't understand.
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Dec 31, 2024 @ 11:47am
Posts: 8