Lua Edu Tools : content and layout...
-
Topic authorVincent
- Developer
- Posts: 1356
- Joined: 07.01.2005
- With us: 19 years 10 months
- Location: Nancy, France
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...
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
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 authorVincent
- Developer
- Posts: 1356
- Joined: 07.01.2005
- With us: 19 years 10 months
- Location: Nancy, France
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...
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
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
-
- Posts: 835
- Joined: 27.09.2004
- With us: 20 years 1 month
- Location: Massachusetts, USA
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.
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
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 authorVincent
- Developer
- Posts: 1356
- Joined: 07.01.2005
- With us: 19 years 10 months
- Location: Nancy, France
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...
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
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
-
- Posts: 835
- Joined: 27.09.2004
- With us: 20 years 1 month
- Location: Massachusetts, USA
-
Topic authorVincent
- Developer
- Posts: 1356
- Joined: 07.01.2005
- With us: 19 years 10 months
- Location: Nancy, France
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...
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
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 authorVincent
- Developer
- Posts: 1356
- Joined: 07.01.2005
- With us: 19 years 10 months
- Location: Nancy, France
Thanks Andrew.Andrew wrote:hey sweet addon
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
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 authorVincent
- Developer
- Posts: 1356
- Joined: 07.01.2005
- With us: 19 years 10 months
- Location: Nancy, France
As somebody already suggested, we should rename the 'readme.txt' files into 'top_secret_information_do_not_read_me.txt'.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!
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
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 authorVincent
- Developer
- Posts: 1356
- Joined: 07.01.2005
- With us: 19 years 10 months
- Location: Nancy, France
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...
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
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 authorVincent
- Developer
- Posts: 1356
- Joined: 07.01.2005
- With us: 19 years 10 months
- Location: Nancy, France
Ren?©, Andrew,
Sorry, please read my last post above...
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
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
-
- Posts: 114
- Joined: 21.07.2004
- Age: 50
- With us: 20 years 3 months
- Location: Regensburg, Germany
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 authorVincent
- Developer
- Posts: 1356
- Joined: 07.01.2005
- With us: 19 years 10 months
- Location: Nancy, France
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
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