summaryrefslogtreecommitdiff
path: root/scripts/weapons.particle
diff options
context:
space:
mode:
authorMichael Levin <risujin@fastmail.fm>2009-10-03 11:20:08 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:14:53 +0000
commitc9083efba65343e9242ab05acd82ee7fcfa17e54 (patch)
tree717e309c90f141ffa600d45da78fbe241dfc0c66 /scripts/weapons.particle
parentb6fd1bffca359783d14cd2000d39cd422ce64eb3 (diff)
* Pulse Rifle has a small impact "particle system" to show impact flash
Lucifer Cannon aesthetic changes: * Secondary fire has a blaster-like trail and impact flash * Primary fire missile sprite and impact particles scale their size with charge strength * Other players can hear Humans overcharge
Diffstat (limited to 'scripts/weapons.particle')
-rw-r--r--scripts/weapons.particle92
1 files changed, 89 insertions, 3 deletions
diff --git a/scripts/weapons.particle b/scripts/weapons.particle
index e837c7b0..bdd0c101 100644
--- a/scripts/weapons.particle
+++ b/scripts/weapons.particle
@@ -388,6 +388,27 @@ models/weapons/blaster/missilePS
}
}
+models/weapons/prifle/impactPS
+{
+ ejector
+ {
+ particle
+ {
+ shader sync gfx/prifle/red_blob
+
+ radius 0 3.0 6.0
+ alpha 70 1.0 0.0
+ rotation 0 ~360 -
+
+ lifeTime 140
+ }
+
+ count 1
+ delay 0
+ period 0 - ~0%
+ }
+}
+
models/weapons/prifle/missilePS
{
ejector
@@ -462,7 +483,7 @@ models/weapons/mdriver/impactPS
delay 0
period 0 - ~0%
}
-}
+}
models/weapons/lcannon/missilePS
{
@@ -493,12 +514,57 @@ models/weapons/lcannon/missilePS
}
}
+models/weapons/lcannon/secondaryMissilePS
+{
+ ejector
+ {
+ particle
+ {
+ shader sync gfx/blaster/orange_particle
+
+ displacement 0 0 0 ~3.0
+
+ parentVelocityFraction 0.5
+
+ radius 0 2.0 0.0
+ alpha 0 1.0 0.0
+ bounce 0.1
+
+ lifeTime 400
+ }
+
+ count infinite
+ delay 0
+ period 25 - ~0%
+ }
+}
+
models/weapons/lcannon/impactPS
{
ejector
{
particle
{
+ shader sync gfx/blaster/orange_particle
+
+ radius 0 8.0 16.0
+ alpha 0 1.0 0.0
+ rotation 0 ~360 -
+
+ scaleWithCharge 0.1
+
+ lifeTime 250
+ }
+
+ count 1
+ delay 0
+ period 0 - ~0%
+ }
+
+ ejector
+ {
+ particle
+ {
shader sync gfx/blaster/orange_particle
displacement 0 0 0 ~2.0
@@ -548,10 +614,12 @@ models/weapons/lcannon/impactPS
accelerationMagnitude 150
acceleration 0 0 -1 0
- radius 0 25.0 0.0
+ radius 0 1.0 0.0
alpha 0 1.0 0.0
rotation 0 ~360 -
- bounce 1.0
+ bounce 1.0
+
+ scaleWithCharge 0.1
lifeTime 1000~1000
}
@@ -568,6 +636,24 @@ models/weapons/lcannon/secondaryImpactPS
{
particle
{
+ shader sync gfx/blaster/orange_particle
+
+ radius 0 8.0 16.0
+ alpha 0 1.0 0.0
+ rotation 0 ~360 -
+
+ lifeTime 250
+ }
+
+ count 1
+ delay 0
+ period 0 - ~0%
+ }
+
+ ejector
+ {
+ particle
+ {
shader sync gfx/blaster/orange_particle
displacement 0 0 0 ~2.0