From a0c96de3cd2b5fd1b57276caafc07e17a54d001a Mon Sep 17 00:00:00 2001 From: Michael Levin Date: Sat, 3 Oct 2009 11:17:37 +0000 Subject: Some more work on the Mass Driver: * Fixed a bug in SnapVectorTowards which would snap incorrectly if the point was below the world origin. Also added an analogous function to work with normals (SnapVectorNormal). * Added weapon.cfg to source control to set alwaysImpact (to show flash along with blood spurt when hitting a player). * The maximum number of hits allowed moved to tremulous.h, set MDRIVER_MAX_HITS. * Since a the visual effects changed, removed old massDriverFire() function and toggle switch. --- scripts/weapons.particle | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'scripts') diff --git a/scripts/weapons.particle b/scripts/weapons.particle index c0b2ab24..e837c7b0 100644 --- a/scripts/weapons.particle +++ b/scripts/weapons.particle @@ -419,11 +419,7 @@ models/weapons/mdriver/impactPS { shader sync gfx/mdriver/green_particle - normalDisplacement 1.0 - - velocityType normal - - radius 0 6.0 12.0 + radius 0 4.0 6.0 alpha 70 1.0 0.0 rotation 0 ~360 - -- cgit