summaryrefslogtreecommitdiff
path: root/assets/scripts/hw_lightning.particle
blob: f9370d5be4e54ba2552ff9bed1893767cfd65112 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

models/weapons/lightning/impactPS
{
  ejector
  {
    particle
    {
      shader sync gfx/lightning/particle

      displacement 0 0 0 ~2.0

      velocityType      normal
      velocityDir       linear
      velocityMagnitude 100
      velocity          0 0 -1 ~10

      accelerationType      static
      accelerationDir       linear
      accelerationMagnitude 800
      acceleration          0 0 -1 ~10

      radius 0 9 0
      alpha  0 1.0 1.0
      rotation 0 ~360 -
      bounce 0.5

      lifeTime 100
    }

    count 1
    delay 0
    period 0 - ~0%
  }
}