Advertisement
Guest User

Untitled

a guest
Oct 21st, 2014
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. execVM "screen.sqf";
  2.  
  3. "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]];
  4. "colorCorrections" ppEffectCommit 0;
  5. //"colorCorrections" ppEffectAdjust [1, 1, 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]];
  6. "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]];
  7. "colorCorrections" ppEffectCommit 3;
  8. "colorCorrections" ppEffectEnable true;
  9. "filmGrain" ppEffectEnable true;
  10. "filmGrain" ppEffectAdjust [0.02, 1, 1, 0.1, 1, false];
  11. "filmGrain" ppEffectCommit 5;
  12.  
  13. //--- Wind & Dust
  14. [] spawn {
  15. waituntil {isplayer player};
  16. setwind [0.201112,0.204166,true];
  17. while {true} do {
  18. _ran = ceil random 5;
  19. playsound format ["wind_%1",_ran];
  20. _obj = vehicle player;
  21. _pos = position _obj;
  22.  
  23. //--- Dust
  24. setwind [0.201112*2,0.204166*2,false];
  25. _velocity = [random 10,random 10,-1];
  26. _color = [1.0, 0.9, 0.8];
  27. _alpha = 0.02 + random 0.02;
  28. _ps = "#particlesource" createVehicleLocal _pos;
  29. _ps setParticleParams [["\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, "", "", _obj];
  30. _ps setParticleRandom [3, [30, 30, 0], [0, 0, 0], 1, 0, [0, 0, 0, 0.01], 0, 0];
  31. _ps setParticleCircle [0.1, [0, 0, 0]];
  32. _ps setDropInterval 0.01;
  33.  
  34. sleep (random 1);
  35. deletevehicle _ps;
  36. _delay = 10 + random 20;
  37. sleep _delay;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement