Description: All about writing scripts for Celestia in Lua and the .cel system
don wrote:Even though the script looks for M8 using 'obj = celestia:find("M8")', and I have it installed, it does not recognize it's DSC file entry of "M8 / NGC 6523 / Lagoon Nebula". Nor does it recognize my Black Hole entry: ' "Black Hole" "61 Cyg A" ', or M20: "M20 / NGC 6514", etc.
This also affects the auto-completion (Enter / Tab) function. For example, when I enter "m8", the display shows:chris wrote:The problem is that Celestia is that the object named "M20 / NGC 6514" will not match "M20". Nor should it.
Code: Select all
M81 M84 M87 M80
M82 M85 M88 M8 / NGC 6523 / Lagoon Nebula
M83 M86 M89
chris wrote:What's missing is the ability to assign multiple names to a single deep sky object ... The forward slash is the 'path' separator for hierarchies of solar system objects.
Code: Select all
preloadobject("M8 / NGC 6523 / Lagoon Nebula")
preloadobject("M97 Owl Nebula")
preloadobject("NGC 1499 California Nebula")
This would probably be a good idea, so that it would have it's own thread / topic to allow for comments, etc.TimMc wrote:Should these observations be formally submitted as feature requests?
Thank you for the added clarification.TimMc wrote:1. SPECIFYING OBJECTS TO TOUR:
This is exactly what I try to do when adding new add-ons. It keeps things like activating / de-activating a whole lot simpler -- merely move the directory. Your readme file also went into this in some detail, which is helpful.TimMc wrote:A better way is to have your DSO's specified in multiple DSC files in the EXTRAS directory, with each DSC file maybe even having its own MODELS and TEXTURES/MEDRES directories.
Two very good ideas, and yes, I think a new topic should be added to the Users Forum for these, as feature requests.TimMc wrote:I hope that a feature can be added to Celestia in the future that will allow for searching of deep-space objects loaded and for limited viewing of them (like the automag flag for stars).
There is such a wide mix of Celestia users out there that every script ever written is bound to waste someone's "precious time". ... So, I don't worry about it myself, as there are hundreds of others who will learn something from it, or just plain enjoy watching it.TimMc wrote:I don't want this script to be responsible for wasting your precious time!
Yes, your script is great at getting a quick "visual" overview of the DSOs a user enters into the script. Some things to think about adding (you or anyone wanting to modify the script) ... some for functionality, some for education ...TimMc wrote:The script is capable of touring a dozen objects in a few minutes, following large sweeping trajectories that show the 3D objects off at their best, and make interesting viewing for 2D images.
TimMc wrote:I would be happy to upload some of my favourite DeepSpace object DSC files and their model and texture sub-directories on to my web-site ...
Users browsing this forum: 2 guests