Tutorials Navigation
[Factorio] How to create an LCD display Part 2
Tutorial Name: [Factorio] How to create an LCD display Part 2
Category: Game Walkthroughs & Guides
Submitted By: -Deano
Date Added:
Comments: 2
Views: 1,334
Related Forum: Gaming Discussion
Share:
How to create an LCD display
Part 2 - Items more than 10
To convert out number from X amount to fit on our LCD screen we will need to create more LCDs.
This is useful for large number display such as my Oil Barrel display near my stations.
[ Register or Signin to view external links. ]
To convert a number you will need to first set the incoming signal to the default signal. For my oil, the input signal is "I". I conver the oil barrels being stored into I.
[ Register or Signin to view external links. ]
This gives me my total count of I = 104,930.
You will now need to separate each part of the number to a single digit.
This is done by dividing by the power of 10 that it requires and then multiplying by the same amount.
104,930 / 100,000 = 1. (NUMBER 1)
Multiply the output by 100,000 again to get 100,000.
We then need to subtract the 100,000 from the initial number of 104,930.
This leaves us with 04,930.
We need to repeat this to get each number.
Here is the explanation as a programming alternative to understand it better.
input = 104,390.
input (104,390) / 100,000 = number1 (1).
number1 (1) * 100,000 = amount to subtract (100,000)
input (104,390) - amount to subtract (100,000) = remaining number (04,390)
Repeating this process to get each number we need and the remaining number results in us having:
A = 1.
B = 0.
C = 4.
D = 3.
E = 9.
F = 0.
[ Register or Signin to view external links. ]
We then use these numbers like the first part of the tutorial to display our result.
In the original tutorial we used A as our input signal. This will be okay for our first number but simply needs to be swapped out for B, C, D, E or F depending on which number we have.
Overall, the combinator display should look like so
[ Register or Signin to view external links. ]
Ratings
Comments
Related Tutorials
- 01. The Redress Of Mira 100% Walkthrough | Trophy & Achievement(332)
- 02. Russian Pinocchio Quick Trophy Guide(354)
- 03. Venatrix Quick Trophy & Achievement Guide(319)
- 04. Call of the Sea 100% Platinum Walkthrough(505)
- 05. Wire Lips 100% Platinum Walkthrough(409)
- 06. The Expanse 100% Platinum Walkthrough | Trophy & Achievement(435)
- 07. Doctor Who: The Edge of Reality - PS4 Platinum P/Thru(356)
- 08. Doctor Who:The Lonely Assassins - 100% Guide(326)
- 09. DAYMARE 1998 PS4 - Full game 100% TROPHY WALKTHROUGH(307)
- 10. Stray Platinum Walkthrough | Trophy & Achievement Guide(345)
- 11. Raji: An Ancient Epic | Complete Gameplay Walkthrough(407)
- 12. Corpse Killer: 25th Anniversary Edition - Longplay(373)
- 13. Song of Horror: Complete Edition Gameplay Walkthrough(294)
- 14. Remoteness 100% All Trophies Walkthrough(330)
- 15. Detective Inspector Mysterious Clues Platinum Walkthrough(375)
"[Factorio] How to create an LCD display Part 2" :: Login/Create an Account :: 2 comments