This page is under construction
Archives/bf1942/Levels/Midnight_at_Berlin.rfa
bf1942/levels/Midnight_at_Berlin/Init/SkyAndSun.con
TextureManager.mipmaps 0
ObjectTemplate.create LensFlare TSun
ObjectTemplate.setLensFlareCount 1
ObjectTemplate.setBackFlareCount 0
ObjectTemplate.setCoronaCount 2
ObjectTemplate.initLensFlares
ObjectTemplate.setVisibilityAngleDeg 360
ObjectTemplate.setFlareSrcBlend BMSourceAlpha 1
ObjectTemplate.setFlareDestBlend BMOne 1
ObjectTemplate.setFlareTexture ring3.tga 1
ObjectTemplate.setFlareSize 0.5 1
ObjectTemplate.setFlareScale 1 1
ObjectTemplate.setFlareRot 0 1
ObjectTemplate.setFlareColor 255/255/255/200 1
Object.create TSun
Object.isSaveable 0
Object.name sun
rem ************************
rem *** Sky ***
rem ************************
GeometryTemplate.create StandardMesh SkyBox
GeometryTemplate.file Sky_Berlin_m1
Sky.initSky
Sky.setSun sun
sky.changeOfsSkyHeight 150
Sky.setRotAngle 180
sky.sunLightDirectionVec -0.191/.45/-0.873
TextureManager.mipmaps 1
ObjectTemplate.create LensFlare TSun
ObjectTemplate.setLensFlareCount 1
ObjectTemplate.setBackFlareCount 0
ObjectTemplate.setCoronaCount 2
ObjectTemplate.initLensFlares
ObjectTemplate.setVisibilityAngleDeg 360
ObjectTemplate.setFlareSrcBlend BMSourceAlpha 1
ObjectTemplate.setFlareDestBlend BMOne 1
ObjectTemplate.setFlareTexture ring3.tga 1
ObjectTemplate.setFlareSize 0.5 1
ObjectTemplate.setFlareScale 1 1
ObjectTemplate.setFlareRot 0 1
ObjectTemplate.setFlareColor 255/255/255/200 1
Object.create TSun
Object.isSaveable 0
Object.name sun
rem ************************
rem *** Sky ***
rem ************************
GeometryTemplate.create StandardMesh SkyBox
GeometryTemplate.file Sky_Berlin_m1
Sky.initSky
Sky.setSun sun
sky.changeOfsSkyHeight 150
Sky.setRotAngle 180
sky.sunLightDirectionVec -0.191/.45/-0.873
TextureManager.mipmaps 1