Space Engineers

Space Engineers

35 个评价
Elevator Piston Control
   
奖励
收藏
已收藏
取消收藏
标签: other_script
文件大小
发表于
更新日期
197.706 KB
2020 年 2 月 24 日 下午 10:05
2021 年 8 月 7 日 上午 8:53
9 项改动说明 ( 查看 )

订阅以下载
Elevator Piston Control

描述
Gives smooth acceleration and high top speed on your piston elevators! No more balancing between jerky starts and stops, or awkwardly long waits at slow speed. Allows you to assign floors and have buttons to go to each floor. Can play music while riding and activate timer blocks on each separate floor when it arrives. Music not included, but see my workshop page for a ding sound mod. Arguments and config options included in script text.
31 条留言
03dfa 2024 年 9 月 18 日 上午 1:20 
is it possible to control multiple elevator on one grid?
morpheusfd 2023 年 7 月 25 日 下午 1:18 
I don't understand how to fix error "System.OutOfRangeException: index was out of range (etc.).
It come when I record Floor.
Is this because I ave two elevator in the same grid ?
(but I name group piston with 1 and 2 number)
DFPercush  [作者] 2022 年 9 月 28 日 下午 11:31 
This script only controls a single elevator. There's no limit on the number of floors though.
糖酱今天又在摆烂 2022 年 9 月 21 日 上午 6:36 
Can I control multiple groups of elevators simultaneously?
Overclock 2022 年 7 月 6 日 上午 7:03 
is there an upper limit to how many floors it can go to?
pixoe 2022 年 3 月 20 日 下午 2:26 
I keep getting this error

System.NullReferenceException:
Object reference not set to an
instance of an object
at Program.Ding(StringdroupName, String Suffix, String floorName, String action, list'1doorWaitList0
at Program.Main(String argument, UpdateTypeupdateSource)

no idea what to do
TheBlueChocolate 2022 年 1 月 25 日 下午 12:39 
BikeGoddess:
-Pistons must be in the elevator piston group
-To save a floor, set the pistons at your floor height, then run the programmable block with the argument to save a floor with the floor name right after the argument (I don't remember the argument) (Example: <theargument> [floor1])
-To go to a floor, run the PB with your floor name, no argument required other than the floor name.
BikeGoddess 2022 年 1 月 24 日 下午 5:14 
I'm confused, I've used this in past but its not making sense now. how do I get this to go to a specific floor?
TheBlueChocolate 2021 年 8 月 7 日 下午 2:09 
Yep, the hangar doors now works.
The timer bug is still there tho.

I named my "common" arrival timer block "Timer Block (elevator)". However I tried something : when I add all floors names to the "common" timer block's name, it work with every floors and open the floor doors when you arrive (It's not ideal but at least it work)

It seems the script is able to open the doors only if it detect the floor tag in any timer block's name. (even if the timer block is toggled off and have no action setup), and have trouble finding the "common" timer block if there is no floor tag.

Having a single timer block is still better than having one timer block per floor (or 2 before today's update when using hangar doors)

Thinking about it, the only suggestions I have now are not really usefull or could be achieved in other ways.
DFPercush  [作者] 2021 年 8 月 7 日 上午 8:55 
Ok, should be able to use hangar doors now. No timers required if that's all you need.

About the timers though, you should be able to have a common arrival timer. It's designed to look for a separate one for each floor, but if you just have a group with one timer in it, it will search by proximity and find the only one there is. *Unless*, possibly, you name your floor "2" and your timer is "Timer 2" . Personally, I use "1F", "2F" etc. Otherwise it might be good idea to take the numbers out of the timer name, unless that's actually what floor they go on.

Anyway let me know how it goes.