summaryrefslogtreecommitdiff
path: root/assets/scripts/g_alienbuildablefx.particle
blob: a9463512a6a9774b9c0135a439f314e929dd7c58 (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
alienAcidTubePS // Acid Tube
{
  ejector // acid spray
  {
    particle
    {
      shader sync greenblood01frame01 greenblood01frame02 greenblood01frame03 greenblood01frame04 greenblood01frame05 greenblood01frame06 greenblood01frame07 greenblood01frame08

      displacement 0 0 0 ~2
      normalDisplacement 20

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

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

      radius 0 8 20
      alpha  0 1.0 0
      rotation 0 ~360 -
      bounce 0.2

      lifeTime 600~50%
    }

    count 50
    delay 0
    period 5 - 0
  }
		
		ejector // acid decals
  {
    particle
    {
      shader sync greenblood01frame01

      displacement 0 0 0 0
      normalDisplacement 0

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

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

      radius 0 0 0
      alpha 0 0 0
      rotation 0 ~360 -
						
      bounce 0.3
	     bounceMark 0~1 32~8 greensplat
						bounceSound 1 sound/buildables/acid_tube/acidsplat.wav
						
						onDeathSystem alienBuildableBleedPS

      lifeTime 1000~50%
    }

    count 1
    delay 0
    period 5 - 0
  }
}

models/weapons/hive/missilePS // Hive
{
  ejector
  {
    particle
    {
      shader 20 models/weapons/hive/sprite1.tga models/weapons/hive/sprite2.tga

      displacement 0 0 0 ~4

      parentVelocityFraction  0.5
      velocityType static
      velocityDir linear
      velocityMagnitude 100
      velocity 0 0 1 ~180

      accelerationType cent
      accelerationDir point
      accelerationMagnitude 2000

      rotation 0 -20~40 -20~40
      radius 0 2 2
      alpha 0 1 0
      bounce 0.5

      lifeTime 4000
    }

    count infinite
    delay 0
    period 100 - 0
  }
}