This page is under construction
archives/bf1942/levels/salerno.rfa
bf1942/levels/salerno/Init/SkyAndSun.con
TextureManager.mipmaps 0

rem
rem *** Create Sky
rem

GeometryTemplate.create StandardMesh SkyBox
GeometryTemplate.file Sky_Guada_m1
Sky.initSky

** Clouds
REM GeometryTemplate.create StandardMesh Cloud
REM GeometryTemplate.file cloud

Sky.addCloud
Cloud.setName cloud_0
Cloud.setSrcBlend BMSourceAlpha
Cloud.setDstBlend BMInvSourceAlpha
Cloud.setTexScale 8
Cloud.setSpeed -0.03 0.015
Cloud.setHeight 3500

Sky.changeOfsCloudHeight 2500
Sky.changeOfsCloudDist 333
Sky.setCloudFog 0

sky.changeOfsSkyHeight 200
Sky.setRotAngle 95
sky.sunLightDirectionVec 0.54/0.36/0.76

TextureManager.mipmaps 1