Advertisement
Guest User

Untitled

a guest
May 26th, 2017
728
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.72 KB | None | 0 0
  1. /*
  2. =======================================================================================================================
  3.  
  4. hotze_base
  5.  
  6. File: cfgWorlds.hpp
  7. Author: Hotzenplotz
  8.  
  9. =======================================================================================================================
  10. */
  11.  
  12. #define private 0
  13. #define protected 1
  14. #define public 2
  15.  
  16. #define _ARMA_
  17.  
  18. class CfgPatches
  19. {
  20. class Kapaulio
  21. {
  22. units[] = {"Kapaulio"};
  23. weapons[] = {};
  24. requiredVersion = 0.1;
  25. requiredAddons[] = {"A3_Data_F","A3_Roads_F","A3_Structures_F","A3_Map_Data","RSPN_Assets","mbg_killhouses_a3","CABuildings2","CAMisc","CAStructures","brg_africa"};
  26. magazines[] = {};
  27. ammo[] = {};
  28. };
  29. };
  30.  
  31. class CfgWorlds
  32. {
  33. class CAWorld;
  34. class Stratis : CAWorld
  35. {
  36. class DefaultClutter;
  37.  
  38. class Default;
  39. class SeaWeed1;
  40. class SeaWeed2;
  41. class Coral1;
  42. class Coral2;
  43. class Coral3;
  44. class Coral4;
  45. class Coral5;
  46. class Clutter;
  47.  
  48. class Sea;
  49. class Underwater;
  50. class SeaWaterShaderPars;
  51. class WaterExPars;
  52. class HDRNewPars;
  53. class Lighting;
  54. class DayLightingBrightAlmost;
  55. class DayLightingRainy;
  56. class Weather;
  57. class SimulWeather;
  58. class EnvMaps;
  59.  
  60. class OutsideTerrain;
  61. class Sounds;
  62. class Animation;
  63. class Subdivision;
  64. class AmbientA3;
  65. };
  66.  
  67.  
  68.  
  69. class Kapaulio : Stratis
  70. {
  71. scope = private;
  72. description = "Saint Kapaulio";
  73. author = "God Father";
  74. mail = "paul@quantumistic.co.uk";
  75. icon = "\god\Kapaulio\data\saglogo1.paa";
  76. worldName = "god\Kapaulio\Kapaulio.wrp";
  77. pictureMap = "god\Kapaulio\data\Kapauliomap.paa";
  78. pictureShot = "god\Kapaulio\data\Kapaulio.paa";
  79. startTime = 12:00;
  80. startDate = 12/06/2014;
  81. newRoadsShape = "\god\Kapaulio\Data\roads\roads.shp";
  82. mapSize = 20480;
  83. mapZone = 31;
  84. longitude = 30; // positive is east
  85. latitude = -45; // positive is south
  86. clutterGrid = 1.2;
  87. clutterDist = 120;
  88. noDetailDist = 50;
  89. fullDetailDist = 10;
  90. minRocksInRockSquare = 3;
  91. minTreesInForestSquare = 3;
  92. centerPosition[] = {6400, 6400, 0};
  93. seagullPos[] = {6400, 6400, "1e3"};
  94. ilsPosition[] = {0, 0};
  95. ilsDirection[] = {0, 0.08, -1};
  96. drawTaxiway = 0;
  97. startWeather = 0;
  98. startFog = 0;
  99. forecastWeather = 0;
  100. forecastFog = 0;
  101. skyColorInfluencesFogColor = 0;
  102. horizonSunColorationIntensity = "0.001f";
  103. tonemapMethod = 1;
  104. loadingTexts[] = {"Saint Kapaulio was created By the Gods", "Saint Kapaulio was created By the Gods"};
  105. tooltipOwned = "Saint Kapaulio, Unknown";
  106. midDetailTexture = "god\Kapaulio_data\data\mid_range_mco.paa";
  107. //moonObject = "A3\data_f\moon.p3d";
  108. landGrid = 12.5;
  109. enableFootsteps = 1;
  110. enableBloodSplashes = 1;
  111.  
  112. class Names {
  113.  
  114. #include "Kapaulio.hpp"
  115.  
  116. };
  117.  
  118.  
  119. class Clutter : Clutter
  120. {
  121. #include "cfgclutter.hpp"
  122. };
  123.  
  124. class SimulWeather : SimulWeather {};
  125. class EnvMaps : EnvMaps {};
  126. class Grid
  127. {
  128. offsetX = 0;
  129. offsetY = 20480; // Grid * Cell
  130.  
  131. class Zoom1
  132. {
  133. zoomMax = 0.015;
  134. format = "XY";
  135. formatX = "0000";
  136. formatY = "0000";
  137. stepX = 10;
  138. stepY = -10;
  139. };
  140.  
  141. class Zoom2
  142. {
  143. zoomMax = 0.2;
  144. format = "XY";
  145. formatX = "000";
  146. formatY = "000";
  147. stepX = 100;
  148. stepY = -100;
  149. };
  150.  
  151. class Zoom3
  152. {
  153. zoomMax = 0.8;
  154. format = "XY";
  155. formatX = "00";
  156. formatY = "00";
  157. stepX = 1000;
  158. stepY = -1000;
  159. };
  160.  
  161. class Zoom4
  162. {
  163. zoomMax = 1;
  164. format = "XY";
  165. formatX = "0";
  166. formatY = "0";
  167. stepX = 10000;
  168. stepY = -10000;
  169. };
  170. };
  171.  
  172. class Sounds : Sounds{};
  173. class Animation : Animation{};
  174. class Subdivision : Subdivision{};
  175. class AmbientA3 : AmbientA3 {};
  176.  
  177.  
  178. class Sea : Sea
  179. {
  180. seaTexture = "a3\data_f\seatexture_co.paa";
  181. seaMaterial = "#water";
  182. shoreMaterial = "#shore";
  183. shoreFoamMaterial = "#shorefoam";
  184. shoreWetMaterial = "#shorewet";
  185. WaterMapScale = 20;
  186. WaterGrid = 50;
  187. MaxTide = 0;
  188. MaxWave = 0.25;
  189. SeaWaveXScale = "2.0/50";
  190. SeaWaveZScale = "1.0/50";
  191. SeaWaveHScale = 1;
  192. SeaWaveXDuration = 5000;
  193. SeaWaveZDuration = 10000;
  194. };
  195.  
  196. class Underwater : Underwater
  197. {
  198. noWaterFog = -0.001;
  199. fullWaterFog = 0.001;
  200. deepWaterFog = 60;
  201. waterFogDistanceNear = -10;
  202. waterFogDistance = 90;
  203. waterColor[] = {0, 0.04, 0.03};
  204. deepWaterColor[] = {0, 0.001, 0.009};
  205. surfaceColor[] = {0, 0.04, 0.03};
  206. deepSurfaceColor[] = {0, 0.001, 0.009};
  207. };
  208.  
  209. class SeaWaterShaderPars : SeaWaterShaderPars
  210. {
  211. refractionMoveCoef = 0.03;
  212. minWaterOpacity = 0;
  213. waterOpacityDistCoef = 0.4;
  214. underwaterOpacity = 0.5;
  215. waterOpacityFadeStart = 60;
  216. waterOpacityFadeLength = 120;
  217. };
  218.  
  219. class WaterExPars : WaterExPars
  220. {
  221. fogDensity = 0.07;
  222. fogColor[] = {0.03015, 0.07155, 0.09045};
  223. fogColorExtinctionSpeed[] = {0.1814, 0.0159, 0.0111};
  224. ligtExtinctionSpeed[] = {0.1814, 0.0159, 0.0111};
  225. diffuseLigtExtinctionSpeed[] = {0.3814, 0.2159, 0.2111};
  226. fogGradientCoefs[] = {"0.35f", "1.0f", "1.7f"};
  227. fogColorLightInfluence[] = {0.8, 0.2, 1};
  228. shadowIntensity = "0.0f";
  229. ssReflectionStrength = 0.85;
  230. ssReflectionMaxJitter = 1;
  231. ssReflectionRippleInfluence = 0.2;
  232. ssReflectionEdgeFadingCoef = 10;
  233. ssReflectionDistFadingCoef = 4;
  234. refractionMinCoef = 0.03;
  235. refractionMaxCoef = 0.14;
  236. refractionMaxDist = 5.1;
  237. specularMaxIntensity = 100;
  238. specularPowerOvercast0 = 750;
  239. specularPowerOvercast1 = 50;
  240. specularNormalModifyCoef = 0.015;
  241. foamAroundObjectsIntensity = "0.15f";
  242. foamAroundObjectsFadeCoef = "8.0f";
  243. foamColorCoef = "2.0f";
  244. foamDeformationCoef = "0.02f";
  245. foamTextureCoef = "0.2f";
  246. foamTimeMoveSpeed = "0.2f";
  247. foamTimeMoveAmount = "0.1f";
  248. shoreDarkeningMaxCoef = "0.45f";
  249. shoreDarkeningOffset = "0.36f";
  250. shoreDarkeningGradient = "0.08f";
  251. shoreWaveTimeScale = "0.8f";
  252. shoreWaveShifDerivativeOffset = "-0.8f";
  253. shoreFoamIntensity = "0.25f";
  254. shoreMaxWaveHeight = "0.15f";
  255. shoreWetLayerReflectionIntensity = "0.55f";
  256. };
  257.  
  258.  
  259. class HDRNewPars
  260. {
  261. minAperture = 1e-005;
  262. maxAperture = 256;
  263. apertureRatioMax = 4;
  264. apertureRatioMin = 10;
  265. bloomImageScale = 1;
  266. bloomScale = 0.3;
  267. bloomExponent = 1;
  268. bloomLuminanceOffset = 0.8;
  269. bloomLuminanceScale = 1;
  270. bloomLuminanceExponent = 1.2;
  271. tonemapMethod = 2;
  272. tonemapShoulderStrength = 0.22;
  273. tonemapLinearStrength = 0.3;
  274. tonemapLinearAngle = 0.1;
  275. tonemapToeStrength = 0.2;
  276. tonemapToeNumerator = 0.01;
  277. tonemapToeDenominator = 0.3;
  278. tonemapLinearWhite = 11.2;
  279. tonemapExposureBias = 2;
  280. tonemapLinearWhiteReinhard = "2.5f";
  281. nvgApertureMin = 1;
  282. nvgApertureStandard = 7;
  283. nvgApertureMax = 15;
  284. nvgStandardAvgLum = 3;
  285. nvgLightGain = 100;
  286. nvgTransition = 1;
  287. nvgTransitionCoefOn = "40.0f";
  288. nvgTransitionCoefOff = "0.01f";
  289. nightShiftMinAperture = 0;
  290. nightShiftMaxAperture = 0.002;
  291. nightShiftMaxEffect = 0.6;
  292. nightShiftLuminanceScale = 600;
  293. eyeAdaptFactorLight = 0.6;
  294. eyeAdaptFactorDark = 0.2;
  295. };
  296.  
  297. aroundSunCoefMultiplier = "1.0f";
  298. aroundSunCoefExponent = "4.0f";
  299. terrainBlendMaxDarkenCoef = "1.0f";
  300. terrainBlendMaxBrightenCoef = "0.0f";
  301. dynLightMinBrightnessAmbientCoef = 0.5;
  302. dynLightMinBrightnessAbsolute = 0.05;
  303.  
  304.  
  305. class Lighting : Lighting
  306. {
  307. groundReflection[] = {0.132, 0.133, 0.122};
  308. moonObjectColorFull[] = {460, 440, 400, 1};
  309. moonHaloObjectColorFull[] = {465, 477, 475, 1};
  310. moonsetObjectColor[] = {375, 350, 325, 1};
  311. moonsetHaloObjectColor[] = {515, 517, 525, 1};
  312. class ThunderBoltLight {
  313. diffuse[] = {2120, 3170, 5550};
  314. ambient[] = {0.001, 0.001, 0.001};
  315. intensity = 120000;
  316. class Attenuation {
  317. start = 0;
  318. constant = 0;
  319. linear = 0;
  320. quadratic = 1;
  321. };
  322. };
  323. starEmissivity = 40;
  324. };
  325.  
  326. class DayLightingBrightAlmost : DayLightingBrightAlmost
  327. {
  328. 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};
  329. 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};
  330. 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};
  331. 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};
  332. 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};
  333. 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};
  334. 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};
  335. 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};
  336. 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};
  337. };
  338.  
  339. class DayLightingRainy : DayLightingRainy
  340. {
  341. 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};
  342. 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};
  343. 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};
  344. 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};
  345. 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};
  346. 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};
  347. 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};
  348. 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};
  349. };
  350.  
  351. humidityUpCoef = 0.1;
  352. humidityDownCoef = 0.05;
  353. };
  354. };
  355.  
  356. #include "cfgSurfaces.hpp"
  357.  
  358. //#include "lighting.hpp"
  359.  
  360. class CfgWorldList
  361. {
  362. class Kapaulio{};
  363. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement