Graphical interface Lua Universal Tools v5.0 beta - RELEASE ! (new edition 14.12.2017)

All Lua-tools for Celestia in one forum.
Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #41by Croc » 11.10.2018, 20:50

Celestia/Celx Scripting/CELX Lua Methods (extraction):
gettime
number celestia:gettime()

Get the current simulation time as a TDB (Barycentric Dynamical Time) Julian date.

Older Celestia versions use UTC (Coordinated Universal Time) to calculate times and positions.
Starting with version 1.5.0, although Celestia still displays UTC on the screen,
it uses the TDB time scale internally for everything else, so for CELX scripting !!!

Notes:

The simulation time can be set by using the celestia:settime() method.
To get the current system time instead of the current simulation time, the 1.6.0 celestia:getsystemtime() method should be used instead.
The TDB time scale is a bit different from the more familiar UTC. By using TDB, Celestia places objects much more accurately. As of January 1, 2008, the difference between the two is about 65 seconds. For more information, see Celestia/Time_Scales.
To convert between UTC and TDB times, you can use the 1.5.0 celestia:utctotdb() and 1.5.0 celestia:tdbtoutc() methods.
To convert between normal calender dates and julian days, you can use the celestia:tojulianday() and celestia:fromjulianday() methods.

On the time correction panel (Panel 7), the Julian date was specified in UTC format. In the updated version, the Julian date is specified in TDB format by default.
You can switch readings Julian date [TDB / UTC]

JdateTDB.jpg
JdateTDB.jpg (31.07 KiB) Viewed 26472 times
JdateUTC.jpg
JdateUTC.jpg (31.21 KiB) Viewed 26472 times
Attachments
panel7Box_11-10-2018.zip
(9.48 KiB) Downloaded 567 times
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #42by Croc » 15.10.2018, 19:43

Update KeplerParamBox.lua

In the screenshot Panel "Keplerian Parameters" before and after modification:

Parameters_modern.jpg


Added parameters:
  • Rotation Period
  • Geometric Albedo

Fixed algorithm for calculating the temperature of the surface of the planet.
For discussion, see the topic Temperature in Celestia 1.6.1. viewtopic.php?p=140561#p140561

Update:
1. Copy and unzip the file KeplerParamBox_15-10-2018.zip
2. Place the KeplerParamBox.lua file in the folder ..\lua-applications\lua_universal_tools_v5\tools\
3. Restart Celestia
Attachments
KeplerParamBox_15-10-2018.zip
(4.53 KiB) Downloaded 544 times
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #43by Croc » 16.10.2018, 03:03

SpaceFanatic64
Croc, why have you locked your Lua Universal Tools topic?

In order not to litter the topic with comments.

Please, comments to graphical interface leave in topic, see ./viewtopic.php?f=11&t=17418
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #44by Croc » 18.10.2018, 11:21

Update legendBox.lua file

Changed background color and font color for Trojan asteroids.
Improved contrast between background color and font color.

Legenda_mod.jpg


Update:
1. Copy and unzip the file legendBox_18-10-2018.zip
2. Place the legendBox.lua file in the folder ..\lua-applications\lua_universal_tools_v5\tools\

StarWorlds Series Guide Updates

Recoded background color # 82 on # 83 in some guidebooks of the series StarWorlds

Update (a continuation):
3. Delete the file folder StarWorlds
4. Copy and unzip files folder StarWorlds_18-10-2018.zip
5. Move the folder with the StarWorlds files to the folder ..\lua-applications\lua_universal_tools_v5\guides\
6. Restart Celestia
Attachments
legendBox_18-10-2018.zip
(1.83 KiB) Downloaded 560 times
StarWorlds_18-10-2018.zip
(66.75 KiB) Downloaded 548 times
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #45by Croc » 20.10.2018, 17:28

Update UranBox.lua + NeptuneBox.lua

Guides_Ur+Ne.jpg


Note:
Asteroids - Trojans moved to new guide Troyan4Box.lua
The dwarf planets are reassigned from TNOBox.lua

Update:
1. Copy and unzip the file Neptune+UpanBox.zip
2. Place the NeptuneBox.lua and UpanBox.lua file in the folder ..\lua-applications\lua_universal_tools_v5\guides\SolarSystem
3. Restart Celestia[/attachment]
Attachments
Neptune+UpanBox.zip
(11.01 KiB) Downloaded 569 times
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #46by Croc » 22.10.2018, 17:23

Update of the Guidebooks on planets, moons, asteroids and comets.

Read about the change in guidebooks for planets and moons, read:
https://celestia.space/forum/viewtopic.php?p=140393#p140393
https://celestia.space/forum/viewtopic.php?p=140397#p140397
https://celestia.space/forum/viewtopic.php?p=140399#p140399
https://celestia.space/forum/viewtopic.php?p=140428#p140428

For changes in guidebooks on asteroids and comets, read:
https://celestia.space/forum/viewtopic.php?p=140650#p140650
https://celestia.space/forum/viewtopic.php?p=140666#p140666
https://celestia.space/forum/viewtopic.php?p=140669#p140669
https://celestia.space/forum/viewtopic.php?p=140670#p140670
https://celestia.space/forum/viewtopic.php?p=140677#p140677

Update:
1. Delete folder with all contents - ..\lua-applications\lua_universal_tools_v5\guides\SolarSystem
2. Copy and unzip the file PlanersMoons_22-10-2018.zip
3. Copy unpacked folder PlanersMoons to ..\lua-applications\lua_universal_tools_v5\guides
4. Copy and unzip the file AsteroidsComets_22-10-2018.zip
5. Copy unpacked folder AsteroidsComets to ..\lua-applications\lua_universal_tools_v5\guides
6. Copy and unzip the file guidesBox_20-10-2018.zip
7. Place the unzipped file guidesBox.lua to ..\lua-applications\lua_universal_tools_v5\tools
8. Copy and unzip the file legendBox_18-10-2018.zip
9. Place the unzipped file legendBox.lua to ..\lua-applications\lua_universal_tools_v5\tools
10. Copy and unzip the file config_22-10-2018.zip
11. Place the unzipped file config.lua to ..\lua-applications\lua_universal_tools_v5\
12. Restart Celestia
Attachments
PlanersMoons_22-10-2018.zip
(57.12 KiB) Downloaded 534 times
AsteroidsComets_22-10-2018.zip
(62.68 KiB) Downloaded 572 times
guidesBox_20-10-2018.zip
(1.73 KiB) Downloaded 543 times
legendBox_18-10-2018.zip
(1.83 KiB) Downloaded 541 times
config_22-10-2018.zip
(9.21 KiB) Downloaded 549 times
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #47by Croc » 27.10.2018, 19:54

A slight change in the renderLoxBox panel:

NameLoc.jpg


Update:
1. Copy and unzip the file renderLoxBox.zip
2. Place the renderLoxBox.lua file in the folder ..\lua-applications\lua_universal_tools_v5\tools\
3. Restart Celestia
Attachments
renderLocsBox.zip
(13.21 KiB) Downloaded 542 times
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #48by Croc » 10.11.2018, 06:53

Change the renderLocsBox panel:
  • Excluded types of locations:
    • Cities > 10000
    • Cities < 10000
  • Included:
    • City
    • SA = Saxum
  • Moved:
    • RG = Ring

NewPanelLocs.jpg


Update:
1. Copy and unzip the file renderLocsBox_10-11-2018.zip
2. Place the renderLoxBox.lua file in the folder ..\lua-applications\lua_universal_tools_v5\tools\
3. Restart Celestia
Attachments
renderLocsBox_10-11-2018.zip
(13.45 KiB) Downloaded 531 times
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #49by Croc » 26.11.2018, 12:34

Asteroid guides:
  • Jupiter nominal Trojans - 253 objects + 3 satellites
  • Uranus Trojans - 1 object
  • Neptune's Trojans - 22 objects

Tr1+2+3+4.jpg


Дополнительные ssc-файлы сделал LukeCEL.

UPDATE:

1. Copy and Unpack Troyan1+2+3+4Box.zip
2. Replace in the folder ..\lua-applications\lua_universal_tools_v5\guides\AsteroidsComets
3. Copy and Unpack neptunetrojans+jupitertrojans.zip
4. Replace in the folder ..\extras\Asteroids
5. Restart Celestia
Attachments
Troyan1+2+3+4Box.zip
(16.57 KiB) Downloaded 467 times
neptunetrojans+jupitertrojans.zip
(19.69 KiB) Downloaded 491 times
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #50by Croc » 20.12.2018, 06:07

Update RenderBox.lua

NewRender+3buton.jpg


Новые чек-боксы будут включать / отключать классы объектов:
  • Asteroids
  • Comets
  • Spacecraft
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #51by Croc » 21.12.2018, 05:42

Обновление панели "Virtual Discrete Base"

Visible-0.jpg


The screenshot shows a discrete base of 253 Trojan asteroids with proper names.

Visible.jpg
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

macsixtythree
Posts: 1
Joined: 29.01.2019
With us: 5 years 9 months

New guy wants a bit of assistance

Post #52by macsixtythree » 29.01.2019, 20:53

Hi,

Clicked on reply, however, I hope I am posting this correctly, feel free to move or delete if this is n the wrong area of the forum.

I recently downloaded and have played around with Celestia. Version 1.6.1. I would like to d/l the plug-ins or add-ons, however, I don't wish to mess up the program. I don't have any programming skills, however, I'm pretty good with 3d modeling (expert in Solidworks, as well as learning Fusion 360, and Blender) as well as rendering (Photoworks, Solidworks Visualize, Photoview 360) and proficient with Photoshop. If you could give me an idea of what you need as far as texture maps and/or materials (different programs call things different names), I might be able to help with some stuff.

If you want, please email or private msg me so we can discuss.

Mac

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #53by selden » 01.02.2019, 00:25

I'm assuming you're running under Windows.

If you haven't already done so, you might want to consider re-installing Celestia into a folder that you own, rather than the default installation location in the system's Program Files directory. More recent versions of Windows have become more and more protective of their system folders, which can cause problems.

So long as the Addons that you download can be put into Celestia's folder named extras, you don't have to worry about messing up Celestia. If any of the things you've put into extras cause problems, you can just delete the culprits (or move them elsewhere) and restart Celestia.

Addons which are designed to go elsewhere can be more problematic if you aren't careful. I always use a separate copy of Celestia's directory tree to test those types of packages.
Selden


Return to “Lua-Tools”