Stationeers

Stationeers

Not enough ratings
Rapid Chips [StationeersMods]
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
529.635 KB
25 Jan @ 1:47am
25 Jan @ 1:50am
2 Change Notes ( view )

Subscribe to download
Rapid Chips [StationeersMods]

Description
Rapid Chips
This is a Plugin Mod.
It requires Bepinex to be installed with the StationeersLaunchPad plugin.
See: https://github.com/StationeersLaunchPad/StationeersLaunchPad

This mod works well with the More Lines of Code mod.

Unlocks the ability for IC chips to run faster than the normal tick rate. The sleep command will actually sleep for the specified time, accurate to the next frame after the requested time (so "sleep 0" will sleep for a single frame). If you request a time longer than 0.5sec, then it'll do a normal yield until the requested time is less than 0.5sec away, then it switches to "accurate mode".

This mod also adds two new readable logic values to all IC Housings (including those from ChipMod by Jixxed):
- Flush: This value is only 1 for the first few game ticks after a world loads. Useful for having something only trigger whenever you load up a save game.
- Time: Reads the current time (in seconds). This function uses the orbital simulation to calculate world time (this is so it is consistant when loading a save game), but this means that it usually doesn't start at zero when you create a new world. However, you can simply save the current time when you start up an IC chip and then subtract that number from the current time to calculate the number of seconds since the chip powered on.

NOTE: Try not to use "sleep 0" too much, most of the time you don't need things to be every frame, and "sleep 0.1" is plenty accurate enough (that's still 5x faster than normal)... but, the option is there if you really need it.
EG: for a custom airlock, use yield, then once the airlock start's cycling, switch to sleep commands until it's done.


Thumbnail by WIKUS.
17 Comments
WreckerRecreation 5 Aug @ 10:49am 
I tried again with Shinoshi's suggestion, but still no luck. I tried l, lb, lbn, s, sb, and sbn, all referencing the IC Housing (either with the PrefabHash or db). The Logic Types (Flush and Time) do turn orange, so they seem to be recognized as Logic Types, but every variation I have tried has yield an Incorrect Logic Type error. Also, though I haven't officially tested this, I haven't noticed any change in the process speeds. I realize you have some stuff going on in your personal life, and I hope you don't think I'm trying to rush you. I am just trying to provide you with as much information as possible so its available when you're ready for it. Hope things start working out for you!!!
Shinoshi 4 Aug @ 9:34am 
try sb icHousing Flush 0
WreckerRecreation 31 Jul @ 7:55pm 
Sorry for the repeated posts: also tried with Time and still error
WreckerRecreation 31 Jul @ 7:54pm 
also tried l r0 db Flush and still got the error
WreckerRecreation 31 Jul @ 7:52pm 
I'm getting an IncorrectLogicType Error when trying the Flush command. What is the syntax for that command? I was trying lb icHousing (defined with the HASH) Flush 0.
Maj. S. Bertrand [6th GA] 3 Jun @ 3:58pm 
Hey @BoNes,

Really, no worries at all. I already appreciate your efforts to make this game even better, no need to add any more expectations for things that I already am super grateful for :) Please take care of yourself, that's always the priority. Best wishes buddy.
BoNes  [author] 3 Jun @ 12:34pm 
@Maj. S. Bertrand: When the mod is working correctly all you need to do is use the "sleep X" command (where X is any decimal number, in seconds).

I have already been told that this mod is not working as intended about 2 weeks ago... however I've had some pretty serious real life issues come up, so I haven't really had the time or energy to properly look into it (and upload a fixed version). As far as I can tell, it might even need a rewrite as fixing it will involve moving over from StationeersMods to LaunchPad (which may or may not be easy).



I am sorry to say that at the moment, I don't know exactly how long it'll be before I get a fix up, but I'll try not to make you all wait too long.
Maj. S. Bertrand [6th GA] 2 Jun @ 2:52am 
so I installed this and I haven't noticed a difference - it seems that the chips are still processing through the ticks. Is there anything else I need to do besides the standard install? Any special chips I need to make?

I'm basically trying to use IC10 and a sine curve to make your spotlight mod sweep back and forth along the perimeter of my base. But it's quite choppy due to the tick rate and I don't know how to solve that?
Maj. S. Bertrand [6th GA] 2 Jun @ 2:49am 
so I installed this and I haven't noticed a difference - it seems that the chips are still processing through the ticks. Is there anything else I need to do besides the standard install? Any special chips I need to make?
BoNes  [author] 18 May @ 1:55am 
Ok. I'll have to look into it, it'll probably take some time though, as I have real life issues at the moment... and I haven't updated Stationeers since the March update came out (because updates break all my mods) so I'll have to do that too.