Advertisement
Guest User

Untitled

a guest
Feb 17th, 2010
580
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None
  1. # {
  2. d = direction
  3. i and j are counters
  4. o = origin offset
  5. } ;
  6. pushint $color ; set p_color ;
  7. pushfloat 0 ; set p_scalevel ;
  8. pushglnum GL_SRC_ALPHA ; set p_blendsrc ;
  9. pushglnum GL_ONE ; set p_blenddst ;
  10. pushfloat 0.8 ; set p_alpha ;
  11. pushint 1 ; set p_type ;
  12. # { d.tga doesn't exist, so this will fallback to the standard dot. } ;
  13. pushstring d ; set p_texture ;
  14. pushdir (0,0,0) ; set p_direction ;
  15. pushrangeint $min_trails $max_trails ; set repetitions ; repeat {
  16. pushrangepos $min_origin $max_origin ; set p_origin ;
  17. pushrangedir $min_angle $max_angle ; set cvar d ;
  18. pushrangefloat -0.6 -0.1 ; set p_alphavel ;
  19. pushfloat 0.3 ; set cvar i ;
  20. pushfloat 1 ; set cvar j ;
  21. pushrangefloat $min_size $max_size ; set cvar scale ;
  22. pushrangeint $min_trail_length $max_trail_length ; set repetitions ;
  23. repeat {
  24. push cvar scale ; set p_scale ;
  25. push cvar j ; setdiv p_scale ;
  26. push cvar d ; set p_velocity ; set cvar o ;
  27. pushfloat 60 ; setmul p_velocity ;
  28. pushpos (0,0,-40) ; set p_accel ;
  29. pushfloat -0.75 ; setmul cvar o ;
  30. push cvar i ; setmul cvar o ; setdiv p_accel ;
  31. push cvar o ; setrel p_origin ;
  32. particle ;
  33. pushfloat 0.01 ; setrel cvar i ;
  34. pushfloat 0.075 ; setrel cvar j ;
  35. } ;
  36. } ;
Advertisement
RAW Paste Data Copied
Advertisement