Probable Noob question

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #21by ElChristou » 30.12.2007, 21:22

Vincent wrote:Christophe,

I think you'll like the following version even more: the speed overlay element remains visible for 2 seconds before disapearing when speed is nil:


Nice Vince, but this one as a small problem, when you start Celestia, the speed is displayed then disappear... That wasn't the case with you first script. And what about the fading? (No, kidding! :mrgreen:)
Image

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

Post #22by Vincent » 30.12.2007, 21:31

ElChristou wrote:Nice Vince, but this one as a small problem, when you start Celestia, the speed is displayed then disappear... That wasn't the case with you first script. And what about the fading? (No, kidding! :mrgreen:)

Ah ah, you could solve this very easily by adding one single line at the beginning of the script. But I'll let you investigate this by yourself since you started kidding time... :roll: :wink:
@+
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
ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #23by ElChristou » 30.12.2007, 21:45

Vincent wrote:Ah ah, you could solve this very easily by adding one single line at the beginning of the script. But I'll let you investigate this by yourself since you started kidding time... :roll: :wink:


Would you be kind enough to give me the first letter of this line? (I think I will need this little help... :lol:)
Image

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

Post #24by Vincent » 30.12.2007, 22:01

ElChristou wrote:Would you be kind enough to give me the first letter of this line? (I think I will need this little help... :lol:)

No.
OK, since it's Xmas time, I'll tell you that the line to be added already appears somewhere in the script... Image
@+
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
ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #25by ElChristou » 30.12.2007, 23:24

Vincent wrote:
ElChristou wrote:Would you be kind enough to give me the first letter of this line? (I think I will need this little help... :lol:)
No.
OK, since it's Xmas time, I'll tell you that the line to be added already appears somewhere in the script... Image


I cannot make my mind between

Code: Select all

   end

or

Code: Select all

      end


:?
Image

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

Post #26by Adirondack » 30.12.2007, 23:34

ElChristou wrote:I cannot make my mind between

Code: Select all

   end

or

Code: Select all

      end


:?


Huh? You are kidding again, no?

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)

Topic author
ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #27by ElChristou » 30.12.2007, 23:45

Adirondack wrote:Huh? You are kidding again, no?


Who knows? :mrgreen: :wink:
Image

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

Post #28by Vincent » 31.12.2007, 00:01

Code: Select all

celestia:setoverlayelements{Velocity = false}

:wink:

I've edited the script to add this line.
@+
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
ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #29by ElChristou » 31.12.2007, 00:08

Vincent wrote:

Code: Select all

celestia:setoverlayelements{Velocity = false}

:wink:

I've edited the script to add this line.


Tx Mate! (fortunately I could resolve the riddle a moment ago and of course it works fine...)
Image

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

Post #30by Vincent » 31.12.2007, 11:48

ElChristou wrote:Tx Mate! (fortunately I could resolve the riddle a moment ago and of course it works fine...)

You're welcome Chris! And I knew you could solve it by yourslef. :)
@+
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
ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #31by ElChristou » 31.12.2007, 11:56

Vincent wrote:...And I knew you could solve it by yourslef. :)


Yeah yeah yeah... but indeed was quite a challenge! Can I say I'm a coder now? :lol:
Image

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

Post #32by Vincent » 31.12.2007, 12:24

ElChristou wrote:
Vincent wrote:...And I knew you could solve it by yourslef. :)

Yeah yeah yeah... but indeed was quite a challenge! Can I say I'm a coder now? :lol:

Well, a hacker for sure! :wink:
@+
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

BlindedByTheLight
Posts: 485
Joined: 19.03.2005
With us: 19 years 8 months
Location: Los Angeles, CA

Post #33by BlindedByTheLight » 31.12.2007, 12:26

I kinda like seeing the "speedometer" - even if it is on zero. Like my car...if I stopped moving, I really wouldn't want my digital speedometer to fade out just because I wasn't moving.

It would make more sense if space was at a premium...

UPDATE: what I really miss is keeping the units consistent... jumping units that aren't 10X multiples like the metric system really blows the "now we're going 140,000 times the speed of light!!!" saying I'm going 20 AU's/sec doesn't quite have the same bang for the buck.... :)
Steven Binder, Mac OS X 10.4.10


Return to “Development”