Page 1 of 1

Noob questions, please help

Posted: 18.02.2005, 01:48
by weed_eater_guy
I'm a noob, how do i add textures to celestia? Spacecraft? I havn't seen any manuals on the site, so please help! thanx

Weed

Posted: 18.02.2005, 02:38
by bh
Hello weed eater...welcome to Celestia. You need to read some tuts...I think there are some by Fsgres and Selden Ball and others. Textures normally go in your /Celestia/textures/medres/ folder...if you have an Nvidia card try to usr dds textures...they will run a lot smoother. As for texturing spacecraft...you can either ad textures to specific areas called meshes with a prog called Anim8tor....it's free...or you have to get Celestia to wrap the textures around the model itself like so...

Class "spacecraft"
Texture "shuttle.jpg"
Mesh "impshuttle2.3ds"...ect.

I may be a bit out of date here....just trying to point you in the right direction!

Good luck and have fun!

Regards...bh.

Posted: 18.02.2005, 22:13
by weed_eater_guy
thanks much, but when it goes into the folder, and i want to replace, say, the original earth texure with a higher-res texture. do i just delete or rename the old one and put the new one in its place with the original's name?

Posted: 19.02.2005, 00:56
by selden
weed_eater_guy wrote: do i just delete or rename the old one and put the new one in its place with the original's name?


Neither one.
It's best not to edit any of the files that come with Celestia if you can avoid it. It'll be really hard to find all the changes you've made when you install a new version of Celestia.

Instead, use the SSC keywords Replace or Modify, which became available in Celestia v1.3.2.

For more information, see the posting http://www.shatters.net/forum/viewtopic.php?t=5657
Be sure to read the entire thread.

Posted: 19.02.2005, 06:29
by weed_eater_guy
still very confused, i put the jupiternight PNG file into extras, nothing changes in celestia for jupiter. I have no idea how to edit the files you mentioned, or even how to access the means of editing them!

sorry for my apathy, lol

Posted: 19.02.2005, 13:51
by selden

Posted: 19.02.2005, 14:14
by Brendan
SSC and STC files are text files so you can open them with any text editor. Using the Modify and Replace keywords lets you change or replace things without changing the original files. An example of doing this is:

Code: Select all

Modify "Jupiter" "Sol"
{
   NightTexture "jupiternight.png"
}


Create a text file with an editor like Notepad, put the above text in it and save it with a name like Jupiter_mod.ssc in the extras folder. You could put the jupiternight.png file in the textures/medres folder, but if you don't want to fill up that folder with lots of files, you could create new textures/medres folders inside the extras folder to put the jupiternight.png file in.
If you want to keep things organizated, you could make a folder inside the extras folder for each addon. For example, you could make a folder Jupiter_mod in the extras folder and put the SSC file and the SSC file's own texture/medres folders in it. Doing this would make it easy to move addons into and out of the extras folder to control what addons are loaded when Celestia starts up.
I'll also add that I also have addons in the main Celestia folder and listed in the ExtraDirectories section of celestia.cfg with one folder name per line of the list. I commet out the ones I don't need now with # at the start of the line.

For more information about the structure of addons, see:
http://www.lepp.cornell.edu/~seb/celestia/addon-intro.html