summaryrefslogtreecommitdiff
path: root/assets/scripts/general_alien_buildables.particle
blob: fb52fb1981ca047c08584aaad6dabbabf7402df5 (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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
//AB BLEED
alienBuildableBleedPS
{
  ejector
  {
    particle
    {
      shader sync gfx/damage/blood.tga
      displacement          0 0 0 0
      velocityType          normal
      velocityDir           linear
      velocityMagnitude     15
      velocity              0 0 0 ~35
      accelerationType      static
      accelerationDir       linear
      acceleration          0 0 -1 ~5
      accelerationMagnitude 25
      radius                0 5 8
      alpha                 250 .85 0
      rotation              0 ~-15 ~15
      bounce                0.0
      color                 0 { 1.0 1.0 0.6 } -
      lifeTime              400~100
    }
    particle
    {
      shader sync gfx/damage/blood.tga
      displacement          0 0 0 0
      velocityType          normal
      velocityDir           linear
      velocityMagnitude     15
      velocity              0 0 0 ~35
      accelerationType      static
      accelerationDir       linear
      acceleration          0 0 -1 ~5
      accelerationMagnitude 25
      radius                0 5 8
      alpha                 250 .85 0
      rotation              0 ~165 ~195
      bounce                0.0
      color                 0 { 1.0 1.0 0.6 } -
      lifeTime              400~100
    }
    count   2
    delay   0
    period  0 - 0
  }
}

//AB DAMAMGE
alienBuildableDamagedPS
{
  ejector
  {
    particle
    {
      shader sync gfx/sprites/green_acid
      velocityType      normal
      velocityDir       linear
      velocityMagnitude 100
      velocity          0 0 0 ~40
      accelerationType      static
      accelerationDir       linear
      accelerationMagnitude 200
      acceleration          0 0 -1 0
      radius 0 4.0 20.0
      alpha  0 1.0 0.0
      rotation 0 ~360 -
      bounce 0.0
      lifeTime 1000~50%
    }
    count infinite
    delay 0
    period 750 - ~0%
  }
}

//AB DESTROYED
alienBuildableDestroyedPS
{
  ejector
  {
    particle
    {
      shader sync gfx/sprites/green_acid
      displacement 0 0 0 ~70
      normalDisplacement  80
      velocityType      static
      velocityDir       linear
      velocityMagnitude 30
      velocity          0 0 -1 ~0
      radius 0 20.0 15.0
      alpha  0 1.0 0.0
      rotation 0 ~360 -
      bounce 0.0
      lifeTime 1000~50%
    }
    count 16
    delay 0
    period 0 - ~0%
  }
  ejector
  {
    particle
    {
      shader sync gfx/sprites/green_acid
      displacement 0 0 40 ~0
      velocityType      static
      velocityDir       linear
      velocityMagnitude 300~75%
      velocity          0 0 1 ~60
      accelerationType      static
      accelerationDir       linear
      accelerationMagnitude 800
      acceleration          0 0 -1 0
      radius 0 20.0 30.0
      alpha  0 1.0 0.0
      rotation 0 ~360 -
      bounce 0.2
      lifeTime 1000
    }
    count 10
    delay 0
    period 10 - ~0%
  }
  ejector
  {
    particle
    {
      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 40 ~0
      velocityType      static
      velocityDir       linear
      velocityMagnitude 300~75%
      velocity          0 0 1 ~60
      accelerationType      static
      accelerationDir       linear
      accelerationMagnitude 800
      acceleration          0 0 -1 0
      radius          0 1.0 -
      bounce          0.2
      bounceMark      1~1 16 creep
      bounceSound     ~1 sound/misc/organic_bounce.wav
      lifeTime 5000~1000
    }
    count 8
    delay 0
    period 10 - ~0%
  }
}