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
It also shows whether it was able to find timer blocks for the trigger ON / OFF states - those are timer names, not group names. I'd make sure all of those show YES for the triggers you want to act on. If they all look ok, check your timer blocks, and make sure the right ones are named as expected - do they do what you expect when you click "Trigger Now" ?
Script is loaded in the PB, runs without errors. In the script I adjusted the cargo block to the group of cargo blocks I have saved before. During drilling there are no warnings and the drill is not stopped when reaching 90% cargo capacity. What could be missing?
Rough process I followed:
From the PB, scroll down to Edit, then Browse Scripts, script was listed for me on the left. Selected the script, copy to editor. There are some basic instructions in the process.
Hopefully it's not a keen change causing problems
The instructions in the description are not clear to me. I have subscriped this script, but it does not appear in the PB (I restarted SE before). So does this mod work or what do I need to do?
About the "one time event" and the need for a "MaxedOff" timer I didn't need it in my case---I'm just using 1 timer, the "MaxedON."
I have a rover-miner with 4 large containers and I set the script to 98%, lol. The script stops my pistons and drills as expected. Then, I made an experiment and threw some ore out which lowered my cargo to 83%. I just started the drills and pistons again and they resumed their operations and the script started running again because it stopped everything again once the cargo max cap reached 98%. It became very handy for me since my 4 cargo fills up before my pistons can extent to their full length, so I just use my cargo-rover to take the ore from my miner-rover and, then, I start my pistons and drills again.
The "one time event" means the trigger only happens once per state change , meaning once maxed, the MaxedOn won't trigger again until MaxedOff is triggered, then it can be triggered again.
I use it for pistons and drills too, and it usually works pretty well for me, though I tend to change the number to something lower than 90% heh.
In the guide it says that it's a one time event. So how do I make it run again? I just need to empty my cargo and the script will reset and stop my drills and pistons again once my containers reach 90%?
Then I tried FritzHugo3 suggestion and the same thing happens. The rotaring red light is ALWAYS On even if the script says it has triggered the OFF timer. And both timers are set to 1sec delay.
1 programmable block and load the script on it (maybe "edit" buttom, i played with german language)
this was all here.
Group youre Storrageboxes with the Name:
Cargo - Capacity Tracking
(both timer 1 second or lower)
Timer 1 named:
Timer - Cargo Maxed On
(it say if the cargo is 90% full - trigger this signal)
Click on "setup actions" and there search the objekt you like to put out.
maybe here a Lamp for testing. Rightclik on it and say "switch on"
(make the lamp red - if cargo full is 90% and more the lamp goes on)
(of course, if you want to stop a pistons you must say "switch of" to stop the pistons
...
Timer 2 named:
Timer - Cargo Warning Off
(it say if the cargo is under 75% - trigger this signal)
Click on "setup actions" and make the same like timer 1 with the other switch (if timer 1 On, here off, is timer one the lamp off, here on)
of course you can use Cargo Maxed On and Cargo Maxed Off, but than flips ervry time over and under 90% and with Timer - Cargo Maxed On and Timer - Cargo Warning Off there is a time buffer. i find its nicer.
I tested it bevor with a red lamp before used it on my bin mining pistons. (Better before the miner breaking ;-) )
I hope it helped other people.
realy Steam only 1.000 character?
Anbd for all program writer, not all peoples can programming. Please write always a little manual. But thx for the script After hioures i have it.
I have grouped my Gargo in
Cargo - Capacity Tracking
The script are compiled at the programmable block
What must i do with the timer, Programmblock, Piston?
Im testing here over an houres and dont know how it work.
Sorry im a total beginner and the most other scripts i have saw in the workshop has an manual.
What must i (and maybe other newbes) do to tell the System, Piston stop, whenn its 90% and restart, when is 90% full.
Thank you for helping.
Thank you very much.