Advertisement
ebayopendayz

adminnukedropnwaf

Feb 11th, 2014
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.72 KB | None | 0 0
  1. adminnukedropnwaf =
  2. {
  3. adminnuke_nwaf = false;
  4. c130plane = createVehicle ["C130J", [4577,10213,2000], [], 0, "FLY"];
  5. c130plane engineOn true;
  6. _dir = getDir c130plane;
  7. _speed = 80;
  8. c130plane setVelocity [(sin _dir * _speed),(cos _dir * _speed), 0];
  9.  
  10. _soundSource3 = createSoundSource ["Sound_Alarm2", [4732.44,10297.8,0], [], 0]; //NW
  11. _soundSource4 = createSoundSource ["Sound_Alarm", [4732.44,10297.8,0], [], 0];
  12.  
  13. _soundSource5 = createSoundSource ["Sound_Alarm2", [4577,10213,0], [], 0]; //NW
  14. _soundSource6 = createSoundSource ["Sound_Alarm", [4577,10213,0], [], 0];
  15.  
  16. _adminnukerun = 'if (isServer) then
  17. {
  18. [] spawn
  19. {
  20. call compile (''[nil, nil, rSP''+''AWN, [], {
  21. adminnukelocation = "old_bike_tk_civ_ep1" cre''+''ate''+''Vehi''+''cle [4577,10213,0];
  22. nukev=false;
  23. adminnuke_nwaf = false;
  24.  
  25.  
  26. quake = {
  27.  
  28. for "_i" from 0 to 140 do {
  29. _vx = vectorup _this select 0;
  30. _vy = vectorup _this select 1;
  31. _vz = vectorup _this select 2;
  32. _coef = 0.03 - (0.0001 * _i);
  33. _this setve''+''ctorup [
  34. _vx+(-_coef+random (2*_coef)),
  35. _vy+(-_coef+random (2*_coef)),
  36. _vz+(-_coef+random (2*_coef))
  37. ];
  38. sleep (0.01 + random 0.01);
  39. };
  40.  
  41. };
  42.  
  43. playSound "nuke";
  44.  
  45. wind = {
  46. while {windv} do {
  47. _ran = ceil random 2;
  48. _pos = position player;
  49.  
  50. _velocity = [random 10,random 10,-1];
  51. _color = [1.0, 0.9, 0.8];
  52. _alpha = 0.02 + random 0.02;
  53. _ps = "#particlesource" createVe''+''hicleLocal _pos;
  54. _ps setParticleP''+''arams [["\Ca\Data\ParticleEffects\Universal\universal.p3d", 16, 12, 8], "", "Billboard", 1, 3, [0, 0, -6], _velocity, 1, 1.275, 1, 0, [9], [_color + [0], _color + [_alpha], _color + [0]], [1000], 1, 0, "", "", _pos];
  55. _ps setParticle''+''Random [3, [30, 30, 0], [0, 0, 0], 1, 0, [0, 0, 0, 0.01], 0, 0];
  56. _ps setPartic''+''leCircle [0.1, [0, 0, 0]];
  57. _ps setDropI''+''nterval 0.01;
  58.  
  59. sleep (random 1);
  60. _delay = 1 + random 5;
  61. sleep _delay;
  62. deleteve''+''hicle _ps;
  63. };
  64. };
  65.  
  66.  
  67. envi = {
  68.  
  69. "colorCorrections" ppEffectA''+''djust [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]];
  70. "colorCorrections" ppEffectC''+''ommit 0;
  71. "colorCorrections" ppEffe''+''ctAdjust [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]];
  72. "colorCorrections" ppEffe''+''ctCommit 3;
  73. "colorCorrections" ppEffe''+''ctEnable true;
  74. "filmGrain" ppEffectEna''+''ble true;
  75. "filmGrain" ppEffect''+''Adjust [0.02, 1, 1, 0.1, 1, false];
  76. "filmGrain" ppEffect''+''Commit 5;
  77. };
  78.  
  79. ash = {
  80. _pos = position player;
  81. _parray = [
  82. ["\Ca\Data\ParticleEffects\Universal\Universal", 16, 12, 8, 1],
  83. "",
  84. "Billboard",
  85. 1,
  86. 4,
  87. [0,0,0],
  88. [0,0,0],
  89. 1,
  90. 0.000001,
  91. 0,
  92. 1.4,
  93. [0.05,0.05],
  94. [[0.1,0.1,0.1,1]],
  95. [0,1],
  96. 0.2,
  97. 1.2,
  98. "",
  99. "",
  100. vehicle player
  101. ];
  102. snow = "#particlesource" createV''+''ehicleLocal _pos;
  103. snow setParticleP''+''arams _parray;
  104. snow setPartic''+''leRandom [0, [10, 10, 7], [0, 0, 0], 0, 0.01, [0, 0, 0, 0.1], 0, 0];
  105. snow setPartic''+''leCircle [0.0, [0, 0, 0]];
  106. snow setDropIn''+''terval 0.003;
  107.  
  108. };
  109.  
  110.  
  111.  
  112.  
  113. if (player distance adminnukelocation < 2000) then {
  114.  
  115.  
  116. "dynamicBlur" ppEffe''+''ctEnable true;
  117. "dynamicBlur" ppEffe''+''ctAdjust [0.5];
  118. "dynamicBlur" ppEffe''+''ctCommit 3;
  119.  
  120. sleep 0.1;
  121.  
  122. "dynamicBlur" ppEffec''+''tAdjust [2];
  123. "dynamicBlur" ppEffect''+''Commit 1;
  124.  
  125. "dynamicBlur" ppEffe''+''ctAdjust [1];
  126. "dynamicBlur" ppEffec''+''tCommit 4;
  127. };
  128.  
  129.  
  130. player sp''+''awn envi;
  131.  
  132.  
  133. player spa''+''wn quake;
  134. sleep 3;
  135.  
  136. _Cone = "#particlesource" createVehi''+''cleLocal getpos adminnukelocation;
  137. _Cone setParti''+''cleParams [["\Ca\Data\ParticleEffects\Universal\Universal", 16, 7, 48], "", "Billboard", 1, 10, [0, 0, 0],
  138. [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],
  139. [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, "", "", adminnukelocation];
  140. _Cone setPartic''+''leRandom [2, [1, 1, 30], [1, 1, 30], 0, 0, [0, 0, 0, 0.1], 0, 0];
  141. _Cone setPartic''+''leCircle [10, [-10, -10, 20]];
  142. _Cone setDrop''+''Interval 0.005;
  143.  
  144. _top = "#particlesource" creat''+''eVehicleLocal getpos adminnukelocation;
  145. _top setPartic''+''leParams [["\Ca\Data\ParticleEffects\Universal\Universal", 16, 3, 48, 0], "", "Billboard", 1, 21, [0, 0, 0],
  146. [0, 0, 65], 0, 1.7, 1, 0, [100,80,110], [[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, "", "", adminnukelocation];
  147. _top setPartic''+''leRandom [0, [75, 75, 15], [17, 17, 10], 0, 0, [0, 0, 0, 0], 0, 0, 360];
  148. _top setDropInt''+''erval 0.002;
  149.  
  150. _top2 = "#particlesource" createVe''+''hicleLocal getpos adminnukelocation;
  151. _top2 setParticle''+''Params [["\Ca\Data\ParticleEffects\Universal\Universal", 16, 3, 112, 0], "", "Billboard", 1, 22, [0, 0, 0],
  152. [0, 0, 60], 0, 1.7, 1, 0, [100,80,100], [[1, 1, 1, 0.5],[1, 1, 1, 0]], [0.07], 1, 1, "", "", adminnukelocation];
  153. _top2 setPartic''+''leRandom [0, [75, 75, 15], [17, 17, 10], 0, 0, [0, 0, 0, 0], 0, 0, 360];
  154. _top2 setDropIn''+''terval 0.002;
  155.  
  156. _smoke = "#particlesource" createVehic''+''leLocal getpos adminnukelocation;
  157. _smoke setParticlePa''+''rams [["\Ca\Data\ParticleEffects\Universal\Universal", 16, 7, 48, 1], "", "Billboard", 1, 25, [0, 0, 0],
  158. [0, 0, 70], 0, 1.7, 1, 0, [50,20,120],
  159. [[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]]
  160. , [0.5, 0.1], 1, 1, "", "", adminnukelocation];
  161. _smoke setParticleR''+''andom [0, [10, 10, 15], [15, 15, 7], 0, 0, [0, 0, 0, 0], 0, 0, 360];
  162. _smoke setDropI''+''nterval 0.002;
  163.  
  164. _Wave = "#particlesource" createVeh''+''icleLocal getpos adminnukelocation;
  165. _Wave setParti''+''cleParams [["\Ca\Data\ParticleEffects\Universal\Universal", 16, 7, 48], "", "Billboard", 1, 20/2, [0, 0, 0],
  166. [0, 0, 0], 0, 1.5, 1, 0, [50, 100], [[0.1, 0.1, 0.1, 0.5],
  167. [0.5, 0.5, 0.5, 0.5], [1, 1, 1, 0.3], [1, 1, 1, 0]], [1,0.5], 0.1, 1, "", "", adminnukelocation];
  168. _Wave setPart''+''icleRandom [2, [20, 20, 20], [5, 5, 0], 0, 0, [0, 0, 0, 0.1], 0, 0];
  169. _Wave setParti''+''cleCircle [50, [-80, -80, 2.5]];
  170. _Wave setDropI''+''nterval 0.0002;
  171.  
  172.  
  173. _light = "#lightpoint" createVe''+''hicleLocal [((getpos adminnukelocation select 0)),(getpos adminnukelocation select 1),((getpos adminnukelocation select 2)+800)];
  174. _light setLightAm''+''bient[1500, 1200, 1000];
  175. _light setLightC''+''olor[1500, 1200, 1000];
  176. _light setLightBrig''+''htness 1000000.0;
  177.  
  178.  
  179. sleep 3;
  180.  
  181. _Wave setDrop''+''Interval 0.001;
  182. deletevehicle _top;
  183. deletevehicle _top2;
  184.  
  185.  
  186. sleep 1.5;
  187.  
  188. adminnuke_nwaf = true;
  189.  
  190.  
  191. sleep 2.5;
  192. setaperture -1;
  193.  
  194. _top3 = "#particlesource" createVehi''+''cleLocal getpos adminnukelocation;
  195. _top3 setPartic''+''leParams [["\Ca\Data\ParticleEffects\Universal\Universal", 16, 3, 48, 0], "", "Billboard", 1, 24, [0, 0, 450],
  196. [0, 0, 49], 0, 1.7, 1, 0, [120,130,150], [[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, "", "", adminnukelocation];
  197. _top3 setParticl''+''eRandom [0, [75, 75, 15], [17, 17, 10], 0, 0, [0, 0, 0, 0], 0, 0, 360];
  198. _top3 setDropI''+''nterval 0.002;
  199. sleep 4;
  200. deleteve''+''hicle _top3;
  201.  
  202. sleep 4;
  203.  
  204. if (player distance adminnukelocation < 4000) then {
  205. "dynamicBlur" ppEff''+''ectAdjust [0];
  206. "dynamicBlur" ppEffe''+''ctCommit 1;
  207. };
  208.  
  209. _top4 = "#particlesource" create''+''VehicleLocal getpos adminnukelocation;
  210. _top4 setParti''+''cleParams [["\Ca\Data\ParticleEffects\Universal\Universal", 16, 3, 48, 0], "", "Billboard", 1, 22, [0, 0, 770],
  211. [0, 0, 30], 0, 1.7, 1, 0, [100,120,140], [[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, "", "", adminnukelocation];
  212. _top4 setParti''+''cleRandom [0, [75, 75, 15], [17, 17, 10], 0, 0, [0, 0, 0, 0], 0, 0, 360];
  213. _top4 setDropIn''+''terval 0.002;
  214. sleep 3;
  215.  
  216. _top4 setParticle''+''Params [["\Ca\Data\ParticleEffects\Universal\Universal", 16, 3, 48, 0], "", "Billboard", 1, 25, [0, 0, 830],
  217. [0, 0, 30], 0, 1.7, 1, 0, [100,120,140], [[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, "", "", adminnukelocation];
  218.  
  219.  
  220.  
  221. _Wave setDrop''+''Interval 0.001*10;
  222. _Wave setParti''+''cleParams [["\Ca\Data\ParticleEffects\Universal\Universal", 16, 7, 48], "", "Billboard", 1, 20/2, [0, 0, 0],
  223. [0, 0, 0], 0, 1.5, 1, 0, [50, 100], [[0.1, 0.1, 0.1, 0.5],
  224. [0.5, 0.5, 0.5, 0.5], [1, 1, 1, 0.3], [1, 1, 1, 0]], [1,0.5], 0.1, 1, "", "", adminnukelocation];
  225. _Wave setPartic''+''leCircle [50, [-40, -40, 2.5]];
  226.  
  227. player spa''+''wn ash;
  228. windv=true;
  229. player sp''+''awn wind;
  230.  
  231.  
  232.  
  233.  
  234.  
  235. deleteVe''+''hicle _light;
  236.  
  237.  
  238.  
  239. sleep 4;
  240. deleteveh''+''icle _top4;
  241.  
  242. _i = 0;
  243. while {_i < 100} do
  244. {
  245. _light setLightBri''+''ghtness (100.0 - _i)/100;
  246. _i = _i + 1;
  247. sleep 0.1;
  248. };
  249.  
  250.  
  251. for "_i" from 0 to 15 do {
  252. _smoke setParti''+''cleParams [["\Ca\Data\ParticleEffects\Universal\Universal", 16, 7, 48, 1], "", "Billboard", 1, 25, [0, 0, 0],
  253. [0, 0, 60+_i], 0, 1.7, 1, 0, [40,15,120],
  254. [[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]]
  255. , [0.5, 0.1], 1, 1, "", "", adminnukelocation];
  256. };
  257.  
  258.  
  259. _timeNow = ti''+''me;
  260. waituntil {(time - _timeNow) > 180};
  261.  
  262. _smoke setPar''+''ticleParams [["\Ca\Data\ParticleEffects\Universal\Universal", 16, 7, 48, 1], "", "Billboard", 1, 25, [0, 0, 0],
  263. [0, 0, 30], 0, 1.7, 1, 0, [40,25+10,80],
  264. [[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]]
  265. , [0.5, 0.1], 1, 1, "", "", adminnukelocation];
  266.  
  267. _smoke setDr''+''opInterval 0.012;
  268. _Cone setDropI''+''nterval 0.02;
  269. _Wave setDropI''+''nterval 0.01;
  270.  
  271. sleep 10;
  272. deleteVehicle _Wave;
  273. deleteVehicle _cone;
  274. deleteVehicle _smoke;
  275. deletevehicle snow;
  276.  
  277. sleep 300;
  278.  
  279.  
  280. "filmGrain" ppEffect''+''Enable false;
  281. sleep 10;
  282. "colorCorrections" ppEffect''+''Enable false;
  283. sleep 10;
  284. windv=false;
  285. }] call RE;'');
  286.  
  287. };
  288. };';
  289. [_adminnukerun] call admin_d0;
  290.  
  291. waitUntil {adminnuke_nwaf};
  292. sleep 2;
  293.  
  294.  
  295. {
  296. _aim = _x;
  297. private["_isinbuilding"];
  298. _isinbuilding = false;
  299. if([_aim] call fnc_isInsideBuilding) then {_isinbuilding = true;};
  300. if (!_isinbuilding) then
  301. {
  302. r_player_timeout = 15;
  303. r_player_unconscious = true;
  304. r_player_injured = true;
  305. r_player_blood = 9000;
  306. _aim setVariable ["medForceUpdate",true,true];
  307. _aim setVariable ["unconsciousTime", r_player_timeout, true];
  308. };
  309. } forEach ([4577,10213,0] nearEntities [["CAManBase"],500]);
  310.  
  311. {
  312. _aim = _x;
  313. if (_aim != player) then
  314. {
  315. _aim setDamage 1.000000;
  316. };
  317. sleep .15;
  318. } forEach ([4577,10213,0] nearEntities [["All"],250]);
  319.  
  320. {
  321. _aim = _x;
  322. if (_aim != player) then
  323. {
  324. _aim setDamage 1.000000;
  325. };
  326. sleep .15;
  327. } forEach (nearestObjects [[4577,10213,0], ["house","Building","LandVehicle","Air","Ship"], 300]);
  328. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement