Space Engineers

Space Engineers

Demo Kristofs Lazy Drill script
Showing 1-6 of 6 entries
Update: 17 Oct, 2019 @ 11:45am

Version 1.5 Changes

Drill Changes: Added a cargo container and added it to the group orecargo (see script change below)

Script Changes:

* bug fix : removed a command that would reset the drill at each load of the game. Now it remains at the previous position.

* DRILL inventory protection: If your drill inventory would get full, the drill will pause. This is to prevent it from exploding. The drill will start again as soon as the drills are emptied a bit again.

* CONTAINER inventory protection: You can put some containers in a group and the script will monitor the fill rate of those containers. IF you put a percentage in the custom data of the program block (default 90%), the drill will stop when the total capacity of 90% is reached. It will restart as soon as it drops below that. This enables you to have the drill work only when the ore that you drill has been processed, or to only drill a certain amount.

* Several improvements to the previous features

Update: 10 Oct, 2019 @ 4:40am

Version 1.4 changes

Drill changes:

1. Added the new command to the button panel : kickstart.
2. Changed the power of the downward pistons to NOT push the drill into the ground when not running. This is to enable the kickstart function. If you have too much strenght, the drill will push itself into the ground, even without turning.
3. Uses script version 1.4

Script changes:

1. To support modded pistons that have more than 10m range, the script uses the maxrange of the pistons now instead of hardcoded 10m

2. Recovery mode: When the drill gets stuck (too deep, or obstacle), it will detect this and lift up the drill head step by step until it moves again. This enables you to start the drill in uneven terrain, it will move the drillhead up when needed. Also when you would move the drill manual into the ground by accident, no worries, the recovery will take it back.

3. kickstart : when using this command, the drill head is moved down until it hits the ground, and then it is moved back a bit. This puts the drill into the ideal start position. If there is an obstacle arround, the recovery mode will take care when you drill.

Update: 7 Oct, 2019 @ 12:25pm

Version 1.3 Changes

DRILL changes:

* Added an extra button panel to use the extra commands extend1 and extend2 and retract1 and retract2
These allow you when you STOP the drill, to position the pistons as you like, and then START again.

* Increased the strength of the pistons DOWN

SCRIPT CHANGES

* Fixed a bug that would not decrease the speed to the slow speed when moving back from max to min rotor

* Added a measurement of the inventory fill rate of the drills. This is a preparation step : In a next version, a feature will be added that enables you to STOP the drill if it gets full. This to prevent exploding.

* Added extend1 and extend2 commands that can be used when the drill is stopped. They extend the next available piston of group 1 or 2 with the amount that they normally extend. So you can manually position the drill and then START it.

* Improved the LCD screen info. You will see the SPEED and POSITION of the rotor moving between min and max.
It will also show all pistons of each group and the level they are extended.

* When extending manual, the script will wait for this to end and show the progress.

* Introduced a timer take measures how long the extend is taking. This is a preparation action for a future potential feature to stop the drill if a certain action is takling too long, for instance when the rotor does not move because your moved the drill too deep manually. In that case, the drill could back-up until it moves again.

* Many improvements in the structure of the code to make my life easier.

Update: 25 Sep, 2019 @ 7:18am

Changes in version 1.2

Only the script used is updated to code version 1.2

CUSTOM DATA of the Programmable block will be used to set and change the parameters of the script

The script will check if the custom data is filled with the parameters and if not, create a settings part.
It will fill the defaults from the scripts variables.

The user can change these parameters now IN the custom data. When he/she stops the driill and starts it (using the commands of the script), the new parameters will be used.

Added value:

1. EASY system for you to set your parameters
2. When the script will be updated, your settings are NOT lost, the stay in the PB and will be used by the new code.
3. When a future script would use a new parameter, it will add it to your existing custom data with the default.


Update: 23 Sep, 2019 @ 1:27pm

Same build but the script is updated to version 1.1.

Version 1.1 of the script adds:

- Rotor MIN can be a negative value now
- Improved user feedback on the screen : indication of the piston progress for group 1 and group 2
- small improvements to the code without impact on user experience.

Warning : if you change variables of the script, upgrading will overwrite them with my defaults again.

Update: 20 Sep, 2019 @ 6:56am