Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // q3mme
- // compatible with wolfcam
- // general weapon effects
- // BUBBLES
- weapon/common/bubbles {
- shader waterbubble
- distance 5 + rand*10 {
- size 1 + rand * 2
- random dir
- addScale origin dir origin 10 * rand
- emitter 1 + rand*0.25 {
- alphaFade 0
- origin2 origin2 + lerp * 8
- Sprite
- }
- }
- }
- //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
- weapon/rocket/flash {
- color 1 0.75 0
- size 300 + rand*32
- light
- }
- weapon/rocket/projectile {
- model "models/ammo/rocket/rocket.md3"
- dirModel
- loopSound "sound/weapons/rocket/rockfly.wav"
- color 1 .3 0
- alpha 0.5
- shader flareShader
- repeat 3
- interval 0.2 {
- normalize dir v0
- inverse v0
- wobble v0 velocity 2 + rand*5
- scale velocity velocity 65 + rand*50
- emitter 0.25 + rand*0.35 {
- size 2 * ( 1 - 0.5 * lerp * 1.5 )
- colorFade 0.001
- moveGravity 0
- Sprite
- }
- }
- }
- weapon/rocket/trail {
- color 1 0.75 0
- size 100
- Light
- color 0.3 0.3 0.3
- alpha 0.8
- shader smokePuff
- rotate 360 * rand
- distance 10 {
- emitter 1 {
- alphaFade 0
- size 6 + lerp * 15
- sprite cullNear
- }
- }
- }
- weapon/rocket/impact
- {
- //
- vibrate 40
- sound sound/weapons/rocket/rocklx1a.wav
- shader gfx/damage/burn_med_mrk
- size 50
- Decal
- //
- shader rocketExplosion
- size 30
- color 1 0.75 0
- emitter 1 {
- Sprite
- size 30 * clip(2 - 2*lerp)
- }
- //
- color 1 0.5 0.1
- emitter 1
- {
- Sprite
- size 200 * clip(2 - 2*lerp)
- Light
- }
- //
- shader flareShader
- alpha 1
- color 1 1 1
- width 5
- repeat 1 + 2*rand {
- wobble dir velocity 100 + rand*20
- scale velocity velocity 100 + rand*50
- size 180*rand*rand
- emitter "0.3 * rand" {
- moveGravity 100
- colorFade 0.9
- spark
- }
- }
- color 1 1 1
- width 5
- repeat 1 + 3*rand {
- wobble dir velocity 150 + rand*20
- scale velocity velocity 200 + rand*50
- size 150*rand*rand
- emitter "0.3 * rand" {
- moveGravity 100
- colorFade 0.9
- spark
- }
- }
- // particles with trail
- alpha 0.75
- color 1 0.5 0.25
- shader flareshader
- repeat 2 {
- random velocity
- scale velocity velocity 200 + rand * 150
- size 0.8 + rand * 0.9
- emitter 0.5 + rand*0.7 { // PARTICLE
- moveBounce 0 0.75
- colorFade 0
- Sprite
- sink 0.9 50
- moveBounce 800 0.4
- // wolfcam include size when adding models
- size 1
- shader flareshader
- sprite
- distance 0.5 {
- // Slowly sink downwards
- clear velocity
- velocity2 -15
- rotate rand*360
- color 1 0.5 0.25
- alpha 0.75
- shader flareshader
- repeat 2 {
- normalize dir v0
- inverse v0
- wobble v0 velocity rand*10
- //scale velocity velocity 75 + rand*50
- emitter 0.075 + rand*0.10 { // IT'S TRAIL
- size 0.8 + rand * 0.9
- colorFade 0.1
- moveGravity 0
- Sprite
- }
- }
- }
- }
- }
- // particles with trail
- alpha 0.75
- color 1 0.5 0.25
- shader flareshader
- repeat 3 {
- random velocity
- scale velocity velocity 250 + rand * 300
- size 0.4 + rand * 0.5
- emitter 0.5 + rand*0.7 { // PARTICLE
- moveBounce 0 0.75
- colorFade 0
- Sprite
- sink 0.9 50
- moveBounce 800 0.4
- // wolfcam include size when adding models
- size 1
- shader flareshader
- sprite
- distance 0.5 {
- // Slowly sink downwards
- clear velocity
- velocity2 -15
- rotate rand*360
- color 1 0.5 0.25
- alpha 0.75
- shader flareshader
- repeat 4 + rand*5 {
- normalize dir v0
- inverse v0
- wobble v0 velocity rand*10
- //scale velocity velocity 75 + rand*50
- emitter 0.075 + rand*0.10 { // IT'S TRAIL
- size 0.4 + rand * 0.8
- colorFade 0.1
- moveGravity 0
- Sprite
- }
- }
- }
- }
- }
- //
- repeat 0 {
- wobble dir velocity 10 + rand*20
- scale velocity velocity 200 + rand*50
- size 3 + rand*0
- emitter "0.6*rand + rand*0.6" {
- moveBounce 80 0.5
- colorFade 0.7
- sprite
- }
- }
- width 1
- repeat 4 {
- wobble dir velocity rand*70
- scale velocity velocity 300 + rand*250
- size 8 + rand*2
- emitter "0.75 + rand*0.4" {
- moveBounce 150 0.5
- colorFade 0.9
- spark
- }
- }
- shader flareShader
- repeat 5 {
- wobble dir velocity 40 + rand*20
- scale velocity velocity 200 + rand*50
- size 0.6 + rand*1
- emitter "3*rand + rand" {
- moveBounce 250 0.5
- colorFade 0.7
- sprite
- }
- }
- }
- //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
- weapon/grenade/flash {
- color 1 0.75 0
- size 300 + rand*32
- light
- }
- weapon/grenade/projectile {
- // wolfcam need to do model rotation yourself
- // wolfcam add size option when adding models
- model "models/ammo/grenade1.md3"
- rotate time * 1000 / 4
- size 1
- anglesModel
- color 1 .4 0
- alpha 0.5
- shader flareshader
- repeat 1
- interval 0.25 {
- normalize dir v0
- inverse v0
- wobble v0 velocity 15 + rand*30
- scale velocity velocity 65 + rand*50
- emitter 0.1 + rand*0.25 {
- size 2.5 * ( 1 - 0.5 * lerp * 1.5 )
- colorFade 0.001
- moveGravity 0
- Sprite
- }
- }
- }
- weapon/grenade/trail
- {
- color 0.3 0.3 0.3
- alpha 0.35
- shader smokePuff
- rotate 360 * rand
- distance 3 {
- emitter rand * rand //rand * rand
- {
- alphaFade 0
- size 8 + rand * 2 + lerp * 25
- sprite cullNear
- }
- }
- }
- weapon/grenade/impact {
- vibrate 20
- sound sound/weapons/rocket/rocklx1a.wav
- shader gfx/damage/burn_med_mrk
- size 100
- Decal
- shader rocketExplosion
- size 30
- color 1 0.75 0
- emitter 1 {
- // size will goto zero after 0.5 of the time
- Sprite
- size 30 * clip(2 - 2*lerp)
- Light
- }
- //
- color 1 1 1
- alpha 0.8
- shader flareShader
- repeat 16 {
- random velocity
- scale velocity velocity 250 + rand*50
- size 1.6 rand*3.5
- emitter 0.6 + rand*0.5 {
- colorFade 0.75
- Sprite
- moveBounce 400 0.75
- }
- }
- }
- //PLASMA--PLASMA--PLASMA--PLASMA--PLASMA--PLASMA--PLASMA--PLASMA--PLASMA--PLASMA--PLASMA--PLASMA--PLASMA--PLASMA--PLASMA--PLASMA--PLASMA--PLASMA--PLASMA
- weapon/plasma/flash
- {
- color 0.6 0.6 1
- size 80 + rand*32
- light
- }
- weapon/plasma/projectile (color 0 0.3 0.6)
- {
- color 0 0 0.9
- size 8
- Light
- shader flareshader
- sprite
- size 8
- shader sprites/plasma1
- sprite
- loopSound "sound/weapons/plasma/lasfly.wav"
- }
- weapon/plasma/trail {
- size 90
- color 0.35 0.35 1
- Light
- color 0.7 0.7 1
- shader flareshader
- interval 0.03 {
- normalize dir v0
- inverse v0
- scale v0 velocity 75 + rand * 50
- origin0 origin0 + crand * 5
- origin1 origin1 + crand * 5
- origin2 origin2 + crand * 5
- velocity0 crand * 20
- velocity1 crand * 20
- velocity2 crand * 20
- emitter 0.1 + rand * 0.06 {
- size 2.5 + crand * 0.5
- colorFade 0
- moveGravity 0
- Sprite
- interval 0.01 {
- origin0 origin0 + crand * 1
- origin1 origin1 + crand * 1
- origin2 origin2 + crand * 1
- velocity0 crand * 30
- velocity1 crand * 30
- velocity2 crand * 30
- shader flareshader
- emitter 0.1 + rand * 0.06 {
- size 2.5 + crand * 0.5
- color 0.7 0.7 1
- colorFade 0
- moveGravity 0
- Sprite
- }
- }
- }
- }
- }
- weapon/plasma/impact {
- vibrate 3
- sound sound/weapons/plasma/plasmx1a.wav
- shader plasmaExplosion
- model models/weaphits/ring02.md3
- rotate rand*360
- emitter 0.6 {
- dirModel
- }
- size 12
- shader gfx/damage/plasma_mrk
- Decal energy
- width 1
- shader flareshader
- alpha 1
- color 0.7 0.7 1
- repeat 18 + 26*rand {
- random dir
- wobble dir velocity 120 + rand*80
- scale velocity velocity 250 + rand*120
- size 20*rand
- emitter "0.5 * rand" {
- colorFade 0.9
- spark
- }
- }
- alpha 1
- color 0.7 0.7 1
- repeat 12 + rand*17 {
- wobble dir velocity 80 + rand*25
- scale velocity velocity 160 + rand*75
- size 1 + rand*2
- emitter "1 + rand*0.5" {
- moveBounce 450 0.6
- colorFade 0.7
- sprite
- }
- }
- color 0 0.2 1
- emitter 0.6
- {
- Sprite
- size 100 * clip(2 - 2*lerp)
- Light
- }
- }
- //RG--RG--RG--RG--RG--RG--RG--RG--RG--RG--RG--RG--RG--RG--RG--RG--RG--RG--RG--RG--RG--RG--RG--RG--RG--RG--RG--RG--RG--RG--RG--RG--RG--RG--RG
- weapon/rail/flash {
- color 1 1 1
- size 300 + rand*32
- light
- }
- weapon/rail/trail {
- copy dir v3
- t0 v3
- normalize dir
- shader flareshader
- repeat (t0 / 0.75) {
- size 0.6 + crand * 1.2
- color 0.4 0.4 1
- addScale v1 dir origin loop * t0
- add parentOrigin origin origin
- origin0 origin0 + crand * 1
- origin1 origin1 + crand * 1
- origin2 origin2 + crand * 1
- velocity0 crand * 1
- velocity1 crand * 1
- velocity2 crand * 1
- emitter 1 {
- moveGravity 0
- ColorFade 0.7
- Sprite
- }
- }
- }
- weapon/rail/impact {
- vibrate 80
- sound sound/weapons/plasma/plasmx1a.wav
- rotate rand*360
- shader railExplosion
- model models/weaphits/ring02.md3
- emitter 0.6 {
- dirModel
- size 40
- shader gfx/damage/plasma_mrk
- Decal energy
- }
- shader flareShader
- alpha 0.5
- color 0.7 0.7 1 // 1 0 0 // lines
- repeat 12 + 20*rand {
- width 1
- wobble dir velocity 100 + rand*20
- scale velocity velocity 200 + rand*50
- size 80*rand
- emitter "1.5 * rand" {
- colorFade 0.9
- spark
- }
- }
- shader flareShader
- alpha 0.5
- color 0.7 0.7 1
- repeat 0 {
- wobble dir velocity 10 + rand*20
- scale velocity velocity 250 + rand*75
- size 8 + rand*2.5
- emitter 0.5 + rand*0.5 {
- colorFade 0.75
- Sprite
- moveBounce 400 0.75
- }
- }
- }
- //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
- weapon/lightning/flash {
- color 0.6 0.6 1
- size 50 + rand*30
- light
- }
- 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
- repeat 1 {
- wobble dir velocity 5 + rand*25
- scale velocity velocity 250 + rand*50
- size 0.8+ rand*1.5
- emitter 1 + rand*0.25 {
- colorFade 0.75
- Sprite
- moveBounce 400 0.75
- }
- }
- shader flareShader
- alpha 0.8
- color 1 0.3 0.1
- repeat 1 rand*2 {
- wobble dir velocity 120
- scale velocity velocity 200 + rand*50
- size 0 + rand*17
- emitter 0.1 + rand*0.4 {
- colorFade 0.75
- Spark
- moveBounce 400 0.75
- }
- }
- shader flareShader
- alpha 1
- color 1 0.3 0.1
- repeat 3 + rand*5 {
- width 7
- wobble dir velocity 120
- scale velocity velocity 200 + rand*50
- size 4 + rand*7
- emitter 0.001 +rand*0.01 {
- moveGravity 0
- colorFade 1
- spark
- }
- }
- shader gfx/damage/hole_lg_mrk
- size 1
- decal
- }
- //GAUNT
- weapon/gauntlet/flash {
- color 0.6 0.6 1
- size 30 + rand*22
- light
- }
- weapon/grapple/flash {
- color 1 0.6 0
- size 30 + rand*22
- light
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement