Page 1 of 1

New class for Daytime

Posted: 01.04.2005, 19:55
by Corvette
I'm trying to make an alternative surface for all my maps so that it always looks like day time. However, I want to make a new class for this. For instance, with one map I put

AltSurface"Ocean floor" "Sol/earth"
{
Class "day"
Texture "earth-ocfl.*"
NightTexture "earth-ocfl.*"
}


However, it doesn't want to make a new class. The only way I can get it to work is to change the name of, "Ocean floor" to something else (ex: "DOcean floor"). How do I make a new class for daytime only?

Posted: 02.04.2005, 12:50
by selden
Celestia's Class values are hardwired. You can't define new ones.

The recognized values are
"planet"
"moon"
"comet"
"asteroid"
"spacecraft"
"invisible"
else set to "unknown" flag value:

* if ssystem is a "body" and radius > .1 then moon else spacecraft
* else (if sys not body) if radius < 1000. then asteroid else planet

Posted: 02.04.2005, 14:26
by cpotting
Would it not be easier to just set the ambient light level to 1?

Posted: 03.04.2005, 16:05
by Corvete
cpotting wrote:Would it not be easier to just set the ambient light level to 1?


How do I do that? I have the Windows version of Celestia and under Render and Ambient Light the only three options are None, Low, and Medium.
Thanks (btw, it won't let me log into corvette. When I typed in my E - Mail address it says the address doesn't match).

Posted: 03.04.2005, 16:09
by Corvete
N/m, I just figured it out. Thanks.