Space Engineers

Space Engineers

133 ratings
(Obsolete) Loop Computers
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Script, Other
File Size
Posted
Updated
42.102 KB
27 Feb, 2015 @ 6:50pm
19 Nov, 2017 @ 3:05pm
22 Change Notes ( view )

Subscribe to download
(Obsolete) Loop Computers

Description
Mod became obsolete since its features were kinda added to the game!
SE v1.185 added the ability for PB scripts to be automatically looped from the script itself.
For more details see: https://forum.keenswh.com/threads/pb-scripting-guide-how-to-use-self-updating.7398267/

This mod is now obsolete and will no longer receive updates, feel free to unsubscribe so I can delete it.



Old description:

A small mod that allows programmable blocks to be self-triggered repeatedly.

Just use the slider to set the delay, that's all.

Turning the block off, grinding it or losing power will prevent it from being triggered.

PBs can set the self-repeat delay on themselves or other PBs using:
block.SetValueFloat("LoopComputers.RepeatTime", timeInSeconds);


Related mods
Control Module
Micro Timer Block
Micro Programmable Block
Popular Discussions View All (1)
14
20 Dec, 2016 @ 3:00pm
Bug Report
Lynnuxx
133 Comments
BCMortis 22 Apr, 2018 @ 4:21pm 
@Digi
My point still stands, however. As Vas mentioned, there are a lot of scripts you don't want to loop that often, and with only three pre-set options it makes for a lot of script-based lag that's just not needed. Again, if you don't want to continue the mod, at least open it up so someone else can continue to update. So far, it still works for me, but there's no telling when Keen will break something.
Vas 22 Apr, 2018 @ 2:44am 
Yea, the self looping doesn't actually let you specify how often it loops. You can choose 1, 10, or 100 ticks I believe. Thats it. Whcih is pretty horrible in some cases. One of the scripts I added the 100 to, the image flickers on it constantly, its horrible. Of course that could be bad code or SE's fault. But I still don't need it to update that often.
Digi  [author] 22 Apr, 2018 @ 12:19am 
If PB scripts are not being updated, their inability to self loop is the least of your problems :P
BCMortis 21 Apr, 2018 @ 3:08pm 
Have to agree, there's tons of scripts where the author just isn't going to update to include self-looping, or scripts where they won't add it because they prefer setting timers over the pre-set repeats Keen added to scripts. When Keen said they were adding a way for programable blocks to loop themselves, I thought they were adding the same functionality as your mod. Really upset to find out it was a hardcoded timer in the scripts themselves and not something users could adjust. This mod is certainly not obsolete and doesn't interfeer with scripts that automatically loop. If you just don't want to continue to update the mod yourself, please
let someone else take over.
Anach 4 Apr, 2018 @ 5:46am 
I have to agree with Vas, not everyone will add loops to their scripts, as many like to use timer blocks. We can all go and learn how to add looping to our scripts ourselves, but why do that when we can use a loop computer. :)
Vas 14 Mar, 2018 @ 12:25am 
I kinda figured out how to update the script to do what I wanted, but eh. Would have been nicer if the devs would have just given us a UI like your mod did.
Vas 13 Mar, 2018 @ 11:38pm 
This doesn't look obsolete. You have to code your loops in, which means you need programmers to update old scripts. I don't even understand the page so I can't update these scripts to run looped.
PhantomX 10 Dec, 2017 @ 4:35am 
As I see they added that feature in, I say your method is what they should have done, I ask that you keep this up to date man. Some of us arent all that good at the programming aspect of the game while actualll add slider (Which from what I understand is injecting the same command into the script). I hate to see this go down, but I understand if you dont want to, but I do thank you for a very useful mod and blame Keen for being stupid and not looking to the modding community and seeing what is needed to be done to fix the game.
DeAnti 4 Dec, 2017 @ 7:51pm 
Great MOD rip
megapro 30 Nov, 2017 @ 11:21am 
I think I've used this pretty much from day one you published it nice to have it in the vanilla game now.