Advertisement
Guest User

Fav-config

a guest
Jan 25th, 2014
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.15 KB | None | 0 0
  1. class CfgPatches
  2. {
  3. class favslev25
  4. {
  5. units[] = {favslev25};
  6. weapons[] = {};
  7. requiredVersion = 1.03;
  8. requiredAddons[] = {};
  9. version = "2013-1-23";
  10. fileName = "favslev25.pbo";
  11. author = "MugAben";
  12. mail = "-";
  13. };
  14. };
  15. class UTM
  16. {
  17. west = 516664;
  18. south = 6120943;
  19. zone = 32;
  20. hemisphere = "N";
  21. };
  22. class CfgWorlds
  23. {
  24. class CAWorld;
  25. class Utes: CAWorld
  26. {
  27. class Grid;
  28. class DayLightingBrightAlmost;
  29. class DayLightingRainy;
  30. class DefaultClutter;
  31.  
  32. };
  33. class DefaultLighting;
  34. class favslev25: Utes
  35. {
  36. description = "Favslev 3.0 A1";
  37. worldName= "MP\favslev25\favslev25.wrp";
  38. icon = "\MP\favslev25\data\icon\icon.paa";
  39. pictureShot = "MP\favslev25\data\ui_selectisland_MP_ca.paa";
  40. startWeather = 0.3;
  41. startFog = 0.2;
  42. forecastWeather = 0.3;
  43. forecastFog = 0.2;
  44. seagullPos[] = {2977,50,3000};
  45. centerPosition[] = {2977,3000};
  46. clutterGrid = 1.0;
  47. clutterDist = 125;
  48. noDetailDist = 40;
  49. fullDetailDist = 15;
  50. longitude = 9.26205; // positive is east, in degrees?
  51. latitude = -55.234725; // positive is south, in degrees?
  52. minTreesInForestSquare = 5;
  53. minRocksInRockSquare = 3;
  54.  
  55. ilsPosition[] = {7320.7,1118.3};
  56. ilsDirection[] = {1.0, 0.08, 0.0};
  57. ilsTaxiIn[] = {7280,506,7317,526,7342,532,7400,527,7481,499,7563,479,7617,489,7658,500,7686,520,7709,557,7711,593,7697,637,7667,689,7584,833,7583,1117,7435,1119,7300,1120,7170,1120};
  58. ilsTaxiOff[] = {7015,1120,6757,1119,6282,1119,5684,1120,5119,1124,5118,876,5883,874,6738,873,6758,833,6963,474,6996,442,7039,423,7092,416,7133,426,7208,467,7263,462};
  59. drawTaxiway = 0;
  60.  
  61. class SecondaryAirports {
  62. class Petersen {
  63. ilsPosition[] = {7820.0,6076.7};
  64. ilsDirection[] = {-0.0953302, 0.105,0.995446};
  65. ilsTaxiIn[] = {7714,6117,7722,6156,7739,6189,7786,6196,7806,6182,7812,6163,7815,6127,7816,6116};
  66. ilsTaxiOff[] = {7814,6139,7827,6003,7850,5770,7874,5523,7900,5247,7844,5258,7824,5497,7783,5556,7756,5637,7716,5993,7675,6069};
  67. drawTaxiway = 1;
  68. };
  69. };
  70.  
  71. class OutsideTerrain
  72. {
  73. satellite = "ca\CHERNARUS\data\s_satout_co.paa";
  74. enableTerrainSynth = 1;
  75. class Layers
  76. {
  77. class Layer0
  78. {
  79. nopx = "ca\CHERNARUS\data\cr_trava1_detail_nopx.paa";
  80. texture = "ca\CHERNARUS\data\cr_trava1_detail_co.paa";
  81. };
  82. };
  83. };
  84. class Lighting: DefaultLighting
  85. {
  86. groundReflection[] = {0.06,0.06,0.03};
  87. };
  88. class DayLightingBrightAlmost: DayLightingBrightAlmost
  89. {
  90. deepNight[] = {-15,
  91. { 0.05,0.05,0.06 },
  92. { 0.001,0.001,0.002 },
  93. { 0.02,0.02,0.05 },
  94. { 0.003,0.003,0.003 },
  95. { 0.0001,0.0001,0.0002 },
  96. { 0.0001,0.0001,0.0002 },0};
  97. fullNight[] = {-5,
  98. { 0.05,0.05,0.05 },
  99. { 0.02,0.02,0.02 },
  100. { 0.04,0.04,0.04 },
  101. { 0.04,0.04,0.04 },
  102. { 0.01,0.01,0.02 },
  103. { 0.08,0.06,0.06 },0};
  104. sunMoon[] = {-3.75,
  105. { 0.045,0.04,0.04 },
  106. { 0.04,0.04,0.04 },
  107. { 0.045,0.04,0.04 },
  108. { 0.04,0.04,0.04 },
  109. { 0.04,0.035,0.04 },
  110. { 0.1,0.08,0.09 },0.5};
  111. earlySun[] = {-2.5,
  112. { 0.12,0.1,0.1 },
  113. { 0.08,0.06,0.07 },
  114. { 0.12,0.1,0.1 },
  115. { 0.08,0.06,0.07 },
  116. { 0.08,0.07,0.08 },
  117. { 0.1,0.1,0.12 },1};
  118. sunrise[] = {0,
  119. {
  120. { 0.7,0.45,0.45 },"5.16+(-4)" },
  121. {
  122. { 0.07,0.09,0.12 },"4.0+(-4)" },
  123. {
  124. { 0.6,0.47,0.25 },"4.66+(-4)" },
  125. {
  126. { 0.1,0.09,0.1 },"4.3+(-4)" },
  127. {
  128. { 0.5,0.4,0.4 },"6.49+(-4)" },
  129. {
  130. { 0.88,0.51,0.24 },"8.39+(-4)" },1};
  131. earlyMorning[] = {5,
  132. {
  133. { 0.65,0.55,0.55 },"6.04+(-4)" },
  134. {
  135. { 0.08,0.09,0.11 },"4.5+(-4)" },
  136. {
  137. { 0.55,0.47,0.25 },"5.54+(-4)" },
  138. {
  139. { 0.1,0.09,0.1 },"5.02+(-4)" },
  140. {
  141. { 0.5,0.4,0.4 },"7.05+(-4)" },
  142. {
  143. { 0.88,0.51,0.24 },"8.88+(-4)" },1};
  144. midMorning[] = {15,
  145. {
  146. { 0.98,0.85,0.8 },"8.37+(-4)" },
  147. {
  148. { 0.08,0.09,0.11 },"6.42+(-4)" },
  149. {
  150. { 0.87,0.47,0.25 },"7.87+(-4)" },
  151. {
  152. { 0.09,0.09,0.1 },"6.89+(-4)" },
  153. {
  154. { 0.5,0.4,0.4 },"8.9+(-4)" },
  155. {
  156. { 0.88,0.51,0.24 },"10.88+(-4)" },1};
  157. morning[] = {25,
  158. {
  159. { 1,1,0.9 },"13.17+(-4)" },
  160. {
  161. { 0.17,0.18,0.19 },"10.26+(-4)" },
  162. {
  163. { 1,1,0.9 },"12.67+(-4)" },
  164. {
  165. { 0.17,0.18,0.19 },"11.71+(-4)" },
  166. {
  167. { 0.15,0.15,0.15 },"12.42+(-4)" },
  168. {
  169. { 0.17,0.17,0.15 },"14.42+(-4)" },1};
  170. noon[] = {45,
  171. {
  172. { 1,1,1 },"17+(-4)" },
  173. {
  174. { 1,1.3,1.55 },"13.5+(-4)" },
  175. {
  176. { 1,1,1 },"15+(-4)" },
  177. {
  178. { 0.36,0.37,0.38 },"13.5+(-4)" },
  179. {
  180. { 1,1,1 },"16+(-4)" },
  181. {
  182. { 1.0,1.0,1 },"17+(-4)" },1};
  183. };
  184. class DayLightingRainy: DayLightingRainy
  185. {
  186. deepNight[] = {-15,
  187. { 0.0034,0.0034,0.004 },
  188. { 0.003,0.003,0.003 },
  189. { 0.0034,0.0034,0.004 },
  190. { 0.003,0.003,0.003 },
  191. { 0.001,0.001,0.002 },
  192. { 0.001,0.001,0.002 },0};
  193. fullNight[] = {-5,
  194. { 0.023,0.023,0.023 },
  195. { 0.02,0.02,0.02 },
  196. { 0.023,0.023,0.023 },
  197. { 0.02,0.02,0.02 },
  198. { 0.01,0.01,0.02 },
  199. { 0.08,0.06,0.06 },0};
  200. sunMoon[] = {-3.75,
  201. { 0.04,0.04,0.05 },
  202. { 0.04,0.04,0.05 },
  203. { 0.04,0.04,0.05 },
  204. { 0.04,0.04,0.05 },
  205. { 0.04,0.035,0.04 },
  206. { 0.11,0.08,0.09 },0.5};
  207. earlySun[] = {-2.5,
  208. { 0.0689,0.0689,0.0804 },
  209. { 0.06,0.06,0.07 },
  210. { 0.0689,0.0689,0.0804 },
  211. { 0.06,0.06,0.07 },
  212. { 0.08,0.07,0.08 },
  213. { 0.14,0.1,0.12 },0.5};
  214. earlyMorning[] = {0,
  215. {
  216. { 1,1,1 },"(-4)+3.95" },
  217. {
  218. { 1,1,1 },"(-4)+3.0" },
  219. {
  220. { 1,1,1 },"(-4)+3.95" },
  221. {
  222. { 1,1,1 },"(-4)+3.0" },
  223. {
  224. { 1,1,1 },"(-4)+4" },
  225. {
  226. { 1,1,1 },"(-4)+5.5" },1};
  227. morning[] = {5,
  228. {
  229. { 1,1,1 },"(-4)+5.7" },
  230. {
  231. { 1,1,1 },"(-4)+4.5" },
  232. {
  233. { 1,1,1 },"(-4)+5.7" },
  234. {
  235. { 1,1,1 },"(-4)+4.5" },
  236. {
  237. { 1,1,1 },"(-4)+7" },
  238. {
  239. { 1,1,1 },"(-4)+8" },1};
  240. lateMorning[] = {25,
  241. {
  242. { 1,1,1 },"(-4)+10.45" },
  243. {
  244. { 1,1,1 },"(-4)+9.75" },
  245. {
  246. { 1,1,1 },"(-4)+10.45" },
  247. {
  248. { 1,1,1 },"(-4)+9.75" },
  249. {
  250. { 1,1,1 },"(-4)+12" },
  251. {
  252. { 1,1,1 },"(-4)+12.75" },1};
  253. noon[] = {70,
  254. {
  255. { 1,1,1 },"(-4)+12.5" },
  256. {
  257. { 1,1,1 },"(-4)+11" },
  258. {
  259. { 1,1,1 },"(-4)+12" },
  260. {
  261. { 1,1,1 },"(-4)+11" },
  262. {
  263. { 1,1,1 },"(-4)+13.5" },
  264. {
  265. { 1,1,1 },"(-4)+14" },1};
  266. };
  267.  
  268. class Grid: Grid
  269. {
  270. offsetX = -700000.0;
  271. offsetY = 5.1e+006;
  272. class Zoom1
  273. {
  274. zoomMax = 0.02;
  275. format = "XY";
  276. formatX = "0000";
  277. formatY = "0000";
  278. stepX = 10;
  279. stepY = -10;
  280. };
  281. class Zoom2
  282. {
  283. zoomMax = 0.15;
  284. format = "XY";
  285. formatX = "000";
  286. formatY = "000";
  287. stepX = 100;
  288. stepY = -100;
  289. };
  290. class Zoom3
  291. {
  292. zoomMax = 0.85;
  293. format = "XY";
  294. formatX = "00";
  295. formatY = "00";
  296. stepX = 1000;
  297. stepY = -1000;
  298. };
  299. class Zoom4
  300. {
  301. zoomMax = 1e+030;
  302. format = "XY";
  303. formatX = "0";
  304. formatY = "0";
  305. stepX = 10000;
  306. stepY = -10000;
  307. };
  308. };
  309. class Ambient
  310. {
  311. class Mammals
  312. {
  313. radius = 200;
  314. cost = "(1 + forest + trees) * (0.5 + (0.5 * night)) * (1 - sea) * (1 - houses)";
  315. class Species
  316. {
  317. class Rabbit
  318. {
  319. probability = 0.3;
  320. cost = 1;
  321. };
  322. };
  323. };
  324. class Birds
  325. {
  326. radius = 170;
  327. cost = "(1 - night) * ((1 + (3 * sea)) - (2 * rain))";
  328. class Species
  329. {
  330. class Crow
  331. {
  332. probability = 0.4;
  333. cost = 1;
  334. };
  335. };
  336. };
  337. class BigInsects
  338. {
  339. radius = 20;
  340. cost = "(5 - (2 * houses)) * (1 - night) * (1 - rain) * (1 - sea) * (1 - windy)";
  341. class Species
  342. {
  343. class DragonFly
  344. {
  345. probability = "0.6 - (meadow * 0.5) + (forest * 0.4)";
  346. cost = 1;
  347. };
  348. class ButterFly
  349. {
  350. probability = "0.4 + (meadow * 0.5) - (forest * 0.6)";
  351. cost = 1;
  352. };
  353. };
  354. };
  355. class SmallInsects
  356. {
  357. radius = 3;
  358. cost = "(12 - 8 * hills) * (1 - night) * (1 - rain) * (1 - sea) * (1 - windy)";
  359. class Species
  360. {
  361. class HouseFly
  362. {
  363. probability = "deadBody + (1 - deadBody) * (0.4 - forest * 0.1 - meadow * 0.2)";
  364. cost = 1;
  365. };
  366. class HoneyBee
  367. {
  368. probability = "(1 - deadBody) * (0.6 - forest * 0.1 + meadow * 0.2)";
  369. cost = 1;
  370. };
  371. class Mosquito
  372. {
  373. probability = "(1 - deadBody) * (0.5 * forest)";
  374. cost = 1;
  375. };
  376. };
  377. };
  378. class NightInsects
  379. {
  380. radius = 3;
  381. cost = "(9 - 8 * hills) * night * (1 - rain) * (1 - sea) * (1 - windy)";
  382. class Species
  383. {
  384. class Mosquito
  385. {
  386. probability = 1;
  387. cost = 1;
  388. };
  389. };
  390. };
  391. };
  392.  
  393. class Clutter
  394. {
  395. #include "cfgClutter.hpp"
  396. };
  397. class Names
  398. {
  399. #include "favslev25.hpp"
  400. };
  401. };
  402. };
  403.  
  404. class CfgWorldList
  405. {
  406. class favslev25 {};
  407. };
  408.  
  409. class CfgMissions
  410. {
  411. class Cutscenes
  412. {
  413. class favslev25intro
  414. {
  415. directory = "MP\favslev25\data\scenes\Intro.favslev25";
  416. };
  417. };
  418. };
  419.  
  420. //SURFACES
  421. #include "cfgSurfaces.hpp"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement