Lua Edu Tools : content and layout...

Discuss Celestia's features, adaptations and Addons for use in educational environments
Sui Ota
Posts: 75
Joined: 05.10.2005
With us: 19 years 1 month
Location: Saitama, Japan

Post #41by Sui Ota » 11.12.2006, 08:18

It seems to be technical limit of the script, I understood.
Thanks. If I found another problems, I'll post them here. :D
-Suι

Topic author
Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Post #42by Vincent » 28.12.2006, 11:05

Hi,

Here's the last beta version of the Lua Edu Tools before release.
> http://vincent.gian.club.fr/celestia/lua_tools2.zip

Here are the latest changes :
- To prevent from changing the selection, inopportune clicks are now blocked off in the whole Tools window.
- The 1x timerate button and the timerate slider now can be used even when Celestia is paused.
- I've unactivated the spacecraft orientation feature since Hubble doesn't point to the selection (bug ?).

Please let me know if you think that something should be modified or added...
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

Topic author
Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Post #43by Vincent » 07.01.2007, 13:21

As suggested by Selden, I've tried to modify the colors of the Tool Box :
http://vincent.gian.club.fr/celestia/lua_tools2.zip

You can compare the two color sets by editing the beginning of the utils/toolBox.lua file.
Just comment in the color set you want to use, and comment out the other.
(remove/add the --[[ and ]] comment marks)
The new color set is defined by default...

Please let me know what pair of colors looks better to you...
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

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

Post #44by buggs_moran » 08.01.2007, 13:52

Vincent,

Do you have a site or page that links to your files? I would like to maintain a bookmark to it... To clarify, I am looking for something other than the link directly to the file.

Merci.
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

Topic author
Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Post #45by Vincent » 08.01.2007, 21:59

buggs_moran wrote:Vincent,

Do you have a site or page that links to your files? I would like to maintain a bookmark to it... To clarify, I am looking for something other than the link directly to the file.

Merci.

Buggs,

Sorry, I don't have a site yet. I've been thinking about making one for monthes, but I haven't found the time yet... I have a lot of works in progress (Lua tools, separate Lua addons, educational scripts/videos/worksheets...). So maybe when I'm done with all this... :wink:

However, I might be able to provide a ftp link to my folders and files. I'll have a look at this. Would this be OK ?
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

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

Post #46by buggs_moran » 08.01.2007, 23:07

Whatever works for you. FTP is fine with me. Thanks.
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

Topic author
Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Post #47by Vincent » 17.01.2007, 13:33

Buggs,

Unfortunately, my FTP Hosting doesn't allow me to create a "guest" profile to provide a read-only acces to my files and folders... I'll try to find some time for making a site as soon as possible...
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

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

Post #48by Andrew » 05.02.2007, 19:11

hey sweet addon :)

I was wondering is there a way to enable/disable it without editing the config file?

Cheeers
Andrew

Topic author
Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Post #49by Vincent » 05.02.2007, 20:01

Andrew wrote:hey sweet addon :)
Thanks Andrew.

Andrew wrote:I was wondering is there a way to enable/disable it without editing the config file?

During navigation within Celestia, you can use [Ctrl]+[I] to activate/unactivate the display of the Graphic Interface.
Then, if you're rather talking about enabling/disabling the whole addon when Celestia starts, I agree with you that editing the config file is not the nicest way. Maybe we could just make Celestia detect whether the 'luahookinit.lua' file is present or not in the base directory, along with the respective lua tools folder in the 'extras' folder.
This way, the Lua Tools could be enabled/disabled like any other addons.
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

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

Post #50by Andrew » 05.02.2007, 20:10

ahh cool thnx thats what I wanted to just hide the display when I don't want it :)

well that would be cool if I could get it to work! I must be being dumb!

Topic author
Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Post #51by Vincent » 05.02.2007, 20:21

Andrew wrote:ahh cool thnx thats what I wanted to just hide the display when I don't want it :)

well that would be cool if I could get it to work! I must be being dumb!
As somebody already suggested, we should rename the 'readme.txt' files into 'top_secret_information_do_not_read_me.txt'. :wink:

More seriously, here's what you can read in the lua_edu_readme.txt file :
...
The Lua Edu Tools are an addon that provides :
1- A graphic interface that simplifies access to the main commands
in order to allow a quick use of Celestia in complete autonomy.
2- New features that are not available /yet/ in the official distribution (compass, InfoText/Image, Ra/Dec display, etc...).

rem: You can activate/unactivate the display of the graphic interface using [Ctrl]+[i].
...
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

Topic author
Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Post #52by Vincent » 05.02.2007, 20:28

Andrew wrote:well that would be cool if I could get it to work! I must be being dumb!

Well, that would be also cool if I had given you the right keys : try [Shift]+[I] instead of [Ctrl]+[I]... Sorry... :oops: :wink:
Last edited by Vincent on 05.02.2007, 20:31, edited 1 time in total.
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

rra
Posts: 171
Joined: 17.07.2004
With us: 20 years 4 months
Location: The Netherlands

Post #53by rra » 05.02.2007, 20:31

Vincent ,

don't you mean shift + i ??

ctrl+i doesn't do anything on my windows system


Ren?©

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

Post #54by Andrew » 05.02.2007, 20:32

Sorry Im terrible for reading readme's look at the bits that tell me how to install and thats it!

I still cant get the ctrl+i to work tho :S

Topic author
Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Post #55by Vincent » 05.02.2007, 20:34

Ren?©, Andrew,

Sorry, please read my last post above...
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

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

Post #56by Andrew » 05.02.2007, 20:35

got it I had to use "I"

P.S Thanks :D

Andy74 M
Posts: 114
Joined: 21.07.2004
Age: 50
With us: 20 years 3 months
Location: Regensburg, Germany

Post #57by Andy74 » 22.04.2007, 13:46

Vincent wrote:As suggested by Selden, I've tried to modify the colors of the Tool Box :
http://vincent.gian.club.fr/celestia/lua_tools2.zip

You can compare the two color sets by editing the beginning of the utils/toolBox.lua file.
Just comment in the color set you want to use, and comment out the other.
(remove/add the --[[ and ]] comment marks)
The new color set is defined by default...

Please let me know what pair of colors looks better to you...


Vincent,

I downloaded the beta version of your Lua tools using the link in the above post (Jan 07, 2007) and followed the instructions in the readme file.
When I start Celestia (CVS build from yesterday), the following error message is shown:

extras/edu_test_2/edu_test.lua:7:error loading package `CXBox' (extras/edu_test_2/utils/CXBox.lua:433: malformed number near `1.0')

After clicking the OK button Celestia runs normally, but without the tools.
I'm using Windows XP.
Maybe you know what this is about?

Thanks
Andy

Topic author
Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Post #58by Vincent » 22.04.2007, 16:48

Andy74 wrote:When I start Celestia (CVS build from yesterday), the following error message is shown:

extras/edu_test_2/edu_test.lua:7:error loading package `CXBox' (extras/edu_test_2/utils/CXBox.lua:433: malformed number near `1.0')

Andy,

This is due to a bug in Lua 5.0 concerning the use of the system locale numeric. On top of that, the Lua Edu Tools version you've downloaded use some of the new Lua 5.1 features. So you should compile Celestia with Lua 5.1 to make it run properly.

However, I've just finished a major update of the Lua Edu Tools that will be also compatible with Lua 5.0. This updated version includes new features like the introduction of a config.lua file that allows users to set their own parameters such as local language, local time and time zone, colors of elements of the Graphical Interface... Since this version needs some changes that have been added to CVS recently, I'd prefer waiting for the release of Celestia 1.5pre3 before publishing it on the forum.

I can send it to you by email if you already have the latest CVS version of Celestia, though. Just send me an email using the link below.
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3


Return to “Celestia in Education”