Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2012-12-08 22:46:17 +0000
committerStijn Buys <ingar@osirion.org>2012-12-08 22:46:17 +0000
commit184da84ed992149b9b9c26f79686b842fcf8b6cf (patch)
tree84d87b76e413eb7f48507c084b1731f058e8c0dc /gtkradiant/osirion.game/base
parent659aa7b00dbc04b2cb081d32765f2f47bfbc5ab1 (diff)
Added radiant support for entity_second on lights, flares and particle systems.
Diffstat (limited to 'gtkradiant/osirion.game/base')
-rw-r--r--gtkradiant/osirion.game/base/entities.def18
1 files changed, 12 insertions, 6 deletions
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