spacecrafts and Vidiba in LUT5

All about writing scripts for Celestia in Lua and the .cel system
Avatar
Topic author
gironde M
Posts: 851
Joined: 16.12.2016
Age: 72
With us: 7 years 11 months
Location: Montigny-Les-Metz, France

spacecrafts and Vidiba in LUT5

Post #1by gironde » 12.06.2020, 12:10

with the multiplication of spacecrafts over the past year, the Celestia screen is overloaded when displaying names and orbits. It is the same problem as for asteroids and comets.
The use of the Vidiba module in Lut5 is not limited to asteroids.
on the 1st image, you can see what happens if everything is selected.
on the 2nd image, we see that it is much clearer using Vidiba and its possibility of selective display.
To do this, you must create lua tables for each desired category. Then declare this table in the Vidiba part of config.lua after the comets (which loads them at startup). In your local language, define a translation of the name of the table by what you like. Object .ssc files must include the parameter: 'Visible false'. Vidiba will pass it to 'true'.

Sans titre 1.jpg


Sans titre 2.jpg


:hi:

Avatar
Art Blos M
Moderator
Posts: 1152
Joined: 31.08.2017
Age: 32
With us: 7 years 3 months
Location: Volgodonsk, Rostov Oblast, Russia

Post #2by Art Blos » 12.06.2020, 12:51

Dividing categories into subgroups is a great idea! One way or another, I thought about this for a long time, but now I have become convinced that this is possible.
Founder and head of the project "Celestia Origin"

Avatar
Topic author
gironde M
Posts: 851
Joined: 16.12.2016
Age: 72
With us: 7 years 11 months
Location: Montigny-Les-Metz, France

Post #3by gironde » 12.06.2020, 15:46

I have been working with this for at least 2 years.

Another tip for creating a dividing line:
make a table without object and use the local translator to change the name displayed in Vidiba.

the longest is to modify all the spacecrafts .scc to add 'Visible false'


Return to “Scripting”