From c9083efba65343e9242ab05acd82ee7fcfa17e54 Mon Sep 17 00:00:00 2001 From: Michael Levin Date: Sat, 3 Oct 2009 11:20:08 +0000 Subject: * 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 --- scripts/weapons.particle | 92 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 89 insertions(+), 3 deletions(-) (limited to 'scripts/weapons.particle') 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,8 +514,53 @@ 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 @@ -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 } @@ -564,6 +632,24 @@ models/weapons/lcannon/impactPS models/weapons/lcannon/secondaryImpactPS { + ejector + { + 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 -- cgit