summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/analmango.particle196
-rw-r--r--scripts/analmango.shader11
2 files changed, 207 insertions, 0 deletions
diff --git a/scripts/analmango.particle b/scripts/analmango.particle
new file mode 100644
index 0000000..bd6251c
--- /dev/null
+++ b/scripts/analmango.particle
@@ -0,0 +1,196 @@
+analmango_explosion_trail
+{
+ ejector
+ {
+ particle
+ {
+ shader sync flame1 flame2 flame3 flame4 flame5 flame6 flame7 flame8 flame9 flame10 flame11 flame12 flame13 flame14 flame15 flame16 flame17 flame18 flame19 flame20 flame21 flame22 flame23 flame24 flame25
+
+ velocityType static
+ velocityDir linear
+ velocityMagnitude 30
+ velocity 0 0 -1 ~60
+
+ accelerationType static
+ accelerationDir linear
+ accelerationMagnitude 200
+ acceleration 0 0 1 0
+
+ radius 0 50.0 30.0
+ alpha 0 1.0 0.0
+ rotation 0 ~360 -
+ bounce 0.2
+
+ lifeTime 1000
+ }
+
+ count 80
+ delay 0
+ period 80 - ~0%
+ }
+}
+
+// based on humanBuildableDestroyedPS
+analmango_explosion
+{
+ ejector
+ {
+ particle
+ {
+ shader sync gfx/sprites/spark
+
+ velocityType static
+ velocityDir linear
+ velocityMagnitude 1050~75%
+ velocity 0 0 1 ~60
+
+ accelerationType static
+ accelerationDir linear
+ accelerationMagnitude 800
+ acceleration 0 0 -1 0
+
+ radius 0 4.0 2.0
+ alpha 0 1.0 0.0
+ rotation 0 ~360 -
+ bounce 0.4~100%
+
+ lifeTime 5000~100%
+ }
+
+ count 80
+ delay 0
+ period 0 - ~0%
+ }
+
+ ejector
+ {
+ particle
+ {
+ shader sync flame1 flame2 flame3 flame4 flame5 flame6 flame7 flame8 flame9 flame10 flame11 flame12 flame13 flame14 flame15 flame16 flame17 flame18 flame19 flame20 flame21 flame22 flame23 flame24 flame25
+
+ velocityType static
+ velocityDir linear
+ velocityMagnitude 600~75%
+ velocity 0 0 1 ~60
+
+ accelerationType static
+ accelerationDir linear
+ accelerationMagnitude 800
+ acceleration 0 0 -1 0
+
+ radius 0 150.0 200.0
+ alpha 0 1.0 0.0
+ rotation 0 ~360 -
+ bounce 0.2
+
+ lifeTime 1000
+
+ childSystem analmango_explosion_trail
+ }
+
+ count 10
+ delay 0
+ period 0 - ~0%
+ }
+
+ ejector
+ {
+ particle
+ {
+ model models/fx/metal_gibs/m_gib1.md3 models/fx/metal_gibs/m_gib2.md3 models/fx/metal_gibs/m_gib3.md3 models/fx/metal_gibs/m_gib4.md3 models/fx/metal_gibs/m_gib5.md3 models/fx/metal_gibs/m_gib6.md3 models/fx/metal_gibs/m_gib7.md3 models/fx/metal_gibs/m_gib8.md3
+
+ velocityType static
+ velocityDir linear
+ velocityMagnitude 800~75%
+ velocity 0 0 1 ~60
+
+ accelerationType static
+ accelerationDir linear
+ accelerationMagnitude 800
+ acceleration 0 0 -1 0
+
+ radius 0 2.0 -
+ bounce 0.2
+ bounceMark 1~1 96 gfx/marks/burn_mrk
+ bounceSound ~1 sound/buildables/human/fragmentbounce.wav
+
+ lifeTime 7000~3000
+
+ childSystem analmango_explosion_trail
+ }
+
+ count 14
+ delay 0
+ period 10 - ~0%
+ }
+
+ ejector
+ {
+ particle
+ {
+ dynamicLight 0 800 0 { 1.0 0.75 0.0 }
+
+ lifeTime 1600~100
+ }
+
+ count 1
+ delay 0
+ period 0 - ~0%
+ }
+}
+
+analmango_rocket_trail
+{
+ ejector
+ {
+ particle
+ {
+ shader sync flame1 flame2 flame3 flame4 flame5 flame6 flame7 flame8 flame9 flame10 flame11 flame12 flame13 flame14 flame15 flame16 flame17 flame18 flame19 flame20 flame21 flame22 flame23 flame24 flame25
+
+ velocityType static
+ velocityDir linear
+ velocityMagnitude 0
+ velocity 0 0 0 ~60
+
+ accelerationType static
+ accelerationDir linear
+ accelerationMagnitude 200
+ acceleration 0 0 1 0
+
+ radius 0 10.0 30.0
+ alpha 0 1.0 0.0
+ rotation 0 ~360 -
+ bounce 0.2
+
+ lifeTime 500
+ }
+
+ count 80
+ delay 0
+ period 10 - ~0%
+ }
+}
+
+analmango_rocket
+{
+ ejector
+ {
+ particle
+ {
+ velocityType static
+ velocityDir linear
+ velocityMagnitude 2500
+ velocity 0 -1 0 0
+
+ dynamicLight 0 300 0 { 1.0 0.75 0.0 }
+
+ lifeTime 450
+
+ childSystem analmango_rocket_trail
+ }
+
+ count 1
+ delay 0
+ period 0 - ~0%
+ }
+} \ No newline at end of file
diff --git a/scripts/analmango.shader b/scripts/analmango.shader
index e021489..b3972cb 100644
--- a/scripts/analmango.shader
+++ b/scripts/analmango.shader
@@ -1149,3 +1149,14 @@ textures/analmango/aldaris_park
//q3map_sun 0.9 0.95 1 75 180 25
skyParms env/analmango/aldaris - -
}
+
+textures/analmango/explosion_mark
+{
+ surfaceparm nolightmaps
+ polygonOffset
+
+ {
+ map textures/analmango/explosion_mark.jpg
+ blendFunc filter
+ }
+}