r5470 - in trunk/data: qcsrc/server scripts
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Fri Jan 9 08:50:26 EST 2009
Author: div0
Date: 2009-01-09 08:50:26 -0500 (Fri, 09 Jan 2009)
New Revision: 5470
Modified:
trunk/data/qcsrc/server/t_plats.qc
trunk/data/scripts/entities.def
Log:
func_fourier: default height now is 32
Modified: trunk/data/qcsrc/server/t_plats.qc
===================================================================
--- trunk/data/qcsrc/server/t_plats.qc 2009-01-09 13:47:37 UTC (rev 5469)
+++ trunk/data/qcsrc/server/t_plats.qc 2009-01-09 13:50:26 UTC (rev 5470)
@@ -1565,7 +1565,7 @@
Brush model that moves in a pattern of added up sine waves, can be used e.g. for circular motions.
netname: list of <frequencymultiplier> <phase> <x> <y> <z> quadruples, separated by spaces; note that phase 0 represents a sine wave, and phase 0.25 a cosine wave (by default, it uses 1 0 0 0 1, to match func_bobbing's defaults
speed: how long one cycle of frequency multiplier 1 in seconds (default 4)
-height: amplitude modifier (default 1)
+height: amplitude modifier (default 32)
phase: cycle timing adjustment (0-1 as a fraction of the cycle, default 0)
noise: path/name of looping .wav file to play.
dmg: Do this mutch dmg every .dmgtime intervall when blocked
@@ -1606,7 +1606,7 @@
if (!self.speed)
self.speed = 4;
if (!self.height)
- self.height = 1;
+ self.height = 32;
self.destvec = self.origin;
self.cnt = 360 / self.speed;
Modified: trunk/data/scripts/entities.def
===================================================================
--- trunk/data/scripts/entities.def 2009-01-09 13:47:37 UTC (rev 5469)
+++ trunk/data/scripts/entities.def 2009-01-09 13:50:26 UTC (rev 5470)
@@ -1323,7 +1323,7 @@
Solid entity that oscillates according to a sum of sine waves.
-------- KEYS --------
speed: amount of time in seconds for one complete oscillation cycle in the base frequency (default 4).
-height: sets the amount of travel of the oscillation movement (default 1).
+height: sets the amount of travel of the oscillation movement (default 32).
phase: sets the start offset of the oscillation cycle. Values must be 0 < phase < 1. Any integer phase value is the same as no offset (default 0).
noise: path/name of .wav or .ogg file to play. Use looping sounds only (e.g. sound/world/drone6.wav - See Notes).
dmg: damage a player who gets crushed by it receives
More information about the nexuiz-commits
mailing list