summaryrefslogtreecommitdiff
path: root/assets/scripts/wound_bleed.particle
blob: 53d1f15214a821fda7754d943f5182464296c5be (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
humanWoundBleedPS
{
  ejector
  {
    particle
    {
      shader sync gfx/sprites/blood

      displacement 0 0 0 ~2
      parentVelocityFraction 1.0

      velocityType      static_transform
      velocityDir       linear
      velocityMagnitude 50~100%
      velocity          -0.5 0 -1 ~30

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

      radius 0 4.0 10.0
      alpha  0 1.0 0.0
      rotation 0 ~360 -
      //bounce 0.2
      bounce cull
      bounceMark 1~1 10 gfx/marks/blood_mrk
      //bounceSound ~1 sound/edge/blood_splat.wav

      overdrawProtection

      lifeTime 5000~50%
    }

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

alienWoundBleedPS
{
  ejector
  {
    particle
    {
      shader sync gfx/sprites/green_acid // TODO?

      displacement 0 0 0 ~2
      parentVelocityFraction 1.0

      velocityType      static_transform
      velocityDir       linear
      velocityMagnitude 50~100%
      velocity          -0.5 0 -1 ~30

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

      radius 0 4.0 10.0
      alpha  0 1.0 0.0
      rotation 0 ~360 -
      //bounce 0.2
      bounce cull
      bounceMark 1~1 10 gfx/marks/ablood_mrk
      //bounceSound ~1 sound/edge/blood_splat.wav // TODO?

      overdrawProtection

      lifeTime 5000~50%
    }

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