When I change level back, sky turned to be black! Why?

Post topics regarding Level Building/Design and Entity Usage with Reality Factory
Post Reply
qyqx
Posts: 2
Joined: Sat Dec 22, 2007 5:38 pm

When I change level back, sky turned to be black! Why?

Post 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.
User avatar
Spyrewolf
Posts: 450
Joined: Tue Jul 05, 2005 4:53 am
Location: Wellington::New Zealand

Post 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?
qyqx
Posts: 2
Joined: Sat Dec 22, 2007 5:38 pm

Post 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);

}]

}
User avatar
paradoxnj
RF2 Dev Team
Posts: 1328
Joined: Wed Mar 01, 2006 7:37 pm
Location: Brick, NJ
Contact:

Post by paradoxnj »

Uh...you set the sky and the sun's alpha to full transparency. Try setting that last 255 to 0.
Many Bothans died to bring you this signature....
Post Reply