Sky does not animate...

Posted By: snake67

Sky does not animate... - 05/15/10 08:36

Hi

I tried to port some old WDL-Code to Lite-C. I used a sky definition with speed_u/speed_v parameters. They seem not to work in Lite-C but there is no error message nither. Here is the code:

ENTITY* clouds_night=
{
type="clouds.tga";
layer=3;
speed_u=4;
speed_v=6;
alpha=70;
flags2=SKY | DOME | SHOW | TRANSLUCENT;
}

Does anyone know whats wrong?
Posted By: Razoron

Re: Sky does not animate... - 05/15/10 08:44

Code:
ENTITY* clouds_night=
{
type="clouds.tga";
layer=3;
u=4;
v=6;
alpha=70;
flags2=SKY | DOME | SHOW | TRANSLUCENT;
}



Corrected.
You don't need speed_ in Lite-C.
Posted By: snake67

Re: Sky does not animate... - 05/15/10 09:34

Oh,

Thanks a lot!!!
© 2024 lite-C Forums