summaryrefslogtreecommitdiff
path: root/assets/scripts/hw_lasgun.particle
blob: d495ce9dc1a85ecdb254ed86427ab3af647b96f8 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71

models/weapons/lasgun/impactPS
{
  ejector
  {
    particle
    {
      shader sync gfx/lasgun/purple_particle

      displacement 0 0 0 ~2.0
      normalDisplacement  7.0

      velocityType      normal
      velocityDir       linear
      velocityMagnitude 100
      velocity          0 0 0 ~90

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

      radius 0 3.0~2.0 0.0
      alpha  0 1.0 1.0
      rotation 0 ~360 -
      bounce 0.5

      lifeTime 500
    }

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


models/weapons/lasgun/impactPS2
{
  ejector
  {
    particle
    {
      shader sync gfx/lasgun/purple_particle

      displacement 0 0 0 ~2.0
      normalDisplacement  7.0

      velocityType      normal
      velocityDir       linear
      velocityMagnitude 100
      velocity          0 0 0 ~90

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

      radius 0 3.0~2.0 0.0
      alpha  0 1.0 1.0
      rotation 0 ~360 -
      bounce 0.5

      lifeTime 500
    }

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