Advertisement
Guest User

Untitled

a guest
Oct 21st, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.43 KB | None | 0 0
  1. #define false 0
  2. #define true !false
  3.  
  4. class CfgPatches
  5. {
  6. class opx_terra1
  7. {
  8. units[] = {};
  9. weapons[] = {};
  10. requiredVersion = 1;
  11. requiredAddons[] =
  12. {
  13. "A3_Map_Stratis"
  14. };
  15. };
  16. };
  17.  
  18. class CfgWorldList
  19. {
  20. class opx_terra1{};
  21. };
  22.  
  23. class CfgWorlds
  24. {
  25. class DefaultWorld
  26. {
  27.  
  28. class Weather
  29. {
  30. class Overcast;
  31. };
  32. class WaterExPars;
  33. };
  34. class CAWorld: DefaultWorld
  35. {
  36.  
  37. class Grid;
  38. class DayLightingBrightAlmost;
  39. class DayLightingRainy;
  40. class DefaultClutter;
  41. class Weather: Weather
  42. {
  43. class Lighting;
  44. class Overcast: Overcast
  45. {
  46. class Weather1;
  47. class Weather2;
  48. class Weather3;
  49. class Weather4;
  50. class Weather5;
  51. class Weather6;
  52. };
  53. };
  54. };
  55. class DefaultLighting;
  56.  
  57. class Stratis : CAWorld
  58. {
  59. class DefaultKeyframe;
  60. class Grid;
  61. class DayLightingBrightAlmost;
  62. class DayLightingRainy;
  63. class DefaultClutter;
  64. class Weather: Weather
  65. {
  66. class Lighting;
  67. class LightingNew;
  68. class Overcast: Overcast
  69. {
  70. class Weather1;
  71. class Weather2;
  72. class Weather3;
  73. class Weather4;
  74. class Weather5;
  75. class Weather6;
  76. };
  77. };
  78. };
  79.  
  80.  
  81. class opx_terra1: Stratis
  82. {
  83. cutscenes[] = {};
  84. description = "Terra 1";
  85. worldName = "\opx\opx_terra1\opx_terra1.wrp";
  86. author = "Opteryx";
  87. pictureMap = "";
  88. pictureShot = "";
  89. hazeDistCoef=0.1;
  90. hazeFogCoef=0.58;
  91. hazeBaseHeight=0;
  92. hazeBaseBeta0=7.9999998e-005; //8e-005
  93. hazeDensityDecay=0.001;
  94.  
  95.  
  96. class Weather: Weather
  97. {
  98. class Overcast: Overcast
  99. {
  100. class Weather5: Weather5
  101. {
  102. overcast = 0.8;
  103. cloudiness = 0.8;
  104. diffusivity = 0.01;
  105. extinction = 4.3;
  106. cloudBaseKm = 2.9;
  107. cloudHeightKm = 8;
  108. seqFileKeyframe = 4;
  109. cloudDiffuse = 0.95;
  110. };
  111. class Weather6: Weather6
  112. {
  113. overcast = 1;
  114. cloudiness = 1;
  115. diffusivity = 0.001;
  116. extinction = 4;
  117. cloudBaseKm = 2.7;
  118. cloudHeightKm = 10;
  119. seqFileKeyframe = 4;
  120. cloudDiffuse = 0.95;
  121. };
  122. };
  123. };
  124.  
  125. class SimulWeather
  126. {
  127. noiseTexture = "a3\data_f\noise_raw.paa";
  128. numKeyframesPerDay = 48;
  129. windSpeedCoef = "10.0f";
  130. moonIrradianceCoef = "10.0f";
  131. fadeMaxDistanceKm = 1000;
  132. fadeMaxAltitudeKm = 15;
  133. fadeNumAltitudes = 8;
  134. fadeNumElevations = 8;
  135. fadeNumDistances = 8;
  136. fadeEarthTest = 1;
  137. autoBrightness = 1;
  138. autoBrightnessStrength = 0.1;
  139. cloudGridWidth = 64;
  140. cloudGridLength = 64;
  141. cloudGridHeight = 16;
  142. helperGridElevationSteps = 24;
  143. helperGridAzimuthSteps = 15;
  144. helperEffectiveEarthRadius = 1000000;
  145. helperCurvedEarth = 1;
  146. helperAdjustCurvature = 0;
  147. helperNumLayers = 120;
  148. helperMaxDistance = 160000;
  149. helperNearCloudFade = 0.1;
  150. helperChurn = 10;
  151. cloudWidth = 40000;
  152. cloudLength = 40000;
  153. wrapClouds = 1;
  154. noiseResolution = 8;
  155. noisePeriod = 4;
  156. opticalDensity = 1.5;
  157. alphaSharpness = 1;
  158. selfShadowScale = 0.001;
  159. mieAsymmetry = 0.1;
  160. minimumLightElevationDegrees = 6;
  161. directLightCoef = 1;
  162. indirectLightCoef = 0.04;
  163. fogStart = 0;
  164. fogEnd = 70000;
  165. fogHeight = 2000;
  166. class DefaultKeyframe
  167. {
  168. rayleigh[] = {0.00749,0.01388,0.02878};
  169. mie[] = {0.0046,0.0046,0.0046};
  170. haze = 30;
  171. hazeBaseKm = 5;
  172. hazeScaleKm = 1;
  173. hazeEccentricity = 1;
  174. brightnessAdjustment = 1;
  175. cloudiness = 0.5;
  176. cloudBaseKm = 4.8;
  177. cloudHeightKm = 7;
  178. directLight = 1;
  179. indirectLight = 1;
  180. ambientLight = 1;
  181. noiseOctaves = 3;
  182. noisePersistence = 0.5;
  183. fractalAmplitude = 1.4;
  184. fractalWavelength = 120;
  185. extinction = 1.7;
  186. diffusivity = 0.05;
  187. };
  188. class Overcast
  189. {
  190. class Weather5: Weather5
  191. {
  192. overcast = 0.8;
  193. cloudiness = 0.8;
  194. diffusivity = 0.01;
  195. extinction = 4.3;
  196. cloudBaseKm = 2.9;
  197. cloudHeightKm = 8;
  198. seqFileKeyframe = 4;
  199. cloudDiffuse = 0.95;
  200. };
  201. class Weather6: Weather6
  202. {
  203. overcast = 1;
  204. cloudiness = 1;
  205. diffusivity = 0.001;
  206. extinction = 4;
  207. cloudBaseKm = 2.7;
  208. cloudHeightKm = 10;
  209. seqFileKeyframe = 4;
  210. cloudDiffuse = 0.95;
  211. };
  212. };
  213. };
  214.  
  215. terrainBlendMaxDarkenCoef = 0.85f;
  216. terrainBlendMaxBrightenCoef = 0.15f;
  217.  
  218. maxClutterColoringCoef = 1.35f;
  219. interpolateClutterColoring = true;
  220. clutterColoringFarCoef = 5.0f;
  221. clutterColoringFarStart = 20.0f;
  222. clutterColoringFarSpeed = 1.0f;
  223.  
  224. class DefaultClutter;
  225. newRoadsShape = "";
  226. loadingTexts[] = {"This is a concept map"};
  227. clutterGrid = 1.5;
  228. clutterDist = 125;
  229. noDetailDist = 65;
  230. fullDetailDist = 15;
  231. midDetailTexture = "opx\opx_terra1\data\middle_mco.paa";
  232.  
  233. class OutsideTerrain
  234. {
  235. satellite = "opx\opx_terra1\data\s_satout_co.paa";
  236. enableTerrainSynth = 1;
  237. class Layers
  238. {
  239. class Layer0
  240. {
  241. nopx = "opx\opx_terra1\data\ter1_tex4_nopx.paa";
  242. texture = "opx\opx_terra1\data\ter1_tex4_co.paa";
  243. };
  244. };
  245. colorOutside[] = {0.227451,0.27451,0.384314,1};
  246. };
  247.  
  248. centerPosition[] =
  249. {
  250. 2560, 2560
  251. };
  252. ilsDirection[] =
  253. {
  254. 0, 0.08, 1
  255. };
  256. ilsPosition[] =
  257. {
  258. 0, 0
  259. };
  260. ilsTaxiIn[] = {};
  261. ilsTaxiOff[] = {};
  262. drawTaxiway = false;
  263. class SecondaryAirports{};
  264. class ReplaceObjects{};
  265.  
  266. class Sounds
  267. {
  268. sounds[] = {};
  269. };
  270.  
  271. class Animation
  272. {
  273. vehicles[] = {};
  274. };
  275.  
  276. minTreesInForestSquare = 2;
  277. minRocksInRockSquare = 2;
  278.  
  279. class Subdivision{};
  280. #include "cfgClutter.hpp"
  281.  
  282. class Names
  283. {
  284. #include "opx_terra1.hpp"
  285. };
  286. };
  287. };
  288.  
  289.  
  290. //SURFACES
  291. #include "cfgSurfaces.hpp"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement