Guest User

Untitled

a guest
Aug 1st, 2013
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.61 KB | None | 0 0
  1. Quote01.08.2013 14:02:21: pipka () a73b710c4e5f47a182e4f10946ed7681 - #0 "ame = (uinamespace getvariable "BIS_RscMiniMap") displayCtrl 101000;
  2. _mm_w = 0.35;
  3. _mm_h = 0.301;
  4.  
  5. moptions =
  6. {
  7. mapopt =
  8. [
  9. ["""
  10. 01.08.2013 14:02:21: pipka () a73b710c4e5f47a182e4f10946ed7681 - #24 " -5, [["expression", "uvb = !uvb;"]], "1", "1"]
  11. ];
  12. showCommandingMenu "#USER:mapopt";
  13. };
  14.  
  15.  
  16.  
  17. if (isnil "mapm") then
  18. {
  19. if (maut"
  20. 01.08.2013 14:02:21: pipka () a73b710c4e5f47a182e4f10946ed7681 - #32 "
  21. {
  22. private ["_pos", "_mkr"];
  23. _pos = getPos _x;
  24.  
  25. _mkr = createMarkerLocal [format ["AML%1%2", _pos select 0, _pos select 1], ["
  26. 01.08.2013 14:02:21: pipka () a73b710c4e5f47a182e4f10946ed7681 - #39 "
  27. _pos = _this select 0;
  28. if tpa then {_dummyveh = "PBX" createVehicleLocal [_pos select 0, _pos select 1];player moveInDriver _du"
  29. 01.08.2013 14:02:21: pipka () a73b710c4e5f47a182e4f10946ed7681 - #41 "map ctrlsetposition [_mm_x, _mm_y, _mm_w, _mm_h];
  30. _minimap ctrlcommit 0.01;
  31. };
  32. titleText ["Adding map markers...","PLAIN DOWN"];"
  33. 01.08.2013 14:02:21: pipka () a73b710c4e5f47a182e4f10946ed7681 - #45 "ers...","PLAIN DOWN"];titleFadeOut 2;
  34. _mapdraw = _map ctrlSetEventHandler ["Draw", "_this call drawic;"];
  35. _minimapdraw = _minima"
  36. 01.08.2013 14:02:21: pipka () a73b710c4e5f47a182e4f10946ed7681 - #47 ""TentStorage"],mapscanrad];
  37.  
  38. if mgpsm then
  39. {
  40. _minimap_frame ctrlShow false;
  41.  
  42.  
  43.  
  44.  
  45. _mm_x = (SafeZoneW + SafeZoneX) - (1 - 0.555"
  46. 01.08.2013 14:02:21: pipka () a73b710c4e5f47a182e4f10946ed7681 - #61 "ct 0) + 20, getPos _u select 1, 0]);
  47. sleep 0.01;
  48. };
  49. deleteMarkerLocal _m;
  50. if (_u in aList) then
  51. {
  52. aList set [(aList find _"
  53. 01.08.2013 14:02:21: pipka () a73b710c4e5f47a182e4f10946ed7681 - #69 "eateVehicleLocal [_pos select 0, _pos select 1];player moveInDriver _dummyveh;deleteVehicle _dummyveh;}
  54. else {(vehicle player) s"
  55. 01.08.2013 14:02:21: pipka () a73b710c4e5f47a182e4f10946ed7681 - #75 "ntities "Air" + Entities"Ship");
  56.  
  57. {
  58. if ((!isnull _x) and (getPlayerUID _x != "") and !(vehicle _x != _x)) then
  59. {
  60. if (_x == pla"
  61. 01.08.2013 14:02:21: pipka () a73b710c4e5f47a182e4f10946ed7681 - #120 ";};"];
  62. };
  63.  
  64. sleep 0.1;
  65.  
  66. }
  67. else
  68. {
  69. mapm = nil;
  70. _map ctrlremoveeventhandler ["Draw", _mapdraw];
  71. (findDisplay 46) displayRemoveEven"
  72. 01.08.2013 14:02:21: pipka () a73b710c4e5f47a182e4f10946ed7681 - #149 "t 1], [(_pos select 0) + 20, _pos select 1, 0]];
  73. _mkr setMarkerTypeLocal "waypoint";
  74. _mkr setMarkerSizeLocal [0,0];
  75. _mkr setM"
  76. 01.08.2013 14:02:21: pipka () a73b710c4e5f47a182e4f10946ed7681 - #181 "(!isnil "mapm") then
  77. {
  78.  
  79. start_time = diag_tickTime;
  80.  
  81. if ((visiblemap) and (tpe))then
  82. {
  83. onMapSingleClick "[_pos, _alt] call por"
  84. 01.08.2013 14:02:21: pipka () a73b710c4e5f47a182e4f10946ed7681 - #183 "{if (!isnull _x) then {_ctrl drawIcon ["\ca\ui\data\markers\waypoint.paa", tmc, getPosASL _x, 30, 30, 0, "", 1];};} foreach tent"
  85. 01.08.2013 14:02:21: pipka () a73b710c4e5f47a182e4f10946ed7681 - #195 "t 1) and (tpe)) then
  86. {
  87. _pos = _this select 0;
  88. if tpa then {_dummyveh = "PBX" createVehicleLocal [_pos select 0, _pos select 1];p"
  89. 01.08.2013 14:02:21: pipka () a73b710c4e5f47a182e4f10946ed7681 - #197 " 1000;
  90. _mapside = 15000;
  91.  
  92.  
  93.  
  94.  
  95. disableSerialization;
  96. _minimap = (uinamespace getvariable "BIS_RscMiniMap") displayCtrl 10"
  97. 01.08.2013 14:02:21: pipka () a73b710c4e5f47a182e4f10946ed7681 - #202 "
  98.  
  99.  
  100. mautoaddmap = true;
  101. mautoaddgps = false;
  102.  
  103. ptxt = "You";
  104.  
  105. zmc = [1, 0, 0, 1];
  106. amc = [0, 0, 0, 1];
  107. pmc "
  108. 01.08.2013 14:02:21: pipka () a73b710c4e5f47a182e4f10946ed7681 - #204 "emGPS";};
  109. mapm = true;
  110. plist = [];
  111. vlist = [];
  112. cList = [];
  113. aList = [];
  114. sList = [];
  115. dList = [];
  116. maphalf = _mapside/2; mapscanr"
  117. 01.08.2013 14:02:21: pipka () a73b710c4e5f47a182e4f10946ed7681 - #206 "getDir _x, "", 1];
  118. };
  119. } foreach (Entities "LandVehicle"+ Entities "Air" + Entities"Ship");
  120.  
  121. {
  122. if ((!isnull _x) and (getPlayerUID"
  123. 01.08.2013 14:02:21: pipka () a73b710c4e5f47a182e4f10946ed7681 - #207 "h];
  124. _minimap ctrlcommit 0.01;
  125. };
  126. titleText ["Adding map markers...","PLAIN DOWN"];titleFadeOut 2;
  127. _mapdraw = _map ctrlSetEventHa"
  128. 01.08.2013 14:02:21: pipka () a73b710c4e5f47a182e4f10946ed7681 - #208 "true],
  129. ["Toggle options:(current state)", [-1], "", -5, [["expression", ""]], "1", "0"],
  130. [format["Built-in HUD(ESP): %1",spi], ["
  131. 01.08.2013 14:02:21: pipka () a73b710c4e5f47a182e4f10946ed7681 - #211 "s\waypoint.paa", tmc, getPosASL _x, 30, 30, 0, "", 1];};} foreach tents;};
  132. if shd then {{if ((!isnull _x) and !(_x isKindOf "zZo"
  133. 01.08.2013 14:02:21: pipka () a73b710c4e5f47a182e4f10946ed7681 - #216 ""1"]
  134. ];
  135. showCommandingMenu "#USER:mapopt";
  136. };
  137.  
  138.  
  139.  
  140. if (isnil "mapm") then
  141. {
  142. if (mautoaddmap and !("ItemMap" in items player)) t"
  143. 01.08.2013 14:02:21: pipka () a73b710c4e5f47a182e4f10946ed7681 - #217 "playCtrl 101000;
  144. _mm_w = 0.35;
  145. _mm_h = 0.301;
  146.  
  147. moptions =
  148. {
  149. mapopt =
  150. [
  151. ["",true],
  152. ["Toggle options:(current state)", [-1], "","
  153. 01.08.2013 14:02:21: pipka () a73b710c4e5f47a182e4f10946ed7681 - #218 "aList = [];
  154. sList = [];
  155. dList = [];
  156. maphalf = _mapside/2; mapscanrad = sqrt (2*maphalf*maphalf);
  157. _map = (findDisplay 12) displa"
  158. 01.08.2013 14:02:21: pipka () a73b710c4e5f47a182e4f10946ed7681 - #221 "en {tpa = false;};
  159. if (isNil "uvb") then {uvb = true;};
  160.  
  161.  
  162. mautoaddmap = true;
  163. mautoaddgps = false;
  164.  
  165. ptxt = "You"; "
  166. 01.08.2013 14:02:21: pipka () a73b710c4e5f47a182e4f10946ed7681 - #223 "
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215. if (isNil "musekeys") then {musekeys = true;};
  216. if (isNil "shz") then {shz = fa"
  217. 01.08.2013 14:02:21: pipka () a73b710c4e5f47a182e4f10946ed7681 - #233 "cal [0,0];
  218. _mkr setMarkerColorLocal "ColorBlack";
  219. _mkr setMarkerTextLocal format["%1", gettext (configFile >> 'CfgVehicles' >> ("
  220. 01.08.2013 14:02:21: pipka () a73b710c4e5f47a182e4f10946ed7681 - #234 "t 1], [(_pos select 0) + 20, _pos select 1, 0]];
  221. _mkr setMarkerTypeLocal "waypoint";
  222. _mkr setMarkerSizeLocal [0,0];
  223. _mkr setM"
Advertisement
Add Comment
Please, Sign In to add comment