summaryrefslogtreecommitdiff
path: root/assets/scripts/cuboid.particle
blob: 343fecc7e15bead3d04990767cd59d5fd64ab8c4 (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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
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%
  }
}

humanPowerZapPS
{
  ejector // RC overloading
  {
    particle
    {
      shader sync lightning01

      displacement 0 0 0 80

      velocityType static
      accelerationType static

      radius 0 80~30 80~30
      alpha  0 1 1
      rotation 0 ~360 -
      bounce 0

      lifeTime 75
    }

    count 3
    delay 0
    period 10 - 0
  }
}