Space Engineers

Space Engineers

Não há avaliações suficientes
Auto Recharge (coming home)
   
Premiar
+ favoritos
Nos favoritos
- favoritos
Tamanho
Publicado em
Atualizado em
2.868 KB
1/ago./2016 às 9:30
20/ago./2016 às 3:26
6 notas de atualização ( ver )

Inscreva-se para baixar
Auto Recharge (coming home)

Descrição
Auto Docking / Recharge Script

(Coming Home Function)

Short description:
Tired of switching off Thrusters and setting battery to recharge after
docking your small ship? This script takes care of that and comes with
some useful additional functionality.

= Features:
  • Set your batteries to recharge as soon as your're connected and leave the cockpit
  • Automatically turns off not needed blocks (Thrusters, Reactors, Gyros)
  • Optional: Delay for turning the spotlights after X seconds off
  • Optional: You can restrict the script`s functionality to special named connectors
  • Easy installation!
  • No mods used!

= Requirements:
  • Programmable block
  • Timer block
  • Not docked on first script execution

= Installation:

To Install this script, just import it from workshop into your programmable block and press "remember & exit". Caution: The installation process runs automatically on the first execution of the script. Your ship mustn't be connected to any other grid (ship and/or base) during the first run. All blocks should be owned by you.

Lastly, you've to set a timer block as usual: Set the timer block to execute the programmable with "default argument" block and the timer block every second.


Special thanks to xlodx for many good ideas and for testing this script.


Feel free to put questions in here, if you've any problems with this script.

Have fun! :-)
18 comentário(s)
DJ_Apfel  [autor(a)] 14/ago./2017 às 8:08 
Hi Rìgh, did you consider the installation part? It looks like, that your ship was connected to some other Grid at the first execution. Does the script runs on the ship?

greetz Apfel
Westrum 9/ago./2017 às 7:38 
Is this broken, or am I fucking up? It seems like the script puts my BASE batteries in recharge, not my ships....
Aschran 12/set./2016 às 8:48 
Yaaaay cool, , because i have commerce stations in my survival server and...you said it, we have like 10-20 small ships inside, +4-6 cruisers,, could be better... ;)
waiting for an upgrade, thanks
DJ_Apfel  [autor(a)] 12/set./2016 às 8:39 
Hey guys,

at the moment the script doesn't support gyros, but we can implement ist in version 1.3. The script should work with drones which doesn't have a cockpit (i haven't test it yet).

@Aschram: Yep, that's a good idea. We thougth about such a concept. With 30 ships and more it makes sense to implement a "base"-script which controls all docked ship central. This could be a function in version 2.

Bye :steammocking:
Stratigus 11/set./2016 às 15:06 
i like it but how do i get it to turn off the gyros? Also will it work say on drones that dont have cockpits?
Aschran 5/set./2016 às 8:28 
lol you should make a script that work for the station and turn off everything that connect to it ^^
--> can eat a lot of cpu to run this script on 30 ships, than 1 script on the station
xlodx  [autor(a)] 21/ago./2016 às 10:39 
It it has to run on the ship(s) not the base.
Bobisback 21/ago./2016 às 9:34 
Ok that does not really anwser my question, sorry I may not be clear in my question hahaha. If I have two ships, one being a station and the other being a small ship, which ship does this script run on? The station or the small ship or both?
DJ_Apfel  [autor(a)] 21/ago./2016 às 1:58 
Yep, you've to start it on your ship to which the programmable block is running.
Bobisback 20/ago./2016 às 14:31 
Does this script get started on the mothership or do I have to put it on each ship i dock?