Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- =======================================================================================================================
- hotze_base
- File: cfgWorlds.hpp
- Author: Hotzenplotz
- =======================================================================================================================
- */
- #define private 0
- #define protected 1
- #define public 2
- #define _ARMA_
- class CfgPatches
- {
- class Kapaulio
- {
- units[] = {"Kapaulio"};
- weapons[] = {};
- requiredVersion = 0.1;
- requiredAddons[] = {"A3_Data_F","A3_Roads_F","A3_Structures_F","A3_Map_Data","RSPN_Assets","mbg_killhouses_a3","CABuildings2","CAMisc","CAStructures","brg_africa"};
- magazines[] = {};
- ammo[] = {};
- };
- };
- class CfgWorlds
- {
- class CAWorld;
- class Stratis : CAWorld
- {
- class DefaultClutter;
- class Default;
- class SeaWeed1;
- class SeaWeed2;
- class Coral1;
- class Coral2;
- class Coral3;
- class Coral4;
- class Coral5;
- class Clutter;
- class Sea;
- class Underwater;
- class SeaWaterShaderPars;
- class WaterExPars;
- class HDRNewPars;
- class Lighting;
- class DayLightingBrightAlmost;
- class DayLightingRainy;
- class Weather;
- class SimulWeather;
- class EnvMaps;
- class OutsideTerrain;
- class Sounds;
- class Animation;
- class Subdivision;
- class AmbientA3;
- };
- class Kapaulio : Stratis
- {
- scope = private;
- description = "Saint Kapaulio";
- author = "God Father";
- mail = "paul@quantumistic.co.uk";
- icon = "\god\Kapaulio\data\saglogo1.paa";
- worldName = "god\Kapaulio\Kapaulio.wrp";
- pictureMap = "god\Kapaulio\data\Kapauliomap.paa";
- pictureShot = "god\Kapaulio\data\Kapaulio.paa";
- startTime = 12:00;
- startDate = 12/06/2014;
- newRoadsShape = "\god\Kapaulio\Data\roads\roads.shp";
- mapSize = 20480;
- mapZone = 31;
- longitude = 30; // positive is east
- latitude = -45; // positive is south
- clutterGrid = 1.2;
- clutterDist = 120;
- noDetailDist = 50;
- fullDetailDist = 10;
- minRocksInRockSquare = 3;
- minTreesInForestSquare = 3;
- centerPosition[] = {6400, 6400, 0};
- seagullPos[] = {6400, 6400, "1e3"};
- ilsPosition[] = {0, 0};
- ilsDirection[] = {0, 0.08, -1};
- drawTaxiway = 0;
- startWeather = 0;
- startFog = 0;
- forecastWeather = 0;
- forecastFog = 0;
- skyColorInfluencesFogColor = 0;
- horizonSunColorationIntensity = "0.001f";
- tonemapMethod = 1;
- loadingTexts[] = {"Saint Kapaulio was created By the Gods", "Saint Kapaulio was created By the Gods"};
- tooltipOwned = "Saint Kapaulio, Unknown";
- midDetailTexture = "god\Kapaulio_data\data\mid_range_mco.paa";
- //moonObject = "A3\data_f\moon.p3d";
- landGrid = 12.5;
- enableFootsteps = 1;
- enableBloodSplashes = 1;
- class Names {
- #include "Kapaulio.hpp"
- };
- class Clutter : Clutter
- {
- #include "cfgclutter.hpp"
- };
- class SimulWeather : SimulWeather {};
- class EnvMaps : EnvMaps {};
- class Grid
- {
- offsetX = 0;
- offsetY = 20480; // Grid * Cell
- class Zoom1
- {
- zoomMax = 0.015;
- format = "XY";
- formatX = "0000";
- formatY = "0000";
- stepX = 10;
- stepY = -10;
- };
- class Zoom2
- {
- zoomMax = 0.2;
- format = "XY";
- formatX = "000";
- formatY = "000";
- stepX = 100;
- stepY = -100;
- };
- class Zoom3
- {
- zoomMax = 0.8;
- format = "XY";
- formatX = "00";
- formatY = "00";
- stepX = 1000;
- stepY = -1000;
- };
- class Zoom4
- {
- zoomMax = 1;
- format = "XY";
- formatX = "0";
- formatY = "0";
- stepX = 10000;
- stepY = -10000;
- };
- };
- class Sounds : Sounds{};
- class Animation : Animation{};
- class Subdivision : Subdivision{};
- class AmbientA3 : AmbientA3 {};
- class Sea : Sea
- {
- seaTexture = "a3\data_f\seatexture_co.paa";
- seaMaterial = "#water";
- shoreMaterial = "#shore";
- shoreFoamMaterial = "#shorefoam";
- shoreWetMaterial = "#shorewet";
- WaterMapScale = 20;
- WaterGrid = 50;
- MaxTide = 0;
- MaxWave = 0.25;
- SeaWaveXScale = "2.0/50";
- SeaWaveZScale = "1.0/50";
- SeaWaveHScale = 1;
- SeaWaveXDuration = 5000;
- SeaWaveZDuration = 10000;
- };
- class Underwater : Underwater
- {
- noWaterFog = -0.001;
- fullWaterFog = 0.001;
- deepWaterFog = 60;
- waterFogDistanceNear = -10;
- waterFogDistance = 90;
- waterColor[] = {0, 0.04, 0.03};
- deepWaterColor[] = {0, 0.001, 0.009};
- surfaceColor[] = {0, 0.04, 0.03};
- deepSurfaceColor[] = {0, 0.001, 0.009};
- };
- class SeaWaterShaderPars : SeaWaterShaderPars
- {
- refractionMoveCoef = 0.03;
- minWaterOpacity = 0;
- waterOpacityDistCoef = 0.4;
- underwaterOpacity = 0.5;
- waterOpacityFadeStart = 60;
- waterOpacityFadeLength = 120;
- };
- class WaterExPars : WaterExPars
- {
- fogDensity = 0.07;
- fogColor[] = {0.03015, 0.07155, 0.09045};
- fogColorExtinctionSpeed[] = {0.1814, 0.0159, 0.0111};
- ligtExtinctionSpeed[] = {0.1814, 0.0159, 0.0111};
- diffuseLigtExtinctionSpeed[] = {0.3814, 0.2159, 0.2111};
- fogGradientCoefs[] = {"0.35f", "1.0f", "1.7f"};
- fogColorLightInfluence[] = {0.8, 0.2, 1};
- shadowIntensity = "0.0f";
- ssReflectionStrength = 0.85;
- ssReflectionMaxJitter = 1;
- ssReflectionRippleInfluence = 0.2;
- ssReflectionEdgeFadingCoef = 10;
- ssReflectionDistFadingCoef = 4;
- refractionMinCoef = 0.03;
- refractionMaxCoef = 0.14;
- refractionMaxDist = 5.1;
- specularMaxIntensity = 100;
- specularPowerOvercast0 = 750;
- specularPowerOvercast1 = 50;
- specularNormalModifyCoef = 0.015;
- foamAroundObjectsIntensity = "0.15f";
- foamAroundObjectsFadeCoef = "8.0f";
- foamColorCoef = "2.0f";
- foamDeformationCoef = "0.02f";
- foamTextureCoef = "0.2f";
- foamTimeMoveSpeed = "0.2f";
- foamTimeMoveAmount = "0.1f";
- shoreDarkeningMaxCoef = "0.45f";
- shoreDarkeningOffset = "0.36f";
- shoreDarkeningGradient = "0.08f";
- shoreWaveTimeScale = "0.8f";
- shoreWaveShifDerivativeOffset = "-0.8f";
- shoreFoamIntensity = "0.25f";
- shoreMaxWaveHeight = "0.15f";
- shoreWetLayerReflectionIntensity = "0.55f";
- };
- class HDRNewPars
- {
- minAperture = 1e-005;
- maxAperture = 256;
- apertureRatioMax = 4;
- apertureRatioMin = 10;
- bloomImageScale = 1;
- bloomScale = 0.3;
- bloomExponent = 1;
- bloomLuminanceOffset = 0.8;
- bloomLuminanceScale = 1;
- bloomLuminanceExponent = 1.2;
- tonemapMethod = 2;
- tonemapShoulderStrength = 0.22;
- tonemapLinearStrength = 0.3;
- tonemapLinearAngle = 0.1;
- tonemapToeStrength = 0.2;
- tonemapToeNumerator = 0.01;
- tonemapToeDenominator = 0.3;
- tonemapLinearWhite = 11.2;
- tonemapExposureBias = 2;
- tonemapLinearWhiteReinhard = "2.5f";
- nvgApertureMin = 1;
- nvgApertureStandard = 7;
- nvgApertureMax = 15;
- nvgStandardAvgLum = 3;
- nvgLightGain = 100;
- nvgTransition = 1;
- nvgTransitionCoefOn = "40.0f";
- nvgTransitionCoefOff = "0.01f";
- nightShiftMinAperture = 0;
- nightShiftMaxAperture = 0.002;
- nightShiftMaxEffect = 0.6;
- nightShiftLuminanceScale = 600;
- eyeAdaptFactorLight = 0.6;
- eyeAdaptFactorDark = 0.2;
- };
- aroundSunCoefMultiplier = "1.0f";
- aroundSunCoefExponent = "4.0f";
- terrainBlendMaxDarkenCoef = "1.0f";
- terrainBlendMaxBrightenCoef = "0.0f";
- dynLightMinBrightnessAmbientCoef = 0.5;
- dynLightMinBrightnessAbsolute = 0.05;
- class Lighting : Lighting
- {
- groundReflection[] = {0.132, 0.133, 0.122};
- moonObjectColorFull[] = {460, 440, 400, 1};
- moonHaloObjectColorFull[] = {465, 477, 475, 1};
- moonsetObjectColor[] = {375, 350, 325, 1};
- moonsetHaloObjectColor[] = {515, 517, 525, 1};
- class ThunderBoltLight {
- diffuse[] = {2120, 3170, 5550};
- ambient[] = {0.001, 0.001, 0.001};
- intensity = 120000;
- class Attenuation {
- start = 0;
- constant = 0;
- linear = 0;
- quadratic = 1;
- };
- };
- starEmissivity = 40;
- };
- class DayLightingBrightAlmost : DayLightingBrightAlmost
- {
- deepNight[] = {-15, {0.005, 0.01, 0.01}, {0, 0.002, 0.003}, {0, 0, 0}, {0, 0, 0}, {0, 0.002, 0.003}, {0, 0.002, 0.003}, 0};
- 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};
- 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};
- 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};
- 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};
- 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};
- 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.929, 0.815}, 4.7}, 1};
- 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.5, 0.6, 0.9}, 13.2}, 1};
- 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}, 12}, {{0.5, 0.5, 0.5}, 14.8}, 1, 0.5, 0.4, 0.5, 0.4};
- };
- class DayLightingRainy : DayLightingRainy
- {
- deepNight[] = {-15, {0.005, 0.01, 0.01}, {0, 0.002, 0.003}, {0, 0, 0}, {0, 0, 0}, {0, 0.002, 0.003}, {0, 0.002, 0.003}, 0};
- 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};
- 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};
- 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};
- 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};
- 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};
- 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};
- noon[] = {45, {{1, 1, 1}, 10}, {{1, 1, 1}, 9}, {{1, 1, 1}, 9}, {{1, 1, 1}, 8}, {{0.5, 0.64, 1}, 12}, {{0.5, 0.5, 0.5}, 14.8}, 1};
- };
- humidityUpCoef = 0.1;
- humidityDownCoef = 0.05;
- };
- };
- #include "cfgSurfaces.hpp"
- //#include "lighting.hpp"
- class CfgWorldList
- {
- class Kapaulio{};
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement