Posted By: CodeMaster
problem with sky - 06/28/12 12:48
how i can change sky textures in c-script after level change?
I read that i must use ent_morph for this but i do not know how define type.
I read that i must use ent_morph for this but i do not know how define type.
Code:
SKY sky_1 = { type = "sky_day1.tga"; layer = 3; scale_x = 0.30; tilt = -20; flags = CYLINDER | OVERLAY | SHOW; } SKY sky_2 = { type = "sky_day2.tga"; layer = 4; alpha = 40; scale_x = 2.2; speed_u = 15; tilt = -200; flags = DOME | OVERLAY | SHOW; }