Install Steam						
					
				
				
									login
											 | 
						language
						
																																					简体中文 (Simplified Chinese)
																													繁體中文 (Traditional Chinese)
																													日本語 (Japanese)
																													한국어 (Korean)
																													ไทย (Thai)
																													Български (Bulgarian)
																													Čeština (Czech)
																													Dansk (Danish)
																													Deutsch (German)
																																							Español - España (Spanish - Spain)
																													Español - Latinoamérica (Spanish - Latin America)
																													Ελληνικά (Greek)
																													Français (French)
																													Italiano (Italian)
																													Bahasa Indonesia (Indonesian)
																													Magyar (Hungarian)
																													Nederlands (Dutch)
																													Norsk (Norwegian)
																													Polski (Polish)
																													Português (Portuguese - Portugal)
																													Português - Brasil (Portuguese - Brazil)
																													Română (Romanian)
																													Русский (Russian)
																													Suomi (Finnish)
																													Svenska (Swedish)
																													Türkçe (Turkish)
																													Tiếng Việt (Vietnamese)
																													Українська (Ukrainian)
																									Report a translation problem
							
						
 
											 
													







I doubt this mod still works. It's 5 years old. But feel free to try!
I also added an option to ignore other scripts, which is also enabled by default.
Thanks to qcoumes (https://github.com/qcoumes) for issuing a pull request.
If you want a tip. To make your program not get information from tanks connected to your grid you can make these changes.
Change this:
GridTerminalSystem.GetBlocksOfType<IMyOxygenTank>(tanks);
To this:
GridTerminalSystem.GetBlocksOfType<IMyOxygenTank>(tanks, b => b.CubeGrid == Me.CubeGrid);
This makes the Program block only look for Oxygen Tanks on the grid it is on.
Hi there... I've used the script into a new world and doesn't seem to show on LCD's properly.
I've followed the Instructions.
name: LCD (Oxygen Status)
Public text: Oxygen Level\nAvg: {0:0.00000}%\nTanks: {1:00}\nTime Left: {2:00}:{3:00}:{4:00}
(Prog block and timer properly set, owenrship to me)
What I'm missing?
Thank's in advance!!!
A great Script!
Thanks for your review :)
I can see 3 reasons for your problem:
1: The blocks don't belong to the same user. In this case, go to the station control, select all blocks and assign them to yourself.
2: A typo. Either in the Programmable block variable, or your LCD Panel. Make sure you don't have any leading/trailing spaces.
3: You did not set up the Timer Block properly. Make sure it's executing the Programmable Block -> "run".
BTW: If you set the IGNORE_ERRORS variable to false, the programmable block will display the error in its right panel. You will have to recompile the script if such an error occurs.
I hope this helps.
I added a wide LCD screen and called the name, public title and private title LCD (I kept it short for debugging purposes - the full name used in the code didn't work either). It defaults to OFFLINE text.
I added a timer and a programming block (survival mode). I set up the timer. Triggers every 5 seconds. I can see it flash blue and green as expected.
I loaded the script into the programming block. I compiled it for safety and then quit the control panel and waited. The LCD still says OFFLINE after a long time.
I've adjusted the LCD name in the code and I even set the debug information to FALSE (or true - or whatever is 'on'). Where is the debug information suppose to go?
I did NOT edit anything below the line. I tried different LCD names and debug settings but my LCD always says OFFLINE.
I'm assuming I'm the only one with an issue. :(