Advertisement
Guest User

Untitled

a guest
Jan 16th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.07 KB | None | 0 0
  1. nuke_vars = true;
  2. _Wakkashhsbdhhagsggre = {
  3. PersonWhomMadeThis_Is_The_One_And_Only = {
  4. playSound "Alarm";
  5. hintSilent parseText"<t size='1.1'>by bad</t><br/><br/><t size='2'>5</t>";
  6. sleep 1;
  7. playSound "Alarm";
  8. hintSilent parseText"<t size='1.1'>by bad</t><br/><br/><t size='2'>4</t>";
  9. sleep 1;
  10. playSound "Alarm";
  11. hintSilent parseText"<t size='1.1'>by bad</t><br/><br/><t size='2'>3</t>";
  12. sleep 1;
  13. playSound "Alarm";
  14. hintSilent parseText"<t size='1.1'>by bad</t><br/><br/><t size='2'>2</t>";
  15. sleep 1;
  16. playSound "Alarm";
  17. hintSilent parseText"<t size='1.1'>by bad</t><br/><br/><t size='2'>1</t>";
  18. sleep 1;
  19. playSound "Alarm";
  20. hintSilent "";
  21. sleep 1;
  22. nukepos = "Land_Sack_F" createVehicleLocal _this;
  23. mdh_nuke_destruction_zone = 1;
  24. mdh_nuke_camshake= 1;
  25. mdh_nuke_ash = 1;
  26. mdh_nuke_colorcorrection = 1;
  27. mdh_nuke_removecorrection = 1;
  28. mdh_nuke_removeash = 1;
  29.  
  30.  
  31. _Cone = "#particlesource" createVehicleLocal getpos nukepos;
  32. _Cone setParticleParams [["A3\Data_F\ParticleEffects\Universal\universal.p3d", 16, 7, 48], "", "Billboard", 1, 10, [0, 0, 0],
  33. [0, 0, 0], 0, 1.275, 1, 0, [40,80], [[0.25, 0.25, 0.25, 0], [0.25, 0.25, 0.25, 0.5],
  34. [0.25, 0.25, 0.25, 0.5], [0.25, 0.25, 0.25, 0.05], [0.25, 0.25, 0.25, 0]], [0.25], 0.1, 1, "", "", nukepos];
  35. _Cone setParticleRandom [2, [1, 1, 30], [1, 1, 30], 0, 0, [0, 0, 0, 0.1], 0, 0];
  36. _Cone setParticleCircle [10, [-10, -10, 20]];
  37. _Cone setDropInterval 0.005;
  38.  
  39. _top = "#particlesource" createVehicleLocal getpos nukepos;
  40. _top setParticleParams [["A3\Data_F\ParticleEffects\Universal\universal.p3d", 16, 3, 48, 0], "", "Billboard", 1, 20, [0, 0, 0],
  41. [0, 0, 60], 0, 1.7, 1, 0, [60,80,100], [[1, 1, 1, -10],[1, 1, 1, -7],[1, 1, 1, -4],[1, 1, 1, -0.5],[1, 1, 1, 0]], [0.05], 1, 1, "", "", nukepos];
  42. _top setParticleRandom [0, [75, 75, 15], [17, 17, 10], 0, 0, [0, 0, 0, 0], 0, 0, 360];
  43. _top setDropInterval 0.002;
  44.  
  45. _top2 = "#particlesource" createVehicleLocal getpos nukepos;
  46. _top2 setParticleParams [["A3\Data_F\ParticleEffects\Universal\universal.p3d", 16, 3, 112, 0], "", "Billboard", 1, 20, [0, 0, 0],
  47. [0, 0, 60], 0, 1.7, 1, 0, [60,80,100], [[1, 1, 1, 0.5],[1, 1, 1, 0]], [0.07], 1, 1, "", "", nukepos];
  48. _top2 setParticleRandom [0, [75, 75, 15], [17, 17, 10], 0, 0, [0, 0, 0, 0], 0, 0, 360];
  49. _top2 setDropInterval 0.002;
  50.  
  51. _smoke = "#particlesource" createVehicleLocal getpos nukepos;
  52. _smoke setParticleParams [["A3\Data_F\ParticleEffects\Universal\universal.p3d", 16, 7, 48, 1], "", "Billboard", 1, 25, [0, 0, 0],
  53. [0, 0, 60], 0, 1.7, 1, 0, [40,15,120],
  54. [[1, 1, 1, 0.4],[1, 1, 1, 0.7],[1, 1, 1, 0.7],[1, 1, 1, 0.7],[1, 1, 1, 0.7],[1, 1, 1, 0.7],[1, 1, 1, 0.7],[1, 1, 1, 0]]
  55. , [0.5, 0.1], 1, 1, "", "", nukepos];
  56. _smoke setParticleRandom [0, [10, 10, 15], [15, 15, 7], 0, 0, [0, 0, 0, 0], 0, 0, 360];
  57. _smoke setDropInterval 0.002;
  58.  
  59. [] spawn {
  60. playSound "Earthquake_04";
  61. sleep 5;
  62. playSound "Earthquake_04";
  63. sleep 5;
  64. playSound "Earthquake_04";
  65. sleep 5;
  66. playSound "Earthquake_04";
  67. sleep 5;
  68. playSound "Earthquake_04";
  69. sleep 5;
  70. playSound "Earthquake_04";
  71. sleep 5;
  72. };
  73. _Wave = "#particlesource" createVehicleLocal getpos nukepos;
  74. _Wave setParticleParams [["A3\Data_F\ParticleEffects\Universal\universal.p3d", 16, 7, 48], "", "Billboard", 1, 20, [0, 0, 0],
  75. [0, 0, 0], 0, 1.5, 1, 0, [50, 100], [[0.1, 0.1, 0.1, 0.5],
  76. [0.5, 0.5, 0.5, 0.5], [1, 1, 1, 0.3], [1, 1, 1, 0]], [1,0.5], 0.1, 1, "", "", nukepos];
  77. _Wave setParticleRandom [2, [20, 20, 20], [5, 5, 0], 0, 0, [0, 0, 0, 0.1], 0, 0];
  78. _Wave setParticleCircle [50, [-80, -80, 2.5]];
  79. _Wave setDropInterval 0.0002;
  80.  
  81.  
  82. _light = "#lightpoint" createVehicleLocal [((getpos nukepos select 0)),(getpos nukepos select 1),((getpos nukepos select 2)+500)];
  83. _light setLightAmbient[1500, 1200, 1000];
  84. _light setLightColor[1500, 1200, 1000];
  85. _light setLightBrightness 100000.0;
  86.  
  87.  
  88. if (mdh_nuke_colorcorrection > 0) then
  89. {
  90. [] spawn {
  91. "colorCorrections" ppEffectAdjust [2, 30, 0, [0.0, 0.0, 0.0, 0.0], [0.8*2, 0.5*2, 0.0, 0.7], [0.9, 0.9, 0.9, 0.0]];
  92. "colorCorrections" ppEffectCommit 0;
  93. "colorCorrections" ppEffectAdjust [1, 0.8, -0.001, [0.0, 0.0, 0.0, 0.0], [0.8*2, 0.5*2, 0.0, 0.7], [0.9, 0.9, 0.9, 0.0]];
  94. "colorCorrections" ppEffectCommit 3;
  95. "colorCorrections" ppEffectEnable true;
  96. "filmGrain" ppEffectEnable true;
  97. "filmGrain" ppEffectAdjust [0.02, 1, 1, 0.1, 1, false];
  98. "filmGrain" ppEffectCommit 5;
  99. };
  100. }
  101. else
  102. {
  103. [] spawn {
  104. "dynamicBlur" ppEffectEnable true;
  105. "dynamicBlur" ppEffectAdjust [1];
  106. "dynamicBlur" ppEffectCommit 1;
  107.  
  108. "colorCorrections" ppEffectEnable true;
  109. "colorCorrections" ppEffectAdjust [0.8, 15, 0, [0.5, 0.5, 0.5, 0], [0.0, 0.0, 0.6, 2],[0.3, 0.3, 0.3, 0.1]];"colorCorrections" ppEffectCommit 0.4;
  110.  
  111. "dynamicBlur" ppEffectAdjust [0.5];
  112. "dynamicBlur" ppEffectCommit 3;
  113.  
  114. 0 setOvercast 0;
  115. sleep 0.1;
  116.  
  117. _xHandle = []spawn
  118. {
  119. Sleep 1;
  120. "colorCorrections" ppEffectAdjust [1.0, 0.5, 0, [0.5, 0.5, 0.5, 0], [1.0, 1.0, 0.8, 0.4],[0.3, 0.3, 0.3, 0.1]];
  121. "colorCorrections" ppEffectCommit 2;
  122. };
  123.  
  124.  
  125. "dynamicBlur" ppEffectAdjust [2];
  126. "dynamicBlur" ppEffectCommit 1;
  127.  
  128. "dynamicBlur" ppEffectAdjust [0.5];
  129. "dynamicBlur" ppEffectCommit 4;
  130.  
  131. sleep 4.5;
  132.  
  133. "colorCorrections" ppEffectAdjust [1, 1, 0, [0.5, 0.5, 0.5, 0], [1.0, 1.0, 0.8, 0.4],[0.3, 0.3, 0.3, 0.1]];"colorCorrections" ppEffectCommit 1; "colorCorrections" ppEffectEnable TRUE;
  134. "dynamicBlur" ppEffectAdjust [0];
  135. "dynamicBlur" ppEffectCommit 1;
  136. };
  137. };
  138.  
  139. player spawn {
  140. enableCamShake true;
  141. addCamShake [10, 70, 25];
  142. sleep 70;
  143. enableCamShake false;
  144. };
  145. if(mdh_nuke_ash > 0) then {
  146. [] spawn {
  147. sleep 20;
  148. [] spawn {
  149. _pos = position player;
  150. _parray = [
  151. ["A3\Data_F\ParticleEffects\Universal\Universal", 16, 12, 8, 1],
  152. "",
  153. "Billboard",
  154. 1,
  155. 4,
  156. [0,0,0],
  157. [0,0,0],
  158. 1,
  159. 0.000001,
  160. 0,
  161. 1.4,
  162. [0.05,0.05],
  163. [[0.1,0.1,0.1,1]],
  164. [0,1],
  165. 0.2,
  166. 1.2,
  167. "",
  168. "",
  169. vehicle player
  170. ];
  171. mdh_ash = "#particlesource" createVehicleLocal _pos;
  172. mdh_ash setParticleParams _parray;
  173. mdh_ash setParticleRandom [0, [10, 10, 7], [0, 0, 0], 0, 0.01, [0, 0, 0, 0.1], 0, 0];
  174. mdh_ash setParticleCircle [0.0, [0, 0, 0]];
  175. mdh_ash setDropInterval 0.01;
  176. };
  177. };
  178. };
  179. if (mdh_nuke_destruction_zone > 0) then
  180. {
  181. {_x setdamage 1} forEach (nearestObjects [(getpos nukepos), [], mdh_nuke_destruction_zone]);
  182. };
  183.  
  184.  
  185. _Wave setDropInterval 0.001;
  186. deletevehicle _top;
  187. deletevehicle _top2;
  188.  
  189. sleep 4.5;
  190.  
  191. _i = 0;
  192. while {_i < 100} do
  193. {
  194. _light setLightBrightness 100.0 - _i;
  195. _i = _i + 1;
  196. sleep 0.1;
  197. };
  198. deleteVehicle _light;
  199.  
  200. sleep 2;
  201.  
  202. _smoke setParticleParams [["A3\Data_F\ParticleEffects\Universal\universal.p3d", 16, 7, 48, 1], "", "Billboard", 1, 25, [0, 0, 0],
  203. [0, 0, 45], 0, 1.7, 1, 0, [40,25,80],
  204. [[1, 1, 1, 0.2],[1, 1, 1, 0.3],[1, 1, 1, 0.3],[1, 1, 1, 0.3],[1, 1, 1, 0.3],[1, 1, 1, 0.3],[1, 1, 1, 0.3],[1, 1, 1, 0]]
  205. , [0.5, 0.1], 1, 1, "", "", nukepos];
  206.  
  207. _Cone setDropInterval 0.01;
  208. _smoke setDropInterval 0.006;
  209. _Wave setDropInterval 0.001;
  210.  
  211. sleep 2;
  212.  
  213. _smoke setParticleParams [["A3\Data_F\ParticleEffects\Universal\universal.p3d", 16, 7, 48, 1], "", "Billboard", 1, 25, [0, 0, 0],
  214. [0, 0, 30], 0, 1.7, 1, 0, [40,25,80],
  215. [[1, 1, 1, 0.2],[1, 1, 1, 0.3],[1, 1, 1, 0.3],[1, 1, 1, 0.3],[1, 1, 1, 0.3],[1, 1, 1, 0.3],[1, 1, 1, 0.3],[1, 1, 1, 0]]
  216. , [0.5, 0.1], 1, 1, "", "", nukepos];
  217. _smoke setDropInterval 0.012;
  218. _Cone setDropInterval 0.02;
  219. _Wave setDropInterval 0.01;
  220.  
  221. sleep 15;
  222. deleteVehicle _Wave;
  223. deleteVehicle _cone;
  224. deleteVehicle _smoke;
  225. deletevehicle nukepos;
  226. [] spawn {
  227. if(mdh_nuke_removecorrection > 0) then {
  228. sleep 25;
  229. "colorCorrections" ppEffectAdjust [1, 1, 0, [1, 1, 1, 0.0], [1, 1, 1, 1], [1, 1, 1, 0.0]];
  230. "colorCorrections" ppEffectCommit 0;
  231. "filmGrain" ppEffectEnable false;
  232. "filmGrain" ppEffectCommit 0;
  233. };
  234. };
  235. if(mdh_nuke_removeash > 0) then {
  236. sleep 25;
  237. deletevehicle mdh_ash;
  238. };
  239. };
  240. sleep 5;
  241. if(!isNil "nuke_vars") then {
  242. openMap [true,false];
  243. nuke_vars = nil;
  244. };
  245. };
  246.  
  247. [_Wakkashhsbdhhagsggre,"BIS_fnc_Spawn",true,false] call BIS_FNC_MP;
  248. hintSilent parseText "<t size='1.2'>Loading Nuke Functions...</t><br/><t size='0.9'>The Map Will Open Once The Map Functions are Loaded!</t>";
  249. onMapSingleClick '[_pos,"PersonWhomMadeThis_Is_The_One_And_Only",true,false] spawn BIS_FNC_MP;openMap [false,false];onMapSingleClick""';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement