Advertisement
dragonsyr

config.cpp

Jun 15th, 2016
434
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 103.32 KB | None | 0 0
  1. #define _ARMA_
  2.  
  3. //ndefs=13
  4. enum {
  5.     destructengine = 2,
  6.     destructdefault = 6,
  7.     destructwreck = 7,
  8.     destructtree = 3,
  9.     destructtent = 4,
  10.     stabilizedinaxisx = 1,
  11.     stabilizedinaxesxyz = 4,
  12.     stabilizedinaxisy = 2,
  13.     stabilizedinaxesboth = 3,
  14.     destructno = 0,
  15.     stabilizedinaxesnone = 0,
  16.     destructman = 5,
  17.     destructbuilding = 1
  18. };
  19.  
  20. //Class map_altis : config.bin{
  21. class CfgPatches
  22. {
  23.     class Derka
  24.     {
  25.         units[] = {"Derka"};
  26.         weapons[] = {};
  27.         requiredVersion = 0.1;
  28.         requiredAddons[] = {"A3_Data_F","A3_Roads_F","A3_Structures_F","A3_Map_Data"};
  29.     };
  30. };
  31. class CfgVehicles{};
  32. class CfgWorlds
  33. {
  34.     mapSize = 20480;
  35.     mapZone = 35;
  36.     mapArea[] = {25.011957,39.718452,25.481527,40.094578};
  37.     class DefaultWorld
  38.     {
  39.         class Weather
  40.         {
  41.             class Overcast;
  42.         };
  43.         class WaterExPars;
  44.     };
  45.     class CAWorld: DefaultWorld
  46.     {
  47.         class Grid{};
  48.         class DayLightingBrightAlmost;
  49.         class DayLightingRainy;
  50.         class DefaultClutter;
  51.         class Weather: Weather
  52.         {
  53.             class Lighting;
  54.             class Overcast: Overcast
  55.             {
  56.                 class Weather1;
  57.                 class Weather2;
  58.                 class Weather3;
  59.                 class Weather4;
  60.                 class Weather5;
  61.                 class Weather6;
  62.             };
  63.         };
  64.     };
  65.    
  66.     class DefaultLighting;
  67.     class Derka: CAWorld
  68.     {
  69.         class DefaultClutter;
  70.         #include "cfgClutter.hpp"
  71.        
  72.         dynLightMinBrightnessAmbientCoef = 0.5;
  73.         dynLightMinBrightnessAbsolute = 0.05;
  74.        
  75.        
  76.         class Sea
  77.         {
  78.             seaTexture = "a3\data_f\seatexture_co.paa";
  79.             seaMaterial = "#water";
  80.             shoreMaterial = "#shore";
  81.             shoreFoamMaterial = "#shorefoam";
  82.             shoreWetMaterial = "#shorewet";
  83.             WaterMapScale = 20;
  84.             WaterGrid = 50;
  85.             MaxTide = 0;
  86.             MaxWave = 0.25;
  87.             SeaWaveXScale = "2.0/50";
  88.             SeaWaveZScale = "1.0/50";
  89.             SeaWaveHScale = 1.0;
  90.             SeaWaveXDuration = 5000;
  91.             SeaWaveZDuration = 10000;
  92.         };
  93.         class Underwater
  94.         {
  95.             noWaterFog = -0.001;
  96.             fullWaterFog = 0.001;
  97.             deepWaterFog = 200;
  98.             waterFogDistanceNear = 10;
  99.             waterFogDistance = 40;
  100.             waterColor[] = {0.04,0.16,0.22};
  101.             deepWaterColor[] = {0.0,0.001,0.009};
  102.             surfaceColor[] = {0.04,0.16,0.22};
  103.             deepSurfaceColor[] = {0.0,0.001,0.009};
  104.         };
  105.         class SeaWaterShaderPars
  106.         {
  107.             refractionMoveCoef = 0.03;
  108.             minWaterOpacity = 0.0;
  109.             waterOpacityDistCoef = 0.4;
  110.             underwaterOpacity = 0.5;
  111.             waterOpacityFadeStart = 60;
  112.             waterOpacityFadeLength = 120;
  113.         };
  114.         class WaterExPars: WaterExPars
  115.         {
  116.             fogDensity = 0.07;
  117.             fogColor[] = {0.03015,0.07155,0.09045};
  118.             fogColorExtinctionSpeed[] = {0.1814,0.0159,0.0111};
  119.             ligtExtinctionSpeed[] = {0.1814,0.0159,0.0111};
  120.             diffuseLigtExtinctionSpeed[] = {0.3814,0.2159,0.2111};
  121.             fogGradientCoefs[] = {"0.35f","1.0f","1.7f"};
  122.             fogColorLightInfluence[] = {0.8,0.2,1.0};
  123.             shadowIntensity = "0.0f";
  124.             ssReflectionStrength = 0.85;
  125.             ssReflectionMaxJitter = 1.0;
  126.             ssReflectionRippleInfluence = 0.2;
  127.             ssReflectionEdgeFadingCoef = 10.0;
  128.             ssReflectionDistFadingCoef = 4.0;
  129.             refractionMinCoef = 0.03;
  130.             refractionMaxCoef = 0.14;
  131.             refractionMaxDist = 5.1;
  132.             specularMaxIntensity = 100;
  133.             specularPowerOvercast0 = 750;
  134.             specularPowerOvercast1 = 50;
  135.             specularNormalModifyCoef = 0.015;
  136.             foamAroundObjectsIntensity = "0.15f";
  137.             foamAroundObjectsFadeCoef = "8.0f";
  138.             foamColorCoef = "2.0f";
  139.             foamDeformationCoef = "0.02f";
  140.             foamTextureCoef = "0.2f";
  141.             foamTimeMoveSpeed = "0.2f";
  142.             foamTimeMoveAmount = "0.1f";
  143.             shoreDarkeningMaxCoef = "0.45f";
  144.             shoreDarkeningOffset = "0.36f";
  145.             shoreDarkeningGradient = "0.08f";
  146.             shoreWaveTimeScale = "0.8f";
  147.             shoreWaveShifDerivativeOffset = "-0.8f";
  148.             shoreFoamIntensity = "0.25f";
  149.             shoreMaxWaveHeight = "0.15f";
  150.             shoreWetLayerReflectionIntensity = "0.55f";
  151.         };
  152.        
  153.        
  154.         startWeather = 0.3;
  155.         startFog = 0.0;
  156.         forecastWeather = 0.3;
  157.         forecastFog = 0.0;
  158.         startFogBase = 0.0;
  159.         forecastFogBase = 0.0;
  160.         startFogDecay = 0.014;
  161.         forecastFogDecay = 0.014;
  162.         fogBeta0Min = 0.0;
  163.         fogBeta0Max = 0.05;
  164.        
  165.        
  166.         class HDRNewPars
  167.         {
  168.             minAperture = 1e-005;
  169.             maxAperture = 256;
  170.             apertureRatioMax = 4;
  171.             apertureRatioMin = 10;
  172.             bloomImageScale = 1.0;
  173.             bloomScale = 0.09;
  174.             bloomExponent = 0.75;
  175.             bloomLuminanceOffset = 0.4;
  176.             bloomLuminanceScale = 0.15;
  177.             bloomLuminanceExponent = 0.25;
  178.             tonemapMethod = 1;
  179.             tonemapShoulderStrength = 0.22;
  180.             tonemapLinearStrength = 0.12;
  181.             tonemapLinearAngle = 0.1;
  182.             tonemapToeStrength = 0.2;
  183.             tonemapToeNumerator = 0.022;
  184.             tonemapToeDenominator = 0.2;
  185.             tonemapLinearWhite = 11.2;
  186.             tonemapExposureBias = 1.0;
  187.             tonemapLinearWhiteReinhard = "2.5f";
  188.             eyeAdaptFactorLight = 3.3;
  189.             eyeAdaptFactorDark = 0.75;
  190.             nvgApertureMin = 10.0;
  191.             nvgApertureStandard = 12.5;
  192.             nvgApertureMax = 16.5;
  193.             nvgStandardAvgLum = 10;
  194.             nvgLightGain = 320;
  195.             nvgTransition = 1;
  196.             nvgTransitionCoefOn = "40.0f";
  197.             nvgTransitionCoefOff = "0.01f";
  198.             nightShiftMinAperture = 0;
  199.             nightShiftMaxAperture = 0.002;
  200.             nightShiftMaxEffect = 0.6;
  201.             nightShiftLuminanceScale = 600;
  202.         };
  203.        
  204.        
  205.         skyColorInfluencesFogColor = 0;
  206.        
  207.        
  208.         class Lighting: DefaultLighting
  209.         {
  210.             groundReflection[] = {0.132,0.133,0.122};
  211.             moonObjectColorFull[] = {460,440,400,1.0};
  212.             moonHaloObjectColorFull[] = {465,477,475,1.0};
  213.             moonsetObjectColor[] = {375,350,325,1.0};
  214.             moonsetHaloObjectColor[] = {515,517,525,1.0};
  215.            
  216.            
  217.             class ThunderBoltLight
  218.             {
  219.                 diffuse[] = {2120,3170,5550};
  220.                 ambient[] = {0.001,0.001,0.001};
  221.                 intensity = 120000;
  222.                 class Attenuation
  223.                 {
  224.                     start = 0.0;
  225.                     constant = 0.0;
  226.                     linear = 0.0;
  227.                     quadratic = 1.0;
  228.                 };
  229.             };
  230.             starEmissivity = 25;
  231.         };
  232.        
  233.        
  234.         class DayLightingBrightAlmost: DayLightingBrightAlmost
  235.         {
  236.             deepNight[] = {-15,{0.005,0.01,0.01},{0.0,0.002,0.003},{0.0,0.0,0.0},{0.0,0.0,0.0},{0.0,0.002,0.003},{0.0,0.002,0.003},0};
  237.             fullNight[] = {-5,{0.182,0.213,0.25},{0.05,0.111,0.221},{0.04,0.034,0.004},{0.039,0.049,0.072},{0.082,0.128,0.185},{0.283,0.35,0.431},0};
  238.             sunMoon[] = {-3.75,{0.377,0.441,0.518},{0.103,0.227,0.453},{0.04,0.034,0.004},{0.039,0.049,0.072},{0.174,0.274,0.395},{0.582,0.72,0.887},0.5};
  239.             earlySun[] = {-2.5,{0.675,0.69,0.784},{0.22,0.322,0.471},{0.04,0.034,0.004},{0.039,0.049,0.072},{0.424,0.549,0.745},{0.698,0.753,0.894},1};
  240.             sunrise[] = {0,{0.675,0.69,0.784},{0.478,0.51,0.659},{0.2,0.19,0.07},{0.124,0.161,0.236},{{0.847,0.855,0.965},0.2},{{0.933,0.949,0.996},2},1};
  241.             earlyMorning[] = {3,{{0.844,0.61,0.469},0.8},{0.424,0.557,0.651},{{1,0.45,0.2},1},{0.12,0.26,0.38},{{0.428,0.579,0.743},2},{{0.844,0.61,0.469},2.7},1};
  242.             midMorning[] = {8,{{0.822,0.75,0.646},3.8},{{0.383,0.58,0.858},1.3},{{1.3,0.9,0.61},2.8},{{0.12,0.18,0.28},0.5},{{0.322,0.478,0.675},3.5},{{1.0,0.929,0.815},4.7},1};
  243.             morning[] = {16,{{1,0.95,0.91},12.2},{{0.12,0.18,0.28},9.2},{{1,0.95,0.91},11.2},{{0.12,0.18,0.28},8.5},{{0.14,0.18,0.24},11.0},{{0.5,0.6,0.9},13.2},1};
  244.             noon[] = {45,{{0.98,0.94,0.94},13.8},{{0.2,0.27,0.35},10.8},{{0.98,0.94,0.94},13.8},{{0.2,0.27,0.35},10.8},{{0.5,0.64,1.0},12.0},{{0.5,0.5,0.5},14.8},1,0.5,0.4,0.5,0.4};
  245.         };
  246.         class DayLightingRainy: DayLightingRainy
  247.         {
  248.             deepNight[] = {-15,{0.005,0.01,0.01},{0.0,0.002,0.003},{0.0,0.0,0.0},{0.0,0.0,0.0},{0.0,0.002,0.003},{0.0,0.002,0.003},0};
  249.             fullNight[] = {-5,{0.023,0.023,0.023},{0.02,0.02,0.02},{0.023,0.023,0.023},{0.02,0.02,0.02},{0.01,0.01,0.02},{0.08,0.06,0.06},0};
  250.             sunMoon[] = {-3.75,{0.04,0.04,0.05},{0.04,0.04,0.05},{0.04,0.04,0.05},{0.04,0.04,0.05},{0.04,0.035,0.04},{0.11,0.08,0.09},0.5};
  251.             earlySun[] = {-2.5,{0.0689,0.0689,0.0804},{0.06,0.06,0.07},{0.0689,0.0689,0.0804},{0.06,0.06,0.07},{0.08,0.07,0.08},{0.14,0.1,0.12},0.5};
  252.             earlyMorning[] = {3,{{1,1,1},"(-4)+3.95"},{{1,1,1},"(-4)+3.0"},{{1,1,1},"(-4)+3.95"},{{1,1,1},"(-4)+3.0"},{{1,1,1},"(-4)+4"},{{1,1,1},"(-4)+5.5"},1};
  253.             morning[] = {16,{{1,1,1},"(-4)+5.7"},{{1,1,1},"(-4)+4.5"},{{1,1,1},"(-4)+5.7"},{{1,1,1},"(-4)+4.5"},{{1,1,1},"(-4)+7"},{{1,1,1},"(-4)+8"},1};
  254.             lateMorning[] = {25,{{1,1,1},"(-4)+10.45"},{{1,1,1},"(-4)+9.75"},{{1,1,1},"(-4)+10.45"},{{1,1,1},"(-4)+9.75"},{{1,1,1},"(-4)+12"},{{1,1,1},"(-4)+12.75"},1};
  255.             noon[] = {45,{{1,1,1},10.0},{{1,1,1},9.0},{{1,1,1},9.0},{{1,1,1},8.0},{{0.5,0.64,1},12.0},{{0.5,0.5,0.5},14.8},1};
  256.         };
  257.        
  258.        
  259.         class Weather: Weather
  260.         {
  261.             class LightingNew
  262.             {
  263.                 class Lighting0
  264.                 {
  265.                     height = 0;
  266.                     overcast = 0.25;
  267.                     sunAngle = -24;
  268.                     sunOrMoon = 0;
  269.                     diffuse[] = {{0.14,0.19,0.3},4};
  270.                     diffuseCloud[] = {{0.14,0.19,0.3},0.2};
  271.                     ambient[] = {{0.173,0.239,0.373},1};
  272.                     ambientCloud[] = {{0.173,0.239,0.373},0.05};
  273.                     ambientMid[] = {{0.1384,0.1912,0.2984},0.88};
  274.                     ambientMidCloud[] = {{0.1384,0.1912,0.2984},0.044};
  275.                     groundReflection[] = {{0.173,0.239,0.373},0.8448};
  276.                     groundReflectionCloud[] = {{0.173,0.239,0.373},0.04224};
  277.                     bidirect[] = {0.025,0.025,0.023};
  278.                     bidirectCloud[] = {0.0125,0.0125,0.0115};
  279.                     sky[] = {0.231,0.314,0.467};
  280.                     skyAroundSun[] = {0.2,0.25,0.45};
  281.                     fogColor[] = {{0.09,0.137,0.22},0.025};
  282.                     apertureMin = 6;
  283.                     apertureStandard = 6;
  284.                     apertureMax = 18;
  285.                     standardAvgLum = 4;
  286.                     desiredLuminanceCoef = 1;
  287.                     desiredLuminanceCoefCloud = 1;
  288.                     luminanceRectCoef = 1;
  289.                     luminanceRectCoefCloud = 0.5;
  290.                     rayleigh[] = {0.007,0.01388,0.035};
  291.                     mie[] = {0.005,0.005,0.005};
  292.                     cloudsColor[] = {{0.5,0.65,1},11.016};
  293.                     swBrightness = 1;
  294.                 };
  295.                 class Lighting1
  296.                 {
  297.                     height = 0;
  298.                     overcast = 0.25;
  299.                     sunAngle = -12;
  300.                     sunOrMoon = 0;
  301.                     diffuse[] = {0.1,0.18,0.3};
  302.                     diffuseCloud[] = {0.1,0.18,0.3};
  303.                     ambient[] = {{0.173,0.239,0.373},1};
  304.                     ambientCloud[] = {{0.173,0.239,0.373},1};
  305.                     ambientMid[] = {{0.173,0.239,0.373},0.88};
  306.                     ambientMidCloud[] = {{0.173,0.239,0.373},0.88};
  307.                     groundReflection[] = {{0.173,0.239,0.373},0.8448};
  308.                     groundReflectionCloud[] = {{0.173,0.239,0.373},0.8448};
  309.                     bidirect[] = {0,0,0};
  310.                     bidirectCloud[] = {0,0,0};
  311.                     sky[] = {{0.212,0.302,0.51},1};
  312.                     skyAroundSun[] = {0.2,0.25,0.45};
  313.                     fogColor[] = {{0.094,0.141,0.231},0.025};
  314.                     apertureMin = 6;
  315.                     apertureStandard = 6;
  316.                     apertureMax = 18;
  317.                     standardAvgLum = 4;
  318.                     desiredLuminanceCoef = 1;
  319.                     desiredLuminanceCoefCloud = 1;
  320.                     luminanceRectCoef = 1;
  321.                     luminanceRectCoefCloud = 0.5;
  322.                     rayleigh[] = {0.007,0.01388,0.035};
  323.                     mie[] = {0.005,0.005,0.005};
  324.                     cloudsColor[] = {{1,1,1},11.016};
  325.                     swBrightness = 1;
  326.                 };
  327.                 class Lighting2
  328.                 {
  329.                     height = 0;
  330.                     overcast = 0.25;
  331.                     sunAngle = -11;
  332.                     sunOrMoon = 0.5;
  333.                     diffuse[] = {0.1,0.18,0.3};
  334.                     diffuseCloud[] = {0.1,0.18,0.3};
  335.                     ambient[] = {{0.173,0.239,0.373},1};
  336.                     ambientCloud[] = {{0.173,0.239,0.373},1};
  337.                     ambientMid[] = {{0.173,0.239,0.373},0.88};
  338.                     ambientMidCloud[] = {{0.173,0.239,0.373},0.88};
  339.                     groundReflection[] = {{0.173,0.239,0.373},0.8448};
  340.                     groundReflectionCloud[] = {{0.173,0.239,0.373},0.8448};
  341.                     bidirect[] = {0,0,0};
  342.                     bidirectCloud[] = {0,0,0};
  343.                     sky[] = {{0.212,0.302,0.51},1};
  344.                     skyAroundSun[] = {0.2,0.25,0.45};
  345.                     fogColor[] = {{0.094,0.141,0.231},0.025};
  346.                     apertureMin = 6;
  347.                     apertureStandard = 6;
  348.                     apertureMax = 18;
  349.                     standardAvgLum = 4;
  350.                     desiredLuminanceCoef = 1;
  351.                     desiredLuminanceCoefCloud = 1;
  352.                     luminanceRectCoef = 1;
  353.                     luminanceRectCoefCloud = 0.5;
  354.                     rayleigh[] = {0.007,0.01388,0.035};
  355.                     mie[] = {0.005,0.005,0.005};
  356.                     cloudsColor[] = {{1,1,1},11.016};
  357.                     swBrightness = 1;
  358.                 };
  359.                 class Lighting3
  360.                 {
  361.                     height = 0;
  362.                     overcast = 0.25;
  363.                     sunAngle = -10;
  364.                     sunOrMoon = 1;
  365.                     diffuse[] = {0.1,0.18,0.3};
  366.                     diffuseCloud[] = {0.1,0.18,0.3};
  367.                     ambient[] = {{0.173,0.239,0.373},1};
  368.                     ambientCloud[] = {{0.173,0.239,0.373},1};
  369.                     ambientMid[] = {{0.173,0.239,0.373},0.88};
  370.                     ambientMidCloud[] = {{0.173,0.239,0.373},0.88};
  371.                     groundReflection[] = {{0.173,0.239,0.373},0.8448};
  372.                     groundReflectionCloud[] = {{0.173,0.239,0.373},0.8448};
  373.                     bidirect[] = {0,0,0};
  374.                     bidirectCloud[] = {0,0,0};
  375.                     sky[] = {{0.212,0.302,0.51},1};
  376.                     skyAroundSun[] = {{0.2,0.25,0.45},4.734908};
  377.                     fogColor[] = {{0.094,0.141,0.231},0.025};
  378.                     apertureMin = 6;
  379.                     apertureStandard = 6;
  380.                     apertureMax = 18;
  381.                     standardAvgLum = 4;
  382.                     desiredLuminanceCoef = 1;
  383.                     desiredLuminanceCoefCloud = 1;
  384.                     luminanceRectCoef = 1;
  385.                     luminanceRectCoefCloud = 0.5;
  386.                     rayleigh[] = {0.007,0.01388,0.035};
  387.                     mie[] = {0.005,0.005,0.005};
  388.                     cloudsColor[] = {{1,1,1},11.016};
  389.                     swBrightness = 1;
  390.                 };
  391.                 class Lighting4
  392.                 {
  393.                     height = 0;
  394.                     overcast = 0.25;
  395.                     sunAngle = -5;
  396.                     sunOrMoon = 1;
  397.                     diffuse[] = {{0.16,0.18,0.28},3};
  398.                     diffuseCloud[] = {{0.16,0.18,0.28},3};
  399.                     ambient[] = {{0.173,0.239,0.373},4.6};
  400.                     ambientCloud[] = {{0.173,0.239,0.373},4.6};
  401.                     ambientMid[] = {{0.173,0.239,0.373},4.048};
  402.                     ambientMidCloud[] = {{0.173,0.239,0.373},4.048};
  403.                     groundReflection[] = {{0.173,0.239,0.373},3.88608};
  404.                     groundReflectionCloud[] = {{0.173,0.239,0.373},3.88608};
  405.                     bidirect[] = {0.0115,0.012,0.0125};
  406.                     bidirectCloud[] = {0.0115,0.012,0.0125};
  407.                     sky[] = {{0.2,0.298,0.541},4.6};
  408.                     skyAroundSun[] = {{0.7,0.35,0.28},7.636949};
  409.                     fogColor[] = {{0.106,0.161,0.267},4.715};
  410.                     apertureMin = 6;
  411.                     apertureStandard = 6;
  412.                     apertureMax = 18;
  413.                     standardAvgLum = 4;
  414.                     desiredLuminanceCoef = 1;
  415.                     desiredLuminanceCoefCloud = 1;
  416.                     luminanceRectCoef = 1;
  417.                     luminanceRectCoefCloud = 0.5;
  418.                     rayleigh[] = {0.007,0.01388,0.035};
  419.                     mie[] = {0.005,0.005,0.005};
  420.                     cloudsColor[] = {{1,1,1},11.016};
  421.                     swBrightness = 1;
  422.                 };
  423.                 class Lighting5
  424.                 {
  425.                     height = 0;
  426.                     overcast = 0.25;
  427.                     sunAngle = -2;
  428.                     sunOrMoon = 1;
  429.                     diffuse[] = {{0.25,0.21,0.2},5};
  430.                     diffuseCloud[] = {{0.25,0.21,0.2},5};
  431.                     ambient[] = {{0.196,0.275,0.42},6.9};
  432.                     ambientCloud[] = {{0.196,0.275,0.42},6.9};
  433.                     ambientMid[] = {{0.196,0.275,0.42},6.072};
  434.                     ambientMidCloud[] = {{0.196,0.275,0.42},6.072};
  435.                     groundReflection[] = {{0.196,0.275,0.42},5.82912};
  436.                     groundReflectionCloud[] = {{0.196,0.275,0.42},5.82912};
  437.                     bidirect[] = {0.023,0.024,0.025};
  438.                     bidirectCloud[] = {0.023,0.024,0.025};
  439.                     sky[] = {{0.188,0.29,0.576},6.9};
  440.                     skyAroundSun[] = {{1.8,0.42,0.2},12.31766};
  441.                     fogColor[] = {{0.11,0.169,0.286},7.0725};
  442.                     apertureMin = 7;
  443.                     apertureStandard = 8;
  444.                     apertureMax = 20;
  445.                     standardAvgLum = 20;
  446.                     desiredLuminanceCoef = 1;
  447.                     desiredLuminanceCoefCloud = 1;
  448.                     luminanceRectCoef = 1;
  449.                     luminanceRectCoefCloud = 0.5;
  450.                     rayleigh[] = {0.007,0.038,0.0675};
  451.                     mie[] = {0.005,0.005,0.005};
  452.                     cloudsColor[] = {{1,1,1},11.016};
  453.                     swBrightness = 1;
  454.                 };
  455.                 class Lighting6
  456.                 {
  457.                     height = 0;
  458.                     overcast = 0.25;
  459.                     sunAngle = 0;
  460.                     sunOrMoon = 1;
  461.                     diffuse[] = {{0.75,0.38,0.22},6};
  462.                     diffuseCloud[] = {{0.75,0.38,0.22},6};
  463.                     ambient[] = {{0.2497,0.31,0.467},7.8};
  464.                     ambientCloud[] = {{0.2497,0.31,0.467},7.8};
  465.                     ambientMid[] = {{0.2541,0.314,0.467},6.864};
  466.                     ambientMidCloud[] = {{0.2541,0.314,0.467},6.864};
  467.                     groundReflection[] = {{0.235,0.318,0.467},6.58944};
  468.                     groundReflectionCloud[] = {{0.235,0.318,0.467},6.58944};
  469.                     bidirect[] = {0.023,0.024,0.025};
  470.                     bidirectCloud[] = {0.023,0.024,0.025};
  471.                     sky[] = {{0.173,0.282,0.612},7.8};
  472.                     skyAroundSun[] = {{2,0.42,0.2},13.38876};
  473.                     fogColor[] = {{0.118,0.18,0.31},7.995};
  474.                     apertureMin = 8;
  475.                     apertureStandard = 9;
  476.                     apertureMax = 22;
  477.                     standardAvgLum = 45;
  478.                     desiredLuminanceCoef = 1;
  479.                     desiredLuminanceCoefCloud = 1;
  480.                     luminanceRectCoef = 1;
  481.                     luminanceRectCoefCloud = 0.5;
  482.                     rayleigh[] = {0.007,0.038,0.0675};
  483.                     mie[] = {0.005,0.005,0.005};
  484.                     cloudsColor[] = {{1,1,1},11.016};
  485.                     swBrightness = 1;
  486.                 };
  487.                 class Lighting7
  488.                 {
  489.                     height = 0;
  490.                     overcast = 0.25;
  491.                     sunAngle = 2;
  492.                     sunOrMoon = 1;
  493.                     diffuse[] = {{0.95,0.42,0.22},8.4};
  494.                     diffuseCloud[] = {{0.95,0.42,0.22},8.4};
  495.                     ambient[] = {{0.306,0.357,0.463},8.4};
  496.                     ambientCloud[] = {{0.306,0.357,0.463},8.4};
  497.                     ambientMid[] = {{0.365,0.361,0.396},7.392};
  498.                     ambientMidCloud[] = {{0.365,0.361,0.396},7.392};
  499.                     groundReflection[] = {{0.416,0.38,0.388},7.09632};
  500.                     groundReflectionCloud[] = {{0.416,0.38,0.388},7.09632};
  501.                     bidirect[] = {0.023,0.024,0.025};
  502.                     bidirectCloud[] = {0.023,0.024,0.025};
  503.                     sky[] = {{0.157,0.275,0.651},8.4};
  504.                     skyAroundSun[] = {{2.2,0.8,0.2},13.38876};
  505.                     fogColor[] = {{0.125,0.192,0.329},8.61};
  506.                     apertureMin = 8;
  507.                     apertureStandard = 10;
  508.                     apertureMax = 24;
  509.                     standardAvgLum = 50;
  510.                     desiredLuminanceCoef = 1;
  511.                     desiredLuminanceCoefCloud = 1;
  512.                     luminanceRectCoef = 1;
  513.                     luminanceRectCoefCloud = 0.5;
  514.                     rayleigh[] = {0.007,0.038,0.0675};
  515.                     mie[] = {0.005,0.005,0.005};
  516.                     cloudsColor[] = {{1,1,1},11.016};
  517.                     swBrightness = 1;
  518.                 };
  519.                 class Lighting8
  520.                 {
  521.                     height = 0;
  522.                     overcast = 0.25;
  523.                     sunAngle = 6;
  524.                     sunOrMoon = 1;
  525.                     diffuse[] = {{0.95,0.55,0.35},10.2};
  526.                     diffuseCloud[] = {{0.95,0.55,0.35},10.2};
  527.                     ambient[] = {{0.337,0.404,0.525},9.6};
  528.                     ambientCloud[] = {{0.337,0.404,0.525},9.6};
  529.                     ambientMid[] = {{0.412,0.408,0.443},8.448};
  530.                     ambientMidCloud[] = {{0.412,0.408,0.443},8.448};
  531.                     groundReflection[] = {{0.475,0.435,0.431},8.11008};
  532.                     groundReflectionCloud[] = {{0.475,0.435,0.431},8.11008};
  533.                     bidirect[] = {0.01375,0.0132,0.01265};
  534.                     bidirectCloud[] = {0.01375,0.0132,0.01265};
  535.                     sky[] = {{0.145,0.263,0.686},9.6};
  536.                     skyAroundSun[] = {{0.4,0.32,0.6},13.38876};
  537.                     fogColor[] = {{0.133,0.204,0.357},9.84};
  538.                     apertureMin = 8;
  539.                     apertureStandard = 16;
  540.                     apertureMax = 26;
  541.                     standardAvgLum = 100;
  542.                     desiredLuminanceCoef = 1;
  543.                     desiredLuminanceCoefCloud = 1;
  544.                     luminanceRectCoef = 1;
  545.                     luminanceRectCoefCloud = 0.5;
  546.                     rayleigh[] = {0.007,0.027,0.045};
  547.                     mie[] = {0.005,0.005,0.005};
  548.                     cloudsColor[] = {{1,1,1},11.016};
  549.                     swBrightness = 1;
  550.                 };
  551.                 class Lighting9
  552.                 {
  553.                     height = 0;
  554.                     overcast = 0.25;
  555.                     sunAngle = 12;
  556.                     sunOrMoon = 1;
  557.                     diffuse[] = {{1,0.65,0.45},12.3};
  558.                     diffuseCloud[] = {{1,0.65,0.45},12.3};
  559.                     ambient[] = {{0.388,0.471,0.612},10.9};
  560.                     ambientCloud[] = {{0.388,0.471,0.612},10.9};
  561.                     ambientMid[] = {{0.482,0.475,0.506},9.81};
  562.                     ambientMidCloud[] = {{0.482,0.475,0.506},9.81};
  563.                     groundReflection[] = {{0.557,0.51,0.494},9.4176};
  564.                     groundReflectionCloud[] = {{0.557,0.51,0.494},9.4176};
  565.                     bidirect[] = {0.01875,0.018,0.01725};
  566.                     bidirectCloud[] = {0.01875,0.018,0.01725};
  567.                     sky[] = {{0.129,0.259,0.722},10.9};
  568.                     skyAroundSun[] = {{0.13,0.25,0.8},13.524};
  569.                     fogColor[] = {{0.145,0.224,0.396},11.1725};
  570.                     apertureMin = 20;
  571.                     apertureStandard = 25;
  572.                     apertureMax = 35;
  573.                     standardAvgLum = 250;
  574.                     desiredLuminanceCoef = 1;
  575.                     desiredLuminanceCoefCloud = 1;
  576.                     luminanceRectCoef = 1;
  577.                     luminanceRectCoefCloud = 0.5;
  578.                     rayleigh[] = {0.007,0.018,0.04};
  579.                     mie[] = {0.005,0.005,0.005};
  580.                     cloudsColor[] = {{1,1,1},12.24};
  581.                     swBrightness = 1;
  582.                 };
  583.                 class Lighting10
  584.                 {
  585.                     height = 0;
  586.                     overcast = 0.25;
  587.                     sunAngle = 24;
  588.                     sunOrMoon = 1;
  589.                     diffuse[] = {{1,0.75,0.62},15.8};
  590.                     diffuseCloud[] = {{1,0.75,0.62},15.8};
  591.                     ambient[] = {{0.435,0.533,0.698},13.8};
  592.                     ambientCloud[] = {{0.435,0.533,0.698},13.8};
  593.                     ambientMid[] = {{0.545,0.541,0.569},12.696};
  594.                     ambientMidCloud[] = {{0.545,0.541,0.569},12.696};
  595.                     groundReflection[] = {{0.635,0.58,0.557},12.18816};
  596.                     groundReflectionCloud[] = {{0.635,0.58,0.557},12.18816};
  597.                     bidirect[] = {0.025,0.024,0.018};
  598.                     bidirectCloud[] = {0.025,0.024,0.018};
  599.                     sky[] = {{0.118,0.251,0.753},13.8};
  600.                     skyAroundSun[] = {{0.115,0.245,0.8},13.662};
  601.                     fogColor[] = {{0.15,0.251,0.488},14.145};
  602.                     apertureMin = 45;
  603.                     apertureStandard = 60;
  604.                     apertureMax = 80;
  605.                     standardAvgLum = 800;
  606.                     desiredLuminanceCoef = 1;
  607.                     desiredLuminanceCoefCloud = 1;
  608.                     luminanceRectCoef = 1;
  609.                     luminanceRectCoefCloud = 0.5;
  610.                     rayleigh[] = {0.007,0.01388,0.035};
  611.                     mie[] = {0.005,0.005,0.005};
  612.                     cloudsColor[] = {{1,1,1},14.4};
  613.                     swBrightness = 1;
  614.                 };
  615.                 class Lighting11
  616.                 {
  617.                     height = 0;
  618.                     overcast = 0.25;
  619.                     sunAngle = 45;
  620.                     sunOrMoon = 1;
  621.                     diffuse[] = {{1,0.87,0.85},17.2};
  622.                     diffuseCloud[] = {{1,0.87,0.85},17.2};
  623.                     ambient[] = {{0.498,0.602,0.77},14.8};
  624.                     ambientCloud[] = {{0.498,0.602,0.77},14.8};
  625.                     ambientMid[] = {{0.635,0.635,0.663},14.504};
  626.                     ambientMidCloud[] = {{0.635,0.635,0.663},14.504};
  627.                     groundReflection[] = {{0.745,0.671,0.643},14.21392};
  628.                     groundReflectionCloud[] = {{0.745,0.671,0.643},14.21392};
  629.                     bidirect[] = {0.025,0.024,0.018};
  630.                     bidirectCloud[] = {0.025,0.024,0.018};
  631.                     sky[] = {{0.02,0.12,0.8},13.8};
  632.                     skyAroundSun[] = {{0.02,0.12,0.8},13.8};
  633.                     fogColor[] = {{0.3,0.44,0.74},15};
  634.                     apertureMin = 70;
  635.                     apertureStandard = 120;
  636.                     apertureMax = 120;
  637.                     standardAvgLum = 8000;
  638.                     desiredLuminanceCoef = 1;
  639.                     desiredLuminanceCoefCloud = 1;
  640.                     luminanceRectCoef = 1;
  641.                     luminanceRectCoefCloud = 0.5;
  642.                     rayleigh[] = {0.007,0.01388,0.035};
  643.                     mie[] = {0.005,0.005,0.005};
  644.                     cloudsColor[] = {{1,1,1},14.8};
  645.                     swBrightness = 1;
  646.                 };
  647.                 class Lighting12
  648.                 {
  649.                     height = 0;
  650.                     overcast = 0.25;
  651.                     sunAngle = 90;
  652.                     sunOrMoon = 1;
  653.                     diffuse[] = {{1,0.87,0.85},17.2};
  654.                     diffuseCloud[] = {{1,0.87,0.85},17.2};
  655.                     ambient[] = {{0.498,0.602,0.77},14.8};
  656.                     ambientCloud[] = {{0.498,0.602,0.77},14.8};
  657.                     ambientMid[] = {{0.635,0.635,0.663},14.504};
  658.                     ambientMidCloud[] = {{0.635,0.635,0.663},14.504};
  659.                     groundReflection[] = {{0.745,0.671,0.643},14.21392};
  660.                     groundReflectionCloud[] = {{0.745,0.671,0.643},14.21392};
  661.                     bidirect[] = {0.025,0.024,0.018};
  662.                     bidirectCloud[] = {0.025,0.024,0.018};
  663.                     sky[] = {{0.02,0.12,0.8},13.8};
  664.                     skyAroundSun[] = {{0.02,0.12,0.8},13.8};
  665.                     fogColor[] = {{0.3,0.44,0.74},15};
  666.                     apertureMin = 70;
  667.                     apertureStandard = 120;
  668.                     apertureMax = 120;
  669.                     standardAvgLum = 8000;
  670.                     desiredLuminanceCoef = 1;
  671.                     desiredLuminanceCoefCloud = 1;
  672.                     luminanceRectCoef = 1;
  673.                     luminanceRectCoefCloud = 0.5;
  674.                     rayleigh[] = {0.007,0.01388,0.035};
  675.                     mie[] = {0.005,0.005,0.005};
  676.                     cloudsColor[] = {{1,1,1},14.8};
  677.                     swBrightness = 1;
  678.                 };
  679.                 class Lighting13
  680.                 {
  681.                     height = 0;
  682.                     overcast = 0.6;
  683.                     sunAngle = -24;
  684.                     sunOrMoon = 0;
  685.                     diffuse[] = {{0.14,0.19,0.3},4};
  686.                     diffuseCloud[] = {{0.14,0.19,0.3},3};
  687.                     ambient[] = {{0.173,0.239,0.373},1};
  688.                     ambientCloud[] = {{0.173,0.239,0.373},1};
  689.                     ambientMid[] = {{0.1384,0.1912,0.2984},0.88};
  690.                     ambientMidCloud[] = {{0.1384,0.1912,0.2984},0.88};
  691.                     groundReflection[] = {{0.173,0.239,0.373},0.8448};
  692.                     groundReflectionCloud[] = {{0.173,0.239,0.373},0.8448};
  693.                     bidirect[] = {0.025,0.025,0.023};
  694.                     bidirectCloud[] = {0.0245,0.0245,0.02254};
  695.                     sky[] = {0.231,0.314,0.467};
  696.                     skyAroundSun[] = {0.2,0.25,0.45};
  697.                     fogColor[] = {{0.09,0.137,0.22},0.025};
  698.                     apertureMin = 6;
  699.                     apertureStandard = 6;
  700.                     apertureMax = 18;
  701.                     standardAvgLum = 4;
  702.                     desiredLuminanceCoef = 1;
  703.                     desiredLuminanceCoefCloud = 1;
  704.                     luminanceRectCoef = 1;
  705.                     luminanceRectCoefCloud = 0.5;
  706.                     rayleigh[] = {0.007,0.01388,0.035};
  707.                     mie[] = {0.005,0.005,0.005};
  708.                     cloudsColor[] = {{0.5,0.65,1},11.016};
  709.                     swBrightness = 1;
  710.                 };
  711.                 class Lighting14
  712.                 {
  713.                     height = 0;
  714.                     overcast = 0.6;
  715.                     sunAngle = -12;
  716.                     sunOrMoon = 0;
  717.                     diffuse[] = {0.1,0.18,0.3};
  718.                     diffuseCloud[] = {0.1,0.18,0.3};
  719.                     ambient[] = {{0.173,0.239,0.373},1};
  720.                     ambientCloud[] = {{0.173,0.239,0.373},1};
  721.                     ambientMid[] = {{0.173,0.239,0.373},0.88};
  722.                     ambientMidCloud[] = {{0.173,0.239,0.373},0.88};
  723.                     groundReflection[] = {{0.173,0.239,0.373},0.8448};
  724.                     groundReflectionCloud[] = {{0.173,0.239,0.373},0.8448};
  725.                     bidirect[] = {0,0,0};
  726.                     bidirectCloud[] = {0,0,0};
  727.                     sky[] = {{0.212,0.302,0.51},1};
  728.                     skyAroundSun[] = {0.2,0.25,0.45};
  729.                     fogColor[] = {{0.094,0.141,0.231},0.025};
  730.                     apertureMin = 6;
  731.                     apertureStandard = 6;
  732.                     apertureMax = 18;
  733.                     standardAvgLum = 4;
  734.                     desiredLuminanceCoef = 1;
  735.                     desiredLuminanceCoefCloud = 1;
  736.                     luminanceRectCoef = 1;
  737.                     luminanceRectCoefCloud = 0.5;
  738.                     rayleigh[] = {0.007,0.01388,0.035};
  739.                     mie[] = {0.005,0.005,0.005};
  740.                     cloudsColor[] = {{1,1,1},11.016};
  741.                     swBrightness = 1;
  742.                 };
  743.                 class Lighting15
  744.                 {
  745.                     height = 0;
  746.                     overcast = 0.6;
  747.                     sunAngle = -11;
  748.                     sunOrMoon = 0.5;
  749.                     diffuse[] = {0.1,0.18,0.3};
  750.                     diffuseCloud[] = {0.1,0.18,0.3};
  751.                     ambient[] = {{0.173,0.239,0.373},1};
  752.                     ambientCloud[] = {{0.173,0.239,0.373},1};
  753.                     ambientMid[] = {{0.173,0.239,0.373},0.88};
  754.                     ambientMidCloud[] = {{0.173,0.239,0.373},0.88};
  755.                     groundReflection[] = {{0.173,0.239,0.373},0.8448};
  756.                     groundReflectionCloud[] = {{0.173,0.239,0.373},0.8448};
  757.                     bidirect[] = {0,0,0};
  758.                     bidirectCloud[] = {0,0,0};
  759.                     sky[] = {{0.212,0.302,0.51},1};
  760.                     skyAroundSun[] = {0.2,0.25,0.45};
  761.                     fogColor[] = {{0.094,0.141,0.231},0.025};
  762.                     apertureMin = 6;
  763.                     apertureStandard = 6;
  764.                     apertureMax = 18;
  765.                     standardAvgLum = 4;
  766.                     desiredLuminanceCoef = 1;
  767.                     desiredLuminanceCoefCloud = 1;
  768.                     luminanceRectCoef = 1;
  769.                     luminanceRectCoefCloud = 0.5;
  770.                     rayleigh[] = {0.007,0.01388,0.035};
  771.                     mie[] = {0.005,0.005,0.005};
  772.                     cloudsColor[] = {{1,1,1},11.016};
  773.                     swBrightness = 1;
  774.                 };
  775.                 class Lighting16
  776.                 {
  777.                     height = 0;
  778.                     overcast = 0.6;
  779.                     sunAngle = -10;
  780.                     sunOrMoon = 1;
  781.                     diffuse[] = {0.1,0.18,0.3};
  782.                     diffuseCloud[] = {0.1,0.18,0.3};
  783.                     ambient[] = {{0.173,0.239,0.373},1};
  784.                     ambientCloud[] = {{0.173,0.239,0.373},1};
  785.                     ambientMid[] = {{0.173,0.239,0.373},0.88};
  786.                     ambientMidCloud[] = {{0.173,0.239,0.373},0.88};
  787.                     groundReflection[] = {{0.173,0.239,0.373},0.8448};
  788.                     groundReflectionCloud[] = {{0.173,0.239,0.373},0.8448};
  789.                     bidirect[] = {0,0,0};
  790.                     bidirectCloud[] = {0,0,0};
  791.                     sky[] = {{0.212,0.302,0.51},1};
  792.                     skyAroundSun[] = {{0.2,0.25,0.45},4.734908};
  793.                     fogColor[] = {{0.094,0.141,0.231},0.025};
  794.                     apertureMin = 6;
  795.                     apertureStandard = 6;
  796.                     apertureMax = 18;
  797.                     standardAvgLum = 4;
  798.                     desiredLuminanceCoef = 1;
  799.                     desiredLuminanceCoefCloud = 1;
  800.                     luminanceRectCoef = 1;
  801.                     luminanceRectCoefCloud = 0.5;
  802.                     rayleigh[] = {0.007,0.01388,0.035};
  803.                     mie[] = {0.005,0.005,0.005};
  804.                     cloudsColor[] = {{1,1,1},11.016};
  805.                     swBrightness = 1;
  806.                 };
  807.                 class Lighting17
  808.                 {
  809.                     height = 0;
  810.                     overcast = 0.6;
  811.                     sunAngle = -5;
  812.                     sunOrMoon = 1;
  813.                     diffuse[] = {{0.16,0.18,0.28},2.25};
  814.                     diffuseCloud[] = {{0.16,0.18,0.28},1.6875};
  815.                     ambient[] = {{0.173,0.239,0.373},4.6};
  816.                     ambientCloud[] = {{0.173,0.239,0.373},4.6};
  817.                     ambientMid[] = {{0.173,0.239,0.373},4.048};
  818.                     ambientMidCloud[] = {{0.173,0.239,0.373},4.048};
  819.                     groundReflection[] = {{0.173,0.239,0.373},3.88608};
  820.                     groundReflectionCloud[] = {{0.173,0.239,0.373},3.88608};
  821.                     bidirect[] = {0.0115,0.012,0.0125};
  822.                     bidirectCloud[] = {0.01127,0.01176,0.01225};
  823.                     sky[] = {{0.2,0.298,0.541},4.6};
  824.                     skyAroundSun[] = {{0.7,0.35,0.28},7.636949};
  825.                     fogColor[] = {{0.106,0.161,0.267},4.715};
  826.                     apertureMin = 6;
  827.                     apertureStandard = 6;
  828.                     apertureMax = 18;
  829.                     standardAvgLum = 4;
  830.                     desiredLuminanceCoef = 1;
  831.                     desiredLuminanceCoefCloud = 1;
  832.                     luminanceRectCoef = 1;
  833.                     luminanceRectCoefCloud = 0.5;
  834.                     rayleigh[] = {0.007,0.01388,0.035};
  835.                     mie[] = {0.005,0.005,0.005};
  836.                     cloudsColor[] = {{1,1,1},11.016};
  837.                     swBrightness = 1;
  838.                 };
  839.                 class Lighting18
  840.                 {
  841.                     height = 0;
  842.                     overcast = 0.6;
  843.                     sunAngle = -2;
  844.                     sunOrMoon = 1;
  845.                     diffuse[] = {{0.25,0.21,0.2},3.75};
  846.                     diffuseCloud[] = {{0.25,0.21,0.2},2.8125};
  847.                     ambient[] = {{0.196,0.275,0.42},6.9};
  848.                     ambientCloud[] = {{0.196,0.275,0.42},6.9};
  849.                     ambientMid[] = {{0.196,0.275,0.42},6.072};
  850.                     ambientMidCloud[] = {{0.196,0.275,0.42},6.072};
  851.                     groundReflection[] = {{0.196,0.275,0.42},5.82912};
  852.                     groundReflectionCloud[] = {{0.196,0.275,0.42},5.82912};
  853.                     bidirect[] = {0.023,0.024,0.025};
  854.                     bidirectCloud[] = {0.023,0.024,0.025};
  855.                     sky[] = {{0.188,0.29,0.576},6.9};
  856.                     skyAroundSun[] = {{1.8,0.42,0.2},12.31766};
  857.                     fogColor[] = {{0.11,0.169,0.286},7.0725};
  858.                     apertureMin = 7;
  859.                     apertureStandard = 8;
  860.                     apertureMax = 20;
  861.                     standardAvgLum = 20;
  862.                     desiredLuminanceCoef = 1;
  863.                     desiredLuminanceCoefCloud = 1;
  864.                     luminanceRectCoef = 1;
  865.                     luminanceRectCoefCloud = 0.5;
  866.                     rayleigh[] = {0.007,0.038,0.0675};
  867.                     mie[] = {0.005,0.005,0.005};
  868.                     cloudsColor[] = {{1,1,1},11.016};
  869.                     swBrightness = 1;
  870.                 };
  871.                 class Lighting19
  872.                 {
  873.                     height = 0;
  874.                     overcast = 0.6;
  875.                     sunAngle = 0;
  876.                     sunOrMoon = 1;
  877.                     diffuse[] = {{0.75,0.38,0.22},4.5};
  878.                     diffuseCloud[] = {{0.75,0.38,0.22},3.375};
  879.                     ambient[] = {{0.2497,0.31,0.467},7.8};
  880.                     ambientCloud[] = {{0.2497,0.31,0.467},7.8};
  881.                     ambientMid[] = {{0.2541,0.314,0.467},6.864};
  882.                     ambientMidCloud[] = {{0.2541,0.314,0.467},6.864};
  883.                     groundReflection[] = {{0.235,0.318,0.467},6.58944};
  884.                     groundReflectionCloud[] = {{0.235,0.318,0.467},6.58944};
  885.                     bidirect[] = {0.023,0.024,0.025};
  886.                     bidirectCloud[] = {0.023,0.024,0.025};
  887.                     sky[] = {{0.173,0.282,0.612},7.8};
  888.                     skyAroundSun[] = {{2,0.42,0.2},13.38876};
  889.                     fogColor[] = {{0.118,0.18,0.31},7.995};
  890.                     apertureMin = 8;
  891.                     apertureStandard = 9;
  892.                     apertureMax = 22;
  893.                     standardAvgLum = 45;
  894.                     desiredLuminanceCoef = 1;
  895.                     desiredLuminanceCoefCloud = 1;
  896.                     luminanceRectCoef = 1;
  897.                     luminanceRectCoefCloud = 0.5;
  898.                     rayleigh[] = {0.007,0.038,0.0675};
  899.                     mie[] = {0.005,0.005,0.005};
  900.                     cloudsColor[] = {{1,1,1},11.016};
  901.                     swBrightness = 1;
  902.                 };
  903.                 class Lighting20
  904.                 {
  905.                     height = 0;
  906.                     overcast = 0.6;
  907.                     sunAngle = 2;
  908.                     sunOrMoon = 1;
  909.                     diffuse[] = {{0.95,0.42,0.22},6.72};
  910.                     diffuseCloud[] = {{0.95,0.42,0.22},5.04};
  911.                     ambient[] = {{0.306,0.357,0.463},8.4};
  912.                     ambientCloud[] = {{0.306,0.357,0.463},8.4};
  913.                     ambientMid[] = {{0.365,0.361,0.396},7.392};
  914.                     ambientMidCloud[] = {{0.365,0.361,0.396},7.392};
  915.                     groundReflection[] = {{0.416,0.38,0.388},7.09632};
  916.                     groundReflectionCloud[] = {{0.416,0.38,0.388},7.09632};
  917.                     bidirect[] = {0.023,0.024,0.025};
  918.                     bidirectCloud[] = {0.023,0.024,0.025};
  919.                     sky[] = {{0.157,0.275,0.651},8.4};
  920.                     skyAroundSun[] = {{2.2,0.8,0.2},13.38876};
  921.                     fogColor[] = {{0.125,0.192,0.329},8.61};
  922.                     apertureMin = 8;
  923.                     apertureStandard = 10;
  924.                     apertureMax = 24;
  925.                     standardAvgLum = 50;
  926.                     desiredLuminanceCoef = 1;
  927.                     desiredLuminanceCoefCloud = 1;
  928.                     luminanceRectCoef = 1;
  929.                     luminanceRectCoefCloud = 0.5;
  930.                     rayleigh[] = {0.007,0.038,0.0675};
  931.                     mie[] = {0.005,0.005,0.005};
  932.                     cloudsColor[] = {{1,1,1},11.016};
  933.                     swBrightness = 1;
  934.                 };
  935.                 class Lighting21
  936.                 {
  937.                     height = 0;
  938.                     overcast = 0.6;
  939.                     sunAngle = 6;
  940.                     sunOrMoon = 1;
  941.                     diffuse[] = {{0.95,0.55,0.35},10.2};
  942.                     diffuseCloud[] = {{0.95,0.55,0.35},7.65};
  943.                     ambient[] = {{0.337,0.404,0.525},9.6};
  944.                     ambientCloud[] = {{0.337,0.404,0.525},9.6};
  945.                     ambientMid[] = {{0.412,0.408,0.443},8.448};
  946.                     ambientMidCloud[] = {{0.412,0.408,0.443},8.448};
  947.                     groundReflection[] = {{0.475,0.435,0.431},8.11008};
  948.                     groundReflectionCloud[] = {{0.475,0.435,0.431},8.11008};
  949.                     bidirect[] = {0.01375,0.0132,0.01265};
  950.                     bidirectCloud[] = {0.01375,0.0132,0.01265};
  951.                     sky[] = {{0.145,0.263,0.686},9.6};
  952.                     skyAroundSun[] = {{0.4,0.32,0.6},13.38876};
  953.                     fogColor[] = {{0.133,0.204,0.357},9.84};
  954.                     apertureMin = 8;
  955.                     apertureStandard = 16;
  956.                     apertureMax = 26;
  957.                     standardAvgLum = 100;
  958.                     desiredLuminanceCoef = 1;
  959.                     desiredLuminanceCoefCloud = 1;
  960.                     luminanceRectCoef = 1;
  961.                     luminanceRectCoefCloud = 0.5;
  962.                     rayleigh[] = {0.007,0.027,0.045};
  963.                     mie[] = {0.005,0.005,0.005};
  964.                     cloudsColor[] = {{1,1,1},11.016};
  965.                     swBrightness = 1;
  966.                 };
  967.                 class Lighting22
  968.                 {
  969.                     height = 0;
  970.                     overcast = 0.6;
  971.                     sunAngle = 12;
  972.                     sunOrMoon = 1;
  973.                     diffuse[] = {{1,0.65,0.45},12.3};
  974.                     diffuseCloud[] = {{1,0.65,0.45},9.225};
  975.                     ambient[] = {{0.388,0.471,0.612},10.9};
  976.                     ambientCloud[] = {{0.388,0.471,0.612},10.9};
  977.                     ambientMid[] = {{0.482,0.475,0.506},9.81};
  978.                     ambientMidCloud[] = {{0.482,0.475,0.506},9.81};
  979.                     groundReflection[] = {{0.557,0.51,0.494},9.4176};
  980.                     groundReflectionCloud[] = {{0.557,0.51,0.494},9.4176};
  981.                     bidirect[] = {0.01875,0.018,0.01725};
  982.                     bidirectCloud[] = {0.01875,0.018,0.01725};
  983.                     sky[] = {{0.129,0.259,0.722},10.9};
  984.                     skyAroundSun[] = {{0.13,0.25,0.8},13.524};
  985.                     fogColor[] = {{0.145,0.224,0.396},11.1725};
  986.                     apertureMin = 20;
  987.                     apertureStandard = 25;
  988.                     apertureMax = 35;
  989.                     standardAvgLum = 250;
  990.                     desiredLuminanceCoef = 1;
  991.                     desiredLuminanceCoefCloud = 1;
  992.                     luminanceRectCoef = 1;
  993.                     luminanceRectCoefCloud = 0.5;
  994.                     rayleigh[] = {0.007,0.018,0.04};
  995.                     mie[] = {0.005,0.005,0.005};
  996.                     cloudsColor[] = {{1,1,1},12.24};
  997.                     swBrightness = 1;
  998.                 };
  999.                 class Lighting23
  1000.                 {
  1001.                     height = 0;
  1002.                     overcast = 0.6;
  1003.                     sunAngle = 24;
  1004.                     sunOrMoon = 1;
  1005.                     diffuse[] = {{1,0.75,0.62},15.8};
  1006.                     diffuseCloud[] = {{1,0.75,0.62},11.85};
  1007.                     ambient[] = {{0.435,0.533,0.698},13.8};
  1008.                     ambientCloud[] = {{0.435,0.533,0.698},13.8};
  1009.                     ambientMid[] = {{0.545,0.541,0.569},12.696};
  1010.                     ambientMidCloud[] = {{0.545,0.541,0.569},12.696};
  1011.                     groundReflection[] = {{0.635,0.58,0.557},12.18816};
  1012.                     groundReflectionCloud[] = {{0.635,0.58,0.557},12.18816};
  1013.                     bidirect[] = {0.025,0.024,0.018};
  1014.                     bidirectCloud[] = {0.025,0.024,0.018};
  1015.                     sky[] = {{0.118,0.251,0.753},13.8};
  1016.                     skyAroundSun[] = {{0.115,0.245,0.8},13.662};
  1017.                     fogColor[] = {{0.15,0.251,0.488},14.145};
  1018.                     apertureMin = 45;
  1019.                     apertureStandard = 60;
  1020.                     apertureMax = 80;
  1021.                     standardAvgLum = 800;
  1022.                     desiredLuminanceCoef = 1;
  1023.                     desiredLuminanceCoefCloud = 1;
  1024.                     luminanceRectCoef = 1;
  1025.                     luminanceRectCoefCloud = 0.5;
  1026.                     rayleigh[] = {0.007,0.01388,0.035};
  1027.                     mie[] = {0.005,0.005,0.005};
  1028.                     cloudsColor[] = {{1,1,1},14.4};
  1029.                     swBrightness = 1;
  1030.                 };
  1031.                 class Lighting24
  1032.                 {
  1033.                     height = 0;
  1034.                     overcast = 0.6;
  1035.                     sunAngle = 45;
  1036.                     sunOrMoon = 1;
  1037.                     diffuse[] = {{1,0.87,0.85},17};
  1038.                     diffuseCloud[] = {{1,0.87,0.85},12.75};
  1039.                     ambient[] = {{0.498,0.602,0.77},14.8};
  1040.                     ambientCloud[] = {{0.498,0.602,0.77},14.8};
  1041.                     ambientMid[] = {{0.635,0.635,0.663},13.616};
  1042.                     ambientMidCloud[] = {{0.635,0.635,0.663},13.616};
  1043.                     groundReflection[] = {{0.745,0.671,0.643},14.21392};
  1044.                     groundReflectionCloud[] = {{0.745,0.671,0.643},14.21392};
  1045.                     bidirect[] = {0.025,0.024,0.018};
  1046.                     bidirectCloud[] = {0.025,0.024,0.018};
  1047.                     sky[] = {{0.02,0.12,0.8},13.8};
  1048.                     skyAroundSun[] = {{0.02,0.12,0.8},13.8};
  1049.                     fogColor[] = {{0.3,0.44,0.74},13.9564};
  1050.                     apertureMin = 70;
  1051.                     apertureStandard = 120;
  1052.                     apertureMax = 120;
  1053.                     standardAvgLum = 8000;
  1054.                     desiredLuminanceCoef = 1;
  1055.                     desiredLuminanceCoefCloud = 1;
  1056.                     luminanceRectCoef = 1;
  1057.                     luminanceRectCoefCloud = 0.5;
  1058.                     rayleigh[] = {0.007,0.01388,0.035};
  1059.                     mie[] = {0.005,0.005,0.005};
  1060.                     cloudsColor[] = {{1,1,1},14.8};
  1061.                     swBrightness = 1;
  1062.                 };
  1063.                 class Lighting25
  1064.                 {
  1065.                     height = 0;
  1066.                     overcast = 0.6;
  1067.                     sunAngle = 90;
  1068.                     sunOrMoon = 1;
  1069.                     diffuse[] = {{1,0.87,0.85},17};
  1070.                     diffuseCloud[] = {{1,0.87,0.85},13.94};
  1071.                     ambient[] = {{0.498,0.602,0.77},14.8};
  1072.                     ambientCloud[] = {{0.498,0.602,0.77},14.8};
  1073.                     ambientMid[] = {{0.635,0.635,0.663},14.504};
  1074.                     ambientMidCloud[] = {{0.635,0.635,0.663},14.504};
  1075.                     groundReflection[] = {{0.745,0.671,0.643},14.21392};
  1076.                     groundReflectionCloud[] = {{0.745,0.671,0.643},14.21392};
  1077.                     bidirect[] = {0.025,0.024,0.018};
  1078.                     bidirectCloud[] = {0.025,0.024,0.018};
  1079.                     sky[] = {{0.02,0.12,0.8},13.8};
  1080.                     skyAroundSun[] = {{0.02,0.12,0.8},13.8};
  1081.                     fogColor[] = {{0.3,0.44,0.74},15};
  1082.                     apertureMin = 70;
  1083.                     apertureStandard = 120;
  1084.                     apertureMax = 120;
  1085.                     standardAvgLum = 8000;
  1086.                     desiredLuminanceCoef = 1;
  1087.                     desiredLuminanceCoefCloud = 1;
  1088.                     luminanceRectCoef = 1;
  1089.                     luminanceRectCoefCloud = 0.5;
  1090.                     rayleigh[] = {0.007,0.01388,0.035};
  1091.                     mie[] = {0.005,0.005,0.005};
  1092.                     cloudsColor[] = {{1,1,1},14.8};
  1093.                     swBrightness = 1;
  1094.                 };
  1095.                 class Lighting26
  1096.                 {
  1097.                     height = 0;
  1098.                     overcast = 0.85;
  1099.                     sunAngle = -24;
  1100.                     sunOrMoon = 0;
  1101.                     diffuse[] = {{0.09,0.137,0.22},1};
  1102.                     diffuseCloud[] = {{0,0,0},0.75};
  1103.                     ambient[] = {{0.09,0.137,0.22},1};
  1104.                     ambientCloud[] = {{0.09,0.137,0.22},1};
  1105.                     ambientMid[] = {{0.09,0.137,0.22},0.8624};
  1106.                     ambientMidCloud[] = {{0.09,0.137,0.22},0.8624};
  1107.                     groundReflection[] = {{0.09,0.137,0.22},0.758912};
  1108.                     groundReflectionCloud[] = {{0.09,0.137,0.22},0.758912};
  1109.                     bidirect[] = {0.0117,0.0117,0.0117};
  1110.                     bidirectCloud[] = {0.0117,0.0117,0.0117};
  1111.                     sky[] = {0.231,0.314,0.467};
  1112.                     skyAroundSun[] = {0.2,0.25,0.45};
  1113.                     fogColor[] = {0.09,0.137,0.22};
  1114.                     apertureMin = 6;
  1115.                     apertureStandard = 6;
  1116.                     apertureMax = 18;
  1117.                     standardAvgLum = 4;
  1118.                     desiredLuminanceCoef = 1;
  1119.                     desiredLuminanceCoefCloud = 1;
  1120.                     luminanceRectCoef = 1;
  1121.                     luminanceRectCoefCloud = 0.5;
  1122.                     rayleigh[] = {0.007,0.01388,0.035};
  1123.                     mie[] = {0.005,0.005,0.005};
  1124.                     cloudsColor[] = {{1,1,1},11.016};
  1125.                     swBrightness = 1;
  1126.                 };
  1127.                 class Lighting27
  1128.                 {
  1129.                     height = 0;
  1130.                     overcast = 0.85;
  1131.                     sunAngle = -12;
  1132.                     sunOrMoon = 0;
  1133.                     diffuse[] = {0.16954,0.239,0.37673};
  1134.                     diffuseCloud[] = {0.042385,0.05975,0.094183};
  1135.                     ambient[] = {{0.16954,0.239,0.37673},1};
  1136.                     ambientCloud[] = {{0.16954,0.239,0.37673},1};
  1137.                     ambientMid[] = {{0.173,0.239,0.373},0.8624};
  1138.                     ambientMidCloud[] = {{0.173,0.239,0.373},0.8624};
  1139.                     groundReflection[] = {{0.14705,0.20315,0.31705},0.758912};
  1140.                     groundReflectionCloud[] = {{0.14705,0.20315,0.31705},0.758912};
  1141.                     bidirect[] = {0.0117,0.0117,0.0117};
  1142.                     bidirectCloud[] = {0.0117,0.0117,0.0117};
  1143.                     sky[] = {{0.212,0.302,0.51},1};
  1144.                     skyAroundSun[] = {0.2,0.25,0.45};
  1145.                     fogColor[] = {0.122,0.169,0.255};
  1146.                     apertureMin = 6;
  1147.                     apertureStandard = 6;
  1148.                     apertureMax = 18;
  1149.                     standardAvgLum = 4;
  1150.                     desiredLuminanceCoef = 1;
  1151.                     desiredLuminanceCoefCloud = 1;
  1152.                     luminanceRectCoef = 1;
  1153.                     luminanceRectCoefCloud = 0.5;
  1154.                     rayleigh[] = {0.007,0.01388,0.035};
  1155.                     mie[] = {0.005,0.005,0.005};
  1156.                     cloudsColor[] = {{1,1,1},11.016};
  1157.                     swBrightness = 1;
  1158.                 };
  1159.                 class Lighting28
  1160.                 {
  1161.                     height = 0;
  1162.                     overcast = 0.85;
  1163.                     sunAngle = -11;
  1164.                     sunOrMoon = 0.5;
  1165.                     diffuse[] = {0.129,0.18,0.271};
  1166.                     diffuseCloud[] = {0.03225,0.045,0.06775};
  1167.                     ambient[] = {{0.129,0.18,0.271},1};
  1168.                     ambientCloud[] = {{0.129,0.18,0.271},1};
  1169.                     ambientMid[] = {{0.129,0.184,0.267},0.8624};
  1170.                     ambientMidCloud[] = {{0.129,0.184,0.267},0.8624};
  1171.                     groundReflection[] = {{0.125,0.176,0.263},0.758912};
  1172.                     groundReflectionCloud[] = {{0.125,0.176,0.263},0.758912};
  1173.                     bidirect[] = {0.0117,0.0117,0.0117};
  1174.                     bidirectCloud[] = {0.0117,0.0117,0.0117};
  1175.                     sky[] = {{0.212,0.302,0.51},1};
  1176.                     skyAroundSun[] = {0.2,0.25,0.45};
  1177.                     fogColor[] = {0.122,0.169,0.255};
  1178.                     apertureMin = 6;
  1179.                     apertureStandard = 6;
  1180.                     apertureMax = 18;
  1181.                     standardAvgLum = 4;
  1182.                     desiredLuminanceCoef = 1;
  1183.                     desiredLuminanceCoefCloud = 1;
  1184.                     luminanceRectCoef = 1;
  1185.                     luminanceRectCoefCloud = 0.5;
  1186.                     rayleigh[] = {0.007,0.01388,0.035};
  1187.                     mie[] = {0.005,0.005,0.005};
  1188.                     cloudsColor[] = {{1,1,1},11.016};
  1189.                     swBrightness = 1;
  1190.                 };
  1191.                 class Lighting29
  1192.                 {
  1193.                     height = 0;
  1194.                     overcast = 0.85;
  1195.                     sunAngle = -10;
  1196.                     sunOrMoon = 1;
  1197.                     diffuse[] = {0.129,0.18,0.271};
  1198.                     diffuseCloud[] = {0.03225,0.045,0.06775};
  1199.                     ambient[] = {{0.129,0.18,0.271},1};
  1200.                     ambientCloud[] = {{0.129,0.18,0.271},1};
  1201.                     ambientMid[] = {{0.129,0.184,0.267},0.8624};
  1202.                     ambientMidCloud[] = {{0.129,0.184,0.267},0.8624};
  1203.                     groundReflection[] = {{0.125,0.176,0.263},0.758912};
  1204.                     groundReflectionCloud[] = {{0.125,0.176,0.263},0.758912};
  1205.                     bidirect[] = {0.0117,0.0117,0.0117};
  1206.                     bidirectCloud[] = {0.0117,0.0117,0.0117};
  1207.                     sky[] = {{0.212,0.302,0.51},1};
  1208.                     skyAroundSun[] = {{0.2,0.25,0.45},4.734908};
  1209.                     fogColor[] = {0.122,0.169,0.255};
  1210.                     apertureMin = 6;
  1211.                     apertureStandard = 6;
  1212.                     apertureMax = 18;
  1213.                     standardAvgLum = 4;
  1214.                     desiredLuminanceCoef = 1;
  1215.                     desiredLuminanceCoefCloud = 1;
  1216.                     luminanceRectCoef = 1;
  1217.                     luminanceRectCoefCloud = 0.5;
  1218.                     rayleigh[] = {0.007,0.01388,0.035};
  1219.                     mie[] = {0.005,0.005,0.005};
  1220.                     cloudsColor[] = {{1,1,1},11.016};
  1221.                     swBrightness = 1;
  1222.                 };
  1223.                 class Lighting30
  1224.                 {
  1225.                     height = 0;
  1226.                     overcast = 0.85;
  1227.                     sunAngle = -5;
  1228.                     sunOrMoon = 1;
  1229.                     diffuse[] = {{0.157,0.212,0.306},0.5625};
  1230.                     diffuseCloud[] = {{0.03925,0.053,0.0765},0.39375};
  1231.                     ambient[] = {{0.157,0.212,0.306},3.22};
  1232.                     ambientCloud[] = {{0.157,0.212,0.306},3.22};
  1233.                     ambientMid[] = {{0.157,0.208,0.298},3.96704};
  1234.                     ambientMidCloud[] = {{0.157,0.208,0.298},3.96704};
  1235.                     groundReflection[] = {{0.149,0.204,0.29},3.649677};
  1236.                     groundReflectionCloud[] = {{0.149,0.204,0.29},3.649677};
  1237.                     bidirect[] = {0.0117,0.0117,0.0117};
  1238.                     bidirectCloud[] = {0.0117,0.0117,0.0117};
  1239.                     sky[] = {{0.2,0.298,0.541},4.6};
  1240.                     skyAroundSun[] = {{0.7,0.35,0.28},7.636949};
  1241.                     fogColor[] = {{0.141,0.192,0.282},3.96704};
  1242.                     apertureMin = 6;
  1243.                     apertureStandard = 6;
  1244.                     apertureMax = 18;
  1245.                     standardAvgLum = 4;
  1246.                     desiredLuminanceCoef = 1;
  1247.                     desiredLuminanceCoefCloud = 1;
  1248.                     luminanceRectCoef = 1;
  1249.                     luminanceRectCoefCloud = 0.5;
  1250.                     rayleigh[] = {0.007,0.01388,0.035};
  1251.                     mie[] = {0.005,0.005,0.005};
  1252.                     cloudsColor[] = {{1,1,1},11.016};
  1253.                     swBrightness = 1;
  1254.                 };
  1255.                 class Lighting31
  1256.                 {
  1257.                     height = 0;
  1258.                     overcast = 0.85;
  1259.                     sunAngle = -2;
  1260.                     sunOrMoon = 1;
  1261.                     diffuse[] = {{0.184,0.247,0.341},0.9375};
  1262.                     diffuseCloud[] = {{0.046,0.06175,0.08525},0.65625};
  1263.                     ambient[] = {{0.184,0.247,0.341},6.9};
  1264.                     ambientCloud[] = {{0.184,0.247,0.341},6.9};
  1265.                     ambientMid[] = {{0.184,0.243,0.329},5.95056};
  1266.                     ambientMidCloud[] = {{0.184,0.243,0.329},5.95056};
  1267.                     groundReflection[] = {{0.176,0.231,0.322},5.593526};
  1268.                     groundReflectionCloud[] = {{0.176,0.231,0.322},5.593526};
  1269.                     bidirect[] = {0.0117,0.0117,0.0117};
  1270.                     bidirectCloud[] = {0.0117,0.0117,0.0117};
  1271.                     sky[] = {{0.188,0.29,0.576},6.9};
  1272.                     skyAroundSun[] = {{1.8,0.42,0.2},12.31766};
  1273.                     fogColor[] = {{0.165,0.22,0.31},5.95056};
  1274.                     apertureMin = 7;
  1275.                     apertureStandard = 7;
  1276.                     apertureMax = 20;
  1277.                     standardAvgLum = 20;
  1278.                     desiredLuminanceCoef = 1;
  1279.                     desiredLuminanceCoefCloud = 1;
  1280.                     luminanceRectCoef = 1;
  1281.                     luminanceRectCoefCloud = 0.5;
  1282.                     rayleigh[] = {0.007,0.038,0.0675};
  1283.                     mie[] = {0.005,0.005,0.005};
  1284.                     cloudsColor[] = {{1,1,1},11.016};
  1285.                     swBrightness = 1;
  1286.                 };
  1287.                 class Lighting32
  1288.                 {
  1289.                     height = 0;
  1290.                     overcast = 0.85;
  1291.                     sunAngle = 0;
  1292.                     sunOrMoon = 1;
  1293.                     diffuse[] = {{0.216,0.286,0.384},1.125};
  1294.                     diffuseCloud[] = {{0.054,0.0715,0.096},0.7875};
  1295.                     ambient[] = {{0.216,0.286,0.384},7.8};
  1296.                     ambientCloud[] = {{0.216,0.286,0.384},7.8};
  1297.                     ambientMid[] = {{0.22,0.278,0.365},6.72672};
  1298.                     ambientMidCloud[] = {{0.22,0.278,0.365},6.72672};
  1299.                     groundReflection[] = {{0.204,0.267,0.353},6.457651};
  1300.                     groundReflectionCloud[] = {{0.204,0.267,0.353},6.457651};
  1301.                     bidirect[] = {0.0117,0.0117,0.0117};
  1302.                     bidirectCloud[] = {0.0117,0.0117,0.0117};
  1303.                     sky[] = {{0.173,0.282,0.612},7.8};
  1304.                     skyAroundSun[] = {{2,0.42,0.2},13.38876};
  1305.                     fogColor[] = {{0.188,0.247,0.341},6.72672};
  1306.                     apertureMin = 8;
  1307.                     apertureStandard = 8;
  1308.                     apertureMax = 22;
  1309.                     standardAvgLum = 45;
  1310.                     desiredLuminanceCoef = 1;
  1311.                     desiredLuminanceCoefCloud = 1;
  1312.                     luminanceRectCoef = 1;
  1313.                     luminanceRectCoefCloud = 0.5;
  1314.                     rayleigh[] = {0.007,0.038,0.0675};
  1315.                     mie[] = {0.005,0.005,0.005};
  1316.                     cloudsColor[] = {{1,1,1},11.016};
  1317.                     swBrightness = 1;
  1318.                 };
  1319.                 class Lighting33
  1320.                 {
  1321.                     height = 0;
  1322.                     overcast = 0.85;
  1323.                     sunAngle = 2;
  1324.                     sunOrMoon = 1;
  1325.                     diffuse[] = {{0.255,0.325,0.42},1.68};
  1326.                     diffuseCloud[] = {{0.06375,0.08125,0.105},1.176};
  1327.                     ambient[] = {{0.255,0.325,0.42},8.4};
  1328.                     ambientCloud[] = {{0.255,0.325,0.42},8.4};
  1329.                     ambientMid[] = {{0.259,0.314,0.396},7.24416};
  1330.                     ambientMidCloud[] = {{0.259,0.314,0.396},7.24416};
  1331.                     groundReflection[] = {{0.239,0.294,0.376},7.099277};
  1332.                     groundReflectionCloud[] = {{0.239,0.294,0.376},7.099277};
  1333.                     bidirect[] = {0.0117,0.0117,0.0117};
  1334.                     bidirectCloud[] = {0.0117,0.0117,0.0117};
  1335.                     sky[] = {{0.157,0.275,0.651},8.4};
  1336.                     skyAroundSun[] = {{2.2,0.8,0.2},13.38876};
  1337.                     fogColor[] = {{0.216,0.275,0.373},7.24416};
  1338.                     apertureMin = 8;
  1339.                     apertureStandard = 8;
  1340.                     apertureMax = 24;
  1341.                     standardAvgLum = 50;
  1342.                     desiredLuminanceCoef = 1;
  1343.                     desiredLuminanceCoefCloud = 1;
  1344.                     luminanceRectCoef = 1;
  1345.                     luminanceRectCoefCloud = 0.5;
  1346.                     rayleigh[] = {0.007,0.038,0.0675};
  1347.                     mie[] = {0.005,0.005,0.005};
  1348.                     cloudsColor[] = {{1,1,1},11.016};
  1349.                     swBrightness = 1;
  1350.                 };
  1351.                 class Lighting34
  1352.                 {
  1353.                     height = 0;
  1354.                     overcast = 0.85;
  1355.                     sunAngle = 6;
  1356.                     sunOrMoon = 1;
  1357.                     diffuse[] = {{0.298,0.365,0.451},2.55};
  1358.                     diffuseCloud[] = {{0.0745,0.09125,0.11275},1.785};
  1359.                     ambient[] = {{0.298,0.365,0.451},9.6};
  1360.                     ambientCloud[] = {{0.298,0.365,0.451},9.6};
  1361.                     ambientMid[] = {{0.302,0.349,0.416},8.27904};
  1362.                     ambientMidCloud[] = {{0.302,0.349,0.416},8.27904};
  1363.                     groundReflection[] = {{0.275,0.318,0.384},8.11346};
  1364.                     groundReflectionCloud[] = {{0.275,0.318,0.384},8.11346};
  1365.                     bidirect[] = {0.0117,0.0117,0.0117};
  1366.                     bidirectCloud[] = {0.0117,0.0117,0.0117};
  1367.                     sky[] = {{0.145,0.263,0.686},9.6};
  1368.                     skyAroundSun[] = {{0.4,0.32,0.6},13.38876};
  1369.                     fogColor[] = {{0.243,0.306,0.408},8.27904};
  1370.                     apertureMin = 8;
  1371.                     apertureStandard = 14;
  1372.                     apertureMax = 26;
  1373.                     standardAvgLum = 100;
  1374.                     desiredLuminanceCoef = 1;
  1375.                     desiredLuminanceCoefCloud = 1;
  1376.                     luminanceRectCoef = 1;
  1377.                     luminanceRectCoefCloud = 0.5;
  1378.                     rayleigh[] = {0.007,0.027,0.045};
  1379.                     mie[] = {0.005,0.005,0.005};
  1380.                     cloudsColor[] = {{1,1,1},11.016};
  1381.                     swBrightness = 1;
  1382.                 };
  1383.                 class Lighting35
  1384.                 {
  1385.                     height = 0;
  1386.                     overcast = 0.85;
  1387.                     sunAngle = 12;
  1388.                     sunOrMoon = 1;
  1389.                     diffuse[] = {{0.376,0.431,0.506},3.075};
  1390.                     diffuseCloud[] = {{0.094,0.10775,0.1265},2.1525};
  1391.                     ambient[] = {{0.376,0.431,0.506},10.9};
  1392.                     ambientCloud[] = {{0.376,0.431,0.506},10.9};
  1393.                     ambientMid[] = {{0.38,0.408,0.447},9.6138};
  1394.                     ambientMidCloud[] = {{0.38,0.408,0.447},9.6138};
  1395.                     groundReflection[] = {{0.329,0.361,0.396},9.421524};
  1396.                     groundReflectionCloud[] = {{0.329,0.361,0.396},9.421524};
  1397.                     bidirect[] = {0.0117,0.0117,0.0117};
  1398.                     bidirectCloud[] = {0.0117,0.0117,0.0117};
  1399.                     sky[] = {{0.129,0.259,0.722},10.9};
  1400.                     skyAroundSun[] = {{0.13,0.25,0.8},13.524};
  1401.                     fogColor[] = {{0.286,0.353,0.463},9.6138};
  1402.                     apertureMin = 20;
  1403.                     apertureStandard = 22;
  1404.                     apertureMax = 35;
  1405.                     standardAvgLum = 250;
  1406.                     desiredLuminanceCoef = 1;
  1407.                     desiredLuminanceCoefCloud = 1;
  1408.                     luminanceRectCoef = 1;
  1409.                     luminanceRectCoefCloud = 0.5;
  1410.                     rayleigh[] = {0.007,0.018,0.04};
  1411.                     mie[] = {0.005,0.005,0.005};
  1412.                     cloudsColor[] = {{1,1,1},12.24};
  1413.                     swBrightness = 1;
  1414.                 };
  1415.                 class Lighting36
  1416.                 {
  1417.                     height = 0;
  1418.                     overcast = 0.85;
  1419.                     sunAngle = 24;
  1420.                     sunOrMoon = 1;
  1421.                     diffuse[] = {{0.447,0.494,0.557},3.95};
  1422.                     diffuseCloud[] = {{0,0,0},2.765};
  1423.                     ambient[] = {{0.447,0.494,0.557},13.8};
  1424.                     ambientCloud[] = {{0.447,0.494,0.557},13.8};
  1425.                     ambientMid[] = {{0.455,0.467,0.475},12.44208};
  1426.                     ambientMidCloud[] = {{0.455,0.467,0.475},12.44208};
  1427.                     groundReflection[] = {{0.388,0.396,0.408},12.19324};
  1428.                     groundReflectionCloud[] = {{0.388,0.396,0.408},12.19324};
  1429.                     bidirect[] = {0.0117,0.0117,0.0117};
  1430.                     bidirectCloud[] = {0.0117,0.0117,0.0117};
  1431.                     sky[] = {{0.118,0.251,0.753},13.8};
  1432.                     skyAroundSun[] = {{0.115,0.245,0.8},13.662};
  1433.                     fogColor[] = {{0.333,0.404,0.518},12.44208};
  1434.                     apertureMin = 45;
  1435.                     apertureStandard = 50;
  1436.                     apertureMax = 80;
  1437.                     standardAvgLum = 800;
  1438.                     desiredLuminanceCoef = 1;
  1439.                     desiredLuminanceCoefCloud = 1;
  1440.                     luminanceRectCoef = 1;
  1441.                     luminanceRectCoefCloud = 0.5;
  1442.                     rayleigh[] = {0.007,0.01388,0.035};
  1443.                     mie[] = {0.005,0.005,0.005};
  1444.                     cloudsColor[] = {{1,1,1},14.4};
  1445.                     swBrightness = 1;
  1446.                 };
  1447.                 class Lighting37
  1448.                 {
  1449.                     height = 0;
  1450.                     overcast = 0.85;
  1451.                     sunAngle = 45;
  1452.                     sunOrMoon = 1;
  1453.                     diffuse[] = {{0.506,0.553,0.608},4.25};
  1454.                     diffuseCloud[] = {0.1265,0.13825,0.152};
  1455.                     ambient[] = {{0.506,0.553,0.608},14.8};
  1456.                     ambientCloud[] = {{0.506,0.553,0.608},14.8};
  1457.                     ambientMid[] = {{0.514,0.518,0.514},13.34368};
  1458.                     ambientMidCloud[] = {{0.514,0.518,0.514},13.34368};
  1459.                     groundReflection[] = {{0.435,0.439,0.439},13.07681};
  1460.                     groundReflectionCloud[] = {{0.435,0.439,0.439},13.07681};
  1461.                     bidirect[] = {0.0117,0.0117,0.0117};
  1462.                     bidirectCloud[] = {0.0117,0.0117,0.0117};
  1463.                     sky[] = {{0.02,0.12,0.8},13.8};
  1464.                     skyAroundSun[] = {{0.02,0.12,0.8},13.8};
  1465.                     fogColor[] = {{0.369,0.447,0.565},13.34368};
  1466.                     apertureMin = 70;
  1467.                     apertureStandard = 100;
  1468.                     apertureMax = 120;
  1469.                     standardAvgLum = 8000;
  1470.                     desiredLuminanceCoef = 1;
  1471.                     desiredLuminanceCoefCloud = 1;
  1472.                     luminanceRectCoef = 1;
  1473.                     luminanceRectCoefCloud = 0.5;
  1474.                     rayleigh[] = {0.007,0.01388,0.035};
  1475.                     mie[] = {0.005,0.005,0.005};
  1476.                     cloudsColor[] = {{1,1,1},14.8};
  1477.                     swBrightness = 1;
  1478.                 };
  1479.                 class Lighting38
  1480.                 {
  1481.                     height = 0;
  1482.                     overcast = 0.85;
  1483.                     sunAngle = 90;
  1484.                     sunOrMoon = 1;
  1485.                     diffuse[] = {{0.549,0.596,0.651},4.25};
  1486.                     diffuseCloud[] = {0.13725,0.149,0.16275};
  1487.                     ambient[] = {{0.549,0.596,0.651},14.8};
  1488.                     ambientCloud[] = {{0.549,0.596,0.651},14.8};
  1489.                     ambientMid[] = {{0.557,0.557,0.585},14.21392};
  1490.                     ambientMidCloud[] = {{0.557,0.557,0.585},14.21392};
  1491.                     groundReflection[] = {{0.471,0.471,0.463},13.92964};
  1492.                     groundReflectionCloud[] = {{0.471,0.471,0.463},13.92964};
  1493.                     bidirect[] = {0.0117,0.0117,0.0117};
  1494.                     bidirectCloud[] = {0.0117,0.0117,0.0117};
  1495.                     sky[] = {{0.02,0.12,0.8},13.8};
  1496.                     skyAroundSun[] = {{0.02,0.12,0.8},13.8};
  1497.                     fogColor[] = {{0.4,0.48,0.6},15};
  1498.                     apertureMin = 70;
  1499.                     apertureStandard = 110;
  1500.                     apertureMax = 120;
  1501.                     standardAvgLum = 8000;
  1502.                     desiredLuminanceCoef = 1;
  1503.                     desiredLuminanceCoefCloud = 1;
  1504.                     luminanceRectCoef = 1;
  1505.                     luminanceRectCoefCloud = 0.5;
  1506.                     rayleigh[] = {0.007,0.01388,0.035};
  1507.                     mie[] = {0.005,0.005,0.005};
  1508.                     cloudsColor[] = {{1,1,1},14.8};
  1509.                     swBrightness = 1;
  1510.                 };
  1511.                 class Lighting39
  1512.                 {
  1513.                     height = -0.1;
  1514.                     overcast = 0.8;
  1515.                     sunAngle = -24;
  1516.                     sunOrMoon = 0;
  1517.                     diffuse[] = {{0.6,0.8,1},2.8};
  1518.                     diffuseCloud[] = {{0.6,0.8,1},2.8};
  1519.                     ambient[] = {{0.4,0.9,1},0.84};
  1520.                     ambientCloud[] = {{0.4,0.9,1},0.84};
  1521.                     ambientMid[] = {{0.24,0.63,1},0.9072};
  1522.                     ambientMidCloud[] = {{0.24,0.63,1},0.9072};
  1523.                     groundReflection[] = {{0.24,0.63,1},0.870912};
  1524.                     groundReflectionCloud[] = {{0.24,0.63,1},0.870912};
  1525.                     bidirect[] = {0,0,0};
  1526.                     bidirectCloud[] = {0,0,0};
  1527.                     sky[] = {0,0.2355,0.2335};
  1528.                     skyAroundSun[] = {0,0.2355,0.2335};
  1529.                     fogColor[] = {{0.09,0.137,0.22},0.0275};
  1530.                     apertureMin = 6;
  1531.                     apertureStandard = 6;
  1532.                     apertureMax = 18;
  1533.                     standardAvgLum = 4;
  1534.                     desiredLuminanceCoef = 0;
  1535.                     desiredLuminanceCoefCloud = 0;
  1536.                     luminanceRectCoef = 1;
  1537.                     luminanceRectCoefCloud = 1;
  1538.                     rayleigh[] = {0.007,0.01388,0.035};
  1539.                     mie[] = {0.005,0.005,0.005};
  1540.                     cloudsColor[] = {{1,1,1},11.016};
  1541.                     swBrightness = 1;
  1542.                 };
  1543.                 class Lighting40
  1544.                 {
  1545.                     height = -0.1;
  1546.                     overcast = 0.8;
  1547.                     sunAngle = -5;
  1548.                     sunOrMoon = 1;
  1549.                     diffuse[] = {{0.6,0.8,1},2.1};
  1550.                     diffuseCloud[] = {{0.6,0.8,1},2.1};
  1551.                     ambient[] = {{0.4,0.9,1},3.68};
  1552.                     ambientCloud[] = {{0.4,0.9,1},3.68};
  1553.                     ambientMid[] = {{0.24,0.63,1},3.9744};
  1554.                     ambientMidCloud[] = {{0.24,0.63,1},3.9744};
  1555.                     groundReflection[] = {{0.24,0.63,1},3.815424};
  1556.                     groundReflectionCloud[] = {{0.24,0.63,1},3.815424};
  1557.                     bidirect[] = {0,0,0};
  1558.                     bidirectCloud[] = {0,0,0};
  1559.                     sky[] = {{0,0.2235,0.2705},4.232};
  1560.                     skyAroundSun[] = {{0,0.2235,0.2705},7.636949};
  1561.                     fogColor[] = {{0.106,0.161,0.267},4.715};
  1562.                     apertureMin = 6;
  1563.                     apertureStandard = 6;
  1564.                     apertureMax = 18;
  1565.                     standardAvgLum = 4;
  1566.                     desiredLuminanceCoef = 0;
  1567.                     desiredLuminanceCoefCloud = 0;
  1568.                     luminanceRectCoef = 1;
  1569.                     luminanceRectCoefCloud = 1;
  1570.                     rayleigh[] = {0.007,0.01388,0.035};
  1571.                     mie[] = {0.005,0.005,0.005};
  1572.                     cloudsColor[] = {{1,1,1},11.016};
  1573.                     swBrightness = 1;
  1574.                 };
  1575.                 class Lighting41
  1576.                 {
  1577.                     height = -0.1;
  1578.                     overcast = 0.8;
  1579.                     sunAngle = -2;
  1580.                     sunOrMoon = 1;
  1581.                     diffuse[] = {{0.6,0.8,1},3.5};
  1582.                     diffuseCloud[] = {{0.6,0.8,1},3.5};
  1583.                     ambient[] = {{0.4,0.9,1},5.52};
  1584.                     ambientCloud[] = {{0.4,0.9,1},5.52};
  1585.                     ambientMid[] = {{0.24,0.63,1},5.9616};
  1586.                     ambientMidCloud[] = {{0.24,0.63,1},5.9616};
  1587.                     groundReflection[] = {{0.24,0.63,1},5.723136};
  1588.                     groundReflectionCloud[] = {{0.24,0.63,1},5.723136};
  1589.                     bidirect[] = {0,0,0};
  1590.                     bidirectCloud[] = {0,0,0};
  1591.                     sky[] = {{0,0.2175,0.288},6.348};
  1592.                     skyAroundSun[] = {{0,0.2175,0.288},12.31766};
  1593.                     fogColor[] = {{0.11,0.169,0.286},7.0725};
  1594.                     apertureMin = 7;
  1595.                     apertureStandard = 8;
  1596.                     apertureMax = 20;
  1597.                     standardAvgLum = 20;
  1598.                     desiredLuminanceCoef = 0;
  1599.                     desiredLuminanceCoefCloud = 0;
  1600.                     luminanceRectCoef = 1;
  1601.                     luminanceRectCoefCloud = 1;
  1602.                     rayleigh[] = {0.007,0.038,0.0675};
  1603.                     mie[] = {0.005,0.005,0.005};
  1604.                     cloudsColor[] = {{1,1,1},11.016};
  1605.                     swBrightness = 1;
  1606.                 };
  1607.                 class Lighting42
  1608.                 {
  1609.                     height = -0.1;
  1610.                     overcast = 0.8;
  1611.                     sunAngle = 0;
  1612.                     sunOrMoon = 1;
  1613.                     diffuse[] = {{0.6,0.8,1},4.2};
  1614.                     diffuseCloud[] = {{0.6,0.8,1},4.2};
  1615.                     ambient[] = {{0.4,0.9,1},6.24};
  1616.                     ambientCloud[] = {{0.4,0.9,1},6.24};
  1617.                     ambientMid[] = {{0.24,0.63,1},6.7392};
  1618.                     ambientMidCloud[] = {{0.24,0.63,1},6.7392};
  1619.                     groundReflection[] = {{0.24,0.63,1},6.469632};
  1620.                     groundReflectionCloud[] = {{0.24,0.63,1},6.469632};
  1621.                     bidirect[] = {0,0,0};
  1622.                     bidirectCloud[] = {0,0,0};
  1623.                     sky[] = {{0,0.2115,0.306},7.176};
  1624.                     skyAroundSun[] = {{0,0.2115,0.306},13.38876};
  1625.                     fogColor[] = {{0.118,0.18,0.31},7.995};
  1626.                     apertureMin = 8;
  1627.                     apertureStandard = 9;
  1628.                     apertureMax = 22;
  1629.                     standardAvgLum = 45;
  1630.                     desiredLuminanceCoef = 0;
  1631.                     desiredLuminanceCoefCloud = 0;
  1632.                     luminanceRectCoef = 1;
  1633.                     luminanceRectCoefCloud = 1;
  1634.                     rayleigh[] = {0.007,0.038,0.0675};
  1635.                     mie[] = {0.005,0.005,0.005};
  1636.                     cloudsColor[] = {{1,1,1},11.016};
  1637.                     swBrightness = 1;
  1638.                 };
  1639.                 class Lighting43
  1640.                 {
  1641.                     height = -0.1;
  1642.                     overcast = 0.8;
  1643.                     sunAngle = 45;
  1644.                     sunOrMoon = 1;
  1645.                     diffuse[] = {{0.6,0.8,1},12.04};
  1646.                     diffuseCloud[] = {{0.6,0.8,1},12.04};
  1647.                     ambient[] = {{0.4,0.9,1},11.84};
  1648.                     ambientCloud[] = {{0.4,0.9,1},11.84};
  1649.                     ambientMid[] = {{0.36,0.72,1},11.4848};
  1650.                     ambientMidCloud[] = {{0.36,0.72,1},11.4848};
  1651.                     groundReflection[] = {{0.36,0.72,1},11.02541};
  1652.                     groundReflectionCloud[] = {{0.36,0.72,1},11.02541};
  1653.                     bidirect[] = {0,0,0};
  1654.                     bidirectCloud[] = {0,0,0};
  1655.                     sky[] = {{0,0.09,0.4},13.8};
  1656.                     skyAroundSun[] = {{0,0.09,0.4},13.8};
  1657.                     fogColor[] = {{0.3,0.44,0.74},16.5};
  1658.                     apertureMin = 12;
  1659.                     apertureStandard = 18;
  1660.                     apertureMax = 25;
  1661.                     standardAvgLum = 150;
  1662.                     desiredLuminanceCoef = 0;
  1663.                     desiredLuminanceCoefCloud = 0;
  1664.                     luminanceRectCoef = 1;
  1665.                     luminanceRectCoefCloud = 1;
  1666.                     rayleigh[] = {0.007,0.01388,0.035};
  1667.                     mie[] = {0.005,0.005,0.005};
  1668.                     cloudsColor[] = {{1,1,1},14.8};
  1669.                     swBrightness = 1;
  1670.                 };
  1671.                 class Lighting44
  1672.                 {
  1673.                     height = -0.1;
  1674.                     overcast = 0.8;
  1675.                     sunAngle = 90;
  1676.                     sunOrMoon = 1;
  1677.                     diffuse[] = {{0.6,0.8,1},12.04};
  1678.                     diffuseCloud[] = {{0.6,0.8,1},12.04};
  1679.                     ambient[] = {{0.4,0.9,1},11.84};
  1680.                     ambientCloud[] = {{0.4,0.9,1},11.84};
  1681.                     ambientMid[] = {{0.36,0.72,1},11.4848};
  1682.                     ambientMidCloud[] = {{0.36,0.72,1},11.4848};
  1683.                     groundReflection[] = {{0.36,0.72,1},11.02541};
  1684.                     groundReflectionCloud[] = {{0.36,0.72,1},11.02541};
  1685.                     bidirect[] = {0,0,0};
  1686.                     bidirectCloud[] = {0,0,0};
  1687.                     sky[] = {{0,0.09,0.4},13.8};
  1688.                     skyAroundSun[] = {{0,0.09,0.4},13.8};
  1689.                     fogColor[] = {{0.3,0.44,0.74},16.5};
  1690.                     apertureMin = 12;
  1691.                     apertureStandard = 18;
  1692.                     apertureMax = 25;
  1693.                     standardAvgLum = 150;
  1694.                     desiredLuminanceCoef = 0;
  1695.                     desiredLuminanceCoefCloud = 0;
  1696.                     luminanceRectCoef = 1;
  1697.                     luminanceRectCoefCloud = 1;
  1698.                     rayleigh[] = {0.007,0.01388,0.035};
  1699.                     mie[] = {0.005,0.005,0.005};
  1700.                     cloudsColor[] = {{1,1,1},14.8};
  1701.                     swBrightness = 1;
  1702.                 };
  1703.             };
  1704.            
  1705.            
  1706.             class Lighting: Lighting
  1707.             {
  1708.                 class BrightAlmost: DayLightingBrightAlmost
  1709.                 {
  1710.                     overcast = 0.0;
  1711.                 };
  1712.                 class Rainy: DayLightingRainy
  1713.                 {
  1714.                     overcast = 1.0;
  1715.                 };
  1716.             };
  1717.            
  1718.            
  1719.             class Overcast: Overcast
  1720.             {
  1721.                 class Weather1: Weather1
  1722.                 {
  1723.                     sky = "A3\Map_Stratis\Data\sky_clear_gs.paa";
  1724.                     horizon = "A3\Map_Stratis\Data\sky_clear_horizont_sky.paa";
  1725.                     skyR = "A3\Map_Stratis\Data\sky_clear_lco.paa";
  1726.                 };
  1727.                 class Weather7: Weather1
  1728.                 {
  1729.                     sky = "A3\Map_Stratis\Data\sky_clear_gs.paa";
  1730.                     horizon = "A3\Map_Stratis\Data\sky_clear_horizont_sky.paa";
  1731.                     skyR = "A3\Map_Stratis\Data\sky_clear_lco.paa";
  1732.                 };
  1733.                 class Weather2: Weather2
  1734.                 {
  1735.                     sky = "A3\Map_Stratis\Data\sky_clear_gs.paa";
  1736.                     horizon = "A3\Map_Stratis\Data\sky_clear_horizont_sky.paa";
  1737.                     skyR = "A3\Map_Stratis\Data\sky_almostclear_lco.paa";
  1738.                 };
  1739.                 class Weather3: Weather3
  1740.                 {
  1741.                     sky = "A3\Map_Stratis\Data\sky_clear_gs.paa";
  1742.                     horizon = "A3\Map_Stratis\Data\sky_clear_horizont_sky.paa";
  1743.                     skyR = "A3\Map_Stratis\Data\sky_cloudy_lco.paa";
  1744.                 };
  1745.                 class Weather4: Weather4
  1746.                 {
  1747.                     sky = "A3\Map_Stratis\Data\sky_clear_gs.paa";
  1748.                     horizon = "A3\Map_Stratis\Data\sky_clear_horizont_sky.paa";
  1749.                     skyR = "A3\Map_Stratis\Data\sky_cloudy_lco.paa";
  1750.                 };
  1751.                 class Weather5: Weather5
  1752.                 {
  1753.                     sky = "A3\Map_Stratis\Data\sky_clear_gs.paa";
  1754.                     horizon = "A3\Map_Stratis\Data\sky_clear_horizont_sky.paa";
  1755.                     skyR = "A3\Map_Stratis\Data\sky_overcast_lco.paa";
  1756.                 };
  1757.                 class Weather6: Weather6
  1758.                 {
  1759.                     sky = "A3\Map_Stratis\Data\sky_clear_gs.paa";
  1760.                     horizon = "A3\Map_Stratis\Data\sky_clear_horizont_sky.paa";
  1761.                     skyR = "A3\Map_Stratis\Data\sky_overcast_lco.paa";
  1762.                 };
  1763.             };
  1764.         };
  1765.        
  1766.        
  1767.         humidityUpCoef = 0.1;
  1768.         humidityDownCoef = 0.05;
  1769.        
  1770.        
  1771.         class SimulWeather
  1772.         {
  1773.             noiseTexture = "a3\data_f\noise_raw.paa";
  1774.             numKeyframesPerDay = 48;
  1775.             windSpeedCoef = "10.0f";
  1776.             moonIrradianceCoef = "10.0f";
  1777.             fadeMaxDistanceKm = 1000.0;
  1778.             fadeMaxAltitudeKm = 15.0;
  1779.             fadeNumAltitudes = 8;
  1780.             fadeNumElevations = 8;
  1781.             fadeNumDistances = 8;
  1782.             fadeEarthTest = 1;
  1783.             autoBrightness = 0;
  1784.             autoBrightnessStrength = 0.1;
  1785.             cloudGridWidth = 64;
  1786.             cloudGridLength = 64;
  1787.             cloudGridHeight = 16;
  1788.             helperGridElevationSteps = 24;
  1789.             helperGridAzimuthSteps = 15;
  1790.             helperEffectiveEarthRadius = 1000000;
  1791.             helperCurvedEarth = 1;
  1792.             helperAdjustCurvature = 0;
  1793.             helperNumLayers = 120;
  1794.             helperMaxDistance = 160000;
  1795.             helperNearCloudFade = 0.1;
  1796.             helperChurn = 10;
  1797.             cloudWidth = 40000;
  1798.             cloudLength = 40000;
  1799.             wrapClouds = 1;
  1800.             noiseResolution = 8;
  1801.             noisePeriod = 4.0;
  1802.             opticalDensity = 0.5;
  1803.             alphaSharpness = 0.85;
  1804.             selfShadowScale = 0.905;
  1805.             mieAsymmetry = 0.5087;
  1806.             minimumLightElevationDegrees = 6.0;
  1807.             directLightCoef = 1.0;
  1808.             indirectLightCoef = 0.04;
  1809.             fogStart = 0;
  1810.             fogEnd = 50000;
  1811.             fogHeight = 2000;
  1812.             class DefaultKeyframe
  1813.             {
  1814.                 rayleigh[] = {0.00749,0.01388,0.02878};
  1815.                 mie[] = {0.0046,0.0046,0.0046};
  1816.                 haze = 30;
  1817.                 hazeBaseKm = 5.0;
  1818.                 hazeScaleKm = 1.0;
  1819.                 hazeEccentricity = 1;
  1820.                 brightnessAdjustment = 1.0;
  1821.                 cloudiness = 0.6;
  1822.                 cloudBaseKm = 2.85;
  1823.                 cloudHeightKm = 6.0;
  1824.                 directLight = 1.0;
  1825.                 indirectLight = 1.0;
  1826.                 ambientLight = 0.2;
  1827.                 noiseOctaves = 4.3;
  1828.                 noisePersistence = 0.535;
  1829.                 fractalAmplitude = 2.3;
  1830.                 fractalWavelength = 240.0;
  1831.                 extinction = 4.7;
  1832.                 diffusivity = 0.001;
  1833.             };
  1834.             class Overcast
  1835.             {
  1836.                 class Weather1: DefaultKeyframe
  1837.                 {
  1838.                     overcast = 0.0;
  1839.                     cloudiness = 0.0;
  1840.                     diffusivity = 0.001;
  1841.                     seqFileKeyframe = 0;
  1842.                 };
  1843.                 class Weather2: DefaultKeyframe
  1844.                 {
  1845.                     overcast = 0.2;
  1846.                     cloudiness = 0.25;
  1847.                     diffusivity = 0.001;
  1848.                     seqFileKeyframe = 0;
  1849.                 };
  1850.                 class Weather3: DefaultKeyframe
  1851.                 {
  1852.                     overcast = 0.4;
  1853.                     cloudiness = 0.45;
  1854.                     diffusivity = 0.001;
  1855.                     seqFileKeyframe = 3;
  1856.                 };
  1857.                 class Weather4: DefaultKeyframe
  1858.                 {
  1859.                     overcast = 0.5;
  1860.                     cloudiness = 0.46;
  1861.                     diffusivity = 0.01;
  1862.                     seqFileKeyframe = 4;
  1863.                 };
  1864.                 class Weather5: DefaultKeyframe
  1865.                 {
  1866.                     overcast = 0.8;
  1867.                     cloudiness = 0.8;
  1868.                     diffusivity = 0.01;
  1869.                     extinction = 4.3;
  1870.                     cloudBaseKm = 1.9;
  1871.                     cloudHeightKm = 8.0;
  1872.                     seqFileKeyframe = 4;
  1873.                 };
  1874.                 class Weather6: DefaultKeyframe
  1875.                 {
  1876.                     overcast = 1.0;
  1877.                     cloudiness = 1.0;
  1878.                     diffusivity = 0.001;
  1879.                     extinction = 4.0;
  1880.                     cloudBaseKm = 1.7;
  1881.                     cloudHeightKm = 10.0;
  1882.                     seqFileKeyframe = 4;
  1883.                 };
  1884.             };
  1885.         };
  1886.         hazeDistCoef = 0.1;
  1887.         hazeFogCoef = 0.98;
  1888.         hazeBaseHeight = 0;
  1889.         hazeBaseBeta0 = 8e-005;
  1890.         hazeDensityDecay = 0.00036;
  1891.         horizonParallaxCoef = 0.0;
  1892.         horizonFogColorationStart = "0.8f";
  1893.         skyFogColorationStart = "0.7f";
  1894.         soundMapSizeCoef = 4;
  1895.         satelliteNormalBlendStart = 10;
  1896.         satelliteNormalBlendEnd = 100;
  1897.         skyObject = "A3\Map_Stratis\data\obloha.p3d";
  1898.         horizontObject = "A3\Map_Stratis\data\horizont.p3d";
  1899.         skyTexture = "A3\Map_Stratis\data\sky_semicloudy_sky.paa";
  1900.         skyTextureR = "A3\Map_Stratis\data\sky_semicloudy_lco.paa";
  1901.         terrainBlendMaxDarkenCoef = "0.85f";
  1902.         terrainBlendMaxBrightenCoef = "0.15f";
  1903.         access = 3;
  1904.         worldId = 540;
  1905.         cutscenes[] = {"Derka_intro1"};
  1906.         description = "Derka 0.003";
  1907.         icon = "Derka\icons\workico.paa";
  1908.         worldName = "\grz\derka\derka.wrp";
  1909.         previewVideo = "";
  1910.         //pictureMap = "Derka\data\pictureMap_ca.paa";
  1911.         //pictureShot = "Derka\Derka_pic_ca.paa";
  1912.         plateFormat = "A#$-####";
  1913.         plateLetters = "ABCDEGHIKLMNOPRSTVXZ";
  1914.         author = "GRIZZLY";
  1915.         mapSize = 20480;
  1916.         mapZone = 42;
  1917.         mapArea[] = {25.011957,39.718452,25.481527,40.094578};
  1918.         longitude = 68.873;
  1919.         latitude = -36.712;
  1920.         elevationOffset = 0;
  1921.         minHillsAltitude = 80;
  1922.         maxHillsAltitude = 200;
  1923.         mapDrawingBrightnessModifier = 1.5;
  1924.        
  1925.         class EnvMaps
  1926.         {
  1927.             class EnvMap1
  1928.             {
  1929.                 texture = "A3\Map_Stratis\data\env_land_ClearSky_ca.paa";
  1930.                 overcast = 0;
  1931.             };
  1932.             class EnvMap2
  1933.             {
  1934.                 texture = "A3\Map_Stratis\data\env_land_SemiCloudySky_ca.paa";
  1935.                 overcast = 0.3;
  1936.             };
  1937.             class EnvMap3
  1938.             {
  1939.                 texture = "A3\Map_Stratis\data\env_land_OvercastSky_ca.paa";
  1940.                 overcast = 0.6;
  1941.             };
  1942.         };
  1943.        
  1944.         newRoadsShape = "\Derka\data\roads\roads.shp";
  1945.        
  1946.         class OutsideTerrain
  1947.         {
  1948.             satellite = "Derka\data\Derka_satout_co.paa";
  1949.             enableTerrainSynth = 1;
  1950.             class Layers
  1951.             {
  1952.                 class Layer0
  1953.                 {
  1954.                     nopx = "A3\Map_Data\gdt_seabed_nopx.paa";
  1955.                     texture = "A3\Map_Data\gdt_seabed_co.paa";
  1956.                 };
  1957.             };
  1958.             colorOutside[] = {0.227451,0.27451,0.384314,1};
  1959.         };
  1960.         class Grid: Grid
  1961.         {
  1962.             offsetX = 0;
  1963.             offsetY = 30720;
  1964.             class Zoom1
  1965.             {
  1966.                 zoomMax = 0.05;
  1967.                 format = "XY";
  1968.                 formatX = "000";
  1969.                 formatY = "000";
  1970.                 stepX = 100;
  1971.                 stepY = -100;
  1972.             };
  1973.             class Zoom2
  1974.             {
  1975.                 zoomMax = 0.5;
  1976.                 format = "XY";
  1977.                 formatX = "00";
  1978.                 formatY = "00";
  1979.                 stepX = 1000;
  1980.                 stepY = -1000;
  1981.             };
  1982.             class Zoom3
  1983.             {
  1984.                 zoomMax = 1e+030;
  1985.                 format = "XY";
  1986.                 formatX = "0";
  1987.                 formatY = "0";
  1988.                 stepX = 10000;
  1989.                 stepY = -10000;
  1990.             };
  1991.         };
  1992.         startTime = "12:00";
  1993.         startDate = "24/4/2016";
  1994.         centerPosition[] = {12416,8544,1000};
  1995.         seagullPos[] = {12416,8544,1000};
  1996.         ilsPosition[] = {};
  1997.         ilsDirection[]={};
  1998.         ilsTaxiOff[] = {};
  1999.         ilsTaxiIn[]= {};
  2000.         drawTaxiway = 0;
  2001.         class SecondaryAirports
  2002.         {/*
  2003.             class Airstrip_1
  2004.             {
  2005.                 ilsPosition[] = {12538.7,9080.4};
  2006.                 ilsDirection[]={0.0349,0.080000,0.9994};
  2007.                 ilsTaxiOff[] = {12520,8524.2,12511.1,8457.1,12471.2,8440.7,12422.5,8450.2,12408.5,8495.8};
  2008.                 ilsTaxiIn[]= {12480.6,8599.7,12486.6,9087.4,12503,9100.6,12538.2,9090.4,12537.6,9053.1};
  2009.                 drawTaxiway = 1;
  2010.                
  2011.             };
  2012.             class Airstrip_2
  2013.             {
  2014.                 ilsPosition[] = {9268.16,21575.1};
  2015.                 ilsDirection[] = {0.8027,0.08,0.5964};
  2016.                 ilsTaxiOff[] = {9034.07,21396.7,9022.12,21398.9,9012.96,21410.5,9008.71,21433.9,9017.87,21463.7,9126.84,21580.2,9168.44,21610.6};
  2017.                 ilsTaxiIn[] = {9168.44,21610.6,9191.79,21623,9207.69,21620.3,9219.23,21617.4,9251.41,21588.8,9256.73,21578.9,9255.22,21567};
  2018.                 drawTaxiway = 0;
  2019.             };
  2020.             class Airstrip_3
  2021.             {
  2022.                 ilsPosition[] = {21074.3,7098.58};
  2023.                 ilsDirection[] = {-0.1908,0.08,-0.9816};
  2024.                 ilsTaxiOff[] = {21157.2,7511.69,21158.3,7526.32,21146.7,7531.26,21132.3,7529.41,20863.7,7300.61,20825.6,7275.69};
  2025.                 ilsTaxiIn[] = {20825.6,7275.69,20801.9,7260.94,20798.5,7251.93,20802.7,7244.72,20815.7,7245.37,20847.4,7275.87,20862.2,7280.76,20879.3,7278.83,21068.9,7161.23,21082.9,7163.58,21091.9,7176.15};
  2026.                 drawTaxiway = 0;
  2027.             };
  2028.             class Airstrip_4
  2029.             {
  2030.                 ilsPosition[] = {27153.5,24904.1};
  2031.                 ilsDirection[] = {0.6546,0.08,0.756};
  2032.                 ilsTaxiOff[] = {26849.6,24558,26832.5,24542.9,26812.7,24539.7,26789.9,24547.8,26772.8,24560.6,26765.3,24581.2,26769.4,24604,26801.7,24637.3};
  2033.                 ilsTaxiIn[] = {26801.7,24637.3,26831.5,24668.2,26897.3,24705.8,27097.2,24917.6,27113.2,24922.5,27131.3,24916,27142.7,24908.1,27143.8,24899.2,27140,24889.9,27132.9,24881.3};
  2034.                 drawTaxiway = 0;
  2035.             };
  2036.             class Airstrip_5
  2037.             {
  2038.                 ilsPosition[] = {23149.6,18400};
  2039.                 ilsDirection[] = {0,0.08,-1};
  2040.                 ilsTaxiOff[] = {23149.8,18795.7,23148.9,18899.7,23137.2,18937.9,23100.4,18946.5,23063.1,18930.5,23046.1,18896.7,23031.6,18845.3};
  2041.                 ilsTaxiIn[] = {23031.6,18845.3,23052,18396.4,23074.4,18367.8,23099.7,18356.6,23132.8,18364.5,23149,18398.5,23149.4,18432.5};
  2042.                 drawTaxiway = 0;
  2043.             */};
  2044.        
  2045.         class ReplaceObjects{};
  2046.         class Sounds
  2047.         {
  2048.             sounds[] = {};
  2049.         };
  2050.         class Animation
  2051.         {
  2052.             vehicles[] = {};
  2053.         };
  2054.         clutterGrid = 1.2;
  2055.         clutterDist = 140;
  2056.         noDetailDist = 65;
  2057.         fullDetailDist = 30;
  2058.         midDetailTexture = "Derka\data\Derka_middle_mco.paa";
  2059.         minTreesInForestSquare = 5;
  2060.         minRocksInRockSquare = 4;
  2061.         class Subdivision
  2062.         {
  2063.             class Fractal
  2064.             {
  2065.                 rougness = 5;
  2066.                 maxRoad = 0.02;
  2067.                 maxTrack = 0.5;
  2068.                 maxSlopeFactor = 0.05;
  2069.             };
  2070.             class WhiteNoise
  2071.             {
  2072.                 rougness = 2;
  2073.                 maxRoad = 0.01;
  2074.                 maxTrack = 0.05;
  2075.                 maxSlopeFactor = 0.0025;
  2076.             };
  2077.             minY = -0.0;
  2078.             minSlope = 0.02;
  2079.         };
  2080.         class Ambient{};
  2081.         class AmbientA3
  2082.         {
  2083.             maxCost = 500;
  2084.             class Radius440_500
  2085.             {
  2086.                 areaSpawnRadius = 70.0;
  2087.                 areaMaxRadius = 200.0;
  2088.                 spawnCircleRadius = 30.0;
  2089.                 spawnInterval = 4.7;
  2090.                 class Species
  2091.                 {
  2092.                     class Kestrel_random_F
  2093.                     {
  2094.                         maxCircleCount = "((1 - night) * 2 * (1 - (WaterDepth interpolate [1,30,0,1])) + (2 * (hills))) * (1 - night)";
  2095.                         maxWorldCount = 5;
  2096.                         cost = 3;
  2097.                         spawnCount = 1;
  2098.                         groupSpawnRadius = 10;
  2099.                         maxAlt = 200;
  2100.                         minAlt = -10;
  2101.                     };
  2102.                     class Seagull
  2103.                     {
  2104.                         maxCircleCount = "((sea * (1 - night)) + (2 * houses * sea)) * (1 - night)";
  2105.                         maxWorldCount = 40;
  2106.                         cost = 3;
  2107.                         spawnCount = 1;
  2108.                         groupSpawnRadius = 10;
  2109.                         maxAlt = 200;
  2110.                         minAlt = -10;
  2111.                     };
  2112.                     class Rabbit_F
  2113.                     {
  2114.                         maxCircleCount = "(20 * (0.1 - houses)) * (1 - sea)";
  2115.                         maxWorldCount = 5;
  2116.                         cost = 5;
  2117.                         spawnCount = 1;
  2118.                         groupSpawnRadius = 10;
  2119.                         maxAlt = 80;
  2120.                         minAlt = -5;
  2121.                     };
  2122.                 };
  2123.             };
  2124.             class Radius40_60
  2125.             {
  2126.                 areaSpawnRadius = 50.0;
  2127.                 areaMaxRadius = 83.0;
  2128.                 spawnCircleRadius = 10.0;
  2129.                 spawnInterval = 1.5;
  2130.                 class Species
  2131.                 {
  2132.                     class CatShark_F
  2133.                     {
  2134.                         maxCircleCount = "(4 * (WaterDepth interpolate [1,30,0,1]))";
  2135.                         maxWorldCount = 10;
  2136.                         cost = 6;
  2137.                         spawnCount = 1;
  2138.                         groupSpawnRadius = 10;
  2139.                         maxAlt = 10;
  2140.                         minAlt = -80;
  2141.                     };
  2142.                     class Turtle_F
  2143.                     {
  2144.                         maxCircleCount = "(2 * (waterDepth interpolate [1,16,0,1]) * ((1-houses) * (1-houses)))";
  2145.                         maxWorldCount = 6;
  2146.                         cost = 5;
  2147.                         spawnCount = 1;
  2148.                         groupSpawnRadius = 10;
  2149.                         maxAlt = 10;
  2150.                         minAlt = -80;
  2151.                     };
  2152.                     class Snake_random_F
  2153.                     {
  2154.                         maxCircleCount = "(1 - houses) * ((2 * (1 - sea)) + (2 * (meadow)))";
  2155.                         maxWorldCount = 3;
  2156.                         cost = 5;
  2157.                         spawnCount = 1;
  2158.                         groupSpawnRadius = 5;
  2159.                         maxAlt = 40;
  2160.                         minAlt = -5;
  2161.                     };
  2162.                     class Salema_F
  2163.                     {
  2164.                         maxCircleCount = "(12 * ((WaterDepth interpolate [1,30,0,1]) + 0.07))";
  2165.                         maxWorldCount = 40;
  2166.                         cost = 5;
  2167.                         spawnCount = 2;
  2168.                         groupSpawnRadius = 5;
  2169.                         maxAlt = 10;
  2170.                         minAlt = -80;
  2171.                     };
  2172.                     class Ornate_random_F
  2173.                     {
  2174.                         maxCircleCount = "(12 * ((WaterDepth interpolate [1,30,0,1]) + 0.05))";
  2175.                         maxWorldCount = 30;
  2176.                         cost = 5;
  2177.                         spawnCount = 3;
  2178.                         groupSpawnRadius = 5;
  2179.                         maxAlt = 10;
  2180.                         minAlt = -80;
  2181.                     };
  2182.                     class Mackerel_F
  2183.                     {
  2184.                         maxCircleCount = "(8 * ((WaterDepth interpolate [1,30,0,1]) + 0.07))";
  2185.                         maxWorldCount = 14;
  2186.                         cost = 5;
  2187.                         spawnCount = 2;
  2188.                         groupSpawnRadius = 5;
  2189.                         maxAlt = 10;
  2190.                         minAlt = -80;
  2191.                     };
  2192.                     class Mullet_F
  2193.                     {
  2194.                         maxCircleCount = "(8 * ((WaterDepth interpolate [1,30,0,1]) + 0.07))";
  2195.                         maxWorldCount = 14;
  2196.                         cost = 5;
  2197.                         spawnCount = 2;
  2198.                         groupSpawnRadius = 5;
  2199.                         maxAlt = 10;
  2200.                         minAlt = -80;
  2201.                     };
  2202.                     class Tuna_F
  2203.                     {
  2204.                         maxCircleCount = "(8 * ((WaterDepth interpolate [1,30,0,1]) - 0.2))";
  2205.                         maxWorldCount = 10;
  2206.                         cost = 5;
  2207.                         spawnCount = 2;
  2208.                         groupSpawnRadius = 5;
  2209.                         maxAlt = 10;
  2210.                         minAlt = -80;
  2211.                     };
  2212.                 };
  2213.             };
  2214.             class Radius30_40
  2215.             {
  2216.                 areaSpawnRadius = 30.0;
  2217.                 areaMaxRadius = 40.0;
  2218.                 spawnCircleRadius = 3.0;
  2219.                 spawnInterval = 3.75;
  2220.                 class Species
  2221.                 {
  2222.                     class DragonFly
  2223.                     {
  2224.                         maxCircleCount = "4 * (1 - night) * (1 - (WaterDepth interpolate [1,30,0,1])) * sea * (1 - windy)";
  2225.                         maxWorldCount = 4;
  2226.                         cost = 1;
  2227.                         spawnCount = 1;
  2228.                         groupSpawnRadius = 1;
  2229.                         maxAlt = 30;
  2230.                         minAlt = -5;
  2231.                     };
  2232.                     class ButterFly_random
  2233.                     {
  2234.                         maxCircleCount = "3 * (1 - night) * (1 - (WaterDepth interpolate [1,30,0,1])) * (1 - windy)";
  2235.                         maxWorldCount = 6;
  2236.                         cost = 1;
  2237.                         spawnCount = 3;
  2238.                         groupSpawnRadius = 1;
  2239.                         maxAlt = 30;
  2240.                         minAlt = -5;
  2241.                     };
  2242.                     class FireFly
  2243.                     {
  2244.                         maxCircleCount = "(6 * night) * (1 - sea) * (1 - houses) * (1 - windy)";
  2245.                         maxWorldCount = 20;
  2246.                         cost = 1;
  2247.                         spawnCount = 3;
  2248.                         groupSpawnRadius = 3;
  2249.                         maxAlt = 30;
  2250.                         minAlt = -5;
  2251.                     };
  2252.                     class Cicada
  2253.                     {
  2254.                         maxCircleCount = "(4 * night) * (1 - sea) * (1 - windy)";
  2255.                         maxWorldCount = 6;
  2256.                         cost = 1;
  2257.                         spawnCount = 3;
  2258.                         groupSpawnRadius = 3;
  2259.                         maxAlt = 30;
  2260.                         minAlt = -5;
  2261.                     };
  2262.                 };
  2263.             };
  2264.             class Radius15_20
  2265.             {
  2266.                 areaSpawnRadius = 15.0;
  2267.                 areaMaxRadius = 20.0;
  2268.                 spawnCircleRadius = 2.0;
  2269.                 spawnInterval = 2.85;
  2270.                 class Species
  2271.                 {
  2272.                     class FxWindGrass1
  2273.                     {
  2274.                         maxCircleCount = "2 * (1 - (WaterDepth interpolate [1,30,0,1])) * (windy interpolate [0.1,0.25,0,1])";
  2275.                         maxWorldCount = 3;
  2276.                         cost = 1;
  2277.                         spawnCount = 3;
  2278.                         groupSpawnRadius = 2.5;
  2279.                         maxAlt = 30;
  2280.                         minAlt = -5;
  2281.                     };
  2282.                     class FxWindGrass2
  2283.                     {
  2284.                         maxCircleCount = "2 * (1 - (WaterDepth interpolate [1,30,0,1])) * (windy interpolate [0.1,0.25,0,1])";
  2285.                         maxWorldCount = 3;
  2286.                         cost = 1;
  2287.                         spawnCount = 3;
  2288.                         groupSpawnRadius = 2.5;
  2289.                         maxAlt = 30;
  2290.                         minAlt = -5;
  2291.                     };
  2292.                     class FxWindLeaf1
  2293.                     {
  2294.                         maxCircleCount = "2 * (trees + 0.5) * (windy interpolate [0.1,0.25,0,1])";
  2295.                         maxWorldCount = 3;
  2296.                         cost = 1;
  2297.                         spawnCount = 3;
  2298.                         groupSpawnRadius = 2.5;
  2299.                         maxAlt = 30;
  2300.                         minAlt = -5;
  2301.                     };
  2302.                     class FxWindLeaf2
  2303.                     {
  2304.                         maxCircleCount = "2 * (trees + 0.5) * (windy interpolate [0.1,0.25,0,1])";
  2305.                         maxWorldCount = 3;
  2306.                         cost = 1;
  2307.                         spawnCount = 3;
  2308.                         groupSpawnRadius = 2.5;
  2309.                         maxAlt = 30;
  2310.                         minAlt = -5;
  2311.                     };
  2312.                     class FxWindLeaf3
  2313.                     {
  2314.                         maxCircleCount = "2 * (trees + 0.5) * (windy interpolate [0.1,0.25,0,1])";
  2315.                         maxWorldCount = 3;
  2316.                         cost = 1;
  2317.                         spawnCount = 3;
  2318.                         groupSpawnRadius = 2.5;
  2319.                         maxAlt = 30;
  2320.                         minAlt = -5;
  2321.                     };
  2322.                     class FxWindPollen1
  2323.                     {
  2324.                         maxCircleCount = "(3 * (1 - (WaterDepth interpolate [1,30,0,1]))) * (windy interpolate [0.05,0.15,0,1])";
  2325.                         maxWorldCount = 6;
  2326.                         cost = 1;
  2327.                         spawnCount = 1;
  2328.                         groupSpawnRadius = 1;
  2329.                         maxAlt = 30;
  2330.                         minAlt = -5;
  2331.                     };
  2332.                     class FxWindPaper1
  2333.                     {
  2334.                         maxCircleCount = "(4 * (1 - (WaterDepth interpolate [1,30,0,1])) * houses) * windy";
  2335.                         maxWorldCount = 2;
  2336.                         cost = 1;
  2337.                         spawnCount = 1;
  2338.                         groupSpawnRadius = 1;
  2339.                         maxAlt = 30;
  2340.                         minAlt = -5;
  2341.                     };
  2342.                     class FxWindPlastic1
  2343.                     {
  2344.                         maxCircleCount = "(4 * (1 - (WaterDepth interpolate [1,30,0,1])) * houses) * windy";
  2345.                         maxWorldCount = 2;
  2346.                         cost = 1;
  2347.                         spawnCount = 1;
  2348.                         groupSpawnRadius = 1;
  2349.                         maxAlt = 30;
  2350.                         minAlt = -5;
  2351.                     };
  2352.                 };
  2353.             };
  2354.             class Radius6_10
  2355.             {
  2356.                 areaSpawnRadius = 6.0;
  2357.                 areaMaxRadius = 10.0;
  2358.                 spawnCircleRadius = 1.0;
  2359.                 spawnInterval = 0.1;
  2360.                 class Species
  2361.                 {
  2362.                     class HoneyBee
  2363.                     {
  2364.                         maxCircleCount = "4 * (1 - night) * (1 - sea) * (1 - houses) * (1 - windy)";
  2365.                         maxWorldCount = 8;
  2366.                         cost = 1;
  2367.                         spawnCount = 1;
  2368.                         groupSpawnRadius = 1;
  2369.                         maxAlt = 30;
  2370.                         minAlt = -5;
  2371.                     };
  2372.                     class HouseFly
  2373.                     {
  2374.                         maxCircleCount = "(3 + 3 * (houses)) * (1 - night) * (1 - (WaterDepth interpolate [1,30,0,1])) * (1 - windy)";
  2375.                         maxWorldCount = 10;
  2376.                         cost = 1;
  2377.                         spawnCount = 3;
  2378.                         groupSpawnRadius = 1;
  2379.                         maxAlt = 30;
  2380.                         minAlt = -5;
  2381.                     };
  2382.                     class Mosquito
  2383.                     {
  2384.                         maxCircleCount = "3 * (1 - (WaterDepth interpolate [1,30,0,1])) * (1 - windy)";
  2385.                         maxWorldCount = 2;
  2386.                         cost = 1;
  2387.                         spawnCount = 1;
  2388.                         groupSpawnRadius = 1;
  2389.                         maxAlt = 30;
  2390.                         minAlt = -5;
  2391.                     };
  2392.                 };
  2393.             };
  2394.         };
  2395.         class Names
  2396.         {
  2397.             #include "derka.hpp"
  2398.        
  2399.         };
  2400.         safePositionAnchor[] = {15667,15791.3};
  2401.         safePositionRadius = 7000;
  2402.         loadingTexts[] = {"Derka Island","Created by "};
  2403.     };
  2404. };
  2405. class CfgWorldList
  2406. {
  2407.     class Derka {};
  2408. };
  2409. class CfgLensFlare
  2410. {
  2411.     flarePos[] = {0.0,0.0,0.37,0.47,0.5,0.54,0.62,0.72,0.75,0.91,1.0,1.084,1.13,1.29,1.62,1.68};
  2412.     flareSizeCam[] = {0.2,0.4,0.025,0.05,0.042,0.043,0.04,0.75,0.6,0.7,0.15,0.85,0.44,0.45,0.55,0.1};
  2413.     flareBright[] = {1.0,0.3,0.3,0.3,0.3,0.4,0.4,0.05,0.03,0.12,0.05,0.08,0.05,0.2,0.2,1.0};
  2414.     flareSizeEye[] = {0.04};
  2415.     flareSizeEyeSun[] = {0.04};
  2416. };
  2417. #include "cfgSurfaces.hpp"
  2418.  
  2419. class CfgMaterials
  2420. {
  2421.     class Water
  2422.     {
  2423.         PixelShaderID = "Water";
  2424.         VertexShaderID = "Water";
  2425.         ambient[] = {0.0,0.025,0.05,0.5};
  2426.         diffuse[] = {0.0,0.05,0.04,1.0};
  2427.         forcedDiffuse[] = {0.0,0.0,0.0,1};
  2428.         specular[] = {0.12,0.12,0.12,1};
  2429.         specularPower = 100;
  2430.         emmisive[] = {0,0,0,0};
  2431.         class Stage1
  2432.         {
  2433.             texture = "A3\Map_data\water_nofhq.paa";
  2434.             uvSource = "texWaterAnim";
  2435.             class uvTransform
  2436.             {
  2437.                 aside[] = {0,1,0};
  2438.                 up[] = {1,0,0};
  2439.                 dir[] = {0,0,1};
  2440.                 pos[] = {0.3,0.4,0};
  2441.             };
  2442.         };
  2443.         class Stage2
  2444.         {
  2445.             texture = "A3\data_f\sea_foam_lco.paa";
  2446.             uvSource = "none";
  2447.         };
  2448.         class Stage3
  2449.         {
  2450.             texture = "A3\Map_data\water2_nohq.paa";
  2451.             uvSource = "none";
  2452.         };
  2453.     };
  2454.     class Shore
  2455.     {
  2456.         PixelShaderID = "Shore";
  2457.         VertexShaderID = "Shore";
  2458.         ambient[] = {1.0,1.0,1.0,1.0};
  2459.         diffuse[] = {0.7,0.7,0.7,1.0};
  2460.         forcedDiffuse[] = {0.0,0.0,0.0,1};
  2461.         specular[] = {0.12,0.12,0.12,1};
  2462.         specularPower = 65;
  2463.         emmisive[] = {0,0,0,0};
  2464.         class TexGen0
  2465.         {
  2466.             uvSource = "none";
  2467.         };
  2468.         class TexGen1
  2469.         {
  2470.             uvSource = "texWaterAnim";
  2471.             class uvTransform
  2472.             {
  2473.                 aside[] = {0,5,0};
  2474.                 up[] = {5,0,0};
  2475.                 dir[] = {0,0,1};
  2476.                 pos[] = {0.3,0.4,0};
  2477.             };
  2478.         };
  2479.         class Stage1
  2480.         {
  2481.             texture = "A3\data_f\water_nofhq.paa";
  2482.             texGen = 1;
  2483.         };
  2484.         class Stage2
  2485.         {
  2486.             texture = "A3\data_f\sea_foam_lco.paa";
  2487.             texGen = 0;
  2488.         };
  2489.         class Stage3
  2490.         {
  2491.             texture = "A3\data_f\water2_nohq.paa";
  2492.             texGen = 0;
  2493.         };
  2494.         class Stage6
  2495.         {
  2496.             texture = "A3\data_f\shoreFoam_edge.paa";
  2497.             texGen = 0;
  2498.         };
  2499.         class Stage7
  2500.         {
  2501.             texture = "A3\data_f\shoreWetNormal_nohq.paa";
  2502.             texGen = 0;
  2503.         };
  2504.         class Stage8
  2505.         {
  2506.             texture = "A3\Data_F\env_land_CO.tga";
  2507.             useWorldEnvMap = 1;
  2508.             texGen = 0;
  2509.         };
  2510.     };
  2511.     class ShoreWet
  2512.     {
  2513.         PixelShaderID = "ShoreWet";
  2514.         VertexShaderID = "Shore";
  2515.         ambient[] = {1.0,1.0,1.0,1.0};
  2516.         diffuse[] = {1.0,1.0,1.0,1.0};
  2517.         forcedDiffuse[] = {0.0,0.0,0.0,0.0};
  2518.         emmisive[] = {0.0,0.0,0.0,1.0};
  2519.         specular[] = {0.1,0.1,0.1,1.0};
  2520.         specularPower = 1.0;
  2521.         class Stage0
  2522.         {
  2523.             texture = "A3\data_f\shoreWetNormal_nohq.paa";
  2524.             uvSource = "none";
  2525.         };
  2526.         class Stage1
  2527.         {
  2528.             texture = "#(ai,64,128,1)fresnel(1.4,0.1)";
  2529.             uvSource = "none";
  2530.         };
  2531.         class Stage2
  2532.         {
  2533.             useWorldEnvMap = 1;
  2534.             texture = "A3\Data_F\env_land_CO.tga";
  2535.             uvSource = "none";
  2536.         };
  2537.     };
  2538. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement