From: havoc Date: Sun, 8 Aug 2004 22:52:55 +0000 (+0000) Subject: changed rocket explosion color to be more redish orange X-Git-Tag: xonotic-v0.1.0preview~5755 X-Git-Url: https://git.xonotic.org/?a=commitdiff_plain;h=4109d791cd33c09d470819c5ddc8f5219ead0510;p=xonotic%2Fdarkplaces.git changed rocket explosion color to be more redish orange changed rocket trail color to be more redish orange doubled brightness of modelflags lights (they weren't very noticable) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4321 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_main.c b/cl_main.c index 6df65cf6..2aedf0b2 100644 --- a/cl_main.c +++ b/cl_main.c @@ -758,25 +758,25 @@ void CL_LinkNetworkEntity(entity_t *e) { trailtype = 3; dlightradius = max(dlightradius, 100); - dlightcolor[0] += 0.12f; - dlightcolor[1] += 0.50f; - dlightcolor[2] += 0.12f; + dlightcolor[0] += 0.25f; + dlightcolor[1] += 1.00f; + dlightcolor[2] += 0.25f; } else if (e->render.model->flags & EF_TRACER2) { trailtype = 5; dlightradius = max(dlightradius, 100); - dlightcolor[0] += 0.50f; - dlightcolor[1] += 0.30f; - dlightcolor[2] += 0.10f; + dlightcolor[0] += 1.00f; + dlightcolor[1] += 0.60f; + dlightcolor[2] += 0.20f; } else if (e->render.model->flags & EF_ROCKET) { trailtype = 0; dlightradius = max(dlightradius, 200); - dlightcolor[0] += 1.50f; - dlightcolor[1] += 1.20f; - dlightcolor[2] += 0.60f; + dlightcolor[0] += 3.00f; + dlightcolor[1] += 1.50f; + dlightcolor[2] += 0.50f; } else if (e->render.model->flags & EF_GRENADE) { @@ -787,9 +787,9 @@ void CL_LinkNetworkEntity(entity_t *e) { trailtype = 6; dlightradius = max(dlightradius, 200); - dlightcolor[0] += 0.60f; - dlightcolor[1] += 0.25f; - dlightcolor[2] += 0.50f; + dlightcolor[0] += 1.20f; + dlightcolor[1] += 0.50f; + dlightcolor[2] += 1.00f; } } // LordHavoc: customizable glow diff --git a/cl_parse.c b/cl_parse.c index 23e64ec6..1a6a69bb 100644 --- a/cl_parse.c +++ b/cl_parse.c @@ -1226,7 +1226,7 @@ void CL_ParseTempEntity(void) CL_ParticleExplosion(pos); // LordHavoc: boosted color from 1.0, 0.8, 0.4 to 1.25, 1.0, 0.5 Matrix4x4_CreateTranslate(&tempmatrix, pos[0], pos[1], pos[2]); - CL_AllocDlight(NULL, &tempmatrix, 350, 2.5f, 2.0f, 1.0f, 700, 0.5, 0, 0, true, 1); + CL_AllocDlight(NULL, &tempmatrix, 350, 4.0f, 2.0f, 1.00f, 700, 0.5, 0, 0, true, 1); S_StartSound(-1, 0, cl_sfx_r_exp3, pos, 1, 1); break;