Scripts location

All about writing scripts for Celestia in Lua and the .cel system
Topic author
jll
Posts: 64
Joined: 12.06.2002
With us: 22 years 5 months

Scripts location

Post #1by jll » 22.07.2003, 09:25

Hi,

I try to locate my scripts with "extra" they are about
example :

Celestia/extra
Celestia/extra/MyExtraAboutSpaceObject
Celestia/extra/MyExtraAboutSpaceObject/Texture
Celestia/extra/MyExtraAboutSpaceObject/Texture/Hires
Celestia/extra/MyExtraAboutSpaceObject/Scripts
Celestia/extra/MyExtraAboutSpaceObject/Scripts/MyScriptsAboutSpaceObject.cel

But when i do this, no texture are displayed when i run my script from this location ?
If i put the script into Celestia "root dir" all is fine 8O

Did i miss something ??

Bye
JLL[/code]

don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 4 months
Location: Colorado, USA (7000 ft)

Post #2by don » 22.07.2003, 18:21

Hi jll,

In Question/Answer 15 of the Preliminary Celestia User's FAQ (available at the top of the User's Forum: http://ennui.shatters.net/forum/viewtopic.php?t=2291), Selden writes the following ...

"A limitation in the current version of Celestia is that your default directory must be the Celestia root directory and the scripts must be there, too. Otherwise Celestia will not be able to find the surface texture files for its objects."

Hopefully this is on the developer's "to do" list to be fixed <smile>.

-Don

Alberto
Posts: 3
Joined: 28.06.2003
With us: 21 years 5 months
Location: Uruguay

scrip

Post #3by Alberto » 11.09.2003, 04:10

jll

Celestia 1.30 I supose??

The script may be in ANY folder, but other information MUST be in something like that:

Celestia/extra
Celestia/extra/MyExtraAboutSpaceObject
Celestia/extra/MyExtraAboutSpaceObject/Textures
Celestia/extra/MyExtraAboutSpaceObject/Textures/Hires
Celestia/extra/MyExtraAboutSpaceObject/Models

Celestia/Scripts

Celestia/Scripts/MyScriptsAboutSpaceObject.cel

warning itis TEXTURES not texture

Alberto


Return to “Scripting”