Advertisement
Guest User

Untitled

a guest
Jan 19th, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.12 KB | None | 0 0
  1. #define TEast 0
  2. #define TWest 1
  3. #define TGuerrila 2
  4. #define TCivilian 3
  5. #define TSideUnknown 4
  6.  
  7. #define true 1
  8. #define false 0
  9.  
  10. // type scope
  11. #define private 0
  12. #define protected 1
  13. #define public 2
  14.  
  15. #define ReadAndWrite 0 //! any modifications enabled
  16. #define ReadAndCreate 1 //! only adding new class members is allowed
  17. #define ReadOnly 2 //! no modifications enabled
  18. #define ReadOnlyVerified 3 //! no modifications enabled, CRC test applied
  19.  
  20. class CfgPatches
  21. {
  22. class Bellview //Look it up here: https://sites.google.com/site/islandconfigs/home
  23. {
  24. units[] = {"Bellview"}; //not sure if it must be filled, as Stratis didn't, but A2 Maps did...
  25. weapons[] = {};
  26. requiredVersion = 0.1;
  27. requiredAddons[] = {"A3_Data_F","A3_Roads_F","A3_Structures_F","A3_Map_Data"};
  28. author = "ARPL Dev Team"; //Author Name (this entry exists twice!)
  29. mail = "austin@armarp.life";
  30. };
  31. };
  32.  
  33. class CfgVehicles
  34. {
  35. };
  36.  
  37. class CfgWorlds
  38. {
  39. class DefaultWorld
  40. {
  41.  
  42. };
  43.  
  44. class MCAWorld : DefaultWorld
  45. {
  46. class Grid {};
  47. class DefaultClutter;
  48. };
  49.  
  50. class Bellview : MCAWorld
  51. {
  52. access = ReadOnlyVerified;
  53. worldId = 26;
  54. cutscenes[] = {};
  55. description = "Bellview";
  56. icon = "";
  57. worldName = "Bellview\Bellview.wrp";
  58. //pictureMap = "A3\Map_TPDemo\data\pictureMap_ca.paa";
  59. //pictureShot = "A3\Map_TPDemo\data\ui_pre02_ca.paa";
  60. plateFormat = "#Z# ## ##";
  61. plateLetters = "ABCDEGHIKLMNOPRSTVXZ";
  62. author = "ARPL Dev Team"; //--- ToDo: Localize
  63. mapSize = 4096; //--- Can differ from mapArea size, as ingame world can be resized
  64. mapZone = 33; //--- UTM zone
  65. mapArea[] = { //--- lon/lat coordinates (not in UTM to assure .kml precision)
  66. -20.267975, 174.002838, //--- Bottom Left
  67. -20.135266, 174.14566, //--- Top Right
  68. };
  69.  
  70. // Kostelany geogprahic coordinates
  71. longitude = 17.395; // positive is east
  72. latitude = -49.209; // positive is south
  73.  
  74. elevationOffset = 0;
  75.  
  76. minHillsAltitude = 200;
  77. maxHillsAltitude = 500; // was 200
  78.  
  79. // Generate Tree & Rock polygons in 2D map
  80. minTreesInForestSquare = 4;
  81. minRocksInRockSquare = 3;
  82.  
  83. // Altis Environmental texture
  84. envTexture = "A3\data_f\env_land_ca.paa";
  85.  
  86. // Setup new roads
  87. newRoadsShape = "A3\Map_TPDemo\data\roads\roads.shp";
  88.  
  89. //OUTSIDE TERRAIN
  90. class OutsideTerrain
  91. {
  92. satellite = "A3\Map_TPDemo\data\s_satout_co.paa";
  93. enableTerrainSynth = true; // outside terrain random generator
  94. class Layers
  95. {
  96. class Layer0
  97. {
  98. nopx = "A3\Map_Data\gdt_concrete_nopx.paa";
  99. texture = "A3\Map_Data\gdt_concrete_co.paa";
  100. };
  101. };
  102. colorOutside[] = { 0.227451, 0.27451, 0.384314, 1 };
  103. };
  104.  
  105. //GRID
  106. class Grid : Grid
  107. {
  108. offsetX = 0;
  109. offsetY = 4096;
  110.  
  111. class Zoom1
  112. {
  113. zoomMax = 0.05;
  114. format = "XY";
  115. formatX = "000";
  116. formatY = "000";
  117. stepX = 100;
  118. stepY = -100;
  119. };
  120. class Zoom2
  121. {
  122. zoomMax = 0.5;
  123. format = "XY";
  124. formatX = "00";
  125. formatY = "00";
  126. stepX = 1000;
  127. stepY = -1000;
  128. };
  129.  
  130. class Zoom3
  131. {
  132. zoomMax = 1e30;
  133. format = "XY";
  134. formatX = "0";
  135. formatY = "0";
  136. stepX = 10000;
  137. stepY = -10000;
  138. };
  139. };
  140.  
  141.  
  142. startTime = 10:00;
  143. startDate = 24 / 6 / 2035;
  144.  
  145. centerPosition[] = { 2000, 2000, 0 };
  146. seagullPos[] = { 1024, 130.000, 1024 };
  147.  
  148. //ILS
  149. //Main airport
  150. ilsPosition[] = { 2048, 2048 };
  151. ilsDirection[] = { -0.2002, 0.080, 0.9798 };
  152. ilsTaxiOff[] = {};
  153. ilsTaxiIn[] = {};
  154. drawTaxiway = false;
  155.  
  156. class SecondaryAirports {};
  157.  
  158.  
  159. class ReplaceObjects {};
  160. class Sounds { sounds[] = {}; };
  161. class Animation { vehicles[] = {}; }; // default - no film
  162.  
  163. //SOUND MAP GRID COEF
  164. soundMapSizeCoef = 4;
  165.  
  166. //SATELLITE NORMAL MAP
  167. satelliteNormalBlendStart = 10; // start of satellite normal texture blending distance with detail normal texture
  168. satelliteNormalBlendEnd = 100; // end of satellite normal texture blending, start of full opacity
  169.  
  170. //NEW SATELLITE VS DETAIL TEXTURE BLENDING SETUP
  171. /// maximal darkening coef for blending of satellite map and detail map on terrain (default = 0.0f, no darkening = 1.0f)
  172. terrainBlendMaxDarkenCoef = 1.0f;
  173. /// maximal brightening coef for blending of satellite map and detail map on terrain (default = 1.0f, no brightening = 0.0f)
  174. terrainBlendMaxBrightenCoef = 0.0f;
  175.  
  176. //CLUTTER DISPLAY
  177. clutterGrid = 1.4; // 1.4;// was 1.11
  178. clutterDist = 250; // 100; //was 125;// how far clutters are visible
  179. noDetailDist = 50;
  180. fullDetailDist = 8;// where ground detail texture is fully visible (begin fading out)
  181.  
  182. midDetailTexture = "A3\Map_TPDemo\Data\L_middle_mco.paa";
  183.  
  184. //CLUTTER
  185. class Clutter
  186. {
  187. #include "cfgClutter.hpp"
  188. };
  189.  
  190. //NAMES
  191. class Names
  192. {
  193. #include "Bellview.hpp"
  194. };
  195.  
  196. //AMBIENT
  197. // Old, class, for back compatibility, in A3 we don't use it anymore
  198. class Ambient
  199. {};
  200.  
  201.  
  202. //Used for random safe position finding.
  203. safePositionAnchor[] = { 2048, 2048 };
  204. safePositionRadius = 100;
  205.  
  206. /*loadingTexts[] =
  207. {
  208. ""
  209. }; */
  210. };
  211. };
  212.  
  213. class CfgWorldList
  214. {
  215. class Bellview {};
  216. };
  217.  
  218. //SURFACES
  219. #include "cfgSurfaces.hpp"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement