From 2200ac2fb3d0b00bbcd8603b6a58fe736a535d9f Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 29 Jul 2002 10:31:57 +0000 Subject: [PATCH] much nicer rocket and grenade trails git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2114 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_particles.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/cl_particles.c b/cl_particles.c index a952263c..95f39ba4 100644 --- a/cl_particles.c +++ b/cl_particles.c @@ -772,8 +772,9 @@ void CL_RocketTrail (vec3_t start, vec3_t end, int type, entity_t *ent) case 0: // rocket trail if (!cl_particles_smoke.integer) return; - dec = 6; - particle(pt_fade, PARTICLE_BILLBOARD, 0x303030, 0x606060, tex_smoke[rand()&7], true, false, dec, dec, 64, 9999, 0, pos[0], pos[1], pos[2], lhrandom(-5, 5), lhrandom(-5, 5), lhrandom(-5, 5), 64.0f, 0, 0, 0, 0, 0); + dec = 3; + particle(pt_fade, PARTICLE_BILLBOARD, 0x303030, 0x606060, tex_smoke[rand()&7], false, true, dec, dec, 32, 9999, 0, pos[0], pos[1], pos[2], lhrandom(-5, 5), lhrandom(-5, 5), lhrandom(-5, 5), 64.0f, 0, 0, 0, 0, 0); + particle(pt_fade, PARTICLE_BILLBOARD, 0x801010, 0xFFA020, tex_smoke[rand()&7], false, true, dec, dec, 128, 9999, 0, pos[0], pos[1], pos[2], lhrandom(-20, 20), lhrandom(-20, 20), lhrandom(-20, 20), 768.0f, 0, 0, 0, 0, 0); if (bubbles && cl_particles_bubbles.integer) { particle(pt_bubble, PARTICLE_BILLBOARD, 0x404040, 0x808080, tex_bubble, false, true, 2, 2, 255, 9999, 1.5, pos[0], pos[1], pos[2], lhrandom(-16, 16), lhrandom(-16, 16), lhrandom(-16, 16), 0, 0, 0, 0, 0, 0); @@ -784,8 +785,8 @@ void CL_RocketTrail (vec3_t start, vec3_t end, int type, entity_t *ent) // FIXME: make it gradually stop smoking if (!cl_particles_smoke.integer) return; - dec = 6; - particle(pt_fade, PARTICLE_BILLBOARD, 0x202020, 0x404040, tex_smoke[rand()&7], true, false, dec, dec, 64, 9999, 0, pos[0], pos[1], pos[2], lhrandom(-5, 5), lhrandom(-5, 5), lhrandom(-5, 5), 128.0f, 0, 0, 0, 0, 0); + dec = 3; + particle(pt_fade, PARTICLE_BILLBOARD, 0x303030, 0x606060, tex_smoke[rand()&7], false, true, dec, dec, 32, 9999, 0, pos[0], pos[1], pos[2], lhrandom(-5, 5), lhrandom(-5, 5), lhrandom(-5, 5), 96.0f, 0, 0, 0, 0, 0); if (bubbles && cl_particles_bubbles.integer) { particle(pt_bubble, PARTICLE_BILLBOARD, 0x404040, 0x808080, tex_bubble, false, true, 2, 2, 255, 9999, 1.5, pos[0], pos[1], pos[2], lhrandom(-16, 16), lhrandom(-16, 16), lhrandom(-16, 16), 0, 0, 0, 0, 0, 0); -- 2.39.2