Page 1 of 1
When I change level back, sky turned to be black! Why?
Posted: Sat Dec 22, 2007 5:48 pm
by qyqx
Thanks for your attention.
I start with a outdoor level, the sky shows right.
Then I change level to an indoor level.
When I go back to the outdoor level, the sky turned to be black.
Waiting for your answer.
Posted: Sun Dec 23, 2007 12:21 am
by Spyrewolf
Are you using the skydome entity?
-if you are can you post your script and we can go over it with a fine tooth comb for you,
-also in you script are you using the self.time function as well as day nigh transistions?
it could be you sky has set it self to night?
Posted: Sun Dec 23, 2007 6:31 am
by qyqx
Spyrewolf wrote:Are you using the skydome entity?
-if you are can you post your script and we can go over it with a fine tooth comb for you,
-also in you script are you using the self.time function as well as day nigh transistions?
it could be you sky has set it self to night?
Spyrewolf, thanks for your reply. I will check my script first.
This is my script.
{
Init[()
{
SetSunColor(255, 255, 255, 255);
SetSkyColor(255, 255, 255, 255);
SetHeightOrigin(-1000);
}]
Start[()
{
SetTimeScale(25);
}]
}
Posted: Mon Dec 24, 2007 1:32 pm
by paradoxnj
Uh...you set the sky and the sun's alpha to full transparency. Try setting that last 255 to 0.