Page 1 of 1

Space Exploration Bot (V2)

Posted: 03 Oct 2021 12:18
by Leyo
 Space Exploration Bot V2 SCRIPT by Leyo  

You can download the script on the steam workshop : ... 2618491753

This scipt makes the game plays all alone undefinitly, smoothly travelling between your saved or random locations.
It also includes a little exploration gameplay mode. See more details in the description below.

Only works with 0.990+ versions and Windows.

UPDATE 2.00 :

-PLANET TOURS ARE UP !!! All types of objects can now be visited : from the smallest asteroid to the biggest galaxy.
-Date and time of your saved location will be loaded when visiting planets or smaller (Quarior"s idea).
-Full configuration menu : choose your speed (no need to use timescale anymore) and what type of objects you want to visit in the startup menu.
Choices will be saved and reloaded for the next use (more convenient).
-If you don't have enough informations in your saved locations to ensure the gameplay and parameters you've choosen, you'll be warned about it before playing, then the script will close.
-New target definition process : no infinite searching anymore and better randomisation.
-Removed limitations in random mode.
-When launching SEB in-game, the script will send you in intergalactic space first, before starting the "real" tours (time saving and better feeling).
-Fixed bug where saving a new star from a new real galaxy wouldn't score points in data collection mode.
-Removed default galaxies codes known by the script, to prevent incompatibilities with modded galaxies.

It uses a Autohotkey script that updates a series of Space Engine scripts in live. Those are modified one from AST 2.1 scripts.
Planets and stars with a real or modded name will be ignored, excepted for our Solar System planets.

It comes with four different modes.
The first three modes will make the game play all alone undefinitly, chaining travels between your saved and/or random locations.
The fourth mode, "data collection", is a little exploration gameplay with ranks and unlocking, useful to enhance the experience of the first three other modes.


1- Download from Steam workshop by subscribing
2- Move the SEB folder into SpaceEngine\addons folder . Delete the previous SEB folder before if it is an update.


As it comes with several features, it is not very user-friendly. I recommend to watch the tutorial video.
Tutorial video available here :

1- Go to SpaceEngine\addons\SEB\ and run the SEB.exe file ( no matter if Space Engine is already running or not).
2- It opens a little pop-up where you can select your gameplay mode, tarvel speed, and object types. Once you've made your choice, click "ok".
3- Go back in-game, open the console with key ù, and type "run seb".
4- Enjoy.
5- To stop the script in any situation, open the console and type "break". This also disable the SEB.exe running in background.
If you want to relaunch the script, you must restart from step 1.
6- About the gameplay of data collection mode, see related section further below.


All of these three modes are also explained in the tutorial video here :

When selecting one of those three modes, the camera will chain travels and visits between locations (saved and/or random).
It won't stop until you type "break" in the console.

-saved locations : 
It will pick up randomly a place in your saved location, will try to traduce the related informations, then send you there, and repeat the process to another location, etc.
It will not send you exactly to the position saved. It will apply one of the AST 2.1 scripts upon the object of your saved position.
Advantage of this mode is that can control what the travels are made of, by choosing what you add in your saved locations.
Disadvantage is : if like me, most of your locations are planets in Milky Way... you will mostly chain planets in the Milky Way with this mode.

-random location :
However you will visit places that are not in your saved locations, it is not 100% random.
It will build a synthesis from your saved location, which is a list of your known galaxies and some other stats for each galaxies.
Then it will work on those stats and create some randomisation from them.
That means you will be sent to galaxies from object of your saved locations, but inside those galaxies you will visits unknown places.
Or you can also choose the random mode with galaxies only, here you'gonna chain any galaxies in SE universe.
Advantage : you will frequently change of galaxy, discover new places and keep a nice panorama most of the time (it wasn't the case with 100% random).
Disadvantage : The experience of the random mode also relies on the saved locations variety. 

-mixed saved and random locations :
You will chain alterning one saved location, then one random tour, and repeat.


This mode is also explained in a dedicated video here :

This a little exploration gameplay that will make you properly fill your saved locations, score points, unlock ranks and remove limitations.
You'll be sent to a known or unknwon galaxy within a variable range based on your rank.
You'll be anounced what stats are currently known for this galaxy, and your goal is to update those stats with better ones by saving locations inside this galaxy.
When arriving to the galaxy, scanners will deploy and retrieve results automatically, highlightning nebulas and clusters on the screen.
Note that some galaxies have no nebulas nor cluster, so you won't see any highlightened things, and you can only save star systems in it.

Then you'll be prompted to collect data.
At this point, you can move the camera as you want, in order to select an object and add it properly to your saved location :
-right click on your selected target and make sure "Follow" option is ticked. If not, tick it. Otherwise the object won't be properly saved (game behaviour).
-right click again and click "add to locations". the saved locations menu opens, just press enter to add your target.
Add as many object as you want this way inside the current galaxy.

Once you're done with adding locations, press "c" or use the center function. This will start the encoding of all the datas collected.
Results with score and rank will be displayed and you'll be sent to a new galaxy automatically, to repeat the whole process.
In the background of the script, the new informations are added to the synthesis table and will be used in the random mode.

If you don't want to add location in the current galaxy, just press "c" when you are prompted to collect data. 
It will still encode, but no data, you will score 0 points and will be sent to the next galaxy.

Which data to collect / how to score points ?
Three kinds of data are used : maximum nebula number, maximum cluster number and maximum sector number. 
When you arrive on the galaxy, the current known datas are displayed. Memorize them, and try to add locations that provide higher number.
 Those numbers are present in the name of the objects :
- nebulas and cluster : last number of the name.
- Star system : fourth number from the end of the name.
- Planets : ourth number from the end of the name of it's parent star system.
You will score points each time one of the three data has been updated with a higher number, and also each time you saved a location inside a new galaxy.
you won't score any points outside of the data collection mode.

Ranks, limitations ?
As long as you score points, you will unlock ranks. A "level up" message will be displayed when it happens.
Ranks basically defines range of exploration.

Beginner : Only the 40 closest real galaxies to Milky Way
Explorer : Only the 200 closest real galaxies to Milky Way
Pioneer : The 1000 closest real galaxies to Milky Way, and all random galaxies from known galaxies octree blocks .
Conqueror : The 3000 closest real galaxies to Milky Way, and  all random galaxies from the 5th octree level of known galaxies.
Data Master : The 7000 closest real galaxies to Milky Way, and all random galaxies from the 3th octree level of known galaxies.
Supreme God of Data : All galaxies of Space Engine. Expect to travel a lot.

Reaching the last level take about 2 hours, and will make you save about 100 locations. 


- NEVER select another object when the camera is moving by itself.  Otherwise scripts will be losts, will probably throw error message or never end.
 If it happens, just type "break" in the console to disable the script. My best advice is to not touch the mouse until you want to cancel the script or collect data.

-Concerning objects saved in real galaxies ; they won't be use by the script until this galaxy is said "registered" (basically a link between the galaxy's name and the galaxy's code).
A real galaxy is "registered" when there is a nebula or a cluster saved in this galaxy. In data collection mode, registering a galaxy can also be done by saving a star or a planet in it.

-In some situations you could feel like the camera is "lost" (like in binary star system for example). To check if everything is under control, enable the hud (Ctrl+²) 
and see if the cursor is in the center of the screen, or if the object distance is decreasing slowly (if you're already close to your destination you might not see the cursor).

-Close both the game and the scripts if you want to manually modify your "places-user.cfg" file. Otherwise, the game will overwrite your modification, and the synthesis built by the script will
be compeltly broken.

-If you have questions that this description or the videos don't answer to, you can comment on this addon page or try to catch me on Space Engine discord in the addons channel.