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,393
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. Stumble Guys | Social Butterfly Achievement(326)
- 02. Last Days of Lazarus Achievement Walkthrough (Xbox/PS)(1,631)
- 03. EDENGATE: The Edge of Life - 100% Trophy/Achievement Guide(2,048)
- 04. Sherlock Holmes Chapter One | Walkthrough | No Commentary(1,650)
- 05. Morbid: The Seven Acolytes | Full Game Walkthrough(2,712)
- 06. Adam Wolfe | Full Game Walkthrough | No Commentary(1,787)
- 07. ALFRED HITCHCOCK: VERTIGO - 100% Walkthrough(2,160)
- 08. SHERLOCK HOLMES THE AWAKENED | Walkthrough | No Commentary(1,526)
- 09. Space Roguelike Adventure | Guide - Cheat Code!(1,739)
- 10. DETECTIVE Stella Porta Case | Trophy & Achievement Guide(1,310)
- 11. Tunic 100% Platinum Walkthrough | Trophy & Achievement Guide(2,009)
- 12. Outbreak: The Nightmare Chronicles Achievement Walkthrough(1,610)
- 13. Full Void 100% - Trophy & Achievement Guide(1,649)
- 14. Outbreak: Lost Hope #Xbox Achievement Walkthrough(2,436)
- 15. CHORUS - Full Game Walkthrough (Gameplay)(3,124)
"[Factorio] How to create an LCD display Part 2" :: Login/Create an Account :: 2 comments