]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/commitdiff
NOTRACE flag for misc_laser
authorRudolf Polzer <divverent@alientrap.org>
Sun, 17 Oct 2010 20:03:11 +0000 (22:03 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Sun, 17 Oct 2010 20:03:11 +0000 (22:03 +0200)
scripts/entities.def

index 9c789067ebfe066d7d7570b105af75fd9af9bb46..65cc12fa328edac7836ec7ad73af4b44b57b37ba 100644 (file)
@@ -622,7 +622,7 @@ LINEAR: Use a linear falloff. Default is inverse distance squared (more realisti
 NOANGLE: Ignore angle attenuation.
 */
 
-/*QUAKED misc_laser (.5 .5 .5) (-8 -8 -8) (8 8 8) START_ON FINITE
+/*QUAKED misc_laser (.5 .5 .5) (-8 -8 -8) (8 8 8) START_ON FINITE NOTRACE
 Laser beam emitter. Note that for the laser to be deadly, it has to start OUTSIDE the player's collision box. To ensure this, you may want to put this entity inside the walls (or directly on their surface), or cover it with a playerclip brush.
 -------- KEYS --------
 target: target_position the laser targets (may be another entity, preferably target_position, possibly controlled by misc_follow)
@@ -636,6 +636,7 @@ modelscale: scales the dynamic light radius at the endpoint (default 1, -1 to tu
 -------- SPAWNFLAGS --------
 START_ON: when targeted, the laser will start switched on
 FINITE: the laser does not extend over its target like light would do, but stops there (takes more bandwidth)
+NOTRACE: the laser passes through solid (faster rendering on clientside); non-FINITE lasers then never display their impact effect "mdl"!
 -------- NOTES --------
 Use trigger_monoflop if you want the laser to turn off for a while, then turn back on.
 When the laser's target has itself target set, its targets are triggered when someone enters or leaves the laser.