light definitions cleanups; added some more light effects
[k8zan.git] / decorate / Support / effects.txt
blob636f222af519938114cf89d83fbd96c8daef38a3
1 /* toxic cloud explosion */
2 ACTOR ExplosionHuge {
3   Radius 5
4   Height 5
5   Scale 2.0
6   +NOGRAVITY
7   +NOBLOCKMAP
8   +NoTeleport
9   +k8AllowSimpleTick
11   States {
12   Spawn:
13     TNT1 A 0
14     TNT1 A 1 A_JumpIf(waterlevel>1, "WaterDeath")
15     LEXP FE 1 Bright Light("ZanHugeExplosion")
16     TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_SpawnItemEx("MagicSparkRed", random(-5, 5), random(-5, 5), random(0, 5), random(-15, 15), random(-15, 15), random(0, 15), 0, SXF_NOCHECKPOSITION, 0);
17     TNT1 A 0 A_PlaySoundEx("Weapons/Explosion", "Auto", 0, 2);
18     LEXP DCBA 1 Bright
19     LEXP ABCDEFGH 2 Bright
20     LEXP IJKL 1 Bright
21     Stop
23   WaterDeath:
24     TNT1 AAAAAAAAAAAAAA 0 A_SpawnItemEx("UnderwaterBubble", 0, 0, 0, random(-2, 2), random(-2, 2), random(1, 2), 0, SXF_NOCHECKPOSITION, 0)
25     Stop
26   }
30 /* Crushbow Fire Bolt explosion */
31 ACTOR ExplosionLarge {
32   Radius 5
33   Height 5
34   Scale 1.2
35   +NOBLOCKMAP
36   +NOGRAVITY
37   +NoTeleport
38   +k8AllowSimpleTick
40   States {
41   Spawn:
42     TNT1 A 0
43     TNT1 A 1 A_JumpIf(waterlevel>1, "WaterDeath")
44     LEXP FE 1 Bright Light("ZanLargeExplosion")
45     TNT1 AAAAAAAAAAAAAAAAAAAA 0 A_SpawnItemEx("MagicSparkRed", random(-5, 5), random(-5, 5), random(0, 5), random(-15, 15), random(-15, 15), random(0, 15), 0, SXF_NOCHECKPOSITION, 0)
46     TNT1 A 0 A_PlaySoundEx("Weapons/Explosion", "Auto", 0, 1)
47     LEXP DCBA 1 Bright
48     LEXP ABCDEFGH 2 Bright
49     LEXP IJKL 1 Bright
50     Stop
52   WaterDeath:
53     TNT1 AAAAAAAAAAAAAA 0 A_SpawnItemEx("UnderwaterBubble", 0, 0, 0, random(-2, 2), random(-2, 2), random(1, 2), 0, SXF_NOCHECKPOSITION, 0)
54     Stop
55   }
59 /* Crushbow Impact Bolt explosion */
60 ACTOR ExplosionSmall {
61   Radius 5
62   Height 5
63   Scale 0.5
64   +NOBLOCKMAP
65   +NOGRAVITY
66   +NoTeleport
67   +k8AllowSimpleTick
69   States {
70   Spawn:
71     TNT1 A 0
72     TNT1 A 1 A_JumpIf(waterlevel>1, "WaterDeath")
73     LEXP FE 1 Bright Light("ZanSmallExplosion")
74     TNT1 AAAAA 0 A_SpawnItemEx("MagicSparkRed", random(-5, 5), random(-5, 5), random(0, 5), random(-5, 5), random(-5, 5), random(0, 5), 0, SXF_NOCHECKPOSITION, 0)
75     TNT1 A 0 A_PlaySoundEx("Weapons/ExplosionSmall", "Auto", 0, 1)
76     LEXP DCBA 1 Bright
77     LEXP ABCDEFGH 2 Bright
78     LEXP IJKL 1 Bright
79     Stop
81   WaterDeath:
82     TNT1 AAAAA 0 A_SpawnItemEx("UnderwaterBubble", 0, 0, 0, random(-2, 2), random(-2, 2), random(1, 2), 0, SXF_NOCHECKPOSITION, 0)
83     Stop
84   }
88 ACTOR FireBoltTrail {
89   Radius 5
90   Height 5
91   Mass 5
92   Scale 0.2
93   Gravity 0.1
94   +MOVEWITHSECTOR
95   +MISSILE
96   +THRUACTORS
97   +NOBLOCKMAP
98   +BOUNCEONFLOORS
99   +BOUNCEONWALLS
100   +BOUNCEONCEILINGS
101   +ALLOWBOUNCEONACTORS
102   +BOUNCEONACTORS
103   +VISIBILITYPULSE
104   +NoTeleport
105   +k8AllowSimpleTick
106   BounceType Heretic
107   BounceFactor 0.00
108   BounceCount 1
110   States {
111   Spawn:
112     TNT1 A 0
113     LSPA II 1 bright A_JumpIf(waterlevel>1, "WaterDeath")
114     Goto Death
116   Death:
117     TNT1 A 0
118     Stop
120   WaterDeath:
121     TNT1 A 0
122     Stop
123   }
127 // small flame spawned by Fragfire Gun flames
128 ACTOR FireTinyDie1 {
129   Radius 5
130   Height 5
131   Mass 5
132   +MOVEWITHSECTOR
133   +MISSILE
134   +THRUACTORS
135   +NOBLOCKMAP
136   +BOUNCEONFLOORS
137   +BOUNCEONWALLS
138   +BOUNCEONCEILINGS
139   +ALLOWBOUNCEONACTORS
140   +BOUNCEONACTORS
141   +NoTeleport
142   +k8AllowSimpleTick
143   BounceType Heretic
144   BounceFactor 0.00
145   BounceCount 1
147   States {
148   Spawn:
149     TNT1 A 10
150     Stop
152   Death:
153     LFLA ABCDBACBDACABCDBACBDACABCDBACBDAC 4 bright A_JumpIf(waterlevel>1, "WaterDeath")
154     LFLA A 4 A_SpawnItemEx("SteamPuffTiny", 0, 0, 5)
155     Stop
157   WaterDeath:
158     TNT1 A 0 A_SpawnItemEx("SteamPuffTiny", 0, 0, 5)
159     Stop
160   }
164 // smaller flame spawned by Fragfire Gun flames
165 ACTOR FireTinyDie2 : FireTinyDie1 {
166   Scale 0.7
167   Mass 5
169   States {
170   Spawn:
171     TNT1 A 10
172     Stop
174   Death:
175     LFLA ABCDBACBDACABCDBACBDACABCDB 4 bright A_JumpIf(waterlevel>1, "WaterDeath")
176     LFLA A 4 A_SpawnItemEx("SteamPuffTiny", 0, 0, 5)
177     Stop
179   WaterDeath:
180     TNT1 A 0 A_SpawnItemEx("SteamPuffTiny", 0, 0, 5)
181     Stop
183   DontSpawn:
184     TNT1 A 0
185     Stop
186   }
190 // smallest flame spawned by Fragfire Gun flames
191 ACTOR FireTinyDie3 :FireTinyDie1 {
192   Scale 0.4
193   Mass 5
195   States {
196   Spawn:
197     TNT1 A 10
198     Stop
200   Death:
201     LFLA ABCDBACBDACABCDBACBDAC 4 bright A_JumpIf(waterlevel>1, "WaterDeath")
202     LFLA A 4 A_SpawnItemEx("SteamPuffTiny", 0, 0, 5)
203     Stop
205   WaterDeath:
206     TNT1 A 0 A_SpawnItemEx("SteamPuffTiny", 0, 0, 5)
207     Stop
209   DontSpawn:
210     TNT1 A 0
211     Stop
212   }
216 ACTOR MagicSparkCyanSmall {
217   Radius 5
218   Height 5
219   Mass 5
220   Scale 0.15
221   Gravity 0.1
222   +BRIGHT
223   +DONTSPLASH
224   +MOVEWITHSECTOR
225   +MISSILE
226   +THRUACTORS
227   +NOBLOCKMAP
228   +BOUNCEONFLOORS
229   +BOUNCEONWALLS
230   +BOUNCEONCEILINGS
231   +ALLOWBOUNCEONACTORS
232   +BOUNCEONACTORS
233   +VISIBILITYPULSE
234   +NoTeleport
235   +k8AllowSimpleTick
236   BounceType Heretic
237   BounceFactor 0.00
238   BounceCount 1
240   States {
241     Spawn:
242     LSPA J 1
243     Loop
244   }
248 ACTOR MagicSparkGreen {
249   Radius 5
250   Height 5
251   Mass 5
252   Scale 0.2
253   Gravity 0.9
254   RenderStyle Stencil
255   StencilColor 98d526
256   +MOVEWITHSECTOR
257   +MISSILE
258   +THRUACTORS
259   +NOBLOCKMAP
260   +NoTeleport
261   +k8AllowSimpleTick
263   States {
264     Spawn:
265     LSPA I 1 bright A_JumpIf(waterlevel>1, "WaterDeath")
266     Loop
268   Death:
269     TNT1 A 0 A_Scream
270     Stop
272   WaterDeath:
273     TNT1 A 0 A_Scream
274     Stop
275   }
279 ACTOR MagicSparkPink {
280   Radius 5
281   Height 5
282   Mass 5
283   Scale 0.2
284   Gravity 0.9
285   RenderStyle Stencil
286   StencilColor f391d0
287   +MOVEWITHSECTOR
288   +MISSILE
289   +THRUACTORS
290   +NOBLOCKMAP
291   +NoTeleport
292   +k8AllowSimpleTick
294   States {
295   Spawn:
296     LSPA I 1 bright A_JumpIf(waterlevel>1, "WaterDeath")
297     Loop
299   Death:
300     TNT1 A 0 A_Scream
301     Stop
303   WaterDeath:
304     TNT1 A 0 A_Scream
305     Stop
306   }
310 ACTOR MagicSparkYellow : MagicSparkCyanSmall {
311   Renderstyle Stencil
312   StencilColor "Yellow"
313   +NOGRAVITY
315   States {
316   Spawn:
317     LSPA J 2
318     LSPA J 2 A_SetRenderStyle(0.9, STYLE_TranslucentStencil)
319     LSPA J 2 A_SetRenderStyle(0.8, STYLE_TranslucentStencil)
320     LSPA J 2 A_SetRenderStyle(0.7, STYLE_TranslucentStencil)
321     LSPA J 2 A_SetRenderStyle(0.6, STYLE_TranslucentStencil)
322     LSPA J 2 A_SetRenderStyle(0.5, STYLE_TranslucentStencil)
323     LSPA J 2 A_SetRenderStyle(0.4, STYLE_TranslucentStencil)
324     LSPA J 2 A_SetRenderStyle(0.3, STYLE_TranslucentStencil)
325     LSPA J 2 A_SetRenderStyle(0.2, STYLE_TranslucentStencil)
326     LSPA J 2 A_SetRenderStyle(0.1, STYLE_TranslucentStencil)
327     Stop
328   }
332 ACTOR MagicSparkRed {
333   Radius 5
334   Height 5
335   Mass 5
336   Scale 0.4
337   Gravity 0.5
338   +MOVEWITHSECTOR
339   +MISSILE
340   +THRUACTORS
341   +NOBLOCKMAP
342   +BOUNCEONFLOORS
343   +BOUNCEONWALLS
344   +BOUNCEONCEILINGS
345   +ALLOWBOUNCEONACTORS
346   +BOUNCEONACTORS
347   +VISIBILITYPULSE
348   +NoTeleport
349   +k8AllowSimpleTick
350   BounceType Heretic
351   BounceFactor 0.00
352   BounceCount 1
353   DeathSound "Interaction/Smother"
355   States {
356   Spawn:
357     LSPA I 1 bright A_JumpIf(waterlevel>1, "WaterDeath")
358     Loop
360   Death:
361     TNT1 A 0 A_Scream
362     Stop
364   WaterDeath:
365     TNT1 A 0 A_Scream
366     Stop
367   }
371 ACTOR SparkDie {
372   Radius 5
373   Height 5
374   Mass 5
375   Scale 0.5
376   Gravity 0.8
377   +MISSILE
378   +THRUACTORS
379   +NOBLOCKMAP
380   +BOUNCEONFLOORS
381   +BOUNCEONWALLS
382   +BOUNCEONCEILINGS
383   +ALLOWBOUNCEONACTORS
384   +BOUNCEONACTORS
385   +NoTeleport
386   +k8AllowSimpleTick
387   BounceType Heretic
388   BounceFactor 0.20
389   BounceCount 3
391   States {
392   Spawn:
393     LSPA A 8 bright
394     LSPA AAAAAAAA 4 bright A_JumpIf(waterlevel>1, "WaterDeath")
395     Stop
397   Death:
398     TNT1 A 0
399     Stop
401   WaterDeath:
402     TNT1 A 0
403     Stop
404   }
408 ACTOR SteamPuffSmall /*10015*/ {
409   Radius 5
410   Height 5
411   Mass 5
412   +NOGRAVITY
413   +NOBLOCKMAP
414   +NOINTERACTION
415   +NoTeleport
416   +k8AllowSimpleTick
418   States {
419   Spawn:
420     LPUF ABCDEFG 4
421     Stop
422   }
426 ACTOR SteamPuffTiny /*10013*/ {
427   Radius 5
428   Height 5
429   Mass 5
430   Scale 0.5
431   +NOGRAVITY
432   +NOBLOCKMAP
433   +NOINTERACTION
434   +NoTeleport
435   +k8AllowSimpleTick
437   States {
438   Spawn:
439     LPUF ABCDEFG 4
440     Stop
441   }
445 // underwater bubble spawned by swimming, shooting underwater etc.
446 ACTOR UnderwaterBubble {
447   Radius 5
448   Height 5
449   Mass 5
450   VSpeed 5
451   //Scale 0.5
453   +NOGRAVITY
454   +NOBLOCKMAP
455   +DONTSPLASH
456   +NoTeleport
457   +k8AllowSimpleTick
459   States {
460   Spawn:
461     TNT1 AAAAAAAAAAAAAAAAAAAA 1 A_JumpIf(waterlevel==3, "BubbleSpawn")
462     Stop
464   BubbleSpawn:
465     CBUB AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 1 A_JumpIf(waterlevel==1, "Death")
466     Stop
468   Death:
469     TNT1 A 0
470     Stop
471   }