1. Sky: sk_blue
This Sky is for the background.
2. Sky: sk_sun, sk_moon
This Sky is complete Transparent. The only visible on it, is a Yellow-White Spot ( the sun ).
Same with the moon.
Both Skies have same layer. ( i need two skies.. because there´re 3 moons.. so i just need to change the moon sky ).
3.-5.Sky Sky: sk_cloud1, sk_cloud2, sk_cloud3]
These Skies are the clouds.
The Skies overlap each other by number.
1 is above 2
2 is above 3
3...etc..
I need:
Sk_sun to move like a real sun.
If var t_h == 7 and t_m == 30, sunrise
If var t_h == 18 and t_m == 30, sunset
The cloud skies have to move with 3 vectors.
vector sk_cl_1, moves the 1. cloud sky,
vector sk_cl_2, moves the 2. cloud sky,
vector sk_cl_3, moves the 3. cloud sky.
I need everything to be controlled with variables.
Here´re the globals:
var t_h
var t_m
var t_s
VECTOR* sk_cl_1 = {x=0; y=0; z=0;}
VECTOR* sk_cl_2 = {x=0; y=0; z=0;}
VECTOR* sk_cl_3 = {x=0; y=0; z=0;}
X = Windspeed X
Y = Windspeed Y
Z = not used