Advertisement
Guest User

Dientity2 - redtrails FX

a guest
Sep 22nd, 2012
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.37 KB | None | 0 0
  1. // Don't use without permission, if you do, i'll seek and destroy you
  2. // q3mme FX for WolfcamQL
  3. // http://jugamosparaelorto.foroargentina.net/
  4.  
  5. weapon/rocket/flash {
  6. color 1 0 0
  7. size 400 + rand*32
  8. light
  9. }
  10.  
  11. weapon/rocket/projectile {
  12. // wolfcam need to do model rotation yourself
  13. // wolfcam add size option when adding models
  14. model "models/ammo/rocket/rocket.md3"
  15. rotate time * 1000 / 4
  16. size 1
  17. dirModel
  18. loopSound "sound/weapons/rocket/rockfly.wav"
  19. }
  20.  
  21. weapon/rocket/trail {
  22.  
  23. // world glow
  24. color 1 0 0
  25. size 500
  26. Light
  27.  
  28. // flame trail
  29. color 1 0 0
  30. alpha 0.80
  31. shader flareShader
  32. interval 0.004 {
  33. normalize dir v0
  34. inverse v0
  35. wobble v0 velocity 5 + rand*10
  36. scale velocity velocity 75 + rand*50
  37. emitter 0.6 + rand*0.5 {
  38. size 13 * ( 1 - 0.5 * lerp * 1.5 )
  39. colorFade 0.005
  40. moveGravity 0
  41. Sprite
  42. }
  43. }
  44. }
  45.  
  46. weapon/rocket/impact {
  47. vibrate 70
  48. sound sound/weapons/rocket/rocklx1a.wav
  49. shader gfx/damage/burn_med_mrk
  50. size 64
  51. Decal
  52.  
  53. // animating sprite of the explosion
  54.  
  55. shader rocketExplosion
  56. size 40
  57. color 1 0 0
  58. emitter 1 {
  59. // size will goto zero after 0.5 of the time
  60. Sprite
  61. size 300 * clip(2 - 2*lerp)
  62. Light
  63. }
  64.  
  65. // Particles
  66.  
  67. color 1 1 0
  68. alpha 0.8
  69. shader flareShader
  70. repeat 20 {
  71. random velocity
  72. scale velocity velocity 250 + rand*50
  73. size 1 + rand*2.5
  74. emitter 1 + rand*0.5 {
  75. colorFade 0.75
  76. Sprite
  77. moveBounce 400 0.75
  78. }
  79. }
  80.  
  81. color 1 0.20 0
  82. alpha 0.90
  83. shader flareShader
  84. repeat 20 {
  85. random velocity
  86. scale velocity velocity 250 + rand*50
  87. size 1 + rand*2.5
  88. emitter 1 + rand*0.5 {
  89. colorFade 0.75
  90. Sprite
  91. moveBounce 400 0.75
  92. }
  93. }
  94.  
  95. color 1 0.25 0
  96. alpha 0.8
  97. shader flareShader
  98. repeat 20 {
  99. random velocity
  100. scale velocity velocity 250 + rand*50
  101. size 1 + rand*2.5
  102. emitter 1 + rand*0.5 {
  103. colorFade 0.75
  104. Sprite
  105. moveBounce 400 0.75
  106. }
  107. }
  108.  
  109. }
  110.  
  111.  
  112.  
  113. ////**** ROCKET-3 *** BFG-120 *** GRANNY-234 *** PLASMA-330 *** RAIL-380 *** LG-450 *** SG,MG,GAUNTLET-510 ///////////
  114.  
  115. weapon/grenade/flash {
  116. color 1 0 0
  117. size 400 + rand*32
  118. light
  119. }
  120.  
  121. weapon/grenade/projectile {
  122. // wolfcam need to do model rotation yourself
  123. // wolfcam add size option when adding models
  124. model "models/ammo/grenade1.md3"
  125. rotate time * 1000 / 4
  126. size 1
  127. anglesModel
  128. }
  129.  
  130. weapon/grenade/trail {
  131. color 1 0 0
  132. alpha 0.75
  133. shader flareShader
  134. interval 0.002 {
  135. wobble dir velocity 0
  136. scale velocity velocity 0
  137. emitter 0.5 {
  138. size 9.5 * ( 1 - 0.5 * lerp * 1.5 )
  139. colorFade 0.001
  140. moveGravity 0
  141. Sprite
  142. }
  143. }
  144. }
  145.  
  146.  
  147. weapon/grenade/impact {
  148. vibrate 50
  149. sound sound/weapons/rocket/rocklx1a.wav
  150. shader gfx/damage/burn_med_mrk
  151. size 64
  152. Decal
  153.  
  154. // animating sprite of the explosion
  155.  
  156. shader rocketExplosion
  157. size 40
  158. color 1 0.08 0
  159. emitter 1 {
  160. // size will goto zero after 0.5 of the time
  161. Sprite
  162. size 300 * clip(2 - 2*lerp)
  163. Light
  164. }
  165.  
  166. // Particles
  167.  
  168. color 1 0 0
  169. alpha 0.8
  170. shader flareShader
  171. repeat 20 {
  172. random velocity
  173. scale velocity velocity 250 + rand*50
  174. size 1 + rand*2.5
  175. emitter 1 + rand*0.5 {
  176. colorFade 0.75
  177. Sprite
  178. moveBounce 400 0.75
  179. }
  180. }
  181.  
  182. color 1 0 0
  183. alpha 0.8
  184. shader flareShader
  185. repeat 20 {
  186. random velocity
  187. scale velocity velocity 250 + rand*50
  188. size 1 + rand*2.5
  189. emitter 1 + rand*0.5 {
  190. colorFade 0.75
  191. Sprite
  192. moveBounce 400 0.75
  193. }
  194. }
  195.  
  196. color 1 0 0
  197. alpha 0.8
  198. shader flareShader
  199. repeat 20 {
  200. random velocity
  201. scale velocity velocity 250 + rand*50
  202. size 1 + rand*2.5
  203. emitter 1 + rand*0.5 {
  204. colorFade 0.75
  205. Sprite
  206. moveBounce 400 0.75
  207. }
  208. }
  209.  
  210. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement