]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/entities.ent
add platmovetype here too (autogenerated by entities.def2ent)
[xonotic/xonotic-maps.pk3dir.git] / scripts / entities.ent
index 6d7349b36898bbf916646119b80cd6d112b01e95..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>
@@ -1021,6 +1026,7 @@ Has the useful effect of automatically returning flags, keys and runes when they
 <string key="message" name="message">kill message when someone gets killed by this (default: &quot;was in the wrong place&quot;)</string>
 <string key="message2" name="message2">kill message when someone gets pushed into this (default: &quot;was thrown into a world of hurt by&quot;). The # character is replaced by the attacker name if present (and it instead does not get appended to the end)</string>
 <integer key="team" name="team">team that gets hurt (5 = red, 14 = blue, etc) (when set, only this team can get hurt)</integer>
+<targetname key="targetname" name="targetname">if triggered using this target name, the activator will be the one who gets the frag awarded for hurting someone using this trigger (hint: The Frag Pipe)</targetname>
 -------- SPAWNFLAGS --------
 <flag key="INVERT_TEAM" name="INVERT_TEAM" bit="2">the team that owns this will NOT jump when touching this</flag>
 </group>
@@ -1554,6 +1560,19 @@ the Heavy Laser Assault Cannon.
 modeldisabled=&quot;models/weapons/g_hlac.md3&quot;
 </point>
 
+<point name="weapon_minelayer" color="1 0 .5" box="-30 -30 0 30 30 32">
+the Mine Layer.
+-------- KEYS --------
+<real key="ammo_rockets" name="ammo_rockets">initial rockets of the weapon (if unset, g_pickup_rockets is used)</real>
+<real key="respawntime" name="respawntime">time till it respawns (default: 30)</real>
+<integer key="team" name="team">out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot.</integer>
+<real key="cnt" name="cnt">weight of this item for random selection using &quot;team&quot;. Set to a lower value for items you want to see less likely.</real>
+-------- SPAWNFLAGS --------
+<flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
+-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
+modeldisabled=&quot;models/weapons/g_minelayer.md3&quot;
+</point>
+
 <point name="weapon_seeker" color="1 0 .5" box="-30 -30 0 30 30 32">
 Placing this entity on a map kills your dog, voids the warranty on your car, and makes your map an unenjoyable noobs' paradise.
 the T.A.G. Seeker.
@@ -1589,8 +1608,8 @@ Any object touching this will be healed.
 <sound key="noise" name="noise">sound file to play (use misc/null.wav to make it silent), default = item_health_medium sound</sound>
 </group>
 
-<point name="weapon_campingrifle" color="1 0 .5" box="-30 -30 0 30 30 32">
-the Camping Rifle.
+<point name="weapon_sniperrifle" color="1 0 .5" box="-30 -30 0 30 30 32">
+the Sniper Rifle.
 -------- KEYS --------
 <real key="ammo_nails" name="ammo_nails">initial bullets of the weapon (if unset, g_pickup_nails is used)</real>
 <real key="respawntime" name="respawntime">time till it respawns (default: 30)</real>