Faguss

Particle.sqs

Oct 17th, 2016
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1.  
  2.  
  3.  
  4.  
  5.  
  6. ; particle settings
  7. _lf = 0.1
  8. ; _size = [1,0.5,0.1]
  9. _size = [0.8,0.7,0.6]
  10. ; _color = [1,0,0,0.4]
  11. _color = [1,0,0,1]
  12.  
  13. _logic1 = "logic" camCreate [0,0,0]
  14. _logic2 = "logic" camCreate [0,0,0]
  15.  
  16.  
  17.  
  18. #Loop
  19. ~0.01
  20. _vel = velocity (vehicle player)
  21.  
  22. _pos = [vehicle player, 1.1, 3, 0] call Rotate3D
  23. _logic1 setPosASL _pos
  24. Drop ["cl_water","","Billboard",1,_lf,[0,0,0],_vel,0,80,1.1,0,_size,[_color],[0,1,0],1,0.8,"","", _logic1]
  25.  
  26. _pos = [vehicle player, -1.1, 3, 0] call Rotate3D
  27. _logic2 setPosASL _pos
  28. Drop ["cl_water","","Billboard",1,_lf,[0,0,0],_vel,0,80,1.1,0,_size,[_color],[0,1,0],1,0.8,"","", _logic2]
  29.  
  30. goto "Loop"
Add Comment
Please, Sign In to add comment