summaryrefslogtreecommitdiff
path: root/assets/scripts/cuboid.particle
blob: c601bdf7f9fd4a907912b547ceaa7e506b96b2d5 (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
alienHatchPS
{
  ejector
  {
    particle
    {
      shader sync gfx/damage/blood.tga

      displacement 0 0 20 ~0

      velocityType      normal
      velocityDir       linear
      velocityMagnitude 300~75%
      velocity          0 0 1 ~50

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

      radius 0 30 50
      alpha  0 1.0 0.0
      rotation 0 ~360 -
      bounce 0.0
      color 0 { 1.0 0 0 } -

      lifeTime 1000
    }

    count 10
    delay 0
    period 5 - ~0%
  }

  ejector
  {
    particle
    {
      //TODO: human gibs
      model models/fx/alien_gibs/a_gib1.md3 models/fx/alien_gibs/a_gib2.md3 models/fx/alien_gibs/a_gib3.md3 models/fx/alien_gibs/a_gib4.md3

      displacement 0 0 20 ~0

      velocityType      normal
      velocityDir       linear
      velocityMagnitude 100~80%
      velocity          0 0 1 ~10

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

      radius          0 0.8 -
      bounce          0.2
      bounceMark      1~1 16 creep
      bounceSound     ~1 sound/misc/organic_bounce.wav

      lifeTime 5000~1000
    }

    count 4
    delay 0
    period 10 - ~0%
  }
}