Advertisement
Guest User

Untitled

a guest
Jun 19th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.55 KB | None | 0 0
  1. class CfgPatches
  2. {
  3. class irons_tobruk_map
  4. {
  5. units[] = {};
  6. weapons[] = {};
  7. requiredVersion = 0.1;
  8. requiredAddons[] = {"A3_Map_Altis"};
  9. author = "iron_excelsior (No.4 CDO)";
  10. name = "Tobruk, Libya";
  11. url = "http://www.no4commando.com";
  12. };
  13. };
  14. class CfgWorlds
  15. {
  16. class DefaultWorld
  17. {
  18. class DefaultClutter;
  19. };
  20. class CAWorld: DefaultWorld
  21. {
  22. };
  23. class Altis: CAWorld
  24. {
  25. class Grid;
  26. class AmbientA3
  27. {
  28. class Radius440_500;
  29. class Radius40_60;
  30. };
  31. };
  32. class irons_tobruk_map: Altis
  33. {
  34. author = "iron_excelsior (No.4 CDO)";
  35. description = "WW2: Tobruk, Libya 1941";
  36. worldName = "\irons\irons_tobruk_map\irons_tobruk_map.wrp";
  37. previewVideo = "";
  38. startWeather = 0.43;
  39. startFog = 0;
  40. worldId = 1;
  41. minTreesInForestSquare = 2;
  42. longitude=4.740601;
  43. latitude=-49.883403;
  44. pictureMap = "\irons\irons_tobruk_map\data\mapshot.paa";
  45. cutscenes[] = {};
  46.  
  47. mapSize = 10240;
  48.  
  49.  
  50.  
  51. newRoadsShape = "\irons\irons_tobruk_map\data\roads\roads.shp";
  52.  
  53.  
  54. startTime = "9:00";
  55. startDate = "24/6/1941";
  56. centerPosition[] = {0,0,100};
  57. seagullPos[] = {0,150,0};
  58.  
  59. ilsPosition[] = {0,0};
  60. ilsDirection[] = {0,0,0};
  61. ilsTaxiOff[] = {};
  62. ilsTaxiIn[] = {};
  63. drawTaxiway = 0;
  64.  
  65. class OutsideTerrain
  66. {
  67. satellite = "irons\irons_tobruk_map\data\sat_out.paa";
  68. enableTerrainSynth = 0;
  69. class Layers
  70. {
  71. class Layer0
  72. {
  73. nopx = "irons\irons_tobruk_map\data\irons_tobruk_desert_nopx.paa";
  74. texture = "irons\irons_tobruk_map\data\irons_tobruk_desert_co.paa";
  75. };
  76. };
  77. };
  78.  
  79. class SecondaryAirports {};
  80.  
  81. clutterGrid = 1.5;
  82. clutterDist =250;
  83.  
  84. #include "cfgClutter.hpp"
  85.  
  86. class AmbientA3
  87. {
  88. maxCost=500;
  89. class Radius440_500
  90. {
  91. areaSpawnRadius=70;
  92. areaMaxRadius=200;
  93. spawnCircleRadius=30;
  94. spawnInterval=4.6999998;
  95. class Species
  96. {
  97. class Kestrel_random_F
  98. {
  99. maxCircleCount="((1 - night) * 2 * (1 - (WaterDepth interpolate [1,30,0,1])) + (2 * (hills))) * (1 - night)";
  100. maxWorldCount=5;
  101. cost=3;
  102. spawnCount=1;
  103. groupSpawnRadius=10;
  104. maxAlt=200;
  105. minAlt=-10;
  106. };
  107. class Snake_random_F
  108. {
  109. maxCircleCount="(20 * (0.1 - houses)) * (1 - sea)";
  110. maxWorldCount=5;
  111. cost=5;
  112. spawnCount=1;
  113. groupSpawnRadius=10;
  114. maxAlt=80;
  115. minAlt=-5;
  116. };
  117. };
  118. };
  119. class Radius40_60
  120. {
  121. areaSpawnRadius=50;
  122. areaMaxRadius=83;
  123. spawnCircleRadius=10;
  124. spawnInterval=1.5;
  125. class Species
  126. {
  127. class Mackerel_F
  128. {
  129. maxCircleCount="(8 * ((WaterDepth interpolate [1,30,0,1]) + 0.07))";
  130. maxWorldCount=14;
  131. cost=5;
  132. spawnCount=2;
  133. groupSpawnRadius=5;
  134. maxAlt=10;
  135. minAlt=-80;
  136. };
  137. class Mullet_F
  138. {
  139. maxCircleCount="(8 * ((WaterDepth interpolate [1,30,0,1]) + 0.07))";
  140. maxWorldCount=14;
  141. cost=5;
  142. spawnCount=2;
  143. groupSpawnRadius=5;
  144. maxAlt=10;
  145. minAlt=-80;
  146. };
  147. class Tuna_F
  148. {
  149. maxCircleCount="(8 * ((WaterDepth interpolate [1,30,0,1]) - 0.2))";
  150. maxWorldCount=10;
  151. cost=5;
  152. spawnCount=2;
  153. groupSpawnRadius=5;
  154. maxAlt=10;
  155. minAlt=-80;
  156. };
  157. };
  158. };
  159. class Radius30_40
  160. {
  161. areaSpawnRadius=30;
  162. areaMaxRadius=40;
  163. spawnCircleRadius=3;
  164. spawnInterval=3.75;
  165. class Species
  166. {
  167. class DragonFly
  168. {
  169. maxCircleCount="4 * (1 - night) * (1 - (WaterDepth interpolate [1,30,0,1])) * sea * (1 - windy)";
  170. maxWorldCount=4;
  171. cost=1;
  172. spawnCount=1;
  173. groupSpawnRadius=1;
  174. maxAlt=30;
  175. minAlt=-5;
  176. };
  177. class ButterFly_random
  178. {
  179. maxCircleCount="3 * (1 - night) * (1 - (WaterDepth interpolate [1,30,0,1])) * (1 - windy)";
  180. maxWorldCount=6;
  181. cost=1;
  182. spawnCount=3;
  183. groupSpawnRadius=1;
  184. maxAlt=30;
  185. minAlt=-5;
  186. };
  187. class FireFly
  188. {
  189. maxCircleCount="(6 * night) * (1 - sea) * (1 - houses) * (1 - windy)";
  190. maxWorldCount=20;
  191. cost=1;
  192. spawnCount=3;
  193. groupSpawnRadius=3;
  194. maxAlt=30;
  195. minAlt=-5;
  196. };
  197. class Cicada
  198. {
  199. maxCircleCount="(4 * night) * (1 - sea) * (1 - windy)";
  200. maxWorldCount=6;
  201. cost=1;
  202. spawnCount=3;
  203. groupSpawnRadius=3;
  204. maxAlt=30;
  205. minAlt=-5;
  206. };
  207. };
  208. };
  209. class Radius15_20
  210. {
  211. areaSpawnRadius=15;
  212. areaMaxRadius=20;
  213. spawnCircleRadius=2;
  214. spawnInterval=2.8499999;
  215. class Species
  216. {
  217. class FxWindGrass1
  218. {
  219. maxCircleCount="2 * (1 - (WaterDepth interpolate [1,30,0,1])) * (windy interpolate [0.1,0.25,0,1])";
  220. maxWorldCount=3;
  221. cost=1;
  222. spawnCount=3;
  223. groupSpawnRadius=2.5;
  224. maxAlt=30;
  225. minAlt=-5;
  226. };
  227. class FxWindGrass2
  228. {
  229. maxCircleCount="2 * (1 - (WaterDepth interpolate [1,30,0,1])) * (windy interpolate [0.1,0.25,0,1])";
  230. maxWorldCount=3;
  231. cost=1;
  232. spawnCount=3;
  233. groupSpawnRadius=2.5;
  234. maxAlt=30;
  235. minAlt=-5;
  236. };
  237. class FxWindLeaf1
  238. {
  239. maxCircleCount="2 * (trees + 0.5) * (windy interpolate [0.1,0.25,0,1])";
  240. maxWorldCount=3;
  241. cost=1;
  242. spawnCount=3;
  243. groupSpawnRadius=2.5;
  244. maxAlt=30;
  245. minAlt=-5;
  246. };
  247. class FxWindLeaf2
  248. {
  249. maxCircleCount="2 * (trees + 0.5) * (windy interpolate [0.1,0.25,0,1])";
  250. maxWorldCount=3;
  251. cost=1;
  252. spawnCount=3;
  253. groupSpawnRadius=2.5;
  254. maxAlt=30;
  255. minAlt=-5;
  256. };
  257. class FxWindLeaf3
  258. {
  259. maxCircleCount="2 * (trees + 0.5) * (windy interpolate [0.1,0.25,0,1])";
  260. maxWorldCount=3;
  261. cost=1;
  262. spawnCount=3;
  263. groupSpawnRadius=2.5;
  264. maxAlt=30;
  265. minAlt=-5;
  266. };
  267. class FxWindPollen1
  268. {
  269. maxCircleCount="(3 * (1 - (WaterDepth interpolate [1,30,0,1]))) * (windy interpolate [0.05,0.15,0,1])";
  270. maxWorldCount=6;
  271. cost=1;
  272. spawnCount=1;
  273. groupSpawnRadius=1;
  274. maxAlt=30;
  275. minAlt=-5;
  276. };
  277. class FxWindPaper1
  278. {
  279. maxCircleCount="(4 * (1 - (WaterDepth interpolate [1,30,0,1])) * houses) * windy";
  280. maxWorldCount=2;
  281. cost=1;
  282. spawnCount=1;
  283. groupSpawnRadius=1;
  284. maxAlt=30;
  285. minAlt=-5;
  286. };
  287. class FxWindPlastic1
  288. {
  289. maxCircleCount="(4 * (1 - (WaterDepth interpolate [1,30,0,1])) * houses) * windy";
  290. maxWorldCount=2;
  291. cost=1;
  292. spawnCount=1;
  293. groupSpawnRadius=1;
  294. maxAlt=30;
  295. minAlt=-5;
  296. };
  297. };
  298. };
  299. class Radius6_10
  300. {
  301. areaSpawnRadius=6;
  302. areaMaxRadius=10;
  303. spawnCircleRadius=1;
  304. spawnInterval=0.1;
  305. class Species
  306. {
  307. class HoneyBee
  308. {
  309. maxCircleCount="4 * (1 - night) * (1 - sea) * (1 - houses) * (1 - windy)";
  310. maxWorldCount=8;
  311. cost=1;
  312. spawnCount=1;
  313. groupSpawnRadius=1;
  314. maxAlt=30;
  315. minAlt=-5;
  316. };
  317. class HouseFly
  318. {
  319. maxCircleCount="(3 + 3 * (houses)) * (1 - night) * (1 - (WaterDepth interpolate [1,30,0,1])) * (1 - windy)";
  320. maxWorldCount=10;
  321. cost=1;
  322. spawnCount=3;
  323. groupSpawnRadius=1;
  324. maxAlt=30;
  325. minAlt=-5;
  326. };
  327. class Mosquito
  328. {
  329. maxCircleCount="3 * (1 - (WaterDepth interpolate [1,30,0,1])) * (1 - windy)";
  330. maxWorldCount=2;
  331. cost=1;
  332. spawnCount=1;
  333. groupSpawnRadius=1;
  334. maxAlt=30;
  335. minAlt=-5;
  336. };
  337. };
  338. };
  339. };
  340.  
  341. class Names
  342. {
  343. #include "irons_tobruk_map.hpp"
  344. };
  345. loadingTexts[] = {"At the start of the German's african campaign, Rommel tried and failed many times to seize the port of Tobruk.","Tobruk is situated on the Mediterranean coast of Libya.","In the 'Siege of Tobruk' the majority of the garrison at the time were ANZAC troops.","Once Tobruk was captured in 1942, by the 'Deutches Afrika Korps', it then led to the German advance towards Egypt.","During the initial phase of 'Operation Crusader', the besieged garrison of Tobruk was planned to break out and meet the advancing XXX corps towards the south around 'El Adem'. The attempt failed due to the superior tactics used by the opposing German force.","'The Battle for Tobruk' in January of 1941 was a major success for the British and Australians in North Africa. 27,000 Italian personel were captured as a result and 200 artillery pieces became Australian posessions."};
  346. };
  347. };
  348. class CfgWorldList
  349. {
  350. class irons_tobruk_map{};
  351. };
  352. #include "cfgSurfaces.hpp"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement