Advertisement
MGT

Untitled

MGT
Aug 19th, 2018
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.47 KB | None | 0 0
  1. 19.08.2018 12:57:16: [GWG]Hellfighter (91.53.136.200:3304) 67e365ceedd8b58d0e377bddea8bbb19 - #38 "ewer_logic",objnull]);
  2.  
  3.  
  4. for "_x" from -5 to 5 step 1 do {
  5. drawLine3D [
  6. _logic modeltoworld [_x,-5],
  7. _logic modeltoworld [_x,+5]"
  8. 19.08.2018 12:57:16: [GWG]Hellfighter (91.53.136.200:3304) 67e365ceedd8b58d0e377bddea8bbb19 - #38 "nc_key_edenIsSelected) then {[0,1,0,1]} else {[1,1,1,1]};
  9.  
  10. drawLine3D [_pos, _pos vectorAdd (vectorDir _x vectorMultiply 2.0), ["
  11. 19.08.2018 12:57:16: [GWG]Hellfighter (91.53.136.200:3304) 67e365ceedd8b58d0e377bddea8bbb19 - #38 "ay [0.0, 0.0, 0.0]) then
  12. {
  13.  
  14. _startAGL = ASLToAGL _start;
  15.  
  16.  
  17. drawLine3D [_startAGL, ASLToAGL _end, [1,0,0,1]];
  18.  
  19.  
  20. drawIcon3D ["\A3\"
  21. 19.08.2018 12:57:16: [GWG]Hellfighter (91.53.136.200:3304) 67e365ceedd8b58d0e377bddea8bbb19 - #38 "nt distance2D _mouseLoc;
  22.  
  23.  
  24. if (_distance2D < 20.0) then
  25. {
  26.  
  27. drawLine3D [ASLToAGL _mouseLoc, ASLToAGL _nearestPoint, [1, 1, 1, 1]]"
  28. 19.08.2018 12:57:16: [GWG]Hellfighter (91.53.136.200:3304) 67e365ceedd8b58d0e377bddea8bbb19 - #38 "amespace setVariable [str _building + "#bbox",_bbox]);
  29. };
  30. {drawLine3D _x} forEach _bbox;
  31.  
  32.  
  33. private _doorPositions = (missionName"
  34. 19.08.2018 12:57:16: [GWG]Hellfighter (91.53.136.200:3304) 67e365ceedd8b58d0e377bddea8bbb19 - #38 "n {
  35. BIS_draw3Dhandler = addmissioneventhandler ["draw3d",{{drawline3d _x;} foreach (missionnamespace getvariable ["BIS_draw3d",["
  36. 19.08.2018 12:57:16: [GWG]Hellfighter (91.53.136.200:3304) 67e365ceedd8b58d0e377bddea8bbb19 - #38 "ull];
  37. if (is3DEN) then {
  38. for "_x" from -5 to 5 step 1 do {
  39. drawLine3D [
  40. _sphere modeltoworld [_x,-5,0],
  41. _sphere modeltoworld [_x"
  42. 19.08.2018 12:57:16: [GWG]Hellfighter (91.53.136.200:3304) 67e365ceedd8b58d0e377bddea8bbb19 - #38 "en {
  43. {
  44. for [{_i = 1}, {_i < count _x}, {_i = _i + 1}] do {
  45. drawLine3D [_x select (_i - 1), _x select _i, ((BIS_tracedShooter get"
  46. 19.08.2018 12:57:16: [GWG]Hellfighter (91.53.136.200:3304) 67e365ceedd8b58d0e377bddea8bbb19 - #38 "];
  47. for [{_x = -_rad}, {_x < _rad}, {_x = _x + _step}] do {
  48. drawLine3D [[(_pos select 0) - _rad, (_pos select 1) + _x, 0], [(_pos"
  49. 19.08.2018 12:57:16: [GWG]Hellfighter (91.53.136.200:3304) 67e365ceedd8b58d0e377bddea8bbb19 - #38 "colorNew = (_segments select _nextSegmentIndex) select 1;
  50.  
  51. drawLine3D [_locOld, _locNew, _colorNew];
  52. };
  53. }
  54. forEach _segments;
  55.  
  56.  
  57. _"
  58. 19.08.2018 13:00:14: John (80.142.186.130:3304) a79bef2e0ad841e6d69e310dc65ed06a - #38 "ewer_logic",objnull]);
  59.  
  60.  
  61. for "_x" from -5 to 5 step 1 do {
  62. drawLine3D [
  63. _logic modeltoworld [_x,-5],
  64. _logic modeltoworld [_x,+5]"
  65. 19.08.2018 13:00:14: John (80.142.186.130:3304) a79bef2e0ad841e6d69e310dc65ed06a - #38 "nc_key_edenIsSelected) then {[0,1,0,1]} else {[1,1,1,1]};
  66.  
  67. drawLine3D [_pos, _pos vectorAdd (vectorDir _x vectorMultiply 2.0), ["
  68. 19.08.2018 13:00:14: John (80.142.186.130:3304) a79bef2e0ad841e6d69e310dc65ed06a - #38 "ay [0.0, 0.0, 0.0]) then
  69. {
  70.  
  71. _startAGL = ASLToAGL _start;
  72.  
  73.  
  74. drawLine3D [_startAGL, ASLToAGL _end, [1,0,0,1]];
  75.  
  76.  
  77. drawIcon3D ["\A3\"
  78. 19.08.2018 13:00:14: John (80.142.186.130:3304) a79bef2e0ad841e6d69e310dc65ed06a - #38 "nt distance2D _mouseLoc;
  79.  
  80.  
  81. if (_distance2D < 20.0) then
  82. {
  83.  
  84. drawLine3D [ASLToAGL _mouseLoc, ASLToAGL _nearestPoint, [1, 1, 1, 1]]"
  85. 19.08.2018 13:00:14: John (80.142.186.130:3304) a79bef2e0ad841e6d69e310dc65ed06a - #38 "amespace setVariable [str _building + "#bbox",_bbox]);
  86. };
  87. {drawLine3D _x} forEach _bbox;
  88.  
  89.  
  90. private _doorPositions = (missionName"
  91. 19.08.2018 13:00:14: John (80.142.186.130:3304) a79bef2e0ad841e6d69e310dc65ed06a - #38 "n {
  92. BIS_draw3Dhandler = addmissioneventhandler ["draw3d",{{drawline3d _x;} foreach (missionnamespace getvariable ["BIS_draw3d",["
  93. 19.08.2018 13:00:14: John (80.142.186.130:3304) a79bef2e0ad841e6d69e310dc65ed06a - #38 "ull];
  94. if (is3DEN) then {
  95. for "_x" from -5 to 5 step 1 do {
  96. drawLine3D [
  97. _sphere modeltoworld [_x,-5,0],
  98. _sphere modeltoworld [_x"
  99. 19.08.2018 13:00:14: John (80.142.186.130:3304) a79bef2e0ad841e6d69e310dc65ed06a - #38 "en {
  100. {
  101. for [{_i = 1}, {_i < count _x}, {_i = _i + 1}] do {
  102. drawLine3D [_x select (_i - 1), _x select _i, ((BIS_tracedShooter get"
  103. 19.08.2018 13:00:14: John (80.142.186.130:3304) a79bef2e0ad841e6d69e310dc65ed06a - #38 "];
  104. for [{_x = -_rad}, {_x < _rad}, {_x = _x + _step}] do {
  105. drawLine3D [[(_pos select 0) - _rad, (_pos select 1) + _x, 0], [(_pos"
  106. 19.08.2018 13:00:14: John (80.142.186.130:3304) a79bef2e0ad841e6d69e310dc65ed06a - #38 "colorNew = (_segments select _nextSegmentIndex) select 1;
  107.  
  108. drawLine3D [_locOld, _locNew, _colorNew];
  109. };
  110. }
  111. forEach _segments;
  112.  
  113.  
  114. _"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement