]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/commitdiff
add platmovetype here too (autogenerated by entities.def2ent)
authorRudolf Polzer <divverent@alientrap.org>
Mon, 7 Feb 2011 19:43:10 +0000 (20:43 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Mon, 7 Feb 2011 19:43:10 +0000 (20:43 +0100)
scripts/entities.ent

index 15ee49de1f83ae32925be55aaed5b478df03e262..e603dd7cb4c440ff851b39f2879917c9b9eb3702 100644 (file)
@@ -122,6 +122,7 @@ When a button is touched by a player, it moves in the direction set by the &quot
 <target key="target3" name="target3">all entities with a matching targetname will be triggered.</target>
 <target key="target4" name="target4">all entities with a matching targetname will be triggered.</target>
 <real key="speed" name="speed">speed of button's displacement (default 40).</real>
+<real key="platmovetype" name="platmovetype">movement type (1 = linear, 2 = cosine [default])</real>
 <real key="wait" name="wait">number of seconds button stays pressed (default 1, -1 = return immediately).</real>
 <real key="lip" name="lip">lip remaining at end of move (default 4 units).</real>
 <real key="health" name="health">(default 0) if set to any non-zero value, the button must take damage (any amount) to activate.</real>
@@ -139,6 +140,7 @@ If DOOR_DONT_LINK is not set, the door will be linked with all doors it touches.
 <targetname key="targetname" name="targetname">if set, no touch field will be spawned and a remote button or trigger field activates the door.</targetname>
 <real key="health" name="health">if set, door must be shot open</real>
 <real key="speed" name="speed">movement speed (100 default)</real>
+<real key="platmovetype" name="platmovetype">movement type (1 = linear, 2 = cosine [default])</real>
 <real key="wait" name="wait">wait before returning (3 default, -1 = never return)</real>
 <real key="lip" name="lip">lip remaining at end of move (8 default)</real>
 <real key="dmg" name="dmg">damage to inflict when blocked (when triggered and someone is in the way)</real>
@@ -182,6 +184,7 @@ BIDIR_IN_DOWN will the door prevent from reopening while closing if it is trigge
 <group name="func_door_secret" color="0 .5 .8">
 Basic secret door. Slides back, then to the side. Angle determines direction. Opens when targeted or when shot; does not create its own trigger field like func_door does.
 -------- KEYS --------
+<real key="platmovetype" name="platmovetype">movement type (1 = linear, 2 = cosine [default])</real>
 <real key="wait" name="wait"># of seconds before coming back</real>
 <string key="key1" name="key1">first entity key with one-line description</string>
 <string key="key2" name="key2">second entity key with one-line description</string>
@@ -224,6 +227,7 @@ grab a trigger brush and put it in front of the part that you want the player to
 Rising platform the player can ride to reach higher places. Plats must always be drawn in the raised position, so they will operate and be lighted correctly but they spawn in the lowered position. The plat will stay in the raised position until the player steps off.
 -------- KEYS --------
 <real key="speed" name="speed">determines how fast the plat moves (default 150).</real>
+<real key="platmovetype" name="platmovetype">movement type (1 = linear, 2 = cosine [default])</real>
 <real key="lip" name="lip">lip remaining at end of move (default 16). Has no effect if &quot;height&quot; is set.</real>
 <real key="height" name="height">if set, this will determine the total amount of vertical travel of the plat.</real>
 <real key="dmg" name="dmg">damage to inflict on player when he blocks operation of plat. Plat will reverse direction when blocked.</real>
@@ -284,6 +288,7 @@ Trains are not trigger-able or toggle-able.
 Trains cannot be block-stopped just by getting in their way, the player must be wedged between the train and another obstacle to block it.
 -------- KEYS --------
 <real key="speed" name="speed">default/initial speed of train (default 100 or overridden by speed value of targeted path_corner)</real>
+<real key="platmovetype" name="platmovetype">movement type (1 = linear, 2 = cosine [default])</real>
 <target key="target" name="target">targetname of first path_corner to move to at the default speed; ideally, this path_corner shall be exactly where the train starts</target>
 <sound key="noise" name="noise">path/name of .wav or .ogg file to play while moving. Use looping sounds only (e.g. sound/world/drone6.wav - See Notes).</sound>
 <real key="dmg" name="dmg">damage a player who gets crushed by it receives</real>