Advertisement
Guest User

Centauros FX

a guest
Mar 20th, 2013
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.18 KB | None | 0 0
  1. // q3mme
  2. // compatible with wolfcam
  3.  
  4.  
  5. // general weapon effects
  6.  
  7. // BUBBLES
  8.  
  9. weapon/common/bubbles {
  10. shader waterbubble
  11. distance 5 + rand*10 {
  12. size 1 + rand * 2
  13. random dir
  14. addScale origin dir origin 10 * rand
  15. emitter 1 + rand*0.25 {
  16. alphaFade 0
  17. origin2 origin2 + lerp * 8
  18. Sprite
  19. }
  20. }
  21. }
  22.  
  23.  
  24. //RL--RL--RL--RL--RL--RL--RL--RL--RL--RL--RL--RL--RL--RL--RL--RL--RL--RL--RL--RL--RL--RL--RL--RL--RL--RL--RL--RL
  25.  
  26. weapon/rocket/flash {
  27. color 1 0.75 0
  28. size 300 + rand*32
  29. light
  30. }
  31.  
  32. weapon/rocket/projectile {
  33. model "models/ammo/rocket/rocket.md3"
  34. dirModel
  35.  
  36. loopSound "sound/weapons/rocket/rockfly.wav"
  37.  
  38.  
  39. color 1 .3 0
  40. alpha 0.5
  41. shader gfx/misc/iceball
  42.  
  43. repeat 2
  44. interval 0.2 {
  45. normalize dir v0
  46. inverse v0
  47. wobble v0 velocity 2 + rand*5
  48. scale velocity velocity 65 + rand*50
  49. emitter 0.25 + rand*0.4 {
  50. size 2 * ( 1 - 0.5 * lerp * 1.5 )
  51. colorFade 0.001
  52. moveGravity 0
  53. Sprite
  54. }
  55. }
  56.  
  57.  
  58. }
  59.  
  60. weapon/rocket/trail {
  61. color 1 0.75 0
  62.  
  63. size 100
  64. Light
  65.  
  66.  
  67. color 0.2 0.2 0.2
  68. alpha 0.8
  69. shader smokePuff
  70. rotate 360 * rand
  71. distance 10 {
  72. emitter 1 {
  73. alphaFade 0
  74. size 6 + lerp * 15
  75. sprite cullNear
  76. }
  77. }
  78.  
  79. }
  80.  
  81.  
  82.  
  83.  
  84. weapon/rocket/impact
  85. {
  86. //
  87.  
  88. vibrate 30
  89. sound sound/weapons/rocket/rocklx1a.wav
  90.  
  91. shader gfx/damage/burn_med_mrk
  92. size 50
  93. Decal
  94.  
  95. //
  96. shader rocketExplosion
  97. size 30
  98. color 1 0.75 0
  99. emitter 1 {
  100. Sprite
  101. size 30 * clip(2 - 2*lerp)
  102. }
  103.  
  104.  
  105. //
  106.  
  107. color 1 0.5 0.1
  108. emitter 1
  109. {
  110. Sprite
  111. size 200 * clip(2 - 2*lerp)
  112. Light
  113. }
  114.  
  115. //
  116.  
  117. shader gfx/misc/iceball
  118. alpha 1
  119. color 1 1 1
  120. width 5
  121. repeat 3 + 5*rand {
  122. wobble dir velocity 100 + rand*20
  123. scale velocity velocity 100 + rand*50
  124. size 180*rand*rand
  125. emitter "0.025 * rand" {
  126. moveGravity 100
  127. colorFade 0.9
  128. spark
  129. }
  130. }
  131.  
  132.  
  133. color 1 1 1
  134. width 5
  135. repeat 3 + 5*rand {
  136. wobble dir velocity 150 + rand*20
  137. scale velocity velocity 200 + rand*50
  138. size 150*rand*rand
  139. emitter "0.025 * rand" {
  140. moveGravity 100
  141. colorFade 0.9
  142. spark
  143. }
  144. }
  145.  
  146. // particles with trail
  147. alpha 0.75
  148. color 1 0.5 0.25
  149. shader flareshader
  150. repeat 0 {
  151. random velocity
  152. scale velocity velocity 200 + rand * 150
  153. size 0.8 + rand * 0.9
  154.  
  155. emitter 0.5 + rand*0.7 { // PARTICLE
  156. moveBounce 0 0.75
  157. colorFade 0
  158. Sprite
  159.  
  160. sink 0.9 50
  161. moveBounce 800 0.4
  162. // wolfcam include size when adding models
  163. size 1
  164. shader flareshader
  165. sprite
  166. distance 0.5 {
  167. // Slowly sink downwards
  168. clear velocity
  169. velocity2 -15
  170. rotate rand*360
  171.  
  172. color 1 0.5 0.25
  173. alpha 0.75
  174. shader flareshader
  175. repeat 3 {
  176. normalize dir v0
  177. inverse v0
  178. wobble v0 velocity rand*10
  179. //scale velocity velocity 75 + rand*50
  180. emitter 0.075 + rand*0.10 { // IT'S TRAIL
  181. size 0.8 + rand * 0.9
  182. colorFade 0.1
  183. moveGravity 0
  184. Sprite
  185. }
  186. }
  187. }
  188. }
  189. }
  190.  
  191. // particles with trail
  192. alpha 0.75
  193. color 1 0.5 0.25
  194. shader flareshader
  195. repeat 0 {
  196. random velocity
  197. scale velocity velocity 250 + rand * 300
  198. size 0.4 + rand * 0.5
  199.  
  200. emitter 0.5 + rand*0.7 { // PARTICLE
  201. moveBounce 0 0.75
  202. colorFade 0
  203. Sprite
  204.  
  205. sink 0.9 50
  206. moveBounce 800 0.4
  207. // wolfcam include size when adding models
  208. size 1
  209. shader flareshader
  210. sprite
  211. distance 0.5 {
  212. // Slowly sink downwards
  213. clear velocity
  214. velocity2 -15
  215. rotate rand*360
  216.  
  217. color 1 0.5 0.25
  218. alpha 0.75
  219. shader flareshader
  220. repeat 3 + rand*4 {
  221. normalize dir v0
  222. inverse v0
  223. wobble v0 velocity rand*10
  224. //scale velocity velocity 75 + rand*50
  225. emitter 0.075 + rand*0.10 { // IT'S TRAIL
  226. size 0.4 + rand * 0.8
  227. colorFade 0.1
  228. moveGravity 0
  229. Sprite
  230. }
  231. }
  232. }
  233. }
  234. }
  235.  
  236.  
  237. //
  238.  
  239.  
  240.  
  241. repeat 66 {
  242. wobble dir velocity 80 + rand*70
  243. scale velocity velocity 300 + rand*400
  244. size 0.5 + rand*0.6
  245. emitter "0.2" {
  246. moveBounce 80 0.5
  247. colorFade 0.7
  248. sprite
  249. }
  250. }
  251. width 1
  252. repeat 12 {
  253. wobble dir velocity rand*70
  254. scale velocity velocity 300 + rand*250
  255. size 7 + rand*2
  256. emitter "0.55 + rand*0.4" {
  257. moveBounce 150 0.5
  258. colorFade 0.9
  259. spark
  260. }
  261. }
  262. shader gfx/misc/iceball
  263. repeat 66 {
  264. wobble dir velocity 80 + rand*70
  265. scale velocity velocity 300 + rand*400
  266. size 0.6 + rand*1
  267. emitter "0.2" {
  268. moveBounce 250 0.5
  269. colorFade 0.7
  270. sprite
  271. }
  272. }
  273.  
  274.  
  275.  
  276. }
  277.  
  278. //GL--GL--GL--GL--GL--GL--GL--GL--GL--GL--GL--GL--GL--GL--GL--GL--GL--GL--GL--GL--GL--GL--GL--GL--GL--GL--GL--GL--GL--GL--GL--GL--GL--GL--GL--GL
  279.  
  280. weapon/grenade/flash {
  281. color 1 0.75 0
  282. size 300 + rand*32
  283. light
  284. }
  285.  
  286. weapon/grenade/projectile {
  287. // wolfcam need to do model rotation yourself
  288. // wolfcam add size option when adding models
  289. model "models/ammo/grenade1.md3"
  290. rotate time * 1000 / 4
  291. size 1
  292. anglesModel
  293. color 1 .4 0
  294. alpha 0.5
  295. shader gfx/misc/iceball
  296.  
  297. repeat 1
  298. interval 0.25 {
  299. normalize dir v0
  300. inverse v0
  301. wobble v0 velocity 15 + rand*30
  302. scale velocity velocity 65 + rand*50
  303. emitter 0.1 + rand*0.25 {
  304. size 2.5 * ( 1 - 0.5 * lerp * 1.5 )
  305. colorFade 0.001
  306. moveGravity 0
  307. Sprite
  308. }
  309. }
  310.  
  311.  
  312. }
  313.  
  314.  
  315. weapon/grenade/trail
  316. {
  317. color 0.3 0.3 0.3
  318. alpha 0.75
  319. shader flareShader
  320. interval 0.001 {
  321. wobble dir velocity 0
  322. scale velocity velocity 0
  323. emitter 0.5 {
  324. size 8.5 * ( 1 - 0.5 * lerp * 1.5 )
  325. colorFade 0.001
  326. moveGravity 0
  327. Sprite
  328. }
  329. }
  330. }
  331.  
  332.  
  333. weapon/grenade/impact {
  334. vibrate 20
  335. sound sound/weapons/rocket/rocklx1a.wav
  336. shader gfx/damage/burn_med_mrk
  337. size 100
  338. Decal
  339.  
  340.  
  341. shader rocketExplosion
  342. size 30
  343. color 1 0.75 0
  344. emitter 1 {
  345. // size will goto zero after 0.5 of the time
  346. Sprite
  347. size 30 * clip(2 - 2*lerp)
  348. Light
  349. }
  350.  
  351.  
  352.  
  353. //
  354.  
  355.  
  356.  
  357. color 1 1 1
  358. alpha 0.8
  359. shader gfx/misc/iceball
  360. repeat 0 {
  361. random velocity
  362. scale velocity velocity 250 + rand*50
  363. size 1.6 rand*3.5
  364. emitter 0.6 + rand*0.5 {
  365. colorFade 0.75
  366. Sprite
  367. moveBounce 400 0.75
  368. }
  369. }
  370.  
  371. }
  372.  
  373. //PLASMA--PLASMA--PLASMA--PLASMA--PLASMA--PLASMA--PLASMA--PLASMA--PLASMA--PLASMA--PLASMA--PLASMA--PLASMA--PLASMA--PLASMA--PLASMA--PLASMA--PLASMA--PLASMA
  374.  
  375. weapon/plasma/flash
  376. {
  377. color 0.6 0.6 1
  378. size 80 + rand*32
  379. light
  380. }
  381.  
  382. weapon/plasma/projectile (color 0 0.3 0.6)
  383. {
  384. color 0 0 0.9
  385. size 8
  386. Light
  387. shader flareshader
  388. sprite
  389.  
  390.  
  391. size 8
  392. shader sprites/plasma1
  393. sprite
  394. loopSound "sound/weapons/plasma/lasfly.wav"
  395. }
  396.  
  397. weapon/plasma/trail {
  398.  
  399.  
  400. size 90
  401. color 0.35 0.35 1
  402. Light
  403.  
  404.  
  405. color 0.7 0.7 1
  406. shader raildisc
  407. interval 0.03 {
  408. normalize dir v0
  409. inverse v0
  410. scale v0 velocity 75 + rand * 50
  411. origin0 origin0 + crand * 5
  412. origin1 origin1 + crand * 5
  413. origin2 origin2 + crand * 5
  414. velocity0 crand * 20
  415. velocity1 crand * 20
  416. velocity2 crand * 20
  417. emitter 0.1 + rand * 0.06 {
  418. size 2.5 + crand * 0.5
  419. colorFade 0
  420. moveGravity 0
  421. Sprite
  422.  
  423. interval 0.01 {
  424. origin0 origin0 + crand * 1
  425. origin1 origin1 + crand * 1
  426. origin2 origin2 + crand * 1
  427. velocity0 crand * 30
  428. velocity1 crand * 30
  429. velocity2 crand * 30
  430. shader raildisc
  431. emitter 0.1 + rand * 0.06 {
  432. size 2.5 + crand * 0.5
  433. color 0.7 0.7 1
  434. colorFade 0
  435. moveGravity 0
  436. Sprite
  437. }
  438. }
  439. }
  440. }
  441. }
  442.  
  443. weapon/plasma/impact {
  444. vibrate 3
  445. sound sound/weapons/plasma/plasmx1a.wav
  446.  
  447. shader plasmaExplosion
  448. model models/weaphits/ring02.md3
  449.  
  450.  
  451. rotate rand*360
  452. emitter 0.6 {
  453. dirModel
  454. }
  455. size 12
  456. shader gfx/damage/plasma_mrk
  457. Decal energy
  458.  
  459. width 1
  460. shader raildisc
  461. alpha 1
  462. color 0.7 0.7 1
  463. repeat 18 + 26*rand {
  464. random dir
  465. wobble dir velocity 120 + rand*80
  466. scale velocity velocity 250 + rand*120
  467. size 20*rand
  468. emitter "0.5 * rand" {
  469. colorFade 0.9
  470. spark
  471. }
  472. }
  473.  
  474. alpha 1
  475. color 0.7 0.7 1
  476. repeat 12 + rand*17 {
  477. wobble dir velocity 80 + rand*25
  478. scale velocity velocity 160 + rand*75
  479. size 1 + rand*2
  480. emitter "1 + rand*0.5" {
  481. moveBounce 450 0.6
  482. colorFade 0.7
  483. sprite
  484. }
  485. }
  486.  
  487. color 0 0.2 1
  488. emitter 0.6
  489. {
  490. Sprite
  491. size 100 * clip(2 - 2*lerp)
  492. Light
  493. }
  494. }
  495.  
  496.  
  497.  
  498.  
  499. //LG--LG--LG--LG--LG--LG--LG--LG--LG--LG--LG--LG--LG--LG--LG--LG--LG--LG--LG--LG--LG--LG--LG--LG--LG--LG--LG--LG--LG--LG--LG--LG--LG--LG--LG--LG--LG
  500.  
  501. weapon/lightning/flash {
  502. color 0.6 0.6 1
  503. size 80 + rand*40
  504. light
  505. }
  506.  
  507. weapon/lightning/impact {
  508. vibrate 0
  509. soundList {
  510. sound/weapons/lightning/lg_hit.wav
  511. sound/weapons/lightning/lg_hit2.wav
  512. sound/weapons/lightning/lg_hit3.wav
  513. }
  514.  
  515. shader flareshader
  516. alpha 0.8
  517. color 1 0.3 0.1
  518. repeat 20 {
  519. wobble dir velocity 50 + rand*5
  520. scale velocity velocity 50 + rand*50
  521. size 0+ rand*5
  522. emitter 2 + rand*2 {
  523. colorFade 0.75
  524. Sprite
  525. moveBounce 400 0.75
  526. }
  527. }
  528.  
  529. shader gfx/misc/iceball
  530. alpha 0.8
  531. color 1 0.3 0.1
  532. repeat 15 rand*5 {
  533. wobble dir velocity 50
  534. scale velocity velocity 180 + rand*50
  535. size 0 + rand*15
  536. emitter 0.4 + rand*2 {
  537. colorFade 0.75
  538. Spark
  539. moveBounce 200 0.75
  540. }
  541. }
  542.  
  543. shader gfx/misc/iceball
  544. alpha 1
  545. color 1 0.3 0.1
  546. repeat 10 + rand*5 {
  547. width 7
  548. wobble dir velocity 40
  549. scale velocity velocity 200 + rand*50
  550. size 4 + rand*7
  551. emitter 0.001 +rand*0.01 {
  552. moveGravity 0
  553. colorFade 1
  554. spark
  555. }
  556. }
  557.  
  558. shader gfx/damage/hole_lg_mrk
  559. size 1
  560. emitter 55
  561. decal
  562. }
  563.  
  564.  
  565.  
  566. //GAUNT
  567.  
  568. weapon/gauntlet/flash {
  569. color 0.6 0.6 1
  570. size 30 + rand*22
  571. light
  572. }
  573.  
  574.  
  575. weapon/grapple/flash {
  576. color 1 0.6 0
  577. size 30 + rand*22
  578. light
  579. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement