Script Wizard/Editor?

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
Andrew
Posts: 24
Joined: 28.01.2007
With us: 17 years 9 months
Location: Isle of Wight, UK

Script Wizard/Editor?

Post #1by Andrew » 08.02.2007, 20:44

Hi,

I am thinking of creating and cel/celx script editor for celestia using either PHP or Visual Basic or maybe even both. But I dont want to do it if theres one out there already so is there?

If not then give me ideas if people would want it and if so what do you want to see in it?

I was thinking of have all the functions of the normal Celestia and then having an "plus mode" that has the new functions from Vincents patch for 1.4.1.

I am guessing that all the functions from 1.4.x are in 1.5.x but 1.5.x has newer ones possbile yes?

Let me know I will get some paper work done on it asap.

Andrew :D

rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Re: Script Wizard/Editor?

Post #2by rthorvald » 16.02.2007, 20:50

Andrew wrote:I am thinking of creating and cel/celx script editor for celestia using either PHP or Visual Basic or maybe even both. But I dont want to do it if theres one out there already so is there?

If not then give me ideas if people would want it and if so what do you want to see in it?


Very strange noone has responded to this. I think a script wizard would be very cool for Celestia.

As for what i want to see in it, well, input fields for everything one wants to preload, fields for setting objects to visit, flight time between, FOV, distance, orientation and date. To be useful, there should be options for varying these values an unspecified number of times; else, it would be simpler to write the script by hand.

- rthorvald
Image

Topic author
Andrew
Posts: 24
Joined: 28.01.2007
With us: 17 years 9 months
Location: Isle of Wight, UK

Post #3by Andrew » 16.02.2007, 20:54

Yeah I was thinking more people might want this but hey!

Cool, Im going to do some GUI layouts soon so when I have them ill add the images so you can have a look.

Cheers
Andrew

rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Post #4by rthorvald » 16.02.2007, 21:03

Andrew wrote:Yeah I was thinking more people might want this but hey!

Cool, Im going to do some GUI layouts soon so when I have them ill add the images so you can have a look.


Thanks!
Of course, what i mentioned above is actually more of a script layout tool, since detail always needs to be done by hand. So, maybe the output should have extensive commenting associated with each generated function, with some default messages for each, so the code will be more readable...

- rthorvald
Image

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

Post #5by selden » 16.02.2007, 21:51

Andrew,

There used to be a Web based script generator by "Slashi" at http://consul.com.ua/celestia/
but the web site seems to have evaporated. You can see what its user interface used to look like at
http://web.archive.org/web/200605211635 ... /celestia/

A link to a German language script generator is on the Motherlode on the Web page http://celestiamotherlode.net/catalog/utilities.html
but its site seems to have gone the way of all things, too. It looks like it might have moved to http://www.celpro.info/ but I'm not sure.

I'm sure people would appreciate it if you could actually upload your script to the Motherlode, which one would hope will last just a little longer than most personal sites.
Selden

Topic author
Andrew
Posts: 24
Joined: 28.01.2007
With us: 17 years 9 months
Location: Isle of Wight, UK

Post #6by Andrew » 17.02.2007, 08:31

Thanks for those links they will help me design my program, it will be a few weeks before I have anything to show as I have to get lots of stuff ready for a space fair we have a in a few weeks!!

Andrew

ANDREA
Posts: 1543
Joined: 01.06.2002
With us: 22 years 5 months
Location: Rome, ITALY

Re: Script Wizard/Editor?

Post #7by ANDREA » 17.02.2007, 11:12

Andrew wrote:Hi, I am thinking of creating and cel/celx script editor for celestia using either PHP or Visual Basic or maybe even both.
Andrew :D

Andrew, sorry for late reply, but I missed this post (strange things happen when pushing "View posts since last visit", many times the reply is a fake "No topics or posts met your search criteria").
I'm very interested in your editor, but I agree with rthorvald that the input options should be a lot, covering possibly all what can be done with cel and celx scripts.
E.g. I would like to have all the commands as hyperlynks in a screen window, where pushing the chosen one it will be written in the requested position on the new script, avoiding to copy and paste or to write everything. :wink:
It would be nice to have the error check, e.g. if I don't put a wait command after a goto command, it should advice me to insert it, and so on (I've asked to Chris an error message for cel scripts, but nothing up to now). :cry:
Anyhow there are thousand of different situations, IMHO, so that my advice is to learn thoroughly the cel/celx scripts functions, and then go on with the project (if you are already aware of scripts, beg your pardon).
Hope to have this facility editor available, it could be helpful in writing scripts.
For any info you may need, please ask.
Bye

Andrea :D
"Something is always better than nothing!"
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO

buggs_moran
Posts: 835
Joined: 27.09.2004
With us: 20 years 1 month
Location: Massachusetts, USA

Re: Script Wizard/Editor?

Post #8by buggs_moran » 17.02.2007, 13:56

ANDREA wrote:Andrew, sorry for late reply, but I missed this post (strange things happen when pushing "View posts since last visit", many times the reply is a fake "No topics or posts met your search criteria").


Off topic, but anyway. Selden, is there any way in PhpBB to set a view posts since a specific date?

And, Andrew, this sounds like a wonderful idea.
Homebrew:
WinXP Pro SP2
Asus A7N8X-E Deluxe
AMD Athlon XP 3000/333 2.16 GHz
1 GB Crucial RAM
80 GB WD SATA drive
ATI AIW 9600XT 128M

Avatar
Adirondack M
Posts: 528
Joined: 01.03.2004
With us: 20 years 8 months

Post #9by Adirondack » 20.02.2007, 11:38

selden wrote:A link to a German language script generator is on the Motherlode on the Web page http://celestiamotherlode.net/catalog/utilities.html
but its site seems to have gone the way of all things, too. It looks like it might have moved to http://www.celpro.info/ but I'm not sure.

Selden,

that's correct.
I will modify the link on the CML as soon as I have the time.

Adirondack
We all live under the same sky, but we do not have the same horizon. (K. Adenauer)
The horizon of some people is a circle with the radius zero - and they call it their point of view. (A. Einstein)


Return to “Development”