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 also don't mind changing the design or how I have the lights setup to do this. I'd like this feature to work off the same sensors the lights are run by but also understand it may be better to use different sensors. It would be nice to have this feature on the elevator.
Is there some kind of way to place small grid LCD's on large grid blocks....maybe? That would make this goal fairly easy. I've seen some mods that allow small grid blocks on large grids without using a rotor. I'm not confident they work well.
You would likely need scripting to do this.
However, if you can add textures into the game, create some with just words like
Floor 1
Floor 2 ect
as these can be added to a list of images that appear in sequence on the LCD, you can use this and if you know how long it takes to get to each floor set up some sensors to activate the LCD, it would give the impression of what you want though you would need 2 LCD 1 for going up and one for going down.
Not sure if you could keep it going between floors with this (maybe using on/off?)
Yeah I already had creating and using images in mind. Hinges might not be as ugly as rotors. I'm pretty sure it can be done with sensors turning them on and off. As I mentioned I already have sensors set up that turn floor indicator lights on that are turned off by a timer block so I think all I might have to do is change the sensor and timer block actions a little to include turning the screens on/off.
Thanks! I'll give this a try with images and hinges before looking further in to finding a script for it. As you might know from other threads I'm not capable of writing scripts. dco.pe is great that it exists but I'm just completely baffled when it comes to scripting C#.
Link to script:
https://steamcommunity.com/sharedfiles/filedetails/?id=694296356
If you can put small-blocks there, could you have one block with "1" and another with "2" and so on, like
3 4
Otherwise where you activate floor lights have it activate a programmable block with this script with a "1" or "2" and so on. Change the LCDName string to match the name of the LCD panel. You might have to fuss with the LCD panel for centering and making the text large enough to see clearly.
https://youtu.be/-sS1ZoJ9EfU
Yes, that's how I was giving a go at creating a script having the sensor trigger a timer block that turns the lights on/off and runs the programmable block.
How would I get it to display on multiple LCD's? I'd like to have one screen outside each door and one in the elevator. I tried naming them all the same name but it only works on one of the screens doing that.
Would this be correct?
It's a large grid so small blocks aren't possible without a rotor and I don't want to put a big ugly rotor where I want the screens.
Tryin'!!!
So how do I get it to display on multiple screens easily?
<short time later>
This is merge of what I wrote and what you wrote. It compiles okay, and it works according to the programmable block in my head.
//==============================
public void Main(string FloorNumberText) {
// Get a list of LCD panels into BlockList
List<IMyTextPanel> BlockList=new List<IMyTextPanel>();
GridTerminalSystem.GetBlocksOfType<IMyTextPanel>(BlockList,FindTag);
// If none found, that's a problem.
if (BlockList.Count==0) {
Echo("Cannot find LCD with tag "+LCDTag);
return; }
// Go through each LCD panel, set it to text and write the floor number
foreach (IMyTextPanel TP in BlockList) {
TP.ContentType=VRage.Game.GUI.TextPanel.ContentType.TEXT_AND_IMAGE;
TP.WriteText(FloorNumberText); } }
bool FindTag(IMyTerminalBlock TermBlock) {
return TermBlock.CustomName.EndsWith(LCDTag); }
I almost had it another way too. I think I'm finally getting this scripting stuff, thanks to you.
Works perfectly. Thanks!!!!!!!!!!!!!!
Now to get on with getting the elevator actually working. I'm still testing the script dragon helped me with. It works reversing the rotor to make the car go the right way. I think I have the 2nd and 3rd floor figured out with timer blocks. I have about 40 timer blocks which I think is a bit much but it's not lagging or anything, yet.
I looked. Yes, your profile is public. Anyone can post a comment on your profile.