From 184da84ed992149b9b9c26f79686b842fcf8b6cf Mon Sep 17 00:00:00 2001
From: Stijn Buys <ingar@osirion.org>
Date: Sat, 8 Dec 2012 22:46:17 +0000
Subject: Added radiant support for entity_second on lights, flares and
 particle systems.

---
 gtkradiant/osirion.game/base/entities.def | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

(limited to 'gtkradiant/osirion.game/base/entities.def')

diff --git a/gtkradiant/osirion.game/base/entities.def b/gtkradiant/osirion.game/base/entities.def
index 55a5d40..5cfb79e 100644
--- a/gtkradiant/osirion.game/base/entities.def
+++ b/gtkradiant/osirion.game/base/entities.def
@@ -16,12 +16,14 @@ enginesound	engine sound loop (maps to sounds/engines/loop??.wav), default 0
 
 // ---- LIGHT ------------------------------------------------------
 
-/*QUAKED light (.65 .65 1) (-8 -8 -8) (8 8 8) strobe entity engine
+/*QUAKED light (.65 .65 1) (-8 -8 -8) (8 8 8) strobe entity engine entity_second
 An exterior light. A light sprite is always oriented towards the camera.
 
 strobe		make a strobe light (spawflag 1)
-entity		light has entity color (spawflag 2)
 engine		light is activated by engine thrust (spawnflag 4)
+entity		light has entity primary color (spawflag 2)
+entity_second	light has entity secondary color (spawflag 8)
+setting both entity and entity_second resolts into entity tertiary color.
 
 _color		RGB color of the light
 light		light radius, default is 100
@@ -33,12 +35,14 @@ flare		flare texture number (maps to textures/fx/flare??.tga), default 0
 
 // ---- FX_FLARE ---------------------------------------------------
 
-/*QUAKED fx_flare (1 1 .5) (-8 -8 -8) (8 8 8) strobe entity engine
+/*QUAKED fx_flare (1 1 .5) (-8 -8 -8) (8 8 8) strobe entity engine entity_second
 A light flare. A flare sprite has a fixed orientation.
 
 strobe		make a strobe flare (spawflag 1)
-entity		flare has entity color (spawflag 2)
 engine		flare is actived by engine thrust (spawnflag 4)
+entity		flare has entity primary color (spawflag 2)
+entity_second	flare has entity secondary color (spawflag 8)
+setting both entity and entity_second resolts into entity tertiary color.
 
 _color		RGB color of the flare
 angle		yaw angle of the flare, e.g. angle 90
@@ -56,11 +60,13 @@ cull		cull side, back(back side), front(front side), none(no culling)
 
 // ---- FX_PARTICLES -----------------------------------------------
 
-/*QUAKED fx_particles (.7 .5 1) (-8 -8 -8) (8 8 8) ? entity engine
+/*QUAKED fx_particles (.7 .5 1) (-8 -8 -8) (8 8 8) ? entity engine entity_second
 A particle system
 
-entity		particles have entity color (spawflag 2)
 engine		particles have engine color (spawnflag 4)
+entity		particles have entity primary color (spawflag 2)
+entity_second	particles have entity secondary color (spawflag 8)
+setting both entity and entity_second resolts into entity tertiary color.
 
 angle		yaw angle of the particle system, e.g. angle 90
 angles		pitch, yaw and roll angle of the particle system, angles overrides angle. e.g. angles 0 90 0
-- 
cgit v1.2.3

