Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- weapon/lightning/impact {
- vibrate 0
- soundList {
- sound/weapons/lightning/lg_hit.wav
- sound/weapons/lightning/lg_hit2.wav
- sound/weapons/lightning/lg_hit3.wav
- }
- shader flareshader
- alpha 0.8
- color 1 0.3 0.1
- normalize dir v0
- addScale origin v0 origin 1
- repeat 3 {
- wobble dir velocity 5 + rand*25
- scale velocity velocity 250 + rand*50
- size 0.75+ rand*1.5
- emitter 1 + rand*1.55 {
- colorFade 0
- Sprite
- }
- }
- shader flareShader
- alpha 0.75
- color 1 0.8 0.7
- repeat 3 {
- wobble dir velocity 10 + rand*20
- scale velocity velocity 200 + rand*50
- size 0.25 + rand*1.25
- emitter "1 + rand" {
- moveBounce 400 0.75
- colorFade 0
- Sprite
- }
- }
- }
- weapon/plasma/projectile {
- size 16
- shader sprites/plasma1
- sprite
- loopSound "sound/weapons/plasma/lasfly.wav"
- distance 3 {
- shader lglsFlare
- origin0 origin0+(rand-0.5)*10
- origin1 origin1+(rand-0.5)*10
- origin2 origin2+(rand-0.5)*10
- color 0.5 0.5 1
- size 3+rand*2
- repeat 5 {
- random velocity
- scale velocity velocity 25 + rand * 25
- emitter 0.1 {
- movegravity 10
- colorFade 0
- sprite
- }
- }
- }
- }
- weapon/plasma/trail {
- // Animating sprite of the explosion
- shader lglsFlare
- //Will be the light colour
- size 16
- distance 0.7 {
- color 0 0 0
- emitter 0.075 {
- red 0.01*(1-lerp)
- green 0.025*(1-lerp)
- blue 0.1*(1-lerp)
- Sprite
- }
- }
- }
- weapon/plasma/impact {
- vibrate 30
- sound sound/weapons/plasma/plasmx1a.wav
- size 18
- shader gfx/damage/plasma_mrk
- Decal energy
- width 4
- shader flareShader
- alpha 1
- color 0.25 0.5 0.75
- repeat 20 + 20*rand {
- random dir
- wobble dir velocity 100 + rand*20
- // scale velocity velocity 200 + rand*50
- size 120*rand
- emitter "1.5 * rand" {
- colorFade 0
- spark
- }
- }
- // small particles
- alpha 0.75
- color 0.25 0.5 1
- shader lglsPrt
- repeat 10 {
- random velocity
- scale velocity velocity 150 + rand * 50
- size 1 + rand * 1.5
- emitter 2 + rand {
- moveBounce 400 0.75
- colorFade 0.75
- Sprite
- }
- }
- // big particles
- alpha 0.75
- color 0 0.25 1
- shader lglsFlare
- repeat 2 {
- random velocity
- scale velocity velocity 70 + rand * 50
- size 20 * rand
- emitter 2 + rand {
- moveBounce 400 0.75
- colorFade 0
- Sprite
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment