CELX: Marking a point in space

All about writing scripts for Celestia in Lua and the .cel system
Topic author
buggs_moran
Posts: 835
Joined: 27.09.2004
With us: 20 years 4 months
Location: Massachusetts, USA

CELX: Marking a point in space

Post #1by buggs_moran » 16.04.2008, 16:19

Is it possible with celx to place a mark at a specific point in space?

I know it is possible to mark one or many objects.

I do not want to mark an object, just place a diamond or "x", etc.
in space at a specific (x,y,z) and have it stay there for the duration
of the script run...
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
buggs_moran
Posts: 835
Joined: 27.09.2004
With us: 20 years 4 months
Location: Massachusetts, USA

Re: CELX: Marking a point in space

Post #2by buggs_moran » 17.04.2008, 14:52

sorry, but, bump
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

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 11 months

Re: CELX: Marking a point in space

Post #3by ElChristou » 17.04.2008, 15:09

You can possibly create a placeholder and mark it, no?
Image

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 23 years
Location: Seattle, Washington, USA

Re: CELX: Marking a point in space

Post #4by chris » 17.04.2008, 15:32

buggs_moran wrote:Is it possible with celx to place a mark at a specific point in space?

I know it is possible to mark one or many objects.

I do not want to mark an object, just place a diamond or "x", etc.
in space at a specific (x,y,z) and have it stay there for the duration
of the script run...

As ElChristou mentioned, you have to create a placeholder object. This is a current deficiency of Celestia's markers that I want to address soon.

--Chris

Topic author
buggs_moran
Posts: 835
Joined: 27.09.2004
With us: 20 years 4 months
Location: Massachusetts, USA

Re: CELX: Marking a point in space

Post #5by buggs_moran » 17.04.2008, 16:13

Is it possible then to actively create (i.e. not from a file) a placeholder within celx or lua? I've been rereading the celx/lua material but I cannot see where this is possible. I did not read all the lua commands, yet. I don't suppose you could have a list of positions exported and then imported without restarting celestia.
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


Return to “Scripting”