Advertisement
illwieckz

fire.particle copy paste wizardry

Sep 18th, 2020 (edited)
2,061
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.72 KB | None | 0 0
  1. particles/weapons/flamer/floorfire
  2. {
  3.     // haze
  4.     ejector
  5.     {
  6.         particle
  7.         {
  8.             shader sync gfx/weapons/flamer/haze
  9.  
  10.             displacement ~15 ~15 5 ~0
  11.  
  12.             velocityType      static
  13.             velocityDir       linear
  14.             velocityMagnitude 0
  15.             velocity          0 0 1 ~60
  16.  
  17.             accelerationType      static
  18.             accelerationDir       linear
  19.             accelerationMagnitude 10~10
  20.             acceleration          0 0 1 0
  21.  
  22.             radius 0 5 45
  23.             alpha  0 .6~.1 0
  24.             rotation ~360 ~360 -
  25.             bounce .01
  26.  
  27.             lifeTime 1500~50%
  28.         }
  29.  
  30.         count infinite
  31.         delay 0
  32.         period 500 - ~50%
  33.     }
  34.  
  35.     // smoke
  36.     ejector
  37.     {
  38.         particle
  39.         {
  40.             shader sync gfx/weapons/flamer/smoke
  41.  
  42.             displacement ~15 ~15 5 ~0
  43.  
  44.             velocityType      static
  45.             velocityDir       linear
  46.             velocityMagnitude 0
  47.             velocity          0 0 1 ~60
  48.  
  49.             accelerationType      static
  50.             accelerationDir       linear
  51.             accelerationMagnitude 10~10
  52.             acceleration          0 0 1 0
  53.  
  54.             radius 0 10 30~50%
  55.             alpha  0 .6~.1 0
  56.             rotation ~360 ~360 -
  57.             bounce .01
  58.  
  59.             lifeTime 1500~50%
  60.         }
  61.  
  62.         count infinite
  63.         delay 0
  64.         period 500 - ~50%
  65.     }
  66.  
  67.     // flames
  68.     ejector
  69.     {
  70.         particle
  71.         {
  72.             shader sync gfx/weapons/flamer/fire/fire
  73.             displacement ~10 ~10 -1 ~0
  74.  
  75.             radius 0 4~4 8~6
  76.             alpha  0 .1~.3 0
  77.             rotation 0 0 -
  78.             bounce 0
  79.  
  80.             dynamicLight 0 50 0 { .25 .25 0 }
  81.  
  82.             lifeTime 500~60%
  83.         }
  84.  
  85.         count infinite
  86.         delay 0
  87.         period 50 - ~60%
  88.     }
  89.  
  90.     // widespread flames
  91.     ejector
  92.     {
  93.         particle
  94.         {
  95.             shader sync gfx/weapons/flamer/fire/fire
  96.             displacement ~25 ~25 -1 ~0
  97.  
  98.             radius 0 4~4 8~6
  99.             alpha  0 .1~.3 0
  100.             rotation 0 0 -
  101.             bounce 0
  102.  
  103.             dynamicLight 0 50 0 { .25 .25 0 }
  104.  
  105.             lifeTime 500~60%
  106.         }
  107.  
  108.         count infinite
  109.         delay 0
  110.         period 100 - ~60%
  111.     }
  112. }
  113.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement