diff options
Diffstat (limited to 'assets/scripts')
-rw-r--r-- | assets/scripts/hw_lightning.particle | 35 | ||||
-rw-r--r-- | assets/scripts/hw_lightning.shader | 9 |
2 files changed, 44 insertions, 0 deletions
diff --git a/assets/scripts/hw_lightning.particle b/assets/scripts/hw_lightning.particle new file mode 100644 index 0000000..afcba47 --- /dev/null +++ b/assets/scripts/hw_lightning.particle @@ -0,0 +1,35 @@ + +models/weapons/lightning/impactPS +{ + ejector + { + particle + { + shader sync gfx/psaw/blue_particle + + displacement 0 0 0 ~2.0 + + velocityType normal + velocityDir linear + velocityMagnitude 100 + velocity 0 0 -1 ~90 + + accelerationType static + accelerationDir linear + accelerationMagnitude 800 + acceleration 0 0 -1 ~10 + + radius 0 1.0~2.0 3.0~2.0 + alpha 0 1.0 1.0 + rotation 0 ~360 - + bounce 0.5 + + lifeTime 1000 + } + + count 3 + delay 0 + period 0 - ~0% + } +} + diff --git a/assets/scripts/hw_lightning.shader b/assets/scripts/hw_lightning.shader new file mode 100644 index 0000000..2fa0c0c --- /dev/null +++ b/assets/scripts/hw_lightning.shader @@ -0,0 +1,9 @@ +gfx/lightning/beam +{ + nomipmaps + { + map gfx/lightning/beam + blendFunc add + tcMod scroll -5 0 + } +} |