Charting your resources - Tutorial - Laurence Plays Factorio

Поділитися
Вставка
  • Опубліковано 21 лис 2024

КОМЕНТАРІ • 23

  • @theoriginalmikyscha2777
    @theoriginalmikyscha2777 6 місяців тому +4

    Brilliant and simple video. Adding this to my megabase ASAP. Well…no I’ll never run out of anything but this thing looks fire

    • @LaurencePlays
      @LaurencePlays  6 місяців тому

      Thanks! Yeah, it's handy to have an easy way to see how supplies are going. You can hook it up to alarms as well! Check out the sequel to this video to see some of my ... sillier graph ideas!

  • @marcmessing
    @marcmessing Рік тому +2

    @Tristan: great work on the design! Never did such an automated and yet simple one myself.
    @Laurence: great explanation!

    • @LaurencePlays
      @LaurencePlays  Рік тому

      Thanks! Yeah, it's a nice design, very elegant with how little you actually have to program manually, and how much is just copy/paste.
      Of course, despite that I still ended up creating one the hard way first for the first part of the video. 😀

  • @samwheller
    @samwheller 6 місяців тому +2

    Brilliant. You're doing God's work here Laurence.

    • @LaurencePlays
      @LaurencePlays  6 місяців тому

      I'm glad you're finding the tutorios useful! Let me know if you're inspired by and of them and build something cool!

  • @bwinton
    @bwinton Рік тому +1

    The grid of non-overlappng wires in rows and columns reminds me of the circuit diagrams for the PalmPilot screen, and for keyboards, where it's used to figure out which row and column was clicked. It's neat to see it here used for outputting information instead of reading it in!

    • @LaurencePlays
      @LaurencePlays  Рік тому +1

      That's an interesting point, I hadn't thought about that. Yes, a good way to interact with grids!

  • @jochemschenk4401
    @jochemschenk4401 Рік тому +3

    i have an idea to improve it a bit, you could have constant combinators at all the stations, sending a signal over 1 of the lines, showing how many chests that station has, and which resource it holds, like 6 iron plates on the green line being 6 crates for iron plates at that station. You could use that info to automaticly update the value that x needs to be devided by, so you dont have to do that by yourself. And this would leave the other line free for the actual iron count.

    • @LaurencePlays
      @LaurencePlays  Рік тому +2

      That's an interesting idea - it would mean that if you added in an additional iron mine or more storage in the smeltery (or more smelteries!) the system would update automatically. It does mean that both cables are tied up with this system and you can't use them for anything else. Alternatively, you could send different signals - you could send an A for each iron plate chest for example, and this would allow you to do everything on a single cable, however it's slightly less simple to understand.
      A nice idea though - I like it!

    • @PanozGTR2
      @PanozGTR2 Рік тому +3

      Or you could encode it into the signal itself. The maximum range of values is - 2^31 to 2^31 - 1, or about +/- 2 billion. If we assume that you won't get close to that limit, then we could use the excess to code the number of chests.
      The simplest way to do this would just be to use the first two (or so) digits to encode the number of chests, and the remainder gives the actual value of the item. Then the display at the other end can easily decode by dividing by 10000000. The integer result is the number of chests, the remainder is the count.
      If you do get close to the limit, then you could reduce the number of digits the actual count uses by reducing the number significant digits - if you have 2 billion iron plates, the tens digit isn't really all that important. At this point we are using floating point representation. The only problem here is adding together signals from different stations won't work for the exponent.
      You could also use the negatives by just treating it as an unsigned integer as well.

    • @LaurencePlays
      @LaurencePlays  Рік тому +2

      @@PanozGTR2 Interestingly, we were having a discussion along these lines over on the Discord server, and yes, I think that should indeed be quite possible! A station is going to typically have less than 100,000 plates, so yeah, storing the number of stations or the number of chests in the tens of millions allows for about 100 stations before it becomes an issue.

  • @viniciuspessoa8628
    @viniciuspessoa8628 8 місяців тому +2

    Hello Laurance, do you have a playlist with all your tutorials? I already made 3 or 4 runs on factorio, but now I am trying to make a real good megabase, and all those hints really help with good setups

    • @LaurencePlays
      @LaurencePlays  8 місяців тому +2

      I do indeed! It's linked from the end of the video and the description, but that is a bit hard to spot because they're not very well labelled. The playlist is here:
      ua-cam.com/play/PLALTzJaRcgW_HiwViLzH0owcxI1UoThKD.html
      I'm glad you're finding them useful! I'm starting to make blueprints available to channel supporters through the Discord server, but I can definitely understand if you prefer to make them yourself!

  • @safirswe
    @safirswe Рік тому +2

    I like the design! Maybe with the upcoming legendary or modded substations the graph will fit in between them? Also, would it be useful with a logarithmic scale perhaps? Thanks for the walkthrough!

    • @LaurencePlays
      @LaurencePlays  Рік тому +1

      Yeah, with the pylon substations from Space Exploration, you could easily fit it between two of them, even with a much bigger graph!
      I like the log scale idea, you could implement that by having each light multiply the Y value by, say, 1.5 instead of adding 10, although then you'd need to feed in a number at the bottom so it doesn't start at zero.

  • @Big-E-TheBouncer
    @Big-E-TheBouncer 11 місяців тому +1

    Great video, thank you

    • @LaurencePlays
      @LaurencePlays  11 місяців тому

      Thanks! It was a fun one to make! Make sure you check out the sequel video where I started designing some sillier graphs as well!

  • @WuddupDok
    @WuddupDok 3 місяці тому +2

    Oh that's a subscribe for sure

    • @LaurencePlays
      @LaurencePlays  3 місяці тому

      Thank you! Make sure you check out the sequel to this video where I came up with some silly graph systems as well! 🙂

    • @WuddupDok
      @WuddupDok 3 місяці тому +1

      @@LaurencePlays oh you know that’s the second thing I did. Great work, keep em coming!

    • @LaurencePlays
      @LaurencePlays  3 місяці тому

      @@WuddupDok Will do! I just need to keep coming up with ideas - that's the hard part!

  • @jeffreyspinner5437
    @jeffreyspinner5437 17 днів тому

    I offer you this correction, not as a gotcha, but as a way to payback for all the things you've taught me with playing factorio. Most ppl won't even notice the mistake, but given I think you're a STEM guy of some type: @6:44 when you are setting up the intervals for the red/yellow/green light states, you do the first 2 correct, but _say_ the right thing for the third ("X is greater than 66), but show X is greater than or equal to 66 (as the symbol selected) which is a violation of the principles of mutually exclusive intervals. "How dare you!" - Greta -Garbo- Thunberger (sic).
    If I ever created a study without mutually exclusive intervals, and gave it in for dept review, they'd make me stand in some public place where I'd have to say over and over, without mutually exclusive intervals my study is horsepucky. Nowadays as the ytube video proved, our studies suffer from " The Reproducibility Crisis" (you want to see two ladies (one is Sabine, so you know that's the right video) describe a horror show, that's the video to watch...) Most ppl don't realize reproducibility is one of the requirements of being actual science... no biggie!
    I just realized I may have a little PTSD from my grad school experience... 🤔
    Thanks for all your work putting up Factorio videos...