Dears,
I would like to reload .xyz files via a .celx file while Celestia is running.
Is that anyhow possible? Or is Celestia restricted to only read in orbit/trajectory data when it is launched?
Cheers,
Lukas
reload .xyz trajectory data
Although Celestia's native SampledOrbit and SampledTrajectory xyz files can't be reloaded while Celestia is running, you can define and write your own ScriptedOrbit and ScriptedRotation functions which reload their xyz (or other data) files whenever you want. Since they have to be written in Lua, they can do whatever Lua programming can do, including I/O.
See https://en.wikibooks.org/wiki/Celestia/Trajectories#ScriptedOrbit
https://en.wikibooks.org/wiki/Celestia/Rotation_Models#ScriptedRotation
and
https://en.wikibooks.org/wiki/Celestia/Celx_Scripting/CELX_Lua_Methods
See https://en.wikibooks.org/wiki/Celestia/Trajectories#ScriptedOrbit
https://en.wikibooks.org/wiki/Celestia/Rotation_Models#ScriptedRotation
and
https://en.wikibooks.org/wiki/Celestia/Celx_Scripting/CELX_Lua_Methods
Selden