]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blob - scripts/entities.ent
09e76aeeecff77b02fbbd95182dfe4e0b15f7f2a
[xonotic/xonotic-maps.pk3dir.git] / scripts / entities.ent
1 <?xml version="1.0"?>
2 <classes>
3 <point name="_skybox" color="0.77 0.88 1.0" box="-4 -4 -4 4 4 4">
4 Compiler-only entity that specifies the origin of a sky box (a wholly contained, separate area of the map), similar to some games' portal skies. When compiled with Q3Map2, the sky box surfaces will be visible from any place where sky is normally visible. It will cast shadows on the normal parts of the map, and can be used with cloud layers and other effects. As it is compiler-only, it can't &quot;scale up&quot; entities in its box.
5 To use this, carve a small box in some larger structure on your map, place this entity inside that box hole, and make a small version of what should be seen in the sky there.
6 -------- KEYS --------
7 <direction key="angle" name="angle">rotation angle of the sky surfaces.</direction>
8 <angles key="angles" name="angles">Individual control of PITCH, YAW, and ROLL (default 0 0 0).</angles>
9 <real key="_scale" name="_scale">scaling factor (default 64), good values are between 50 and 300, depending on the map.</real>
10 </point>
11
12 <group name="_decal" color="1.0 0.77 0.88">
13 Compiler-only entity that projects a surface (which must be a patch mesh) in a direction (which is given by the vector from the center of this entity to the &quot;target&quot; entity)
14 -------- KEYS --------
15 <target key="target" name="target">the entity to be targeted by the projection</target>
16 -------- NOTES --------
17 This entity MUST contain one or more patch meshes.
18 The shaders of these patches SHOULD have the &quot;polygonoffset&quot; shader keyword (or you will get insane z-fighting).
19 The targeted entity is preferably an info_null.
20 The projection is a linear projection, and originates from the center of this entity (the start of the arrow line in Radiant) to the origin of the targeted entity (the end of the arrow line in Radiant).
21 </group>
22
23 <point name="dom_controlpoint" color=".3 .3 1" box="-16 -16 -16 16 16 16">
24 Domination control point
25 In order to get Domination working well in your map, you need to place dom_team and dom_controlpoint entities.  You *must* have at least 3 dom_team entities - 2 minimum teams and one blank one (empty netname and no team).  You can have up to 4 teams (5 dom_team entities).
26 -------- KEYS --------
27 <string key="message" name="message">message to be displayed to all players when this point is captured, preceded by the team's name.  This defaults to &quot; has captured a control point&quot;.  You can specify different names for each point, for example &quot; has captured the Lava Room&quot;.</string>
28 <real key="wait" name="wait">How often this point gives its controlling team frags.</real>
29 <real key="frags" name="frags">How many frags this point gives each wait cycle.</real>
30 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
31 zbqry=&quot;zbqryf/qbzvangvba/qbz_hapynvzrq.zq3&quot;
32
33 </point>
34
35 <point name="dom_team" color=".3 .3 1" box="-16 -16 -16 16 16 16">
36 Domination team.
37 In order to get Domination working well in your map, you need to place dom_team and dom_controlpoint entities.  You *must* have at least 3 dom_team entities - 2 minimum teams and one blank one (empty netname and no team).  You can have up to 4 teams (5 dom_team entities).
38
39 dom_team entites declare the teams (and the models the team uses) that are available in the domination game. Their position does not matter.
40
41 model should be set to models/domination/dom_&lt;team&gt;.md3, where &lt;team&gt; is either &quot;red&quot;, &quot;blue&quot;, &quot;yellow&quot;, or &quot;pink&quot;.
42 -------- KEYS --------
43 <string key="netname" name="netname">name of team (Red Team).  Set to &quot;&quot; or don't define for the required blank team.</string>
44 <real key="cnt" name="cnt">color of the team.  See the &quot;Helpful Extras&quot; section in Docs/mapping.txt for info.</real>
45 <model key="model" name="model">When this team captures control points, the points turn to this model.  If this is the neutral team, points start out as this model.</model>
46 <sound key="noise" name="noise">Sound to be played on the control point when it's captured.  Only players nearby will hear it.</sound>
47 <sound key="noise1" name="noise1">Sound to be played to all players when the control point is captured.  Also good for an announcer voice (&quot;Red Team has captured a control point&quot;)</sound>
48 </point>
49
50 <group name="func_assault_destructible" color=".5 0 .5">
51 This is a brush model which can be damaged. Once triggered it's active and will happily receive damage players inflict upon it. Once all health is consumed it'll disappear and trigger the targeted entity/entities. As damage is received the brush model will be tinted in an increasingly visible flavor of red to give visible feedback.
52 -------- KEYS --------
53 <real key="health" name="health">The damage this trigger can take</real>
54 <target key="target" name="target">The entity/entities to be triggered once this entity gets invisible</target>
55 <targetname key="targetname" name="targetname">The name other entities can use to target this entity</targetname>
56 <string key="mdl" name="mdl">particle effect name to show when destroyed</string>
57 <real key="count" name="count">particle effect multiplier</real>
58 <string key="mdl_dead" name="mdl_dead">optional replacement model to show when destroyed</string>
59 <string key="debris" name="debris">names of debris models to show when destroyed, separated by spaces</string>
60 <sound key="noise" name="noise">sound to play when destroyed</sound>
61 <sound key="noise1" name="noise1">sound to play while alive (either plays at spawn only, or can be a looping sound file)</sound>
62 <real key="dmg" name="dmg">damage to deal to the environment when destroyed</real>
63 <real key="dmg_edge" name="dmg_edge">edge damage to deal to the environment when destroyed</real>
64 <real key="dmg_radius" name="dmg_radius">damage radius</real>
65 <real key="dmg_force" name="dmg_force">damage force</real>
66 <string key="message" name="message">death message when a player gets hit by the explosion</string>
67 <string key="message2" name="message2">death message when someone gets pushed into this (default: &quot;was pushed into an explosion by&quot;). The # character is replaced by the attacker name if present (and it instead does not get appended to the end)</string>
68 <real key="debrismovetype" name="debrismovetype">way in which the debris moves: one of 1 = ANGLENOCLIP, 2 = ANGLECLIP, 3 = WALK, 4 = STEP, 5 = FLY, 6 = TOSS, 7 = PUSH, 8 = NOCLIP, 9 = FLYMISSILE, 10 = BOUNCE, 11 = BOUNCEMISSILE</real>
69 <real key="debrissolid" name="debrissolid">solidity of the debris: one of 0 = NOT, 1 = TRIGGER, 2 = BBOX, 3 = SLIDEBOX, 4 = BSP, 5 = CORPSE</real>
70 <real3 key="debrisvelocity" name="debrisvelocity">initial velocity vector of the debris (static part)</real3>
71 <real3 key="debrisvelocityjitter" name="debrisvelocityjitter">initial velocity vector of the debris (random part)</real3>
72 <real3 key="debrisavelocityjitter" name="debrisavelocityjitter">initial angular velocity vector of the debris (random part)</real3>
73 <real key="debristime" name="debristime">time till the debris fades (average)</real>
74 <real key="debristimejitter" name="debristimejitter">time till the debris fades (random part)</real>
75 <real key="debrisfadetime" name="debrisfadetime">how long debris takes to fade</real>
76 <real key="debrisdamageforcescale" name="debrisdamageforcescale">how much debris is affected by damage force (e.g. explosions)</real>
77 <real key="debrisskin" name="debrisskin">skin number of debris</real>
78 -------- SPAWNFLAGS --------
79 <flag key="NOSPLASH" name="NOSPLASH" bit="8">if set, splash damage cannot activate the door, only direct damage can (requires health to be set)</flag>
80 </group>
81
82 <group name="func_assault_wall" color=".5 0 .5">
83 Brush model that will disappear once the targeted target_objective is fulfilled. This can be used to restrict access to parts of the map until a certain objective has been conquered.
84 -------- KEYS --------
85 <target key="target" name="target">targetname of a target_objective</target>
86 </group>
87
88 <group name="func_bobbing" color="0 .5 .8">
89 Solid entity that oscillates back and forth in a linear motion. By default, it will have an amount of displacement in either direction equal to the dimension of the brush in the axis in which it's bobbing. Entity bobs on the Z axis (up-down) by default. It can also emit sound if the &quot;noise&quot; key is set. Will crush the player when blocked.
90 -------- KEYS --------
91 <real key="speed" name="speed">amount of time in seconds for one complete oscillation cycle (default 4).</real>
92 <real key="height" name="height">sets the amount of travel of the oscillation movement (default 32). </real>
93 <real key="phase" name="phase">sets the start offset of the oscillation cycle. Values must be 0 &lt; phase &lt; 1. Any integer phase value is the same as no offset (default 0).</real>
94 <sound key="noise" name="noise">path/name of .wav or .ogg file to play. Use looping sounds only (e.g. sound/world/drone6.wav - See Notes).</sound>
95 <real key="dmg" name="dmg">damage a player who gets crushed by it receives</real>
96 <real key="dmgtime" name="dmgtime">interval to apply dmg to a player who is in the way</real>
97 <string key="message" name="message">death message when a player gets crushed</string>
98 <string key="message2" name="message2">death 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>
99 -------- SPAWNFLAGS --------
100 <flag key="X_AXIS" name="X_AXIS" bit="0">entity will bob along the X axis.</flag>
101 <flag key="Y_AXIS" name="Y_AXIS" bit="1">entity will bob along the Y axis.</flag>
102 </group>
103
104 <group name="func_pendulum" color="0 .5 .8">
105 Solid entity that swings back and forth in an angular motion. Entity swings on the north-south direction by default (can be changed by using a different yaw angle).
106 -------- KEYS --------
107 <real key="speed" name="speed">angle amount of the swinging</real>
108 <real key="freq" name="freq">frequency (cycles per second) of the swinging (if unspecified, a physically &quot;somewhat correct&quot; value is calculated that matches Quake 3)</real>
109 <real key="phase" name="phase">sets the start offset of the oscillation cycle. Values must be 0 &lt; phase &lt; 1. Any integer phase value is the same as no offset (default 0).</real>
110 <sound key="noise" name="noise">path/name of .wav or .ogg file to play. Use looping sounds only (e.g. sound/world/drone6.wav - See Notes).</sound>
111 <real key="dmg" name="dmg">damage a player who gets crushed by it receives</real>
112 <real key="dmgtime" name="dmgtime">interval to apply dmg to a player who is in the way</real>
113 <string key="message" name="message">death message when a player gets crushed</string>
114 <string key="message2" name="message2">death 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>
115 </group>
116
117 <group name="func_button" color="0 .5 .8">
118 When a button is touched by a player, it moves in the direction set by the &quot;angle&quot; key, triggers all its targets, stays pressed by an amount of time set by the &quot;wait&quot; key, then returns to it's original position where it can be operated again.
119 -------- KEYS --------
120 <direction key="angle" name="angle">determines the direction in which the button will move (up = -1, down = -2).</direction>
121 <target key="target" name="target">all entities with a matching targetname will be triggered.</target>
122 <target key="target2" name="target2">all entities with a matching targetname will be triggered.</target>
123 <target key="target3" name="target3">all entities with a matching targetname will be triggered.</target>
124 <target key="target4" name="target4">all entities with a matching targetname will be triggered.</target>
125 <boolean key="target_random" name="target_random">instead of triggering ALL matched entities, trigger ONE of them by random</boolean>
126 <real key="speed" name="speed">speed of button's displacement (default 40).</real>
127 <real key="platmovetype" name="platmovetype">movement type (1 = linear, 2 = cosine [default])</real>
128 <real key="wait" name="wait">number of seconds button stays pressed (default 1, -1 = return immediately).</real>
129 <real key="lip" name="lip">lip remaining at end of move (default 4 units).</real>
130 <real key="health" name="health">(default 0) if set to any non-zero value, the button must take damage (any amount) to activate.</real>
131 -------- SPAWNFLAGS --------
132 <flag key="NOSPLASH" name="NOSPLASH" bit="8">if set, splash damage cannot activate the door, only direct damage can (requires health to be set)</flag>
133 </group>
134
135 <group name="func_conveyor" color="0 .5 .8">
136 A conveyor. Solid brush version.
137 -------- KEYS --------
138 <targetname key="targetname" name="targetname">if set, it can be turned on/off</targetname>
139 <direction key="angle" name="angle">determines the opening direction</direction>
140 <real key="speed" name="speed">movement speed (200 default)</real>
141 -------- SPAWNFLAGS --------
142 <flag key="START_ON" name="START_ON" bit="0">the conveyor is turned on if not triggered</flag>
143 </group>
144
145 <group name="trigger_conveyor" color="0 .5 .8">
146 A conveyor. Nonsolid trigger version.
147 -------- KEYS --------
148 <targetname key="targetname" name="targetname">if set, it can be turned on/off</targetname>
149 <direction key="angle" name="angle">determines the opening direction</direction>
150 <real key="speed" name="speed">movement speed (200 default)</real>
151 -------- SPAWNFLAGS --------
152 <flag key="START_ON" name="START_ON" bit="0">the conveyor is turned on if not triggered</flag>
153 </group>
154
155 <group name="func_door" color="0 .5 .8">
156 Normal sliding door entity. By default, the door will activate when player walks close to it or when damage is inflicted to it.
157 If DOOR_DONT_LINK is not set, the door will be linked with all doors it touches. Note however that for linked doors to work properly, it is necessary that ALL linked doors have SOME volume of common area (that is, there must be a point that is part of ALL doors).
158 -------- KEYS --------
159 <string key="message" name="message">is printed when the door is touched if it is a trigger door and it hasn't been fired yet, or death message if dmg is set</string>
160 <string key="message2" name="message2">death 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>
161 <direction key="angle" name="angle">determines the opening direction</direction>
162 <targetname key="targetname" name="targetname">if set, no touch field will be spawned and a remote button or trigger field activates the door.</targetname>
163 <real key="health" name="health">if set, door must be shot open</real>
164 <real key="speed" name="speed">movement speed (100 default)</real>
165 <real key="platmovetype" name="platmovetype">movement type (1 = linear, 2 = cosine [default])</real>
166 <real key="wait" name="wait">wait before returning (3 default, -1 = never return)</real>
167 <real key="lip" name="lip">lip remaining at end of move (8 default)</real>
168 <real key="dmg" name="dmg">damage to inflict when blocked (when triggered and someone is in the way)</real>
169 <real key="sounds" name="sounds">when 1, use default door sounds</real>
170 <sound key="noise1" name="noise1">sound when the door opens</sound>
171 <sound key="noise2" name="noise2">sound when the door closes</sound>
172 <real key="itemkeys" name="itemkeys">keys required to open this door.</real>
173 -------- SPAWNFLAGS --------
174 <flag key="START_OPEN" name="START_OPEN" bit="0">causes the door to move to its destination when spawned, and operate in reverse.  It is used to temporarily or permanently close off an area when triggered (not useful for touch or damage triggered doors).</flag>
175 <flag key="DOOR_DONT_LINK" name="DOOR_DONT_LINK" bit="2">the door won't link with another door it touches</flag>
176 <flag key="GOLD_KEY" name="GOLD_KEY" bit="3">causes the door to open only if the activator holds a gold key (Q1 compatibility).</flag>
177 <flag key="SILVER_KEY" name="SILVER_KEY" bit="4">causes the door to open only if the activator holds a silver key (Q1 compatibility).</flag>
178 <flag key="TOGGLE" name="TOGGLE" bit="5">causes the door to wait in both the start and end states for a trigger event.</flag>
179 <flag key="NOSPLASH" name="NOSPLASH" bit="8">if set, splash damage cannot activate the door, only direct damage can (requires health to be set)</flag>
180 -------- NOTES --------
181 More information about keys can be found in item_key description.
182 </group>
183
184 <group name="func_door_rotating" color="0 .5 .8">
185 Normal rotating door entity that opens by rotating around an axis (default: Z). Use an origin brush to specify the rotation axis.
186 By default, the door will activate when player walks close to it or when damage is inflicted to it.
187 If DOOR_DONT_LINK is not set, the door will be linked with all doors it touches.
188 BIDIR makes the door work bidirectional, so that the opening direction is always away from the requestor.
189 The usage of bidirectional doors requires two manually instantiated triggers (trigger_multiple), the one to open it in the other direction
190 must have set trigger_reverse to 1.
191 BIDIR_IN_DOWN will the door prevent from reopening while closing if it is triggered from the other side.
192 -------- KEYS --------
193 <string key="message" name="message">is printed when the door is touched if it is a trigger door and it hasn't been fired yet, or death message if dmg is set</string>
194 <string key="message2" name="message2">death 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>
195 <direction key="angle" name="angle">determines the destination angle for opening. negative values reverse the direction (90 default)</direction>
196 <targetname key="targetname" name="targetname">if set, no touch field will be spawned and a remote button or trigger field activates the door.</targetname>
197 <real key="health" name="health">if set, door must be shot open</real>
198 <real key="speed" name="speed">speed to rotate (in degrees per second)</real>
199 <real key="wait" name="wait">wait before returning (3 default, -1 = never return)</real>
200 <real key="dmg" name="dmg">damage to inflict when blocked (when triggered and someone is in the way)</real>
201 <real key="sounds" name="sounds">when 1, use default door sounds</real>
202 <sound key="noise1" name="noise1">sound when the door opens</sound>
203 <sound key="noise2" name="noise2">sound when the door closes</sound>
204 -------- SPAWNFLAGS --------
205 <flag key="START_OPEN" name="START_OPEN" bit="0">causes the door to move to its destination when spawned, and operate in reverse.  It is used to temporarily or permanently close off an area when triggered (not useful for touch or damage triggered doors).</flag>
206 <flag key="DOOR_DONT_LINK" name="DOOR_DONT_LINK" bit="2">the door won't link with another door it touches</flag>
207 <flag key="TOGGLE" name="TOGGLE" bit="5">causes the door to wait in both the start and end states for a trigger event.</flag>
208 <flag key="NOSPLASH" name="NOSPLASH" bit="8">if set, splash damage cannot activate the door, only direct damage can (requires health to be set)</flag>
209 <flag key="X_AXIS" name="X_AXIS" bit="6">rotate around the X axis</flag>
210 <flag key="Y_AXIS" name="Y_AXIS" bit="7">rotate around the Y axis</flag>
211 </group>
212
213 <group name="func_door_secret" color="0 .5 .8">
214 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.
215 -------- KEYS --------
216 <real key="platmovetype" name="platmovetype">movement type (1 = linear, 2 = cosine [default])</real>
217 <real key="wait" name="wait"># of seconds before coming back</real>
218 <string key="key1" name="key1">first entity key with one-line description</string>
219 <string key="key2" name="key2">second entity key with one-line description</string>
220 <real key="t_width" name="t_width">override WIDTH to move back (or height if going down)</real>
221 <real key="t_length" name="t_length">override LENGTH to move sideways</real>
222 <real key="dmg" name="dmg">damage to inflict when blocked (2 default)</real>
223 <string key="message" name="message">text to display when activating the door, or death message if dmg is set</string>
224 <string key="message2" name="message2">death 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>
225 <sound key="noise1" name="noise1">sound when opening backwards or closing</sound>
226 <sound key="noise2" name="noise2">sound when opening sideways</sound>
227 <sound key="noise3" name="noise3">sound when stopping</sound>
228 -------- SPAWNFLAGS --------
229 <flag key="OPEN_ONCE" name="OPEN_ONCE" bit="0">only work once, then stay open</flag>
230 <flag key="1ST_LEFT" name="1ST_LEFT" bit="1">1st move is left of arrow</flag>
231 <flag key="1ST_DOWN" name="1ST_DOWN" bit="2">1st move is down from arrow</flag>
232 <flag key="NO_SHOOT" name="NO_SHOOT" bit="3">never respond to shots</flag>
233 <flag key="ALWAYS_SHOOT" name="ALWAYS_SHOOT" bit="4">even if targetname is set, respond to shots</flag>
234 </group>
235
236 <group name="func_group" color="0 .5 .8">
237 This is not an entity as such. It is strictly an editor utility to group world brushes and patches together for convenience (selecting, moving, copying, etc). You cannot group entities with this.
238 To select the func_group, either select it from the Entity List window, or select a bruch belonging to the func_group then use the menu option Edit -> Expand Selection To Primitives.
239 -------- Q3MAP2 KEYS --------
240 <real key="_lightmapscale" name="_lightmapscale">light map resolution factor</real>
241 <boolean key="_castshadows" name="_castshadows">Allows per-entity control over shadow casting. Defaults to 0 on entities, 1 on world. 0 = no shadow casting. 1 = cast shadows on world. &gt; 1 = cast shadows on entities with _rs (or _receiveshadows) with the corresponding value, AND world. Negative values imply same, but DO NOT cast shadows on world.</boolean>
242 <boolean key="_receiveshadows" name="_receiveshadows">Allows per-entity control over shadow reception. Defaults to 1 on everything (world shadows). 0 = receives NO shadows. &gt; 1 = receive shadows only from corresponding keyed entities (see above) and world. &lt; 1 = receive shadows ONLY from corresponding keyed entities.</boolean>
243 <texture key="_celshader" name="_celshader">Sets the cel shader used for this geometry. Note: omit the &quot;textures/&quot; prefix.</texture>
244 -------- KEYS --------
245 <targetname key="targetname" name="targetname">if set, defines the label name for the func_group within the Entity List window.</targetname>
246 <texture key="_indexmap" name="_indexmap">Path/name for the TGA file used to guide the mapping of textures on the terrain surface.</texture>
247 <integer key="_layers" name="_layers">number of unique root shaders that will be use on the terrain.</integer>
248 <texture key="_shader" name="_shader">Path to the metashader used to assign textures to the terrain entity. Note: Omit the &quot;textures/&quot; prefix.</texture>
249 <string key="_offsets" name="_offsets">space separated list of height offsets for the index map</string>
250 </group>
251
252 <group name="func_ladder" color="0 .5 .8">
253 a ladder, need i say no more
254 grab a trigger brush and put it in front of the part that you want the player to climb
255 </group>
256
257 <group name="func_plat" color="0 .5 .8">
258 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.
259 -------- KEYS --------
260 <real key="speed" name="speed">determines how fast the plat moves (default 150).</real>
261 <real key="platmovetype" name="platmovetype">movement type (1 = linear, 2 = cosine [default])</real>
262 <real key="lip" name="lip">lip remaining at end of move (default 16). Has no effect if &quot;height&quot; is set.</real>
263 <real key="height" name="height">if set, this will determine the total amount of vertical travel of the plat.</real>
264 <real key="dmg" name="dmg">damage to inflict on player when he blocks operation of plat. Plat will reverse direction when blocked.</real>
265 <targetname key="targetname" name="targetname">if set, the trigger that points to this will lower the plat each time it fires. The plat lowers and lifts someone up later.</targetname>
266 <real key="sounds" name="sounds">2 for alternate sound set, -1 for silence, or use the fields below</real>
267 <string key="sound1" name="sound1">platform starts moving sound</string>
268 <string key="sound2" name="sound2">platform stop sound</string>
269 <string key="message" name="message">kill message, when someone gets killed by this plat</string>
270 <string key="message2" name="message2">death 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>
271 -------- SPAWNFLAGS --------
272 <flag key="CRUSH" name="CRUSH" bit="2">crush players hit by the platform instantly</flag>
273 -------- NOTES --------
274 By default, the total amount of vertical travel of a platform is implicitly determined by the overall vertical size of the brushes of which it's made minus the lip value. But if the &quot;height&quot; key is used, then the total amount of vertical travel of the plat will be exactly that value regardless of the shape and size of the plat and regardless of the value of the &quot;lip&quot; key. Using the &quot;height&quot; key is the best method for any kind of platforms and the only possible one for thin plats which need to travel vertical distances many times their own thickness. Setting the origin key is simply an alternate method to using an origin brush. When using the model2 key, the origin point of the model will correspond to the origin point defined by either the origin brush or the origin coordinate value.
275 </group>
276
277 <group name="func_rain" color="0 .5 .8">
278 This is an invisible area like a trigger, which rain falls inside of.
279 -------- KEYS --------
280 <real3 key="velocity" name="velocity">falling direction (should be something like '0 0 -700', use the X and Y velocity for wind)</real3>
281 <real key="cnt" name="cnt">sets color of rain in the Quake palette (default 12 - white)</real>
282 <real key="count" name="count">adjusts density, this many particles fall every second for a 1024x1024 area, default is 2000</real>
283 </group>
284
285 <group name="func_rotating" color="0 .5 .8">
286 Brush entity that spins in place on one axis (default Z). Use an origin brush to specify the rotation axis.
287 To rotate around another axis, make a func_wall with an explicit avelocity given.
288 -------- KEYS --------
289 <real key="speed" name="speed">speed to rotate (in degrees per second, default: 100)</real>
290 <sound key="noise" name="noise">path/name of looping .wav file to play.</sound>
291 <real key="dmg" name="dmg">Do this much dmg every .dmgtime interval when blocked</real>
292 <real key="dmgtime" name="dmgtime">See above. (0.25s default)</real>
293 <string key="message" name="message">kill message when crushed by this</string>
294 <string key="message2" name="message2">death 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>
295 -------- SPAWNFLAGS --------
296 <flag key="X_AXIS" name="X_AXIS" bit="2">rotate around the X axis</flag>
297 <flag key="Y_AXIS" name="Y_AXIS" bit="3">rotate around the Y axis</flag>
298 </group>
299
300 <group name="func_snow" color="0 .5 .8">
301 This is an invisible area like a trigger, which snow falls inside of.
302 -------- KEYS --------
303 <real3 key="velocity" name="velocity">falling direction (should be something like '0 0 -300', use the X and Y velocity for wind)</real3>
304 <real key="cnt" name="cnt">sets color of snow in the Quake palette (default 12 - white)</real>
305 <real key="count" name="count">adjusts density, this many particles fall every second for a 1024x1024 area, default is 2000</real>
306 </group>
307
308 <point name="func_stardust" color=".5 .5 .5" box="-8 -8 -8 8 8 8">
309 Point entity with EF_STARDUST applied. This will spawn a particle cloud with mostly golden particles. Used as eye-candy.
310 </point>
311
312 <group name="func_train" color="0 .5 .8">
313 Trains are moving solids that follow a cycle of path_corner entities. Origin brushes are NOT supported; they use the &quot;mins&quot; corner as reference (that is, lowest x, y, and z coordinates).
314 At each node, the train's mins corner hits exactly the path_corner.
315 Trains always start on in the game.
316 Trains do not damage the player when blocked.
317 Trains cannot emit sound.
318 Trains are not trigger-able or toggle-able.
319 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.
320 -------- KEYS --------
321 <real key="speed" name="speed">default/initial speed of train (default 100 or overridden by speed value of targeted path_corner)</real>
322 <real key="platmovetype" name="platmovetype">movement type (1 = linear, 2 = cosine [default])</real>
323 <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>
324 <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>
325 <real key="dmg" name="dmg">damage a player who gets crushed by it receives</real>
326 <real key="dmgtime" name="dmgtime">interval to apply dmg to a player who is in the way</real>
327 <string key="message" name="message">death message when a player gets crushed</string>
328 <string key="message2" name="message2">death 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>
329 </group>
330
331 <point name="info_autoscreenshot" color="0 0 0.2" box="-8 -8 -8 8 8 8">
332 Location to make the first autoscreenshots from. At most three such entities may be used!
333 -------- KEYS --------
334 <angles key="angles" name="angles">view direction of the camera in PITCH YAW ROLL</angles>
335 <target key="target" name="target">targetname of a target_position for the view direction, alternatively to specifying angles</target>
336 </point>
337
338 <point name="info_location" color="1 1 0" box="-8 -8 -8 8 8 8">
339 Location for use by the %l escape in &quot;say&quot; messages.
340 The closest &quot;visible&quot; info_location entity is chosen to find the right location name for a point.
341 -------- KEYS --------
342 <string key="netname" name="netname">name of location, possibly with color codes</string>
343 </point>
344
345 <point name="info_notnull" color="0 .5 0" box="-8 -8 -8 8 8 8">
346 Entity that does nothing, but may be targeted (e.g. to use its position)
347 -------- KEYS --------
348 <targetname key="targetname" name="targetname">must match the target key of entity that uses this for pointing.</targetname>
349 </point>
350
351 <point name="info_null" color="0 .5 0" box="-8 -8 -8 8 8 8">
352 Aiming target for q3map2-internal entities like _decal or light. Removes itself when loaded, so it can NOT be used for in-game stuff!
353 -------- KEYS --------
354 <targetname key="targetname" name="targetname">the entity that requires an aiming direction points to this.</targetname>
355 </point>
356
357 <point name="info_player_attacker" color="1 0.5 0" box="-16 -16 -24 16 16 45">
358 Attacking team's player spawning location in Assault. Should touch the floor, but not the walls, and should point where the player should look when he spawns there.
359 -------- KEYS --------
360 <target key="target" name="target">this should point to a target_objective to decide when this spawning point is active.</target>
361 <target key="target2" name="target2">trigger all entities with this targetname when someone spawns</target>
362 <target key="target3" name="target3">trigger all entities with this targetname when someone spawns</target>
363 <target key="target4" name="target4">trigger all entities with this targetname when someone spawns</target>
364 <boolean key="target_random" name="target_random">instead of triggering ALL matched entities, trigger ONE of them by random</boolean>
365 <real key="cnt" name="cnt">weight of spawn point for random selection. Set to a lower value if you have many spawn points close together. Default value is 1.</real>
366 <real key="restriction" name="restriction">when 1, only bots can spawn here; when 2, only humans can spawn here (be careful with these, or the game will crash because someone cannot spawn)</real>
367 </point>
368
369 <point name="info_player_deathmatch" color="0 1 0" box="-16 -16 -24 16 16 45">
370 Normal player spawning location in game types without team spawns. Should touch the floor, but not the walls, and should point where the player should look when he spawns there.
371 -------- KEYS --------
372 <real key="cnt" name="cnt">weight of spawn point for random selection. Set to a lower value if you have many spawn points close together. Default value is 1.</real>
373 <target key="target2" name="target2">trigger all entities with this targetname when someone spawns</target>
374 <target key="target3" name="target3">trigger all entities with this targetname when someone spawns</target>
375 <target key="target4" name="target4">trigger all entities with this targetname when someone spawns</target>
376 <targetname key="targetname" name="targetname">when targeted by a func_button, pressing the button will assign the spawn point to the team of the activator as an additional spawn point, or reassign it if it was already assigned. Also used to assign spawn points to Onslaught control points.</targetname>
377 <real key="restriction" name="restriction">when 1, only bots can spawn here; when 2, only humans can spawn here (be careful with these, or the game will crash because someone cannot spawn)</real>
378 </point>
379
380 <point name="info_player_defender" color=".5 .5 .5" box="-16 -16 -24 16 16 45">
381 Defending team's player spawning location in Assault. Should touch the floor, but not the walls, and should point where the player should look when he spawns there.
382 -------- KEYS --------
383 <target key="target" name="target">this should point to a target_objective to decide when this spawning point is active.</target>
384 <target key="target2" name="target2">trigger all entities with this targetname when someone spawns</target>
385 <target key="target3" name="target3">trigger all entities with this targetname when someone spawns</target>
386 <target key="target4" name="target4">trigger all entities with this targetname when someone spawns</target>
387 <boolean key="target_random" name="target_random">instead of triggering ALL matched entities, trigger ONE of them by random</boolean>
388 <real key="cnt" name="cnt">weight of spawn point for random selection. Set to a lower value if you have many spawn points close together. Default value is 1.</real>
389 <real key="restriction" name="restriction">when 1, only bots can spawn here; when 2, only humans can spawn here (be careful with these, or the game will crash because someone cannot spawn)</real>
390 </point>
391
392 <point name="info_player_team1" color="1 0 0" box="-16 -16 -24 16 16 45">
393 Red team's player spawning location in e.g. CTF and Onslaught. Should touch the floor, but not the walls, and should point where the player should look when he spawns there.
394 -------- KEYS --------
395 <real key="cnt" name="cnt">weight of spawn point for random selection. Set to a lower value if you have many spawn points close together. Default value is 1.</real>
396 <target key="target2" name="target2">trigger all entities with this targetname when someone spawns</target>
397 <target key="target3" name="target3">trigger all entities with this targetname when someone spawns</target>
398 <target key="target4" name="target4">trigger all entities with this targetname when someone spawns</target>
399 <targetname key="targetname" name="targetname">when targeted by a func_button, pressing the button will reassign the spawn point to the team of the activator. If a team has no more spawn point left, it immediately loses.</targetname>
400 <real key="restriction" name="restriction">when 1, only bots can spawn here; when 2, only humans can spawn here (be careful with these, or the game will crash because someone cannot spawn)</real>
401 </point>
402
403 <point name="info_player_team2" color="0 0 1" box="-16 -16 -24 16 16 45">
404 Blue team's player spawning location in e.g. CTF and Onslaught. Should touch the floor, but not the walls, and should point where the player should look when he spawns there.
405 -------- KEYS --------
406 <real key="cnt" name="cnt">weight of spawn point for random selection. Set to a lower value if you have many spawn points close together. Default value is 1.</real>
407 <target key="target2" name="target2">trigger all entities with this targetname when someone spawns</target>
408 <target key="target3" name="target3">trigger all entities with this targetname when someone spawns</target>
409 <target key="target4" name="target4">trigger all entities with this targetname when someone spawns</target>
410 <targetname key="targetname" name="targetname">when targeted by a func_button, pressing the button will reassign the spawn point to the team of the activator. If a team has no more spawn point left, it immediately loses.</targetname>
411 <real key="restriction" name="restriction">when 1, only bots can spawn here; when 2, only humans can spawn here (be careful with these, or the game will crash because someone cannot spawn)</real>
412 </point>
413
414 <point name="info_player_team3" color="1 1 0" box="-16 -16 -24 16 16 45">
415 Yellow team's player spawning location, but there is no game mode to use this yet. Anyway, should touch the floor, but not the walls, and should point where the player should look when he spawns there.
416 -------- KEYS --------
417 <real key="cnt" name="cnt">weight of spawn point for random selection. Set to a lower value if you have many spawn points close together. Default value is 1.</real>
418 <target key="target2" name="target2">trigger all entities with this targetname when someone spawns</target>
419 <target key="target3" name="target3">trigger all entities with this targetname when someone spawns</target>
420 <target key="target4" name="target4">trigger all entities with this targetname when someone spawns</target>
421 <targetname key="targetname" name="targetname">when targeted by a func_button, pressing the button will reassign the spawn point to the team of the activator. If a team has no more spawn point left, it immediately loses.</targetname>
422 <real key="restriction" name="restriction">when 1, only bots can spawn here; when 2, only humans can spawn here (be careful with these, or the game will crash because someone cannot spawn)</real>
423 </point>
424
425 <point name="info_player_team4" color="1 0 1" box="-16 -16 -24 16 16 45">
426 Pink team's player spawning location, but there is no game mode to use this yet. Anyway, should touch the floor, but not the walls, and should point where the player should look when he spawns there.
427 -------- KEYS --------
428 <real key="cnt" name="cnt">weight of spawn point for random selection. Set to a lower value if you have many spawn points close together. Default value is 1.</real>
429 <target key="target2" name="target2">trigger all entities with this targetname when someone spawns</target>
430 <target key="target3" name="target3">trigger all entities with this targetname when someone spawns</target>
431 <target key="target4" name="target4">trigger all entities with this targetname when someone spawns</target>
432 <targetname key="targetname" name="targetname">when targeted by a func_button, pressing the button will reassign the spawn point to the team of the activator. If a team has no more spawn point left, it immediately loses.</targetname>
433 <real key="restriction" name="restriction">when 1, only bots can spawn here; when 2, only humans can spawn here (be careful with these, or the game will crash because someone cannot spawn)</real>
434 </point>
435
436 <point name="item_armor_mega" color=".4 .8 .4" box="-30 -30 0 30 30 32">
437 Large Armor (default 100 armor points)
438 -------- KEYS --------
439 <real key="respawntime" name="respawntime">time till it respawns (default: 30)</real>
440 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
441 <real key="armorvalue" name="armorvalue">amount of armor it gives (default: 100 (g_pickup_armormega))</real>
442 <real key="max_armorvalue" name="max_armorvalue">max of armor it increases to (default: 999 (g_pickup_armormega_max))</real>
443 <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>
444 <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>
445 -------- SPAWNFLAGS --------
446 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
447 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
448 modeldisabled=&quot;models/items/g_a25.md3&quot;
449 </point>
450
451 <point name="item_armor_big" color=".4 .8 .4" box="-30 -30 0 30 30 32">
452 Big Armor (default 50 armor points)
453 -------- KEYS --------
454 <real key="respawntime" name="respawntime">time till it respawns (default: 20)</real>
455 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
456 <real key="armorvalue" name="armorvalue">amount of armor it gives (default: 50 (g_pickup_armorbig))</real>
457 <real key="max_armorvalue" name="max_armorvalue">max of armor it increases to (default: 999 (g_pickup_armorbig_max))</real>
458 <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>
459 <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>
460 -------- SPAWNFLAGS --------
461 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
462 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
463 modeldisabled=&quot;models/items/g_a50.md3&quot;
464 </point>
465
466 <point name="item_armor_medium" color=".4 .8 .4" box="-30 -30 0 30 30 32">
467 Medium Armor (default 25 armor points)
468 -------- KEYS --------
469 <real key="respawntime" name="respawntime">time till it respawns (default: 20)</real>
470 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
471 <real key="armorvalue" name="armorvalue">amount of armor it gives (default: 25 (g_pickup_armormedium))</real>
472 <real key="max_armorvalue" name="max_armorvalue">max of armor it increases to (default: 999 (g_pickup_armormedium_max))</real>
473 <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>
474 <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>
475 -------- SPAWNFLAGS --------
476 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
477 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
478 modeldisabled=&quot;models/items/g_armormedium.md3&quot;
479 </point>
480
481 <point name="item_armor_small" color=".4 .8 .4" box="-30 -30 0 30 30 32">
482 Small Armor (default 5 armor points)
483 -------- KEYS --------
484 <real key="respawntime" name="respawntime">time till it respawns (default: 15)</real>
485 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
486 <real key="armorvalue" name="armorvalue">amount of armor it gives (default: 5 (g_pickup_armorsmall))</real>
487 <real key="max_armorvalue" name="max_armorvalue">max of armor it increases to (default: 999 (g_pickup_armorsmall_max))</real>
488 <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>
489 <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>
490 -------- SPAWNFLAGS --------
491 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
492 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
493 modeldisabled=&quot;models/items/g_a1.md3&quot;
494 </point>
495
496 <point name="item_bullets" color=".3 .3 1" box="-30 -30 0 30 30 32">
497 Machine Gun ammo
498 -------- KEYS --------
499 <real key="ammo_nails" name="ammo_nails">bullets gained by this item (if unset, g_pickup_nails is used)</real>
500 <real key="respawntime" name="respawntime">time till it respawns (default: 15)</real>
501 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
502 <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>
503 <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>
504 -------- SPAWNFLAGS --------
505 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
506 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
507 modeldisabled=&quot;models/items/a_bullets.md3&quot;
508 </point>
509
510 <point name="item_cells" color=".3 .3 1" box="-30 -30 0 30 30 32">
511 Nex, Electro and Crylink ammo
512 -------- KEYS --------
513 <real key="ammo_cells" name="ammo_cells">cells gained by this item (if unset, g_pickup_cells is used)</real>
514 <real key="respawntime" name="respawntime">time till it respawns (default: 15)</real>
515 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
516 <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>
517 <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>
518 -------- SPAWNFLAGS --------
519 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
520 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
521 modeldisabled=&quot;models/items/a_cells.md3&quot;
522 </point>
523
524 <point name="item_flag_team1" color="1 0 0" box="-32 -32 0 32 32 74">
525 CTF flag for team one (Red). Use more than one if you really insist.
526 -------- KEYS --------
527 <model key="model" name="model">model to use</model>
528 <real key="scale" name="scale">scaling factor (DO set this when using your own model!)</real>
529 <sound key="noise" name="noise">sound played when flag is picked up</sound>
530 <sound key="noise1" name="noise1">sound played when flag is returned</sound>
531 <sound key="noise2" name="noise2">sound played when flag is captured</sound>
532 <sound key="noise3" name="noise3">sound played when flag is lost in the field and respawns itself</sound>
533 -------- ZBQRY SBE ENQVNAG BAYL - QB ABG FRG GUVF NF N XRL --------
534 zbqry=&quot;zbqryf/pgs/enqvnag/synt_erq_enqvnag.zq3&quot;
535 </point>
536
537 <point name="item_flag_team2" color="0 0 1" box="-32 -32 0 32 32 74">
538 CTF flag for team two (Blue). Use more than one if you really insist.
539 -------- KEYS --------
540 <model key="model" name="model">model to use</model>
541 <real key="scale" name="scale">scaling factor (DO set this when using your own model!)</real>
542 <sound key="noise" name="noise">sound played when flag is picked up</sound>
543 <sound key="noise1" name="noise1">sound played when flag is returned</sound>
544 <sound key="noise2" name="noise2">sound played when flag is captured</sound>
545 <sound key="noise3" name="noise3">sound played when flag is lost in the field and respawns itself</sound>
546 -------- ZBQRY SBE ENQVNAG BAYL - QB ABG FRG GUVF NF N XRL --------
547 zbqry=&quot;zbqryf/pgs/enqvnag/synt_oyhr_enqvnag.zq3&quot;
548 </point>
549
550 <point name="item_flag_team3" color="1 1 0" box="-32 -32 0 32 32 74">
551 CTF flag for team three (Yellow). Use more than one if you really insist.
552 -------- KEYS --------
553 <model key="model" name="model">model to use</model>
554 <real key="scale" name="scale">scaling factor (DO set this when using your own model!)</real>
555 <sound key="noise" name="noise">sound played when flag is picked up</sound>
556 <sound key="noise1" name="noise1">sound played when flag is returned</sound>
557 <sound key="noise2" name="noise2">sound played when flag is captured</sound>
558 <sound key="noise3" name="noise3">sound played when flag is lost in the field and respawns itself</sound>
559 -------- ZBQRY SBE ENQVNAG BAYL - QB ABG FRG GUVF NF N XRL --------
560 zbqry=&quot;zbqryf/pgs/enqvnag/synt_erq_enqvnag.zq3&quot;
561 </point>
562
563 <point name="item_flag_team4" color="1 0 1" box="-32 -32 0 32 32 74">
564 CTF flag for team four (Pink). Use more than one if you really insist.
565 -------- KEYS --------
566 <model key="model" name="model">model to use</model>
567 <real key="scale" name="scale">scaling factor (DO set this when using your own model!)</real>
568 <sound key="noise" name="noise">sound played when flag is picked up</sound>
569 <sound key="noise1" name="noise1">sound played when flag is returned</sound>
570 <sound key="noise2" name="noise2">sound played when flag is captured</sound>
571 <sound key="noise3" name="noise3">sound played when flag is lost in the field and respawns itself</sound>
572 -------- ZBQRY SBE ENQVNAG BAYL - QB ABG FRG GUVF NF N XRL --------
573 zbqry=&quot;zbqryf/pgs/enqvnag/synt_oyhr_enqvnag.zq3&quot;
574 </point>
575
576 <point name="item_health_big" color=".9 .3 .3" box="-30 -30 0 30 30 48">
577 Big Health (default 50 health points)
578 -------- KEYS --------
579 <real key="respawntime" name="respawntime">time till it respawns (default: 20)</real>
580 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
581 <real key="health" name="health">amount of health it gives (default: 50 (g_pickup_healthbig))</real>
582 <real key="max_health" name="max_health">max of health it increases to (default: 999 (g_pickup_healthbig_max))</real>
583 <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>
584 <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>
585 -------- SPAWNFLAGS --------
586 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
587 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
588 modeldisabled=&quot;models/items/g_h50.md3&quot;
589 </point>
590
591 <point name="item_health_medium" color=".9 .3 .3" box="-30 -30 0 30 30 48">
592 Medium Health (default 25 health points)
593 -------- KEYS --------
594 <real key="respawntime" name="respawntime">time till it respawns (default: 15)</real>
595 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
596 <real key="health" name="health">amount of health it gives (default: 25 (g_pickup_healthmedium))</real>
597 <real key="max_health" name="max_health">max of health it increases to (default: 999 (g_pickup_healthmedium_max))</real>
598 <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>
599 <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>
600 -------- SPAWNFLAGS --------
601 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
602 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
603 modeldisabled=&quot;models/items/g_h25.md3&quot;
604 </point>
605
606 <point name="item_health_mega" color=".9 .3 .3" box="-30 -30 0 30 30 48">
607 Mega Health (default 100 health points)
608 In Instagib, this randomly turns into either an invisibility, an extra lives or a speed power-up with a default respawn time of 120.
609 -------- KEYS --------
610 <real key="respawntime" name="respawntime">time till it respawns (default: 30)</real>
611 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
612 <real key="health" name="health">amount of health it gives (default: 100 (g_pickup_healthmega))</real>
613 <real key="max_health" name="max_health">max of health it increases to (default: 999 (g_pickup_healthmega_max))</real>
614 <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>
615 <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>
616 -------- SPAWNFLAGS --------
617 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
618 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
619 modeldisabled=&quot;models/items/g_h100.md3&quot;
620 </point>
621
622 <point name="item_health_small" color=".9 .3 .3" box="-30 -30 0 30 30 48">
623 Small Health (default 5 health points)
624 -------- KEYS --------
625 <real key="respawntime" name="respawntime">time till it respawns (default: 15)</real>
626 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
627 <real key="health" name="health">amount of health it gives (default: 5 (g_pickup_healthsmall))</real>
628 <real key="max_health" name="max_health">max of health it increases to (default: 5 (g_pickup_healthsmall_max))</real>
629 <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>
630 <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>
631 -------- SPAWNFLAGS --------
632 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
633 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
634 modeldisabled=&quot;models/items/g_h1.md3&quot;
635 </point>
636
637 <point name="item_invincible" color=".3 .3 1" box="-30 -30 0 30 30 48">
638 Strong Shield
639 In Instagib, this randomly turns into either an invisibility, an extra lives or a speed power-up with a default respawn time of 120.
640 -------- KEYS --------
641 <real key="respawntime" name="respawntime">time till it respawns (default: 120)</real>
642 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
643 <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>
644 <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>
645 -------- SPAWNFLAGS --------
646 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
647 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
648 modeldisabled=&quot;models/items/g_invincible.md3&quot;
649 </point>
650
651 <point name="item_key" color="0 .5 .8" box="-16 -16 -24 16 16 32">
652 A key entity.
653 The itemkeys should contain one of the following key IDs:
654 1 - GOLD key -
655 2 - SILVER key
656 4 - BRONZE key
657 8 - RED keycard
658 16 - BLUE keycard
659 32 - GREEN keycard
660 Custom keys:
661 ... - last key is 1&lt;&lt;23
662 Keys with bigger Id than 32 don't have a default netname and model, if you use one of them, you MUST provide those.
663 -----------KEYS------------
664 <color key="colormod" name="colormod">color of the key (default: '.9 .9 .9').</color>
665 <real key="itemkeys" name="itemkeys">a key Id.</real>
666 <string key="message" name="message">message to print when player picks up this key.</string>
667 <model key="model" name="model">custom key model to use.</model>
668 <string key="netname" name="netname">the display name of the key.</string>
669 <sound key="noise" name="noise">custom sound to play when player picks up the key.</sound>
670 -------- SPAWNFLAGS --------
671 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
672 ---------NOTES----------
673 This is the only correct way to put keys on the map!
674
675 itemkeys MUST always have exactly one bit set.
676 </point>
677
678 <point name="item_key1" color="0 .5 .8" box="-16 -16 -24 16 16 32">
679 SILVER key.
680 -----------KEYS------------
681 <color key="colormod" name="colormod">color of the key (default: '.9 .9 .9').</color>
682 <string key="message" name="message">message to print when player picks up this key.</string>
683 <model key="model" name="model">custom model to use.</model>
684 <sound key="noise" name="noise">custom sound to play when player picks up the key.</sound>
685 -------- SPAWNFLAGS --------
686 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
687 ---------NOTES----------
688 Don't use this entity on new maps! Use item_key instead.
689 </point>
690
691 <point name="item_key2" color="0 .5 .8" box="-16 -16 -24 16 16 32">
692 GOLD key.
693 -----------KEYS------------
694 <color key="colormod" name="colormod">color of the key (default: '1 .9 0').</color>
695 <string key="message" name="message">message to print when player picks up this key.</string>
696 <model key="model" name="model">custom model to use.</model>
697 <sound key="noise" name="noise">custom sound to play when player picks up the key.</sound>
698 -------- SPAWNFLAGS --------
699 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
700 ---------NOTES----------
701 Don't use this entity on new maps! Use item_key instead.
702 </point>
703
704 <point name="item_minst_cells" color=".3 .3 1" box="-30 -30 0 30 30 32">
705 Instagib ammo.
706 Always contains 5 (g_instagib_ammo_drop) shots.
707 It only appears when playing Instagib and prevents auto-replacement of weapon_nex &amp; weapon_rocketlauncher when used.
708 -------- KEYS --------
709 <real key="respawntime" name="respawntime">time till it respawns (default: 45)</real>
710 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
711 <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>
712 <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>
713 -------- SPAWNFLAGS --------
714 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
715 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
716 modeldisabled=&quot;models/items/a_cells.md3&quot;
717 </point>
718
719 <point name="item_rockets" color=".3 .3 1" box="-30 -30 0 30 30 32">
720 Rocket Launcher, Hagar and Mortar ammo
721 -------- KEYS --------
722 <real key="ammo_rockets" name="ammo_rockets">rockets gained by this item (if unset, g_pickup_rockets is used)</real>
723 <real key="respawntime" name="respawntime">time till it respawns (default: 15)</real>
724 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
725 <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>
726 <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>
727 -------- SPAWNFLAGS --------
728 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
729 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
730 modeldisabled=&quot;models/items/a_rockets.md3&quot;
731 </point>
732
733 <point name="item_shells" color=".3 .3 1" box="-30 -30 0 30 30 32">
734 Shotgun ammo
735 -------- KEYS --------
736 <real key="ammo_shells" name="ammo_shells">shells gained by this item (if unset, g_pickup_shells is used)</real>
737 <real key="respawntime" name="respawntime">time till it respawns (default: 15)</real>
738 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
739 <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>
740 <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>
741 -------- SPAWNFLAGS --------
742 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
743 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
744 modeldisabled=&quot;models/items/a_shells.md3&quot;
745 </point>
746
747 <point name="item_strength" color=".3 .3 1" box="-30 -30 0 30 30 48">
748 Strength aka Quad damage
749 In Instagib, this randomly turns into either an invisibility, an extra lives or a speed power-up with a default respawn time of 120.
750 -------- KEYS --------
751 <real key="respawntime" name="respawntime">time till it respawns (default: 120)</real>
752 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
753 <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>
754 <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>
755 -------- SPAWNFLAGS --------
756 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
757 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
758 modeldisabled=&quot;models/items/g_strength.md3&quot;
759 </point>
760
761 <point name="light" color=".65 .65 1" box="-8 -8 -8 8 8 8">
762 Non-displayed point light source. The -pointscale and -scale arguments to Q3Map2 affect the brightness of these lights. The -skyscale argument affects brightness of entity sun lights.
763 Maximum intensity (in a radius 16 sphere around the light): regular lights have light/256, linear lights have light/8000-16*fade.
764 Falloff radius to a negligible light amount: regular lights have light have 16*sqrt(light), linear lights have light/(fade*8000).
765 By this you see that you HAVE to specify fade for a linear light... use values below 0.01 there.
766 -------- KEYS --------
767 <real key="light" name="light">intensity factor (default: 300). A linear</real>
768 <color key="_color" name="_color">weighted RGB value of light color (default white - 1.0 1.0 1.0).</color>
769 <target key="target" name="target">Lights pointed at a target will be spotlights.</target>
770 <real key="radius" name="radius">radius of a spotlight at the target point (default: 64)</real>
771 <real key="_anglescale" name="_anglescale">scales angle attenuation</real>
772 <real key="fade" name="fade">Fade factor of light attenuation of linear lights. Linear lights completely vanish at distance light/(fade*8000), so if you want the light to vanish at distance X, specify light/(8000*X) here.</real>
773 <real key="_filterradius" name="_filterradius">filter radius for this light, similar to -light -filter</real>
774 <boolean key="_sun" name="_sun">if 1, this light is an infinite sun light</boolean>
775 <integer key="_samples" name="_samples">number of samples to use to get soft shadows from a light</integer>
776 <real key="_deviance" name="_deviance">position deviance of the samples of a regular light (distributes the light samples in a cube of side length 2*_deviance around the origin), or angle deviance of the sun light samples in radians</real>
777 -------- SPAWNFLAGS --------
778 <flag key="LINEAR" name="LINEAR" bit="0">Use a linear falloff. Default is inverse distance squared (more realistic).</flag>
779 <flag key="NOANGLE" name="NOANGLE" bit="1">Ignore angle attenuation.</flag>
780 <flag key="NOGRIDLIGHT" name="NOGRIDLIGHT" bit="4">Do not affect the light grid (dynamic entity lighting).</flag>
781 </point>
782
783 <point name="lightJunior" color=".65 .65 1" box="-8 -8 -8 8 8 8">
784 Non-displayed point light source that JUST APPLIES TO THE LIGHT GRID. No idea what this is good for. The -pointscale and -scale arguments to Q3Map2 affect the brightness of these lights. The -skyscale argument affects brightness of entity sun lights.
785 Maximum intensity (in a radius 16 sphere around the light): regular lights have light/256, linear lights have light/8000-16*fade.
786 Falloff radius to a negligible light amount: regular lights have light have 16*sqrt(light), linear lights have light/(fade*8000).
787 By this you see that you HAVE to specify fade for a linear light... use values below 0.01 there.
788 -------- KEYS --------
789 <real key="light" name="light">intensity factor (default: 300). A linear</real>
790 <color key="_color" name="_color">weighted RGB value of light color (default white - 1.0 1.0 1.0).</color>
791 <target key="target" name="target">Lights pointed at a target will be spotlights.</target>
792 <real key="radius" name="radius">radius of a spotlight at the target point (default: 64)</real>
793 <real key="_anglescale" name="_anglescale">scales angle attenuation</real>
794 <real key="fade" name="fade">Fade factor of light attenuation of linear lights. Linear lights completely vanish at distance light/(fade*8000), so if you want the light to vanish at distance X, specify light/(8000*X) here.</real>
795 <real key="_filterradius" name="_filterradius">filter radius for this light, similar to -light -filter</real>
796 <boolean key="_sun" name="_sun">if 1, this light is an infinite sun light</boolean>
797 <integer key="_samples" name="_samples">number of samples to use to get soft shadows from a light</integer>
798 <real key="_deviance" name="_deviance">position deviance of the samples of a regular light (distributes the light samples in a cube of side length 2*_deviance around the origin), or angle deviance of the sun light samples in radians</real>
799 -------- SPAWNFLAGS --------
800 <flag key="LINEAR" name="LINEAR" bit="0">Use a linear falloff. Default is inverse distance squared (more realistic).</flag>
801 <flag key="NOANGLE" name="NOANGLE" bit="1">Ignore angle attenuation.</flag>
802 </point>
803
804 <point name="misc_laser" color=".5 .5 .5" box="-8 -8 -8 8 8 8">
805 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.
806 -------- KEYS --------
807 <target key="target" name="target">target_position the laser targets (may be another entity, preferably target_position, possibly controlled by misc_follow)</target>
808 <string key="mdl" name="mdl">name of particle effect for the beam end point (see effectinfo.txt; default is laser_deadly if dmg is set, and none if not)</string>
809 <color key="colormod" name="colormod">color of the laser beam (default: red, that is, 1 0 0)</color>
810 <real key="dmg" name="dmg">damage inflicted by the beam per second, or -1 for an instant-death ray</real>
811 <targetname key="targetname" name="targetname">name to target this (then its state is toggled)</targetname>
812 <real key="alpha" name="alpha">when set, makes a dark laser of the given strength; may be combined with colormod</real>
813 <real key="scale" name="scale">scales the beam thickness (default 1)</real>
814 <real key="modelscale" name="modelscale">scales the dynamic light radius at the endpoint (default 1, -1 to turn off)</real>
815 <integer key="team" name="team">team that gets hurt (5 = red, 14 = blue, etc) (when set, only this team can get hurt)</integer>
816 -------- SPAWNFLAGS --------
817 <flag key="START_ON" name="START_ON" bit="0">when targeted, the laser will start switched on</flag>
818 <flag key="FINITE" name="FINITE" bit="1">the laser does not extend over its target like light would do, but stops there (takes more bandwidth)</flag>
819 <flag key="NOTRACE" name="NOTRACE" bit="2">the laser passes through solid (faster rendering on clientside); non-FINITE lasers then never display their impact effect &quot;mdl&quot;!</flag>
820 <flag key="INVERT_TEAM" name="INVERT_TEAM" bit="3">the team that owns this will NOT get hurt</flag>
821 -------- NOTES --------
822 Use trigger_monoflop if you want the laser to turn off for a while, then turn back on.
823 When the laser's target has itself target set, its targets are triggered when someone enters or leaves the laser.
824 </point>
825
826 <point name="misc_model" color="1 .5 .25" box="-16 -16 -16 16 16 16">
827 Generic placeholder for inserting MD3 models in game. Requires compilation of map geometry to be added to level. If the map is compiled with Q3Map2, then ASE, 3DS, OBJ and other model formats are supported.
828 -------- Q3MAP2 KEYS --------
829 <model key="model" name="model">file name of model to include</model>
830 <integer key="_frame" name="_frame">frame of model to include</integer>
831 <integer key="_skin" name="_skin">skin of model to include</integer>
832 <array key="_remap" name="_remap">string of the form from;to specifying which texture name of the model to replace by which shader; * is allowed. Any key starting with this prefix will work, so if you need more remappings, create _remap2, etc.</array>
833 <direction key="angle" name="angle">view direction of the model</direction>
834 <angles key="angles" name="angles">view direction of the model in PITCH YAW ROLL</angles>
835 <real key="modelscale" name="modelscale">scaling factor</real>
836 <real3 key="modelscale_vec" name="modelscale_vec">scaling vector for non-uniform scaling</real3>
837 <boolean key="_castshadows" name="_castshadows">Allows per-entity control over shadow casting. Defaults to 0 on entities, 1 on world. 0 = no shadow casting. 1 = cast shadows on world. &gt; 1 = cast shadows on entities with _rs (or _receiveshadows) with the corresponding value, AND world. Negative values imply same, but DO NOT cast shadows on world.</boolean>
838 <boolean key="_receiveshadows" name="_receiveshadows">Allows per-entity control over shadow reception. Defaults to 1 on everything (world shadows). 0 = receives NO shadows. &gt; 1 = receive shadows only from corresponding keyed entities (see above) and world. &lt; 1 = receive shadows ONLY from corresponding keyed entities.</boolean>
839 <real key="_lightmapscale" name="_lightmapscale">light map resolution factor</real>
840 <texture key="_celshader" name="_celshader">the cel shader for this</texture>
841 -------- SPAWNFLAGS --------
842 <flag key="SOLID" name="SOLID" bit="1">make the model solid</flag>
843 <flag key="FORCE_META" name="FORCE_META" bit="2">force the model to go through the -meta pipeline and enable lightmapping</flag>
844 <flag key="EXTRUDE_NORMALS" name="EXTRUDE_NORMALS" bit="3">for converting triangles to clip brushes, extrude along the model normals (by default, extrusion happens in a coordinate axis direction that is decided per triangle)</flag>
845 <flag key="EXTRUDE_TERRAIN" name="EXTRUDE_TERRAIN" bit="4">always extrude downwards (for terrain)</flag>
846 <flag key="COLOR_TO_ALPHA" name="COLOR_TO_ALPHA" bit="5">use the color value as alpha (for terrain blending)</flag>
847 <flag key="DONT_FIX_NORMALS" name="DONT_FIX_NORMALS" bit="6">do not regenerate normals</flag>
848 </point>
849
850 <point name="misc_gamemodel" color="0 .5 .8" box="-8 -8 -8 8 8 8">
851 NOTE: usually misc_clientmodel will predict better and have more fps!
852 Use this only if you need to.
853 A way to load models from a map by the engine (e.g. self-animated zym models).
854 Is non-solid by default.
855 The keys below actually apply to most engine-loaded model entities as they are engine features; however, they are described here as they aren't overridden by game code in misc_gamemodel. Its q3map2 keys below will work on any brush entity!
856 -------- KEYS --------
857 <model key="model" name="model">when used as a point entity, file name of model to load; when used as a brush entity, do not specify that</model>
858 <real key="frame" name="frame">animation frame to play (for self-animated zym models)</real>
859 <real key="skin" name="skin">number of skin to load (when model is used)</real>
860 <real key="movetype" name="movetype">way in which it moves: one of 0 = NONE, 1 = ANGLENOCLIP, 2 = ANGLECLIP, 3 = WALK, 4 = STEP, 5 = FLY, 6 = TOSS, 7 = PUSH, 8 = NOCLIP, 9 = FLYMISSILE, 10 = BOUNCE, 11 = BOUNCEMISSILE</real>
861 <real key="solid" name="solid">solidity: one of 0 = NOT, 1 = TRIGGER, 2 = BBOX, 3 = SLIDEBOX, 4 = BSP, 5 = CORPSE</real>
862 <real3 key="avelocity" name="avelocity">vector giving its angular velocity (useful for spinning models)</real3>
863 <real key="scale" name="scale">scale factor of the model (range: 0.0625 to 15.9375)</real>
864 <real key="colormap" name="colormap">1024 + 16 * pantscolor + shirtcolor</real>
865 <real3 key="velocity" name="velocity">when movetype isn't 0, initial velocity vector</real3>
866 <angles key="angles" name="angles">initial looking direction</angles>
867 <real key="modelscale" name="modelscale">scaling factor</real>
868 <real key="effects" name="effects">sum of 1 = BRIGHTFIELD, 4 = BRIGHTLIGHT, 8 = DIMLIGHT, 32 = ADDITIVE, 64 = BLUE, 128 = RED, 512 = FULLBRIGHT, 1024 = FLAME, 2048 = STARDUST, 4096 = NOSHADOW, 8192 = NODEPTHTEST, 32768 = DOUBLESIDED, 8388608 = NOMODELFLAGS (ignores the following coming from a model file), 16777216 = ROCKET, 33554432 = GRENADE, 67108864 = GIB, 134217728 = ROTATE, 268435456 = TRACER, 536870912 = ZOMGIB, 1073741824 = TRACER2, -2147483648 = TRACER3</real>
869 <real key="loddistance1" name="loddistance1">distance after which to show the first LOD model replacement (default: 1000)</real>
870 <real key="loddistance2" name="loddistance2">distance after which to show the second LOD model replacement (default: 2000)</real>
871 <string key="lodmodel1" name="lodmodel1">file name of the first LOD model replacement</string>
872 <string key="lodmodel2" name="lodmodel2">file name of the second LOD model replacement</string>
873 <targetname key="targetname" name="targetname">when invoking it by a button etc., it changes the color to the initiator of the action (e.g. the one pressing a button). In Onslaught, this can be used to color control points for team who owns them. In other game types, this can be used as a fun feature.</targetname>
874 <real3 key="originjitter" name="originjitter">a vector describing a random offset this entity will be moved on initial spawn. This corresponds to the &quot;origin&quot; field. Works on any non-q3map2-only entity.</real3>
875 <real3 key="anglesjitter" name="anglesjitter">a vector in the order &quot;pitch yaw roll&quot; describing a random angles change on this entity on initial spawn. The value 180 180 180 makes the angles entirely random and uniformly distributed (among euler angles). This corresponds to the &quot;angles&quot; field. Works on any non-q3map2-only entity.</real3>
876 <real key="anglejitter" name="anglejitter">a float describing a random yaw angle change on this entity on initial spawn. The value 180 makes the yaw angle entirely random (maybe good for items). This corresponds to the &quot;angle&quot; field. Works on any non-q3map2-only entity.</real>
877 <string key="gametypefilter" name="gametypefilter">either a + sign and a comma separated list of game types or the aliases &quot;teams&quot; and &quot;noteams&quot; to ONLY show the entity in the listed game types, or a - sign and a comma separated list of game types or the aliases &quot;teams&quot; and &quot;noteams&quot; to NOT show the entity in the listed game types. The syntax is the same as in sbar_columns_set strings. Works on any non-q3map2-only entity.</string>
878 <string key="cvarfilter" name="cvarfilter">either a + sign and a space separated list of conditions, or a - sign and the same for an inverted filter. The conditions are ALWAYS combined with AND! Possible conditions are: &quot;cvar==value&quot;, &quot;cvar!=value&quot;, &quot;cvar&lt;value&quot;, &quot;cvar&gt;value&quot;, &quot;cvar&lt;=value&quot;, &quot;cvar&gt;=value&quot;, &quot;cvar===string&quot;, &quot;cvar!==string&quot;, &quot;cvar&quot;, &quot;!cvar&quot;. Ridiculous example filter: &quot;-g_balance_health_start&lt;150 g_balance_armor_start==0&quot; spawns an item only if start health is at least 150 or start armor is not 0. Other ideas: &quot;+g_campaign&quot; and &quot;-g_campaign&quot; for enabling/disabling items when the map is played as part of the campaign.</string>
879 -------- SPAWNFLAGS --------
880 <flag key="ALIGN_ORIGIN" name="ALIGN_ORIGIN" bit="0">align the origin to the surface below the model</flag>
881 <flag key="ALIGN_BOTTOM" name="ALIGN_BOTTOM" bit="1">align the bottom of the model to the surface below it</flag>
882 </point>
883
884 <group name="func_illusionary" color="0 .5 .8">
885 NOTE - THIS ENTITY IS BROKEN REGARDING CLIENT AND PROJECTILE PREDICTION. DO NOT USE IT. USE NONSOLID SHADERS OR FUNC_CLIENTILLUSIONARY INSTEAD.
886 A non-solid brush entity. Use func_wall if you want it solid.
887 The keys below actually apply to most brush entities as they are engine features; however, they are described here as they aren't overridden by game code in misc_models. Its q3map2 keys below will work on any brush entity!
888 -------- KEYS --------
889 <real key="movetype" name="movetype">way in which it moves: one of 0 = NONE, 1 = ANGLENOCLIP, 2 = ANGLECLIP, 3 = WALK, 4 = STEP, 5 = FLY, 6 = TOSS, 7 = PUSH, 8 = NOCLIP, 9 = FLYMISSILE, 10 = BOUNCE, 11 = BOUNCEMISSILE</real>
890 <real3 key="avelocity" name="avelocity">vector giving its angular velocity (useful for spinning models)</real3>
891 <real key="scale" name="scale">scale factor of the model (range: 0.0625 to 15.9375)</real>
892 <real key="colormap" name="colormap">1024 + 16 * pantscolor + shirtcolor</real>
893 <real3 key="velocity" name="velocity">when movetype isn't 0, initial velocity vector</real3>
894 <angles key="angles" name="angles">initial looking direction</angles>
895 <real key="effects" name="effects">sum of 1 = BRIGHTFIELD, 4 = BRIGHTLIGHT, 8 = DIMLIGHT, 32 = ADDITIVE, 64 = BLUE, 128 = RED, 512 = FULLBRIGHT, 1024 = FLAME, 2048 = STARDUST, 4096 = NOSHADOW, 8192 = NODEPTHTEST, 32768 = DOUBLESIDED, 8388608 = NOMODELFLAGS (ignores the following coming from a model file), 16777216 = ROCKET, 33554432 = GRENADE, 67108864 = GIB, 134217728 = ROTATE, 268435456 = TRACER, 536870912 = ZOMGIB, 1073741824 = TRACER2, -2147483648 = TRACER3</real>
896 <real key="loddistance1" name="loddistance1">distance after which to show the first LOD model replacement (default: 1000)</real>
897 <real key="loddistance2" name="loddistance2">distance after which to show the second LOD model replacement (default: 2000)</real>
898 <string key="lodtarget1" name="lodtarget1">targetname of the first LOD model entity (can be used instead of lodmodel1 to use a brush model instead)</string>
899 <string key="lodtarget2" name="lodtarget2">targetname of the second LOD model entity (can be used instead of lodmodel2 to use a brush model instead)</string>
900 <targetname key="targetname" name="targetname">when invoking it by a button etc., it changes the color to the initiator of the action (e.g. the one pressing a button). In Onslaught, this can be used to color control points for team who owns them. In other game types, this can be used as a fun feature. Works only with _shirt and _pants textures.</targetname>
901 <real3 key="originjitter" name="originjitter">a vector describing a random offset this entity will be moved on initial spawn. This corresponds to the &quot;origin&quot; field. Works on any non-q3map2-only entity.</real3>
902 <real3 key="anglesjitter" name="anglesjitter">a vector in the order &quot;pitch yaw roll&quot; describing a random angles change on this entity on initial spawn. The value 180 180 180 makes the angles entirely random and uniformly distributed (among euler angles). This corresponds to the &quot;angles&quot; field. Works on any non-q3map2-only entity.</real3>
903 <real key="anglejitter" name="anglejitter">a float describing a random yaw angle change on this entity on initial spawn. The value 180 makes the yaw angle entirely random (maybe good for items). This corresponds to the &quot;angle&quot; field. Works on any non-q3map2-only entity.</real>
904 <string key="gametypefilter" name="gametypefilter">either a + sign and a comma separated list of game types or the aliases &quot;teams&quot; and &quot;noteams&quot; to ONLY show the entity in the listed game types, or a - sign and a comma separated list of game types or the aliases &quot;teams&quot; and &quot;noteams&quot; to NOT show the entity in the listed game types. The syntax is the same as in sbar_columns_set strings. Works on any non-q3map2-only entity.</string>
905 -------- Q3MAP2 KEYS --------
906 <boolean key="_castshadows" name="_castshadows">Allows per-entity control over shadow casting. Defaults to 0 on entities, 1 on world. 0 = no shadow casting. 1 = cast shadows on world. &gt; 1 = cast shadows on entities with _rs (or _receiveshadows) with the corresponding value, AND world. Negative values imply same, but DO NOT cast shadows on world.</boolean>
907 <boolean key="_receiveshadows" name="_receiveshadows">Allows per-entity control over shadow reception. Defaults to 1 on everything (world shadows). 0 = receives NO shadows. &gt; 1 = receive shadows only from corresponding keyed entities (see above) and world. &lt; 1 = receive shadows ONLY from corresponding keyed entities.</boolean>
908 <target key="_clone" name="_clone">copies brushes from entity with identical _clonename. Still needs a single brush that will get replaced.</target>
909 <targetname key="_clonename" name="_clonename">template name so one can clone from it</targetname>
910 <real3 key="mins" name="mins">override automatically found minimum coordinate bounds</real3>
911 <real3 key="maxs" name="maxs">override automatically found maximum coordinate bounds</real3>
912 <targetname key="targetname" name="targetname">if targeted by a misc_model, its brushes get inserted into this</targetname>
913 <texture key="_celshader" name="_celshader">Sets the cel shader used for this geometry. Note: omit the &quot;textures/&quot; prefix.</texture>
914 </group>
915
916 <group name="func_wall" color="0 .5 .8">
917 A solid brush entity. Use func_clientillusionary if you want it non-solid.
918 The keys below actually apply to most brush entities as they are engine features; however, they are described here as they aren't overridden by game code in misc_models. Its q3map2 keys below will work on any brush entity!
919 -------- KEYS --------
920 <real key="movetype" name="movetype">way in which it moves: one of 0 = NONE, 1 = ANGLENOCLIP, 2 = ANGLECLIP, 3 = WALK, 4 = STEP, 5 = FLY, 6 = TOSS, 7 = PUSH, 8 = NOCLIP, 9 = FLYMISSILE, 10 = BOUNCE, 11 = BOUNCEMISSILE</real>
921 <real key="solid" name="solid">solidity: one of 1 = TRIGGER, 2 = BBOX, 3 = SLIDEBOX, 4 = BSP, 5 = CORPSE (default: 4, any other value causes prediction problems and should not be used until further notice)</real>
922 <real3 key="avelocity" name="avelocity">vector giving its angular velocity (useful for spinning models)</real3>
923 <real key="scale" name="scale">scale factor of the model (range: 0.0625 to 15.9375)</real>
924 <real key="colormap" name="colormap">1024 + 16 * pantscolor + shirtcolor</real>
925 <real3 key="velocity" name="velocity">when movetype isn't 0, initial velocity vector</real3>
926 <angles key="angles" name="angles">initial looking direction</angles>
927 <real key="effects" name="effects">sum of 1 = BRIGHTFIELD, 4 = BRIGHTLIGHT, 8 = DIMLIGHT, 32 = ADDITIVE, 64 = BLUE, 128 = RED, 512 = FULLBRIGHT, 1024 = FLAME, 2048 = STARDUST, 4096 = NOSHADOW, 8192 = NODEPTHTEST, 32768 = DOUBLESIDED, 8388608 = NOMODELFLAGS (ignores the following coming from a model file), 16777216 = ROCKET, 33554432 = GRENADE, 67108864 = GIB, 134217728 = ROTATE, 268435456 = TRACER, 536870912 = ZOMGIB, 1073741824 = TRACER2, -2147483648 = TRACER3</real>
928 <real key="loddistance1" name="loddistance1">distance after which to show the first LOD model replacement (default: 1000)</real>
929 <real key="loddistance2" name="loddistance2">distance after which to show the second LOD model replacement (default: 2000)</real>
930 <string key="lodtarget1" name="lodtarget1">targetname of the first LOD model entity (can be used instead of lodmodel1 to use a brush model instead)</string>
931 <string key="lodtarget2" name="lodtarget2">targetname of the second LOD model entity (can be used instead of lodmodel2 to use a brush model instead)</string>
932 <targetname key="targetname" name="targetname">when invoking it by a button etc., it changes the color to the initiator of the action (e.g. the one pressing a button). In Onslaught, this can be used to color control points for team who owns them. In other game types, this can be used as a fun feature. Works only with _shirt and _pants textures.</targetname>
933 <real3 key="originjitter" name="originjitter">a vector describing a random offset this entity will be moved on initial spawn. This corresponds to the &quot;origin&quot; field. Works on any non-q3map2-only entity.</real3>
934 <real3 key="anglesjitter" name="anglesjitter">a vector in the order &quot;pitch yaw roll&quot; describing a random angles change on this entity on initial spawn. The value 180 180 180 makes the angles entirely random and uniformly distributed (among euler angles). This corresponds to the &quot;angles&quot; field. Works on any non-q3map2-only entity.</real3>
935 <real key="anglejitter" name="anglejitter">a float describing a random yaw angle change on this entity on initial spawn. The value 180 makes the yaw angle entirely random (maybe good for items). This corresponds to the &quot;angle&quot; field. Works on any non-q3map2-only entity.</real>
936 <string key="gametypefilter" name="gametypefilter">either a + sign and a comma separated list of game types or the aliases &quot;teams&quot; and &quot;noteams&quot; to ONLY show the entity in the listed game types, or a - sign and a comma separated list of game types or the aliases &quot;teams&quot; and &quot;noteams&quot; to NOT show the entity in the listed game types. The syntax is the same as in sbar_columns_set strings. Works on any non-q3map2-only entity.</string>
937 -------- Q3MAP2 KEYS --------
938 <boolean key="_castshadows" name="_castshadows">Allows per-entity control over shadow casting. Defaults to 0 on entities, 1 on world. 0 = no shadow casting. 1 = cast shadows on world. &gt; 1 = cast shadows on entities with _rs (or _receiveshadows) with the corresponding value, AND world. Negative values imply same, but DO NOT cast shadows on world.</boolean>
939 <boolean key="_receiveshadows" name="_receiveshadows">Allows per-entity control over shadow reception. Defaults to 1 on everything (world shadows). 0 = receives NO shadows. &gt; 1 = receive shadows only from corresponding keyed entities (see above) and world. &lt; 1 = receive shadows ONLY from corresponding keyed entities.</boolean>
940 <target key="_clone" name="_clone">copies brushes from entity with identical _clonename. Still needs a single brush that will get replaced.</target>
941 <targetname key="_clonename" name="_clonename">template name so one can clone from it</targetname>
942 <real3 key="mins" name="mins">override automatically found minimum coordinate bounds</real3>
943 <real3 key="maxs" name="maxs">override automatically found maximum coordinate bounds</real3>
944 <targetname key="targetname" name="targetname">if targeted by a misc_model, its brushes get inserted into this</targetname>
945 <texture key="_celshader" name="_celshader">Sets the cel shader used for this geometry. Note: omit the &quot;textures/&quot; prefix.</texture>
946 </group>
947
948 <point name="misc_clientmodel" color="0 .5 .8" box="-8 -8 -8 8 8 8">
949 A way to load models from a map by the engine (e.g. self-animated zym models) on client side.
950 Is non-solid by default.
951 -------- KEYS --------
952 <real key="scale" name="scale">scale factor of the model (range: 0.0625 to 15.9375)</real>
953 <real key="colormap" name="colormap">1024 + 16 * pantscolor + shirtcolor</real>
954 <angles key="angles" name="angles">initial looking direction</angles>
955 <targetname key="targetname" name="targetname">when invoking it by a button etc., it changes the color to the initiator of the action (e.g. the one pressing a button). In Onslaught, this can be used to color control points for team who owns them. In other game types, this can be used as a fun feature. Works only with _shirt and _pants textures.</targetname>
956 <string key="bgmscript" name="bgmscript">emitter class from the BGM script (if prefixed with &lt;, movedir is treated as an angle value)</string>
957 <real key="bgmscriptattack" name="bgmscriptattack">attack time of the effect strength (0 to 3.9)</real>
958 <real key="bgmscriptdecay" name="bgmscriptdecay">decay time of the effect strength (0 to 3.9)</real>
959 <real key="bgmscriptsustain" name="bgmscriptsustain">sustain level of the effect strength (0.1 to 1, set to -1 to disable sustain)</real>
960 <real key="bgmscriptrelease" name="bgmscriptrelease">release time of the effect strength (0 to 3.9)</real>
961 <real3 key="movedir" name="movedir">vector by which the entity moves when &quot;pressed&quot; by the bgmscript</real3>
962 <real key="lip" name="lip">alpha change when &quot;pressed&quot; by the bgmscript (if &gt; 0, it fades in when pressed, if &lt; 0, it fades out when pressed)</real>
963 <real3 key="originjitter" name="originjitter">a vector describing a random offset this entity will be moved on initial spawn. This corresponds to the &quot;origin&quot; field. Works on any non-q3map2-only entity.</real3>
964 <real3 key="anglesjitter" name="anglesjitter">a vector in the order &quot;pitch yaw roll&quot; describing a random angles change on this entity on initial spawn. The value 180 180 180 makes the angles entirely random and uniformly distributed (among euler angles). This corresponds to the &quot;angles&quot; field. Works on any non-q3map2-only entity.</real3>
965 <real key="anglejitter" name="anglejitter">a float describing a random yaw angle change on this entity on initial spawn. The value 180 makes the yaw angle entirely random (maybe good for items). This corresponds to the &quot;angle&quot; field. Works on any non-q3map2-only entity.</real>
966 <string key="gametypefilter" name="gametypefilter">either a + sign and a comma separated list of game types or the aliases &quot;teams&quot; and &quot;noteams&quot; to ONLY show the entity in the listed game types, or a - sign and a comma separated list of game types or the aliases &quot;teams&quot; and &quot;noteams&quot; to NOT show the entity in the listed game types. The syntax is the same as in sbar_columns_set strings. Works on any non-q3map2-only entity.</string>
967 -------- SPAWNFLAGS --------
968 <flag key="ALIGN_ORIGIN" name="ALIGN_ORIGIN" bit="0">align the origin to the surface below the model</flag>
969 <flag key="ALIGN_BOTTOM" name="ALIGN_BOTTOM" bit="1">align the bottom of the model to the surface below it</flag>
970 </point>
971
972 <group name="func_clientillusionary" color="0 .5 .8">
973 A client-side non-solid brush entity. Use func_wall if you want it solid.
974 -------- KEYS --------
975 <real key="scale" name="scale">scale factor of the model (range: 0.0625 to 15.9375)</real>
976 <real key="colormap" name="colormap">1024 + 16 * pantscolor + shirtcolor</real>
977 <angles key="angles" name="angles">initial looking direction</angles>
978 <targetname key="targetname" name="targetname">when invoking it by a button etc., it changes the color to the initiator of the action (e.g. the one pressing a button). In Onslaught, this can be used to color control points for team who owns them. In other game types, this can be used as a fun feature. Works only with _shirt and _pants textures.</targetname>
979 <string key="bgmscript" name="bgmscript">emitter class from the BGM script</string>
980 <real key="bgmscriptattack" name="bgmscriptattack">attack time of the effect strength (0 to 3.9)</real>
981 <real key="bgmscriptdecay" name="bgmscriptdecay">decay time of the effect strength (0 to 3.9)</real>
982 <real key="bgmscriptsustain" name="bgmscriptsustain">sustain level of the effect strength (0.1 to 1, set to -1 to disable sustain)</real>
983 <real key="bgmscriptrelease" name="bgmscriptrelease">release time of the effect strength (0 to 3.9)</real>
984 <real3 key="movedir" name="movedir">vector by which the entity moves when &quot;pressed&quot; by the bgmscript</real3>
985 <real key="lip" name="lip">alpha change when &quot;pressed&quot; by the bgmscript (if &gt; 0, it fades in when pressed, if &lt; 0, it fades out when pressed)</real>
986 <real3 key="originjitter" name="originjitter">a vector describing a random offset this entity will be moved on initial spawn. This corresponds to the &quot;origin&quot; field. Works on any non-q3map2-only entity.</real3>
987 <real3 key="anglesjitter" name="anglesjitter">a vector in the order &quot;pitch yaw roll&quot; describing a random angles change on this entity on initial spawn. The value 180 180 180 makes the angles entirely random and uniformly distributed (among euler angles). This corresponds to the &quot;angles&quot; field. Works on any non-q3map2-only entity.</real3>
988 <real key="anglejitter" name="anglejitter">a float describing a random yaw angle change on this entity on initial spawn. The value 180 makes the yaw angle entirely random (maybe good for items). This corresponds to the &quot;angle&quot; field. Works on any non-q3map2-only entity.</real>
989 <string key="gametypefilter" name="gametypefilter">either a + sign and a comma separated list of game types or the aliases &quot;teams&quot; and &quot;noteams&quot; to ONLY show the entity in the listed game types, or a - sign and a comma separated list of game types or the aliases &quot;teams&quot; and &quot;noteams&quot; to NOT show the entity in the listed game types. The syntax is the same as in sbar_columns_set strings. Works on any non-q3map2-only entity.</string>
990 -------- Q3MAP2 KEYS --------
991 <boolean key="_castshadows" name="_castshadows">Allows per-entity control over shadow casting. Defaults to 0 on entities, 1 on world. 0 = no shadow casting. 1 = cast shadows on world. &gt; 1 = cast shadows on entities with _rs (or _receiveshadows) with the corresponding value, AND world. Negative values imply same, but DO NOT cast shadows on world.</boolean>
992 <boolean key="_receiveshadows" name="_receiveshadows">Allows per-entity control over shadow reception. Defaults to 1 on everything (world shadows). 0 = receives NO shadows. &gt; 1 = receive shadows only from corresponding keyed entities (see above) and world. &lt; 1 = receive shadows ONLY from corresponding keyed entities.</boolean>
993 <target key="_clone" name="_clone">copies brushes from entity with identical _clonename. Still needs a single brush that will get replaced.</target>
994 <targetname key="_clonename" name="_clonename">template name so one can clone from it</targetname>
995 <real3 key="mins" name="mins">override automatically found minimum coordinate bounds</real3>
996 <real3 key="maxs" name="maxs">override automatically found maximum coordinate bounds</real3>
997 <targetname key="targetname" name="targetname">if targeted by a misc_model, its brushes get inserted into this</targetname>
998 <texture key="_celshader" name="_celshader">Sets the cel shader used for this geometry. Note: omit the &quot;textures/&quot; prefix.</texture>
999 </group>
1000
1001 <group name="func_clientwall" color="0 .5 .8">
1002 NOTE - THIS ENTITY IS IN MOST USE CASES BROKEN REGARDING CLIENT AND PROJECTILE PREDICTION. DO NOT USE IT. USE FUNC_WALL INSTEAD.
1003 A client-side solid brush entity. Use func_clientillusionary if you want it non-solid.
1004 -------- KEYS --------
1005 <real key="solid" name="solid">solidity: one of 1 = TRIGGER, 2 = BBOX, 3 = SLIDEBOX, 4 = BSP, 5 = CORPSE (default: 4, any other value causes prediction problems and should not be used until further notice)</real>
1006 <real key="scale" name="scale">scale factor of the model (range: 0.0625 to 15.9375)</real>
1007 <real key="colormap" name="colormap">1024 + 16 * pantscolor + shirtcolor</real>
1008 <angles key="angles" name="angles">initial looking direction</angles>
1009 <targetname key="targetname" name="targetname">when invoking it by a button etc., it changes the color to the initiator of the action (e.g. the one pressing a button). In Onslaught, this can be used to color control points for team who owns them. In other game types, this can be used as a fun feature. Works only with _shirt and _pants textures.</targetname>
1010 <string key="bgmscript" name="bgmscript">emitter class from the BGM script</string>
1011 <real key="bgmscriptattack" name="bgmscriptattack">attack time of the effect strength (0 to 3.9)</real>
1012 <real key="bgmscriptdecay" name="bgmscriptdecay">decay time of the effect strength (0 to 3.9)</real>
1013 <real key="bgmscriptsustain" name="bgmscriptsustain">sustain level of the effect strength (0.1 to 1, set to -1 to disable sustain)</real>
1014 <real key="bgmscriptrelease" name="bgmscriptrelease">release time of the effect strength (0 to 3.9)</real>
1015 <real3 key="movedir" name="movedir">vector by which the entity moves when &quot;pressed&quot; by the bgmscript</real3>
1016 <real key="lip" name="lip">alpha change when &quot;pressed&quot; by the bgmscript (if &gt; 0, it fades in when pressed, if &lt; 0, it fades out when pressed)</real>
1017 <real3 key="originjitter" name="originjitter">a vector describing a random offset this entity will be moved on initial spawn. This corresponds to the &quot;origin&quot; field. Works on any non-q3map2-only entity.</real3>
1018 <real3 key="anglesjitter" name="anglesjitter">a vector in the order &quot;pitch yaw roll&quot; describing a random angles change on this entity on initial spawn. The value 180 180 180 makes the angles entirely random and uniformly distributed (among euler angles). This corresponds to the &quot;angles&quot; field. Works on any non-q3map2-only entity.</real3>
1019 <real key="anglejitter" name="anglejitter">a float describing a random yaw angle change on this entity on initial spawn. The value 180 makes the yaw angle entirely random (maybe good for items). This corresponds to the &quot;angle&quot; field. Works on any non-q3map2-only entity.</real>
1020 <string key="gametypefilter" name="gametypefilter">either a + sign and a comma separated list of game types or the aliases &quot;teams&quot; and &quot;noteams&quot; to ONLY show the entity in the listed game types, or a - sign and a comma separated list of game types or the aliases &quot;teams&quot; and &quot;noteams&quot; to NOT show the entity in the listed game types. The syntax is the same as in sbar_columns_set strings. Works on any non-q3map2-only entity.</string>
1021 -------- Q3MAP2 KEYS --------
1022 <boolean key="_castshadows" name="_castshadows">Allows per-entity control over shadow casting. Defaults to 0 on entities, 1 on world. 0 = no shadow casting. 1 = cast shadows on world. &gt; 1 = cast shadows on entities with _rs (or _receiveshadows) with the corresponding value, AND world. Negative values imply same, but DO NOT cast shadows on world.</boolean>
1023 <boolean key="_receiveshadows" name="_receiveshadows">Allows per-entity control over shadow reception. Defaults to 1 on everything (world shadows). 0 = receives NO shadows. &gt; 1 = receive shadows only from corresponding keyed entities (see above) and world. &lt; 1 = receive shadows ONLY from corresponding keyed entities.</boolean>
1024 <target key="_clone" name="_clone">copies brushes from entity with identical _clonename. Still needs a single brush that will get replaced.</target>
1025 <targetname key="_clonename" name="_clonename">template name so one can clone from it</targetname>
1026 <real3 key="mins" name="mins">override automatically found minimum coordinate bounds</real3>
1027 <real3 key="maxs" name="maxs">override automatically found maximum coordinate bounds</real3>
1028 <targetname key="targetname" name="targetname">if targeted by a misc_model, its brushes get inserted into this</targetname>
1029 <texture key="_celshader" name="_celshader">Sets the cel shader used for this geometry. Note: omit the &quot;textures/&quot; prefix.</texture>
1030 </group>
1031
1032 <point name="misc_teleporter_dest" color="1 .5 .25" box="-16 -16 -24 16 16 45">
1033 Teleport destination location point for trigger_teleport entities. Do not let it touch the floor, but place it slightly higher (like, 16 units above) for better flow when jumping through it.
1034 -------- KEYS --------
1035 <targetname key="targetname" name="targetname">make the trigger_teleporter point to this.</targetname>
1036 <target key="target" name="target">target to activate when a teleporter targeting this is used</target>
1037 <target key="target2" name="target2">target to activate when a teleporter targeting this is used</target>
1038 <target key="target3" name="target3">target to activate when a teleporter targeting this is used</target>
1039 <target key="target4" name="target4">target to activate when a teleporter targeting this is used</target>
1040 <boolean key="target_random" name="target_random">instead of triggering ALL matched entities, trigger ONE of them by random</boolean>
1041 <direction key="angle" name="angle">direction in which player will look when teleported, OR use</direction>
1042 <angles key="angles" name="angles">pitch and yaw when coming out of the teleporter (also specifies the direction the player will aim when coming out)</angles>
1043 <real key="cnt" name="cnt">weight for random selection, in case a teleporter points at multiple misc_teleporter_dest</real>
1044 <real key="speed" name="speed">maximum speed cap for the teleported player (if -1, teleported players will have no speed)</real>
1045 </point>
1046
1047 <point name="onslaught_controlpoint" color="0 .5 .8" box="-32 -32 0 32 32 128">
1048 Control point.  Be sure to give this enough clearance so that the shootable part has room to exist
1049 This should link to an onslaught_controlpoint entity or onslaught_generator entity.
1050 -------- KEYS --------
1051 <targetname key="targetname" name="targetname">name that onslaught_link entities will use to target this.</targetname>
1052 <target key="target" name="target">target any entities that are tied to this control point, such as vehicles and buildable structure entities.</target>
1053 <string key="message" name="message">name of this control point (should reflect the location in the map, such as &quot;center bridge&quot;, &quot;north tower&quot;, etc)</string>
1054 </point>
1055
1056 <point name="onslaught_generator" color="0 .5 .8" box="-52 -52 -14 52 52 75">
1057 Base generator.
1058
1059 onslaught_link entities can target this.
1060 -------- KEYS --------
1061 <integer key="team" name="team">team that owns this generator (5 = red, 14 = blue, etc), MUST BE SET.</integer>
1062 <targetname key="targetname" name="targetname">name that onslaught_link entities will use to target this.</targetname>
1063 </point>
1064
1065 <point name="onslaught_link" color="0 .5 .8" box="-16 -16 -16 16 16 16">
1066 Link between control points.
1067
1068 This entity targets two different onslaught_controlpoint or onslaught_generator entities, and suppresses shielding on both if they are owned by different teams.
1069 -------- KEYS --------
1070 <target key="target" name="target">first control point.</target>
1071 <target key="target2" name="target2">second control point.</target>
1072 </point>
1073
1074 <point name="path_corner" color=".5 .3 0" box="-8 -8 -8 8 8 8">
1075 Path corner entity that func_train will follow.
1076 All path_corner entities of a train have to connect in a circular manner, while the func_train shall point to one of the path_corners (ideally the one at the train's starting point)
1077 -------- KEYS --------
1078 <target key="target" name="target">point to next path_corner in the path.</target>
1079 <target key="target2" name="target2">triggered when a func_train stops at this target</target>
1080 <target key="target3" name="target3">triggered when a func_train stops at this target</target>
1081 <target key="target4" name="target4">triggered when a func_train stops at this target</target>
1082 <boolean key="target_random" name="target_random">instead of triggering ALL matched entities, trigger ONE of them by random</boolean>
1083 <targetname key="targetname" name="targetname">the train following the path or the previous path_corner in the path points to this.</targetname>
1084 <real key="speed" name="speed">speed of func_train while moving to this path corner. If unset, the value from the func_train will be used.</real>
1085 <real key="wait" name="wait">number of seconds func_train will pause on this path corner before moving to next path corner (default: 0.1; to not wait, set this to -1</real>
1086 </point>
1087
1088 <point name="target_assault_roundend" color="1 0 0" box="-8 -8 -8 8 8 8">
1089 This entity ends the current assault round if triggered or if the timelimit is reached.
1090 Ending a round means swapping attacker/defender teams, resetting objectives and rewarding the winning team.
1091 Every assault map needs this entity. There should only be one per map.
1092 -------- KEYS --------
1093 <targetname key="targetname" name="targetname">Name to target this entity</targetname>
1094 </point>
1095
1096 <point name="target_assault_roundstart" color=".5 0 .5" box="-8 -8 -8 8 8 8">
1097 This entity triggers its targets whenever a new assault round is started. This can be used to e.g. activate the first objective.
1098 -------- KEYS --------
1099 <target key="target" name="target">targetname of entities to be enabled/triggered on round start (e.g. the first target_objective)</target>
1100 <target key="target2" name="target2">targetname of entities to be enabled/triggered on round start (e.g. the func_assault_destructibles targeting the target_objective)</target>
1101 <target key="target3" name="target3">targetname of entities to be enabled/triggered on round start</target>
1102 <target key="target4" name="target4">targetname of entities to be enabled/triggered on round start</target>
1103 <boolean key="target_random" name="target_random">instead of triggering ALL matched entities, trigger ONE of them by random</boolean>
1104 </point>
1105
1106 <point name="target_objective" color=".5 0 .5" box="-8 -8 -8 8 8 8">
1107 target_objective controls an objective. Once triggered the objective is active and has 100 &quot;health&quot; points. If this &quot;health&quot; falls below zero it is assumed this objective has been fulfilled and entities targeted will be triggered (e.g. to activate the next objective or to end this round). Use target_objective_decrease to decrease the objective health.
1108 -------- KEYS --------
1109 <target key="target" name="target">targetname of entities to be enabled/triggered on objective fulfilling (e.g. the next target_objective, or target_assault_roundend)</target>
1110 <target key="target2" name="target2">targetname of entities to be enabled/triggered on objective fulfilling (e.g. the func_assault_destructibles targeting the target_objective)</target>
1111 <target key="target3" name="target3">targetname of entities to be enabled/triggered on objective fulfilling</target>
1112 <target key="target4" name="target4">targetname of entities to be enabled/triggered on objective fulfilling</target>
1113 <boolean key="target_random" name="target_random">instead of triggering ALL matched entities, trigger ONE of them by random</boolean>
1114 <targetname key="targetname" name="targetname">targetname for this entity so it can be triggered by other entities.</targetname>
1115 </point>
1116
1117 <point name="target_objective_decrease" color="0 1 0" box="-8 -8 -8 8 8 8">
1118 When triggered decreases health of the targeted target_objective by the amount specified in dmg. Remember, target_objective has 100 health points and is considered conquered if health falls below zero.
1119 If you want e.g. two events to happen to conquer an objective you'd need two target_objective_decrease, each with a value for cnt of e.g. 51. To show attackers and defenders where to go, target_objective_decrease will show a fitting sprite (&quot;Defend&quot; to defenders, &quot;Destroy&quot;/&quot;Push&quot; to attackers) which can be seen through walls.
1120 -------- KEYS --------
1121 <target key="target" name="target">The targetname of the target_objective you want to manipulate.</target>
1122 <targetname key="targetname" name="targetname">Name for other entities to target this entity.</targetname>
1123 <real key="dmg" name="dmg">The amount of &quot;health&quot;-points you want to subtract from the objective health. Defaults to 101. Also used as score for triggering this objective.</real>
1124 </point>
1125
1126 <point name="target_position" color="0 .5 0" box="-8 -8 -8 8 8 8">
1127 Aiming target for entities like light and trigger_push.
1128 -------- KEYS --------
1129 <targetname key="targetname" name="targetname">the entity that requires an aiming direction points to this.</targetname>
1130 <target key="target" name="target">target to activate when a jumppad targeting this is used</target>
1131 </point>
1132
1133 <point name="target_speaker" color="0 .7 .7" box="-8 -8 -8 8 8 8">
1134 Sound generating entity that plays sound files.
1135 If targeted, it plays the sound file every time when triggered.
1136 If not targeted, it loops the sound file as an ambient noise.
1137 The sound name may also be of the form *soundname, and in that case the respective player sound is played
1138 -------- KEYS --------
1139 <sound key="noise" name="noise">path/name of .wav/.ogg file to play</sound>
1140 <targetname key="targetname" name="targetname">the activating button or trigger points to this.</targetname>
1141 <real key="atten" name="atten">distance attenuation of the sound (a value from 0.1 to 3.9), default is 0.5 if targeted, 3 otherwise; set to -1 for no attenuation (global sound)</real>
1142 <real key="volume" name="volume">volume of the sound</real>
1143 -------- SPAWNFLAGS --------
1144 <flag key="LOOPED_ON" name="LOOPED_ON" bit="0">the sound is looped and initially plays (the sound file MUST have the LOOP_START vorbis comment then!). It can be toggled by a trigger.</flag>
1145 <flag key="LOOPED_OFF" name="LOOPED_OFF" bit="1">the sound is looped and initially does not play (the sound file MUST have the LOOP_START vorbis comment then!). It can be toggled by a trigger.</flag>
1146 <flag key="GLOBAL" name="GLOBAL" bit="2">the sound plays with no attenuation (same as setting atten to -1)</flag>
1147 <flag key="ACTIVATOR" name="ACTIVATOR" bit="3">the sound is played to the activator only when triggered (cannot be combined with LOOPED_ON and LOOPED_OFF)</flag>
1148 </point>
1149
1150 <point name="invasion_spawnpoint" color="1 0.5 0" box="-16 -16 -24 16 16 45">
1151 Monster spawnpoint in Invasion
1152 -------- KEYS --------
1153 -------- SPAWNFLAGS --------
1154 </point>
1155
1156 <group name="trigger_counter" color=".5 .5 .5">
1157 Acts as an intermediary for an action that takes multiple inputs.
1158 After the counter has been triggered &quot;count&quot; times, it will fire all of its targets and remove itself.
1159 -------- KEYS --------
1160 <real key="count" name="count">how many times this needs to be triggered to activate its targets</real>
1161 <target key="target" name="target">trigger all entities with this targetname when triggered</target>
1162 <targetname key="targetname" name="targetname">name that identifies this entity so it can be triggered</targetname>
1163 <real key="delay" name="delay">delay the triggering by the given time</real>
1164 <string key="message" name="message">print this message to the player who activated the trigger</string>
1165 <target key="killtarget" name="killtarget">remove all entities with this targetname when triggered</target>
1166 -------- SPAWNFLAGS --------
1167 <flag key="NOMESSAGE" name="NOMESSAGE" bit="0">don't print a &quot;2 more to go...&quot;-like message when triggered</flag>
1168 </group>
1169
1170 <point name="trigger_delay" color=".5 .5 .5" box="-8 -8 -8 8 8 8">
1171 Trigger that delays triggering by a given amount of time. Only one action can be waited for; if triggered again before the &quot;wait&quot; time expires, the timer will restart (as opposed to trigger_relay).
1172 -------- KEYS --------
1173 <real key="wait" name="wait">delay the triggering by the given time</real>
1174 <target key="target" name="target">trigger all entities with this targetname when triggered</target>
1175 <targetname key="targetname" name="targetname">name that identifies this entity so it can be triggered</targetname>
1176 <string key="message" name="message">print this message to the player who activated the trigger</string>
1177 <target key="killtarget" name="killtarget">remove all entities with this targetname when triggered</target>
1178 </point>
1179
1180 <group name="trigger_hurt" color=".5 .5 .5">
1181 Any object touching this will be hurt.
1182 Has the useful effect of automatically returning flags, keys and runes when they touch it.
1183 -------- KEYS --------
1184 <real key="dmg" name="dmg">amount of damage to deal (default: 1000)</real>
1185 <string key="message" name="message">kill message when someone gets killed by this (default: &quot;was in the wrong place&quot;)</string>
1186 <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>
1187 <integer key="team" name="team">team that gets hurt (5 = red, 14 = blue, etc) (when set, only this team can get hurt)</integer>
1188 <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>
1189 -------- SPAWNFLAGS --------
1190 <flag key="INVERT_TEAM" name="INVERT_TEAM" bit="2">the team that owns this will NOT jump when touching this</flag>
1191 </group>
1192
1193 <group name="trigger_impulse" color=".5 .5 .5">
1194 An accelerator/dampener/wind field.
1195 Can be used in two ways:
1196 &quot;dampener field&quot;: just set strength to a value from 0 to 1. Entering the field will slow down to this factor.
1197 &quot;accelerator field&quot;: just set strength to a value from 1 to infinity. Entering the field will accelerate by this factor.
1198 &quot;wind field&quot;: set strength to the amount of velocity to add per second, and target a target_position. The field will apply force in the direction from its own origin to the target (use an origin brush to specify its own origin, or this will fail) when touched.
1199 &quot;gravity field&quot;: set strength to the amount of velocity to add per second at the center, and set radius to the radius of the field. Set falloff to the desired falloff characteristics.
1200 -------- KEYS --------
1201 <target key="target" name="target">&quot;wind field&quot;: points to the target_position to which the player will get pushed.</target>
1202 <real key="strength" name="strength">&quot;wind field&quot;, &quot;gravity field&quot;: amount of force per second to apply. &quot;dampener/accelerator field&quot;: slowdown/speedup factor.</real>
1203 <real key="falloff" name="falloff">&quot;gravity field&quot;: 0 means no falloff, 1 means linear falloff (zero at the outside), 2 means inverted linear falloff (zero at the inside)</real>
1204 </group>
1205
1206 <group name="trigger_keylock" color=".0 .5 .8">
1207 Keylock trigger.  Must target other entities.
1208 This trigger will trigger target entities when all required keys are provided.
1209 -------- KEYS --------
1210 <real key="itemkeys" name="itemkeys">A bit field with key IDs that are needed to open this lock.</real>
1211 <real key="sounds" name="sounds">1 to play misc/secret.wav, 2 to play misc/talk.wav, 3 to play misc/trigger1.wav (3 is default)</real>
1212 <target key="target" name="target">trigger all entities with this targetname when triggered and all keys have been given to it, then remove this trigger</target>
1213 <target key="target2" name="target2">trigger all entities with this targetname when triggered without giving it all the required keys.</target>
1214 <target key="killtarget" name="killtarget">remove all entities with this targetname when triggered with all the needed keys.</target>
1215 <string key="message" name="message">print this message to the player who activated the trigger when all needed keys have been given.</string>
1216 <string key="message2" name="message2">print this message to the player who activated the trigger when not all of the needed keys have been given.</string>
1217 <sound key="noise" name="noise">sound to play when lock gets unlocked (default: see sounds)</sound>
1218 <sound key="noise1" name="noise1">sound to play when only some of the needed key were used but not all (default: misc/decreasevalue.wav)</sound>
1219 <sound key="noise2" name="noise2">sound to play when a key is missing (default: misc/talk.wav)</sound>
1220 <real key="wait" name="wait">prevent triggering again for this amount of time (default: 5) - applies to target2, target3, target4.</real>
1221 ---------NOTES----------
1222 If spawned without any key specified in itemkeys, this trigger will display an error and remove itself.
1223 message2 and noise2 will be resent to the player every 2 seconds while he is in the trigger zone.
1224 </group>
1225
1226 <group name="trigger_multiple" color=".5 .5 .5">
1227 Variable sized repeatable trigger.  Must be targeted at one or more entities.  If &quot;health&quot; is set, the trigger must be killed to activate each time.
1228 -------- KEYS --------
1229 <real key="health" name="health">amount of damage that has to be dealt to the trigger to activate (it then won't respond to merely touching it)</real>
1230 <real key="wait" name="wait">prevent triggering again for this amount of time (default: 0.2, set to -1 to wait indefinitely, or -2 to not wait at all)</real>
1231 <real key="sounds" name="sounds">1 to play misc/secret.wav, 2 to play misc/talk.wav, 3 to play misc/trigger1.wav</real>
1232 <sound key="noise" name="noise">path to sound file, if you want to play something else</sound>
1233 <target key="target" name="target">trigger all entities with this targetname when triggered</target>
1234 <target key="target2" name="target2">trigger all entities with this targetname when triggered</target>
1235 <target key="target3" name="target3">trigger all entities with this targetname when triggered</target>
1236 <target key="target4" name="target4">trigger all entities with this targetname when triggered</target>
1237 <boolean key="target_random" name="target_random">instead of triggering ALL matched entities, trigger ONE of them by random</boolean>
1238 <targetname key="targetname" name="targetname">name that identifies this entity so it can be triggered</targetname>
1239 <real key="delay" name="delay">delay the triggering by the given time</real>
1240 <string key="message" name="message">print this message to the player who activated the trigger</string>
1241 <target key="killtarget" name="killtarget">remove all entities with this targetname when triggered</target>
1242 <integer key="team" name="team">team that owns this trigger (5 = red, 14 = blue, etc) (when set, only this team can trigger)</integer>
1243 -------- SPAWNFLAGS --------
1244 <flag key="NOTOUCH" name="NOTOUCH" bit="0">the trigger can only be triggered by other entities, not by touching or firing (you should probably use trigger_relay or trigger_delay instead)</flag>
1245 <flag key="ALLENTS" name="ALLENTS" bit="1">the trigger responds to all entities, not just players (useful for targetting trigger_items)</flag>
1246 <flag key="INVERT_TEAM" name="INVERT_TEAM" bit="2">the team that owns the trigger will NOT trigger when touching this</flag>
1247 <flag key="NOSPLASH" name="NOSPLASH" bit="8">if set, splash damage cannot activate the door, only direct damage can (requires health to be set)</flag>
1248 </group>
1249
1250 <group name="trigger_once" color=".5 .5 .5">
1251 Variable sized repeatable trigger.  Must be targeted at one or more entities.  If &quot;health&quot; is set, the trigger must be killed to activate each time.
1252 Basically, it's a use-once trigger_multiple.
1253 -------- KEYS --------
1254 <real key="health" name="health">amount of damage that has to be dealt to the trigger to activate (it then won't respond to merely touching it)</real>
1255 <real key="sounds" name="sounds">1 to play misc/secret.wav, 2 to play misc/talk.wav, 3 to play misc/trigger1.wav</real>
1256 <sound key="noise" name="noise">path to sound file, if you want to play something else</sound>
1257 <target key="target" name="target">trigger all entities with this targetname when triggered</target>
1258 <targetname key="targetname" name="targetname">name that identifies this entity so it can be triggered</targetname>
1259 <real key="delay" name="delay">delay the triggering by the given time</real>
1260 <string key="message" name="message">print this message to the player who activated the trigger</string>
1261 <target key="killtarget" name="killtarget">remove all entities with this targetname when triggered</target>
1262 -------- SPAWNFLAGS --------
1263 <flag key="NOTOUCH" name="NOTOUCH" bit="0">the trigger can only be triggered by other entities, not by touching or firing (you should probably use trigger_relay or trigger_delay instead)</flag>
1264 <flag key="NOSPLASH" name="NOSPLASH" bit="8">if set, splash damage cannot activate the door, only direct damage can (requires health to be set)</flag>
1265 </group>
1266
1267 <group name="trigger_push" color="1 .5 0">
1268 Jump pad. What else?
1269 Can be used in three ways:
1270 Xonotic &quot;target/height&quot; way: put the target_position where the player should land, and tune height to get a nice jump path. A good starting value for height is 100.
1271 Q3A &quot;target&quot; way: put the target_position at the apex of the jump, and hope the player will land at the right spot. Good luck.
1272 Quake &quot;movedir/speed&quot; way: player will get velocity movedir * speed * 10 when using the jump pad
1273 -------- KEYS --------
1274 <target key="target" name="target">point the player will fly to when using the jump pad (use a target_position here)</target>
1275 <real key="height" name="height">if height is 0, the (player's origin at the) apex of the jump will be at the target; otherwise, the apex will be abs(height) above the higher point of player's origin and the target; if positive, the apex will be reached in the jump from initial origin to target</real>
1276 <real3 key="movedir" name="movedir">when target is not set, direction vector to push to</real3>
1277 <real key="speed" name="speed">speed of jump pad (default: 1000)</real>
1278 <sound key="noise" name="noise">sound to play when jump pad is used; default is misc/jumppad.wav; you can set it to &quot;&quot; to make the pad silent</sound>
1279 <integer key="team" name="team">team that owns this jump pad (5 = red, 14 = blue, etc) (when set, only this team can teleport)</integer>
1280 <targetname key="targetname" name="targetname">when targeted by a func_button, pressing the button will reassign the teleporter to the team of the activator.</targetname>
1281 -------- SPAWNFLAGS --------
1282 <flag key="INVERT_TEAM" name="INVERT_TEAM" bit="2">the team that owns the teleporter will NOT jump when touching this</flag>
1283 </group>
1284
1285 <point name="trigger_relay" color=".5 .5 .5" box="-8 -8 -8 8 8 8">
1286 This fixed size trigger cannot be touched, it can only be fired by other events. It can, like any other trigger, contain killtargets, targets, delays, and messages.
1287 One possible use is to trigger entities with more than one targetname on an action, e.g. a button. For this, set target of your button to foobar. Create two trigger_relay with targetname=foobar. Give one of the trigger_relay entities target=ent1, and give the other target=ent2.
1288 More than one &quot;trigger event&quot; can be delayed at once, as opposed to trigger_delay.
1289 -------- KEYS --------
1290 <target key="target" name="target">trigger all entities with this targetname when triggered</target>
1291 <target key="target2" name="target2">trigger all entities with this targetname when triggered</target>
1292 <target key="target3" name="target3">trigger all entities with this targetname when triggered</target>
1293 <target key="target4" name="target4">trigger all entities with this targetname when triggered</target>
1294 <boolean key="target_random" name="target_random">instead of triggering ALL matched entities, trigger ONE of them by random</boolean>
1295 <targetname key="targetname" name="targetname">name that identifies this entity so it can be triggered</targetname>
1296 <real key="delay" name="delay">delay the triggering by the given time</real>
1297 <string key="message" name="message">print this message to the player who activated the trigger</string>
1298 <target key="killtarget" name="killtarget">remove all entities with this targetname when triggered</target>
1299 </point>
1300
1301 <group name="trigger_secret" color=".5 .5 .5">
1302 Variable sized secret trigger. Can be targeted at one or more entities.
1303 Basically, it's a trigger_once that additionally updates the number of secrets found.
1304 -------- KEYS --------
1305 <real key="sounds" name="sounds">1 to play misc/secret.wav, 2 to play misc/talk.wav, 3 to play misc/trigger1.wav (default: 1)</real>
1306 <sound key="noise" name="noise">path to sound file, if you want to play something else</sound>
1307 <target key="target" name="target">trigger all entities with this targetname when triggered</target>
1308 <string key="message" name="message">print this message to the player who activated the trigger instead of the standard 'You found a secret!'</string>
1309 <target key="killtarget" name="killtarget">remove all entities with this targetname when triggered</target>
1310 -------- NOTES --------
1311 You should create a common/trigger textured brush covering the entrance to a secret room/area.
1312 Trigger secret can only be trigger by a player's touch and can not be a target itself.
1313 </group>
1314
1315 <group name="trigger_swamp" color=".5 .5 .5">
1316 Players getting into the swamp will get slowed down and damaged
1317 -------- KEYS --------
1318 <real key="dmg" name="dmg">damage per interval to deal (default is 5)</real>
1319 <real key="swamp_interval" name="swamp_interval">interval of damage when in swamp (default is 1)</real>
1320 <real key="swamp_slowdown" name="swamp_slowdown">amount of slowdown caused by the swamp (default is 0.5)</real>
1321 </group>
1322
1323 <group name="trigger_teleport" color=".5 .5 .5">
1324 Touching this will teleport players to the location of the targeted misc_teleporter_dest entity.
1325 Note that in Xonotic, teleporters preserve momentum of the player using them.
1326 -------- KEYS --------
1327 <target key="target" name="target">this must point to a misc_teleporter_dest entity. If it points to more than one, a destination is randomly selected on teleport.</target>
1328 <target key="target2" name="target2">target to activate when the teleporter is used</target>
1329 <target key="target3" name="target3">target to activate when the teleporter is used</target>
1330 <target key="target4" name="target4">target to activate when the teleporter is used</target>
1331 <boolean key="target_random" name="target_random">instead of triggering ALL matched entities, trigger ONE of them by random</boolean>
1332 <integer key="team" name="team">team that owns this teleporter (5 = red, 14 = blue, etc) (when set, only this team can teleport)</integer>
1333 <targetname key="targetname" name="targetname">when targeted by a func_button, pressing the button will reassign the teleporter to the team of the activator.</targetname>
1334 -------- SPAWNFLAGS --------
1335 <flag key="INVERT_TEAM" name="INVERT_TEAM" bit="2">the team that owns the teleporter will NOT teleport when touching this</flag>
1336 </group>
1337
1338 <point name="weapon_crylink" color="1 0 .5" box="-30 -30 0 30 30 32">
1339 the Crylink
1340 -------- KEYS --------
1341 <real key="ammo_cells" name="ammo_cells">initial cells of the weapon (if unset, g_pickup_cells is used)</real>
1342 <real key="respawntime" name="respawntime">time till it respawns (default: 15)</real>
1343 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
1344 <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>
1345 <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>
1346 -------- SPAWNFLAGS --------
1347 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
1348 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
1349 modeldisabled=&quot;models/weapons/g_crylink.md3&quot;
1350 </point>
1351
1352 <point name="weapon_electro" color="1 0 .5" box="-30 -30 0 30 30 32">
1353 the Electro
1354 -------- KEYS --------
1355 <real key="ammo_cells" name="ammo_cells">initial cells of the weapon (if unset, g_pickup_cells is used)</real>
1356 <real key="respawntime" name="respawntime">time till it respawns (default: 15)</real>
1357 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
1358 <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>
1359 <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>
1360 -------- SPAWNFLAGS --------
1361 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
1362 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
1363 modeldisabled=&quot;models/weapons/g_electro.md3&quot;
1364 </point>
1365
1366 <point name="weapon_grenadelauncher" color="1 0 .5" box="-30 -30 0 30 30 32">
1367 the Mortar
1368 -------- KEYS --------
1369 <real key="ammo_rockets" name="ammo_rockets">initial rockets of the weapon (if unset, g_pickup_rockets is used)</real>
1370 <real key="respawntime" name="respawntime">time till it respawns (default: 15)</real>
1371 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
1372 <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>
1373 <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>
1374 -------- SPAWNFLAGS --------
1375 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
1376 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
1377 modeldisabled=&quot;models/weapons/g_gl.md3&quot;
1378 </point>
1379
1380 <point name="weapon_hagar" color="1 0 .5" box="-30 -30 0 30 30 32">
1381 the Hagar
1382 -------- KEYS --------
1383 <real key="ammo_rockets" name="ammo_rockets">initial rockets of the weapon (if unset, g_pickup_rockets is used)</real>
1384 <real key="respawntime" name="respawntime">time till it respawns (default: 15)</real>
1385 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
1386 <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>
1387 <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>
1388 -------- SPAWNFLAGS --------
1389 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
1390 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
1391 modeldisabled=&quot;models/weapons/g_hagar.md3&quot;
1392 </point>
1393
1394 <point name="weapon_laser" color="1 0 .5" box="-30 -30 0 30 30 32">
1395 the Laser. Note that unless you use
1396   settemp_for_type all g_start_weapon_laser 0
1397 in your mapinfo file, everyone will already spawn with one, making this pickup useless.
1398 -------- KEYS --------
1399 <real key="respawntime" name="respawntime">time till it respawns (default: 15)</real>
1400 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
1401 <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>
1402 <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>
1403 -------- SPAWNFLAGS --------
1404 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
1405 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
1406 modeldisabled=&quot;models/weapons/g_laser.md3&quot;
1407 </point>
1408
1409 <point name="weapon_nex" color="1 0 .5" box="-30 -30 0 30 30 32">
1410 the Nex
1411 In Instagib, this turns into an item_minst_cells if no explicit item_minst_cells have been placed.
1412 -------- KEYS --------
1413 <real key="ammo_cells" name="ammo_cells">initial cells of the weapon (if unset, g_pickup_cells is used)</real>
1414 <real key="respawntime" name="respawntime">time till it respawns (default: 15 * g_balance_nex_respawntime_modifier)</real>
1415 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
1416 <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>
1417 <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>
1418 -------- SPAWNFLAGS --------
1419 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
1420 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
1421 modeldisabled=&quot;models/weapons/g_nex.md3&quot;
1422 </point>
1423
1424 <point name="weapon_rocketlauncher" color="1 0 .5" box="-30 -30 0 30 30 32">
1425 the Rocket Launcher
1426 In Instagib, this turns into an item_minst_cells if no explicit item_minst_cells have been placed.
1427 -------- KEYS --------
1428 <real key="ammo_rockets" name="ammo_rockets">initial rockets of the weapon (if unset, g_pickup_rockets is used)</real>
1429 <real key="respawntime" name="respawntime">time till it respawns (default: 15)</real>
1430 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
1431 <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>
1432 <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>
1433 -------- SPAWNFLAGS --------
1434 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
1435 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
1436 modeldisabled=&quot;models/weapons/g_rl.md3&quot;
1437 </point>
1438
1439 <point name="weapon_shotgun" color="1 0 .5" box="-30 -30 0 30 30 32">
1440 the Shotgun. Note that unless you use
1441   settemp_for_type all g_start_weapon_shotgun 0
1442 in your mapinfo file, everyone will already spawn with one, making this pickup useless.
1443 -------- KEYS --------
1444 <real key="ammo_shells" name="ammo_shells">initial shells of the weapon (if unset, g_pickup_shells is used)</real>
1445 <real key="respawntime" name="respawntime">time till it respawns (default: 15)</real>
1446 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
1447 <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>
1448 <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>
1449 -------- SPAWNFLAGS --------
1450 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
1451 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
1452 modeldisabled=&quot;models/weapons/g_shotgun.md3&quot;
1453 </point>
1454
1455 <point name="weapon_uzi" color="1 0 .5" box="-30 -30 0 30 30 32">
1456 the Machine Gun
1457 -------- KEYS --------
1458 <real key="ammo_nails" name="ammo_nails">initial bullets of the weapon (if unset, g_pickup_nails is used)</real>
1459 <real key="respawntime" name="respawntime">time till it respawns (default: 15)</real>
1460 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
1461 <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>
1462 <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>
1463 -------- SPAWNFLAGS --------
1464 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
1465 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
1466 modeldisabled=&quot;models/weapons/g_uzi.md3&quot;
1467 </point>
1468
1469 <group name="worldspawn" color="0 0 0">
1470 The world.
1471 If you see this, the currently selected brush is not of an entity.
1472 -------- KEYS --------
1473 <string key="fog" name="fog">fog parameters of the map (density red green blue alpha mindist maxdist maxheight fade-height); works just like the &quot;fog&quot; console command</string>
1474 <string key="author" name="author">name of the author of the map, if not specified in &quot;message&quot;. Will get copied to the &quot;author&quot; entry of the mapinfo file when none is present.</string>
1475 <string key="message" name="message">text to print at user logon. Used for name of level. Ideally: &quot;NAMEOFLEVEL by AUTHOR&quot;. Will get copied to the &quot;title&quot; and &quot;author&quot; entries of the mapinfo file when none is present.</string>
1476 <string key="_description" name="_description">one-line description of the map. Will get copied to the &quot;description&quot; entry of the mapinfo file when none is present.</string>
1477 -------- Q3MAP2 KEYS --------
1478 <integer3 key="_blocksize" name="_blocksize">vector specifying the automatic vis subdivision block size (default: 1024 1024 1024)</integer3>
1479 <integer3 key="gridsize" name="gridsize">lightgrid granularity vector (default: 64 64 128)</integer3>
1480 <color key="_color" name="_color">color of the global light parameters</color>
1481 <real key="_ambient" name="_ambient">light added to all surfaces</real>
1482 <real key="_mingridlight" name="_mingridlight">minimum grid light</real>
1483 <real key="_minlight" name="_minlight">minimum light value on both surfaces and lightgrid</real>
1484 _keepLights: do not remove light entities from the map (useful e.g. for realtime lighting)
1485 <string key="_floodlight" name="_floodlight">flood light parameters (red green blue distance intensity), start with 240 240 255 1024 128</string>
1486 <real key="_farplanedist" name="_farplanedist">range after which everything is completely invisible by fog (when fog is being used)</real>
1487 <boolean key="_noshadersun" name="_noshadersun">turn off sun defined by shaders (useful if you defined your own light entity to be a sun)</boolean>
1488 <boolean key="_ignoreleaks" name="_ignoreleaks">ignore leaks when compiling</boolean>
1489 <real key="_lightmapscale" name="_lightmapscale">light map resolution factor</real>
1490 <boolean key="_castshadows" name="_castshadows">Allows per-entity control over shadow casting. Defaults to 0 on entities, 1 on world. 0 = no shadow casting.1 = cast shadows on world. &gt; 1 = cast shadows on entities with _rs (or _receiveshadows) with the corresponding value, AND world. Negative values imply same, but DO NOT cast shadows on world.</boolean>
1491 <boolean key="_receiveshadows" name="_receiveshadows">Allows per-entity control over shadow reception. Defaults to 1 on everything (world shadows). 0 = receives NO shadows. &gt; 1 = receive shadows only from corresponding keyed entities (see above) and world. &lt; 1 = receive shadows ONLY from corresponding keyed entities.</boolean>
1492 <texture key="_celshader" name="_celshader">Sets the cel shader used for this geometry. Note: omit the &quot;textures/&quot; prefix.</texture>
1493 </group>
1494
1495 <group name="trigger_race_checkpoint" color="0 1 0">
1496 A checkpoint, for the race game mode. Be sure to make them quite long, so they actually catch a player reliably!
1497 -------- KEYS --------
1498 <real key="cnt" name="cnt">Number of the checkpoint. 0 for start/finish line, and at least two other checkpoints have to exist. They MUST be touched in sequential order!</real>
1499 <string key="message" name="message">Death message, when touching checkpoints in the wrong order.</string>
1500 <string key="message2" name="message2">Death 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>
1501 <targetname key="targetname" name="targetname">Name of the checkpoint. info_player_race can target this to assign a spawn to a checkpoint. Also used for triggering a checkpoint by an event.</targetname>
1502 <target key="target" name="target">when the checkpoint is passed, these entities are triggered. Useful for forcing items in certain areas using trigger_items</target>
1503 <real key="race_penalty" name="race_penalty">when set, this penalty time is given if passing this checkpoint, and the checkpoint does not show up with a sprite. Useful for invisible checkpoints to detect driving around the intended checkpoint</real>
1504 <string key="race_penalty_reason" name="race_penalty_reason">reason to display when the penalty time is imposed. Default: &quot;missing a checkpoint&quot;</string>
1505 -------- SPAWNFLAGS --------
1506 <flag key="NOTOUCH" name="NOTOUCH" bit="0">the checkpoint will not become active when touched, it HAS to be targeted</flag>
1507 <flag key="STRICTTRIGGER" name="STRICTTRIGGER" bit="1">only trigger the targets when the checkpoint actually was reached in a valid way (that is, not when going back)</flag>
1508 <flag key="CRUSH" name="CRUSH" bit="2">the checkpoint kills when used at the wrong time</flag>
1509 <flag key="FINISH" name="FINISH" bit="3">when set on the last checkpoint (i.e. the one with highest cnt), it is marked as finish line and the CP with cnt=0 is the start line</flag>
1510 </group>
1511
1512 <group name="trigger_race_penalty" color="0 1 0">
1513 A penalty trigger.
1514 -------- KEYS --------
1515 <real key="race_penalty" name="race_penalty">this penalty time is given if passing this trigger</real>
1516 <string key="race_penalty_reason" name="race_penalty_reason">reason to display when the penalty time is imposed. Default: &quot;leaving the track&quot;</string>
1517 -------- SPAWNFLAGS --------
1518 <flag key="NOTOUCH" name="NOTOUCH" bit="0">the trigger will not become active when touched, it HAS to be targeted</flag>
1519 </group>
1520
1521 <point name="info_player_race" color="1 0.5 0" box="-16 -16 -24 16 16 45">
1522 Race spawn point.
1523 NOTE for race_place: when the race starts after the qualifying, the player with the fastest lap ends up at the info_player_race with race_place 1, and so on. If there are too many players, or if someone comes in later, he will spawn at an info_player_race with highest race_place. If someone dies after reaching the the starting checkpoint, he will spawn at race_place 0. So for each trigger_race_checkpoint, there must be at least one corresponding info_player_race with race_place NOT set.
1524 -------- KEYS --------
1525 <target key="target" name="target">this should point to a trigger_race_checkpoint to decide when this spawning point is active. The checkpoint has to be AFTER this spawn.</target>
1526 <target key="target2" name="target2">trigger all entities with this targetname when someone spawns</target>
1527 <target key="target3" name="target3">trigger all entities with this targetname when someone spawns</target>
1528 <target key="target4" name="target4">trigger all entities with this targetname when someone spawns</target>
1529 <boolean key="target_random" name="target_random">instead of triggering ALL matched entities, trigger ONE of them by random</boolean>
1530 <real key="cnt" name="cnt">weight of spawn point for random selection. Set to a lower value if you have many spawn points close together. Default value is 1.</real>
1531 <real key="race_place" name="race_place">if target points to the trigger_race_checkpoint with cnt 0 (finish line), this sets which place the spawn corresponds to; the special value 0 stands for spawns for players who died in game, and -1 marks the spawnpoint for qualifying mode only; any race map must have spawnpoints with race_place being 1, 2, 3 or it gets marked as a frustrating map</real>
1532 <real key="restriction" name="restriction">when 1, only bots can spawn here; when 2, only humans can spawn here (be careful with these, or the game will crash because someone cannot spawn)</real>
1533 </point>
1534
1535 <group name="func_pointparticles" color=".5 .5 .5">
1536 A brush that emits particles.
1537 -------- KEYS --------
1538 <string key="mdl" name="mdl">particle effect name from effectinfo.txt</string>
1539 <real key="impulse" name="impulse">when positive, number of particles to emit per second; when negative; number of particles to emit per second and 64^3 block</real>
1540 <real3 key="velocity" name="velocity">particle direction and speed</real3>
1541 <real key="waterlevel" name="waterlevel">extra velocity jitter amount</real>
1542 <real key="count" name="count">particle count multiplier (per spawned particle)</real>
1543 <real3 key="movedir" name="movedir">when set, trace direction (particles will then be emitted from the surface the trace hits); the length of the vector is used as strength of taking the normal of the trace into account</real3>
1544 <sound key="noise" name="noise">sound to play when the particle is emitted</sound>
1545 <real key="atten" name="atten">distance attenuation of the sound (a value from 0.1 to 3.9), default is 0.5; set to -1 for no attenuation (global sound)</real>
1546 <real key="volume" name="volume">volume of the sound</real>
1547 <targetname key="targetname" name="targetname">name to target this (then its state is toggled)</targetname>
1548 <string key="bgmscript" name="bgmscript">emitter class from the BGM script</string>
1549 <real key="bgmscriptattack" name="bgmscriptattack">attack time of the effect strength (0 to 3.9)</real>
1550 <real key="bgmscriptdecay" name="bgmscriptdecay">decay time of the effect strength (0 to 3.9)</real>
1551 <real key="bgmscriptsustain" name="bgmscriptsustain">sustain level of the effect strength (0.1 to 1, set to -1 to disable sustain)</real>
1552 <real key="bgmscriptrelease" name="bgmscriptrelease">release time of the effect strength (0 to 3.9)</real>
1553 -------- SPAWNFLAGS --------
1554 <flag key="START_ON" name="START_ON" bit="0">when targeted, the particle emitter will start switched on</flag>
1555 <flag key="IMPULSE" name="IMPULSE" bit="1">only send the full amount of impulse particles when the entity is triggered</flag>
1556 <flag key="VISCULLING" name="VISCULLING" bit="2">only emit particles if the emitter brush is in the current PVS</flag>
1557 -------- NOTES --------
1558 Use trigger_monoflop if you want the particles to turn off for a while, then turn back on.
1559 A BGM script is a .bgs file named like the map, in the maps directory. Its format is lines of the form
1560   &lt;emitter class&gt; &lt;time since start of background music&gt; &lt;0 if the emitters are to be switched off, &gt;0 and &lt;=1 if they are to be switched on&gt;
1561 e.g.
1562   smokers 4.7 1
1563   smokers 4.9 0
1564 The lines MUST be sorted by emitter class as primary key, and by the time since start of the BGM as secondary key.
1565 </group>
1566
1567 <point name="trigger_flipflop" color=".5 .5 .5" box="-8 -8 -8 8 8 8">
1568 &quot;Flip-flop&quot; trigger gate... lets only every second trigger event through
1569 -------- KEYS --------
1570 <target key="target" name="target">trigger all entities with this targetname when triggered</target>
1571 <targetname key="targetname" name="targetname">name that identifies this entity so it can be triggered</targetname>
1572 -------- SPAWNFLAGS --------
1573 <flag key="START_ON" name="START_ON" bit="0">assume it is already turned on (so the first event is NOT passed through)</flag>
1574 </point>
1575
1576 <point name="trigger_monoflop" color=".5 .5 .5" box="-8 -8 -8 8 8 8">
1577 &quot;Mono-flop&quot; trigger gate... turns trigger events into pairs of events
1578 -------- KEYS --------
1579 <target key="target" name="target">trigger all entities with this targetname when triggered</target>
1580 <targetname key="targetname" name="targetname">name that identifies this entity so it can be triggered</targetname>
1581 <real key="wait" name="wait">time to wait until the &quot;off&quot; event is fired</real>
1582 -------- SPAWNFLAGS --------
1583 <flag key="FIXED" name="FIXED" bit="0">do pulses of fixed length (so the &quot;off&quot; delay is NOT extended as usual and new events are just ignored)</flag>
1584 </point>
1585
1586 <point name="trigger_multivibrator" color=".5 .5 .5" box="-8 -8 -8 8 8 8">
1587 &quot;Multivibrator&quot; trigger gate... repeatedly sends trigger events. When triggered, turns on or off.
1588 -------- KEYS --------
1589 <target key="target" name="target">trigger all entities with this targetname when it goes off</target>
1590 <targetname key="targetname" name="targetname">name that identifies this entity so it can be triggered</targetname>
1591 <real key="phase" name="phase">phase of the multivibrator (it is added to the time)</real>
1592 <real key="wait" name="wait">&quot;on&quot; cycle time (default: 1)</real>
1593 <real key="respawntime" name="respawntime">&quot;off&quot; cycle time (default: same as wait)</real>
1594 -------- SPAWNFLAGS --------
1595 <flag key="START_ON" name="START_ON" bit="0">assume it is already turned on (when targeted)</flag>
1596 </point>
1597
1598 <point name="trigger_gamestart" color=".5 .5 .5" box="-8 -8 -8 8 8 8">
1599 Triggers once when the game starts, then no longer does anything.
1600 -------- KEYS --------
1601 <target key="target" name="target">trigger all entities with this targetname when starting the game</target>
1602 <target key="target2" name="target2">trigger all entities with this targetname when starting the game</target>
1603 <target key="target3" name="target3">trigger all entities with this targetname when starting the game</target>
1604 <target key="target4" name="target4">trigger all entities with this targetname when starting the game</target>
1605 <boolean key="target_random" name="target_random">instead of triggering ALL matched entities, trigger ONE of them by random</boolean>
1606 <real key="wait" name="wait">wait so many seconds before triggering</real>
1607 </point>
1608
1609 <point name="misc_follow" color=".5 .5 .5" box="-8 -8 -8 8 8 8">
1610 Makes one entity follow another. Will not work with all entities.
1611 -------- KEYS --------
1612 <target key="target" name="target">points to the entity to move (e.g. something that won't move by itself)</target>
1613 <target key="killtarget" name="killtarget">points to the entity that is to be used as the source (e.g. a func_plat)</target>
1614 <string key="message" name="message">tag name to attach to (if ATTACH is used)</string>
1615 <real3 key="punchangle" name="punchangle">angle modifier (if LOCAL is used, and ATTACH is not)</real3>
1616 -------- SPAWNFLAGS --------
1617 <flag key="ATTACH" name="ATTACH" bit="0">attachment will be used instead of MOVETYPE_FOLLOW (mostly useful for attaching stuff to ZYM models)</flag>
1618 <flag key="LOCAL" name="LOCAL" bit="1">do not untransform the coordinates (that is, the map specifies local coordinates, not global ones). Mostly useful with ATTACH.</flag>
1619 </point>
1620
1621 <point name="weapon_minstanex" color="1 0 .5" box="-30 -30 0 30 30 32">
1622 Placing this entity on a map kills your cat, voids the warranty on your toaster, and makes your map an unenjoyable campers' paradise.
1623 the InstaGib Nex. Always kills with one shot.
1624 -------- KEYS --------
1625 <real key="ammo_cells" name="ammo_cells">initial cells of the weapon (if unset, g_pickup_cells is used)</real>
1626 <real key="respawntime" name="respawntime">time till it respawns (default: 15)</real>
1627 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
1628 <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>
1629 <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>
1630 -------- SPAWNFLAGS --------
1631 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
1632 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
1633 modeldisabled=&quot;models/weapons/g_minstanex.md3&quot;
1634 </point>
1635
1636 <point name="weapon_porto" color="1 0 .5" box="-30 -30 0 30 30 32">
1637 the Port-O-Launch. Only can be shot once.
1638 Portals cannot be made on noimpact surfaces, and the portal missile will bounce on slick surfaces.
1639 -------- KEYS --------
1640 <real key="respawntime" name="respawntime">time till it respawns (default: 120)</real>
1641 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
1642 <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>
1643 <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>
1644 -------- SPAWNFLAGS --------
1645 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
1646 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
1647 modeldisabled=&quot;models/weapons/g_porto.md3&quot;
1648 </point>
1649
1650 <point name="target_items" color="0 0 1" box="-8 -8 -8 8 8 8">
1651 Sets the items of any player who triggers this.
1652 For the number fields, not specifying a value means not changing it. To clear armor, you need to explicitly set &quot;armor&quot; to &quot;-1&quot;.
1653 You may want to target this by a race checkpoint, a teleporter, or a trigger_multiple with ALLENTS set (so it removes weapons thrown through the field to avoid getting a weapon through it).
1654 -------- KEYS --------
1655 <targetname key="targetname" name="targetname">used to trigger this</targetname>
1656 <string key="netname" name="netname">space separated list of items (either weapon short names (like in g_start_weapon_* cvars), or item short names &quot;unlimited_ammo&quot;, &quot;unlimited_weapon_ammo&quot;, &quot;unlimited_superweapons&quot;, &quot;invincible&quot;, &quot;strength&quot;, &quot;jetpack&quot; and &quot;fuel_regen&quot;)</string>
1657 <string key="message" name="message">message to print</string>
1658 <real key="ammo_shells" name="ammo_shells">amount of shells</real>
1659 <real key="ammo_nails" name="ammo_nails">amount of bullets</real>
1660 <real key="ammo_rockets" name="ammo_rockets">amount of rockets</real>
1661 <real key="ammo_cells" name="ammo_cells">amount of cells</real>
1662 <real key="ammo_fuel" name="ammo_fuel">amount of fuel</real>
1663 <real key="health" name="health">amount of health</real>
1664 <real key="armorvalue" name="armorvalue">amount of armor</real>
1665 <real key="strength_finished" name="strength_finished">if &quot;strength&quot; is specified, the time in seconds for which the strength will hold</real>
1666 <real key="invincible_finished" name="invincible_finished">if &quot;invincible&quot; is specified, the time in seconds for which the invincibility will hold</real>
1667 -------- SPAWNFLAGS --------
1668 <flag key="AND" name="AND" bit="0">any items not listed will get removed, and none will get added</flag>
1669 <flag key="OR" name="OR" bit="1">the player may keep items not listed</flag>
1670 <flag key="ANDNOT" name="ANDNOT" bit="2">the items listed will get removed from the player</flag>
1671 </point>
1672
1673 <point name="target_spawn" color="1 0 1" box="-8 -8 -8 8 8 8">
1674 Spawns or modifies an entity when triggered.
1675 The entity field list is a single string of the form:
1676 'field' 'value' 'field' 'value' ... 'classname' 'item_bullets' ... 'field' 'value'
1677 The special &quot;field&quot; name $ calls a void(void) function, for example a spawn function.
1678 Special function names available are _setmodel and _setsize.
1679 Field values can use various variable replacements:
1680 $E
1681 $E.field
1682 $E.field+offset
1683 $E.field+offset+randomoffset
1684 where &quot;E&quot; can be self, activator, target (the entity being created/modified), killtarget, target2, target3, target4 and pusher.
1685 Example is a Mario-style question mark block which could throw a new weapon_nex when activated like this:
1686 {
1687 &quot;classname&quot; &quot;func_button&quot;
1688 &quot;angle&quot; &quot;-1&quot;
1689 &quot;wait&quot; &quot;5&quot;
1690 &quot;target&quot; &quot;makenex&quot;
1691 &quot;speed&quot; &quot;1000&quot;
1692 &quot;lip&quot; &quot;64&quot;
1693 ...
1694 }
1695 {
1696 &quot;classname&quot; &quot;target_spawn&quot;
1697 &quot;origin&quot; &quot;0 0 448&quot;
1698 &quot;targetname&quot; &quot;makenex&quot;
1699 &quot;message&quot; &quot;origin $self.origin owner $activator flags 65536 colormap $activator.colormap classname droppedweapon $ spawnfunc_weapon_nex think thrown_wep_think nextthink $time+0.5 velocity $activator.velocity velocity_z 512 movetype 3&quot;
1700 }
1701 -------- KEYS --------
1702 <targetname key="targetname" name="targetname">used to trigger this</targetname>
1703 <string key="message" name="message">entity field list</string>
1704 <target key="target" name="target">when set, target_spawn edits entities, instead of creating new ones; the special value *activator causes the activator to be edited</target>
1705 <real key="count" name="count">make sure no more than count entities have been created by this (refuse to spawn new ones if exceeded)</real>
1706 <target key="killtarget" name="killtarget">reference entity (can be used as $killtarget)</target>
1707 <target key="target2" name="target2">reference entity (can be used as $target2)</target>
1708 <target key="target3" name="target3">reference entity (can be used as $target3)</target>
1709 <target key="target4" name="target4">reference entity (can be used as $target4)</target>
1710 -------- SPAWNFLAGS --------
1711 <flag key="ONLOAD" name="ONLOAD" bit="1">create a first entity on map load</flag>
1712 </point>
1713
1714 <group name="misc_breakablemodel" color="1 0 0">
1715 This is a model which can be damaged.
1716 Once all health is consumed it'll disappear and trigger the targeted entity/entities.
1717 When triggered, it resets to full health, and unbreaks.
1718 -------- KEYS --------
1719 <model key="model" name="model">file name of model to include</model>
1720 <real key="health" name="health">The damage this trigger can take</real>
1721 <target key="target" name="target">The entity/entities to be triggered once this entity gets invisible</target>
1722 <targetname key="targetname" name="targetname">The name other entities can use to target this entity</targetname>
1723 <string key="mdl" name="mdl">particle effect name to show when destroyed</string>
1724 <real key="count" name="count">particle effect multiplier</real>
1725 <string key="mdl_dead" name="mdl_dead">optional replacement model to show when destroyed</string>
1726 <string key="debris" name="debris">names of debris models to show when destroyed, separated by spaces</string>
1727 <sound key="noise" name="noise">sound to play when destroyed</sound>
1728 <sound key="noise1" name="noise1">sound to play while alive (either plays at spawn only, or can be a looping sound file)</sound>
1729 <real key="dmg" name="dmg">damage to deal to the environment when destroyed</real>
1730 <real key="dmg_edge" name="dmg_edge">edge damage to deal to the environment when destroyed</real>
1731 <real key="dmg_radius" name="dmg_radius">damage radius</real>
1732 <real key="dmg_force" name="dmg_force">damage force</real>
1733 <string key="message" name="message">death message when a player gets hit by the explosion</string>
1734 <string key="message2" name="message2">death message when someone gets pushed into this (default: &quot;was pushed into an explosion by&quot;). The # character is replaced by the attacker name if present (and it instead does not get appended to the end)</string>
1735 <real key="debrismovetype" name="debrismovetype">way in which the debris moves: one of 1 = ANGLENOCLIP, 2 = ANGLECLIP, 3 = WALK, 4 = STEP, 5 = FLY, 6 = TOSS, 7 = PUSH, 8 = NOCLIP, 9 = FLYMISSILE, 10 = BOUNCE, 11 = BOUNCEMISSILE</real>
1736 <real key="debrissolid" name="debrissolid">solidity of the debris: one of 0 = NOT, 1 = TRIGGER, 2 = BBOX, 3 = SLIDEBOX, 4 = BSP, 5 = CORPSE</real>
1737 <real3 key="debrisvelocity" name="debrisvelocity">initial velocity vector of the debris (static part)</real3>
1738 <real3 key="debrisvelocityjitter" name="debrisvelocityjitter">initial velocity vector of the debris (random part)</real3>
1739 <real3 key="debrisavelocityjitter" name="debrisavelocityjitter">initial angular velocity vector of the debris (random part)</real3>
1740 <real key="debristime" name="debristime">time till the debris fades (average)</real>
1741 <real key="debristimejitter" name="debristimejitter">time till the debris fades (random part)</real>
1742 <real key="debrisfadetime" name="debrisfadetime">how long debris takes to fade</real>
1743 <real key="debrisdamageforcescale" name="debrisdamageforcescale">how much debris is affected by damage force (e.g. explosions)</real>
1744 <real key="debrisskin" name="debrisskin">skin number of debris</real>
1745 <real key="respawntime" name="respawntime">time till it respawns (default: no auto respawn)</real>
1746 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
1747 -------- SPAWNFLAGS --------
1748 <flag key="DISABLED" name="DISABLED" bit="0">do not allow damaging this until it is first activated</flag>
1749 <flag key="INDICATE" name="INDICATE" bit="1">indicate amount of damage already taken by coloring</flag>
1750 <flag key="NOSPLASH" name="NOSPLASH" bit="8">if set, splash damage cannot activate the door, only direct damage can (requires health to be set)</flag>
1751 </group>
1752
1753 <group name="func_breakable" color="1 0 0">
1754 This is a brush model which can be damaged.
1755 Once all health is consumed it'll disappear and trigger the targeted entity/entities.
1756 When triggered, it resets to full health, and unbreaks.
1757 -------- KEYS --------
1758 <real key="health" name="health">The damage this trigger can take</real>
1759 <target key="target" name="target">The entity/entities to be triggered once this entity gets invisible</target>
1760 <targetname key="targetname" name="targetname">The name other entities can use to target this entity</targetname>
1761 <string key="mdl" name="mdl">particle effect name to show when destroyed</string>
1762 <real key="count" name="count">particle effect multiplier</real>
1763 <string key="mdl_dead" name="mdl_dead">optional replacement model to show when destroyed</string>
1764 <string key="debris" name="debris">names of debris models to show when destroyed, separated by spaces</string>
1765 <sound key="noise" name="noise">sound to play when destroyed</sound>
1766 <sound key="noise1" name="noise1">sound to play while alive (either plays at spawn only, or can be a looping sound file)</sound>
1767 <real key="dmg" name="dmg">damage to deal to the environment when destroyed</real>
1768 <real key="dmg_edge" name="dmg_edge">edge damage to deal to the environment when destroyed</real>
1769 <real key="dmg_radius" name="dmg_radius">damage radius</real>
1770 <real key="dmg_force" name="dmg_force">damage force</real>
1771 <string key="message" name="message">death message when a player gets hit by the explosion</string>
1772 <string key="message2" name="message2">death message when someone gets pushed into this (default: &quot;was pushed into an explosion by&quot;). The # character is replaced by the attacker name if present (and it instead does not get appended to the end)</string>
1773 <real key="debrismovetype" name="debrismovetype">way in which the debris moves: one of 1 = ANGLENOCLIP, 2 = ANGLECLIP, 3 = WALK, 4 = STEP, 5 = FLY, 6 = TOSS, 7 = PUSH, 8 = NOCLIP, 9 = FLYMISSILE, 10 = BOUNCE, 11 = BOUNCEMISSILE</real>
1774 <real key="debrissolid" name="debrissolid">solidity of the debris: one of 0 = NOT, 1 = TRIGGER, 2 = BBOX, 3 = SLIDEBOX, 4 = BSP, 5 = CORPSE</real>
1775 <real3 key="debrisvelocity" name="debrisvelocity">initial velocity vector of the debris (static part)</real3>
1776 <real3 key="debrisvelocityjitter" name="debrisvelocityjitter">initial velocity vector of the debris (random part)</real3>
1777 <real3 key="debrisavelocityjitter" name="debrisavelocityjitter">initial angular velocity vector of the debris (random part)</real3>
1778 <real key="debristime" name="debristime">time till the debris fades (average)</real>
1779 <real key="debristimejitter" name="debristimejitter">time till the debris fades (random part)</real>
1780 <real key="debrisfadetime" name="debrisfadetime">how long debris takes to fade</real>
1781 <real key="debrisdamageforcescale" name="debrisdamageforcescale">how much debris is affected by damage force (e.g. explosions)</real>
1782 <real key="debrisskin" name="debrisskin">skin number of debris</real>
1783 <real key="respawntime" name="respawntime">time till it respawns (default: no auto respawn)</real>
1784 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
1785 -------- SPAWNFLAGS --------
1786 <flag key="DISABLED" name="DISABLED" bit="0">do not allow damaging this until it is first activated</flag>
1787 <flag key="INDICATE" name="INDICATE" bit="1">indicate amount of damage already taken by coloring</flag>
1788 <flag key="NOSPLASH" name="NOSPLASH" bit="8">if set, splash damage cannot activate the door, only direct damage can (requires health to be set)</flag>
1789 </group>
1790
1791 <point name="trigger_relay_if" color="0 1 0" box="-8 -8 -8 8 8 8">
1792 Relays the trigger event if a cvar is set to a specified value.
1793 -------- KEYS --------
1794 <target key="target" name="target">The entity/entities to relay the trigger events to</target>
1795 <targetname key="targetname" name="targetname">The name other entities can use to target this entity</targetname>
1796 <string key="netname" name="netname">The name of the cvar to check</string>
1797 <string key="message" name="message">The value of the cvar to check</string>
1798 <real key="count" name="count">The count of entities that must be found</real>
1799 -------- SPAWNFLAGS --------
1800 <flag key="NEGATE" name="NEGATE" bit="0">trigger if the cvar does NOT match the value.</flag>
1801 </point>
1802
1803 <point name="weapon_hlac" color="1 0 .5" box="-30 -30 0 30 30 32">
1804 the Heavy Laser Assault Cannon.
1805 -------- KEYS --------
1806 <real key="ammo_cells" name="ammo_cells">initial cells of the weapon (if unset, g_pickup_cells is used)</real>
1807 <real key="respawntime" name="respawntime">time till it respawns (default: 30)</real>
1808 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
1809 <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>
1810 <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>
1811 -------- SPAWNFLAGS --------
1812 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
1813 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
1814 modeldisabled=&quot;models/weapons/g_hlac.md3&quot;
1815 </point>
1816
1817 <point name="weapon_minelayer" color="1 0 .5" box="-30 -30 0 30 30 32">
1818 the Mine Layer.
1819 -------- KEYS --------
1820 <real key="ammo_rockets" name="ammo_rockets">initial rockets of the weapon (if unset, g_pickup_rockets is used)</real>
1821 <real key="respawntime" name="respawntime">time till it respawns (default: 30)</real>
1822 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
1823 <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>
1824 <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>
1825 -------- SPAWNFLAGS --------
1826 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
1827 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
1828 modeldisabled=&quot;models/weapons/g_minelayer.md3&quot;
1829 </point>
1830
1831 <point name="weapon_seeker" color="1 0 .5" box="-30 -30 0 30 30 32">
1832 Placing this entity on a map kills your dog, voids the warranty on your car, and makes your map an unenjoyable noobs' paradise.
1833 the T.A.G. Seeker.
1834 -------- KEYS --------
1835 <real key="ammo_rockets" name="ammo_rockets">initial rockets of the weapon (if unset, g_pickup_rockets is used)</real>
1836 <real key="respawntime" name="respawntime">time till it respawns (default: 30)</real>
1837 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
1838 <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>
1839 <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>
1840 -------- SPAWNFLAGS --------
1841 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
1842 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
1843 modeldisabled=&quot;models/weapons/g_seeker.md3&quot;
1844 </point>
1845
1846 <point name="weapon_hook" color="1 0 .5" box="-30 -30 0 30 30 32">
1847 the on-hand Grappling Hook.
1848 -------- KEYS --------
1849 <real key="ammo_cells" name="ammo_cells">initial cells of the weapon (if unset, g_pickup_cells is used)</real>
1850 <real key="respawntime" name="respawntime">time till it respawns (default: 30)</real>
1851 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
1852 <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>
1853 <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>
1854 -------- SPAWNFLAGS --------
1855 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
1856 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
1857 modeldisabled=&quot;models/weapons/g_hookgun.md3&quot;
1858 </point>
1859
1860 <group name="trigger_heal" color=".5 .5 .5">
1861 Any object touching this will be healed.
1862 -------- KEYS --------
1863 <real key="health" name="health">health to give per second (default 10)</real>
1864 <real key="max_health" name="max_health">max health this trigger will give (default 200)</real>
1865 <sound key="noise" name="noise">sound file to play (use misc/null.wav to make it silent), default = item_health_medium sound</sound>
1866 </group>
1867
1868 <point name="weapon_rifle" color="1 0 .5" box="-30 -30 0 30 30 32">
1869 the Sniper Rifle.
1870 -------- KEYS --------
1871 <real key="ammo_nails" name="ammo_nails">initial bullets of the weapon (if unset, g_pickup_nails is used)</real>
1872 <real key="respawntime" name="respawntime">time till it respawns (default: 30)</real>
1873 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
1874 <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>
1875 <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>
1876 -------- SPAWNFLAGS --------
1877 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
1878 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
1879 modeldisabled=&quot;models/weapons/g_campingrifle.md3&quot;
1880 </point>
1881
1882 <group name="func_fourier" color="0 .5 .8">
1883 Solid entity that oscillates according to a sum of sine waves.
1884 -------- KEYS --------
1885 <real key="speed" name="speed">amount of time in seconds for one complete oscillation cycle in the base frequency (default 4).</real>
1886 <real key="height" name="height">sets the amount of travel of the oscillation movement (default 32). </real>
1887 <real key="phase" name="phase">sets the start offset of the oscillation cycle. Values must be 0 &lt; phase &lt; 1. Any integer phase value is the same as no offset (default 0).</real>
1888 <sound key="noise" name="noise">path/name of .wav or .ogg file to play. Use looping sounds only (e.g. sound/world/drone6.wav - See Notes).</sound>
1889 <real key="dmg" name="dmg">damage a player who gets crushed by it receives</real>
1890 <real key="dmgtime" name="dmgtime">interval to apply dmg to a player who is in the way</real>
1891 <string key="message" name="message">death message when a player gets crushed</string>
1892 <string key="message2" name="message2">death 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>
1893 <string key="netname" name="netname">list of &lt;frequencymultiplier&gt; &lt;phase&gt; &lt;x&gt; &lt;y&gt; &lt;z&gt; 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</string>
1894 </group>
1895
1896 <group name="func_vectormamamam" color="0 .5 .8">
1897 Solid entity that moves according to the movement of multiple given entities (max 4)
1898 -------- KEYS --------
1899 <target key="target" name="target">first reference entity</target>
1900 <real key="targetfactor" name="targetfactor">factor by which to take the first reference entity (default 1).</real>
1901 <real3 key="targetnormal" name="targetnormal">if set, the first reference entity's location is first projected onto a plane with that normal</real3>
1902 <target key="target2" name="target2">second reference entity</target>
1903 <real key="target2factor" name="target2factor">factor by which to take the second reference entity (default 1).</real>
1904 <real3 key="target2normal" name="target2normal">if set, the second reference entity's location is first projected onto a plane with that normal</real3>
1905 <target key="target3" name="target3">third reference entity (optional)</target>
1906 <real key="target3factor" name="target3factor">factor by which to take the third reference entity (default 1).</real>
1907 <real3 key="target3normal" name="target3normal">if set, the third reference entity's location is first projected onto a plane with that normal</real3>
1908 <target key="target4" name="target4">fourth reference entity (optional)</target>
1909 <real key="target4factor" name="target4factor">factor by which to take the fourth reference entity (default 1).</real>
1910 <real3 key="target4normal" name="target4normal">if set, the fourth reference entity's location is first projected onto a plane with that normal</real3>
1911 <sound key="noise" name="noise">path/name of .wav or .ogg file to play. Use looping sounds only (e.g. sound/world/drone6.wav - See Notes).</sound>
1912 <real key="dmg" name="dmg">damage a player who gets crushed by it receives</real>
1913 <real key="dmgtime" name="dmgtime">interval to apply dmg to a player who is in the way</real>
1914 <string key="message" name="message">death message when a player gets crushed</string>
1915 <string key="message2" name="message2">death 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>
1916 -------- SPAWNFLAGS --------
1917 <flag key="PROJECT_ON_TARGETNORMAL" name="PROJECT_ON_TARGETNORMAL" bit="0">target's origin is projected onto the given direction vector, not on the plane perpendicular to it</flag>
1918 <flag key="PROJECT_ON_TARGET2NORMAL" name="PROJECT_ON_TARGET2NORMAL" bit="1">target2's origin is projected onto the given direction vector, not on the plane perpendicular to it</flag>
1919 <flag key="PROJECT_ON_TARGET3NORMAL" name="PROJECT_ON_TARGET3NORMAL" bit="2">target3's origin is projected onto the given direction vector, not on the plane perpendicular to it</flag>
1920 <flag key="PROJECT_ON_TARGET4NORMAL" name="PROJECT_ON_TARGET4NORMAL" bit="3">target4's origin is projected onto the given direction vector, not on the plane perpendicular to it</flag>
1921 </group>
1922
1923 <point name="trigger_relay_teamcheck" color=".5 .5 .5" box="-8 -8 -8 8 8 8">
1924 Works similar to trigger_relay, but only relays trigger events if the team of the activator matches this entity's team
1925 -------- KEYS --------
1926 <target key="target" name="target">trigger all entities with this targetname when triggered</target>
1927 <target key="target2" name="target2">trigger all entities with this targetname when triggered</target>
1928 <target key="target3" name="target3">trigger all entities with this targetname when triggered</target>
1929 <target key="target4" name="target4">trigger all entities with this targetname when triggered</target>
1930 <boolean key="target_random" name="target_random">instead of triggering ALL matched entities, trigger ONE of them by random</boolean>
1931 <targetname key="targetname" name="targetname">name that identifies this entity so it can be triggered</targetname>
1932 <real key="delay" name="delay">delay the triggering by the given time</real>
1933 <string key="message" name="message">print this message to the player who activated the trigger</string>
1934 <target key="killtarget" name="killtarget">remove all entities with this targetname when triggered</target>
1935 <integer key="team" name="team">5 for red, 14 for blue, 13 for yellow, 10 for pink team</integer>
1936 -------- SPAWNFLAGS --------
1937 <flag key="NOTEAM_TOO" name="NOTEAM_TOO" bit="0">also relay events if the activator has no team set</flag>
1938 <flag key="INVERT" name="INVERT" bit="1">only relay the event if this entity has the matching team</flag>
1939 </point>
1940
1941 <point name="trigger_disablerelay" color=".5 .5 .5" box="-8 -8 -8 8 8 8">
1942 Disables a trigger_relay temporarily (until triggered again)
1943 -------- KEYS --------
1944 <target key="target" name="target">disable/enable all relays with this targetname when triggered</target>
1945 <targetname key="targetname" name="targetname">name that identifies this entity so it can be triggered</targetname>
1946 </point>
1947
1948
1949 <point name="monster_mage" color="1 0 0" box="-36 -36 -24 36 36 50">
1950 Mage. Master of dark magic
1951 -------- KEYS --------
1952 <integer key="health" name="health">monster health amount</integer>
1953 <integer key="target_range" name="target_range">maximum targeting range. If current target is further away, it will be lost</integer>
1954 <real key="respawntime" name="respawntime">delay in seconds before re-spawning</real>
1955 <integer key="monster_moveflags" name="monster_moveflags">move target while not attacking. 2=wander around, 3=spawn location, 4=no moving</integer>
1956 <target key="target" name="target">disable/enable all relays with this targetname when killed</target>
1957 <target key="target2" name="target2">follow this target</target>
1958 <targetname key="targetname" name="targetname">name that identifies this entity so it can be triggered</targetname>
1959 <integer key="team" name="team">5=red, 14=blue, 13=yellow, 10=pink</integer>
1960 -------- SPAWNFLAGS --------
1961 <flag key="MONSTERFLAG_MINIBOSS" name="MINIBOSS" bit="6">Spawn as mini-boss (slightly more powerful)</flag>
1962 <flag key="MONSTERFLAG_APPEAR" name="APPEAR" bit="1">Spawn when triggered</flag>
1963 <flag key="MONSTERFLAG_NORESPAWN" name="NORESPAWN" bit="2">Don't re-spawn</flag>
1964 <flag key="MONSTERFLAG_FLY_VERTICAL" name="FLY_VERTICAL" bit="3">Allow flying/swimming monsters to move up/down</flag>
1965 <flag key="MONSTERFLAG_INFRONT" name="INFRONT" bit="4">Only attack targets infront of the monster</flag>
1966 <flag key="MONSTERSKILL_NOTEASY" name="NOTEASY" bit="8">Don't spawn this monster when skill is 1</flag>
1967 <flag key="MONSTERSKILL_NOTMEDIUM" name="NOTMEDIUM" bit="9">Don't spawn this monster when skill is 2</flag>
1968 <flag key="MONSTERSKILL_NOTHARD" name="NOTHARD" bit="10">Don't spawn this monster when skill is 3</flag>
1969 </point>
1970
1971 <point name="monster_shambler" color="1 0 0" box="-41 -41 -31 41 41 65">
1972 Shambler. Summons lightning bolts with its large meat cleaving claws
1973 -------- KEYS --------
1974 <integer key="health" name="health">monster health amount</integer>
1975 <integer key="target_range" name="target_range">maximum targeting range. If current target is further away, it will be lost</integer>
1976 <real key="respawntime" name="respawntime">delay in seconds before re-spawning</real>
1977 <integer key="monster_moveflags" name="monster_moveflags">move target while not attacking. 2=wander around, 3=spawn location, 4=no moving</integer>
1978 <target key="target" name="target">disable/enable all relays with this targetname when killed</target>
1979 <target key="target2" name="target2">follow this target</target>
1980 <targetname key="targetname" name="targetname">name that identifies this entity so it can be triggered</targetname>
1981 <integer key="team" name="team">5=red, 14=blue, 13=yellow, 10=pink</integer>
1982 -------- SPAWNFLAGS --------
1983 <flag key="MONSTERFLAG_MINIBOSS" name="MINIBOSS" bit="6">Spawn as mini-boss (slightly more powerful)</flag>
1984 <flag key="MONSTERFLAG_APPEAR" name="APPEAR" bit="1">Spawn when triggered</flag>
1985 <flag key="MONSTERFLAG_NORESPAWN" name="NORESPAWN" bit="2">Don't re-spawn</flag>
1986 <flag key="MONSTERFLAG_FLY_VERTICAL" name="FLY_VERTICAL" bit="3">Allow flying/swimming monsters to move up/down</flag>
1987 <flag key="MONSTERFLAG_INFRONT" name="INFRONT" bit="4">Only attack targets infront of the monster</flag>
1988 <flag key="MONSTERSKILL_NOTEASY" name="NOTEASY" bit="8">Don't spawn this monster when skill is 1</flag>
1989 <flag key="MONSTERSKILL_NOTMEDIUM" name="NOTMEDIUM" bit="9">Don't spawn this monster when skill is 2</flag>
1990 <flag key="MONSTERSKILL_NOTHARD" name="NOTHARD" bit="10">Don't spawn this monster when skill is 3</flag>
1991 </point>
1992
1993 <point name="monster_spider" color="1 0 0" box="-18 -18 -25 18 18 30">
1994 Spider. Freezing ice or burning fire web, both lead to an 8-legged grave
1995 -------- KEYS --------
1996 <integer key="health" name="health">monster health amount</integer>
1997 <integer key="spider_type" name="spider_type">spider attack type. 1=ice, 2=fire</integer>
1998 <integer key="target_range" name="target_range">maximum targeting range. If current target is further away, it will be lost</integer>
1999 <real key="respawntime" name="respawntime">delay in seconds before re-spawning</real>
2000 <integer key="monster_moveflags" name="monster_moveflags">move target while not attacking. 2=wander around, 3=spawn location, 4=no moving</integer>
2001 <target key="target" name="target">disable/enable all relays with this targetname when killed</target>
2002 <target key="target2" name="target2">follow this target</target>
2003 <targetname key="targetname" name="targetname">name that identifies this entity so it can be triggered</targetname>
2004 <integer key="team" name="team">5=red, 14=blue, 13=yellow, 10=pink</integer>
2005 -------- SPAWNFLAGS --------
2006 <flag key="MONSTERFLAG_MINIBOSS" name="MINIBOSS" bit="6">Spawn as mini-boss (slightly more powerful)</flag>
2007 <flag key="MONSTERFLAG_APPEAR" name="APPEAR" bit="1">Spawn when triggered</flag>
2008 <flag key="MONSTERFLAG_NORESPAWN" name="NORESPAWN" bit="2">Don't re-spawn</flag>
2009 <flag key="MONSTERFLAG_FLY_VERTICAL" name="FLY_VERTICAL" bit="3">Allow flying/swimming monsters to move up/down</flag>
2010 <flag key="MONSTERFLAG_INFRONT" name="INFRONT" bit="4">Only attack targets infront of the monster</flag>
2011 <flag key="MONSTERSKILL_NOTEASY" name="NOTEASY" bit="8">Don't spawn this monster when skill is 1</flag>
2012 <flag key="MONSTERSKILL_NOTMEDIUM" name="NOTMEDIUM" bit="9">Don't spawn this monster when skill is 2</flag>
2013 <flag key="MONSTERSKILL_NOTHARD" name="NOTHARD" bit="10">Don't spawn this monster when skill is 3</flag>
2014 </point>
2015
2016 <point name="monster_wyvern" color="1 0 0" box="-20 -20 -58 20 20 20">
2017 Wyvern. Flies around shooting fireballs
2018 -------- KEYS --------
2019 <integer key="health" name="health">monster health amount</integer>
2020 <integer key="target_range" name="target_range">maximum targeting range. If current target is further away, it will be lost</integer>
2021 <real key="respawntime" name="respawntime">delay in seconds before re-spawning</real>
2022 <integer key="monster_moveflags" name="monster_moveflags">move target while not attacking. 2=wander around, 3=spawn location, 4=no moving</integer>
2023 <target key="target" name="target">disable/enable all relays with this targetname when killed</target>
2024 <target key="target2" name="target2">follow this target</target>
2025 <targetname key="targetname" name="targetname">name that identifies this entity so it can be triggered</targetname>
2026 <integer key="team" name="team">5=red, 14=blue, 13=yellow, 10=pink</integer>
2027 -------- SPAWNFLAGS --------
2028 <flag key="MONSTERFLAG_MINIBOSS" name="MINIBOSS" bit="6">Spawn as mini-boss (slightly more powerful)</flag>
2029 <flag key="MONSTERFLAG_APPEAR" name="APPEAR" bit="1">Spawn when triggered</flag>
2030 <flag key="MONSTERFLAG_NORESPAWN" name="NORESPAWN" bit="2">Don't re-spawn</flag>
2031 <flag key="MONSTERFLAG_FLY_VERTICAL" name="FLY_VERTICAL" bit="3">Allow flying/swimming monsters to move up/down</flag>
2032 <flag key="MONSTERFLAG_INFRONT" name="INFRONT" bit="4">Only attack targets infront of the monster</flag>
2033 <flag key="MONSTERSKILL_NOTEASY" name="NOTEASY" bit="8">Don't spawn this monster when skill is 1</flag>
2034 <flag key="MONSTERSKILL_NOTMEDIUM" name="NOTMEDIUM" bit="9">Don't spawn this monster when skill is 2</flag>
2035 <flag key="MONSTERSKILL_NOTHARD" name="NOTHARD" bit="10">Don't spawn this monster when skill is 3</flag>
2036 </point>
2037
2038 <point name="monster_zombie" color="1 0 0" box="-18 -18 -25 18 18 47">
2039 Braaaiins!
2040 -------- KEYS --------
2041 <integer key="health" name="health">monster health amount</integer>
2042 <integer key="target_range" name="target_range">maximum targeting range. If current target is further away, it will be lost</integer>
2043 <real key="respawntime" name="respawntime">delay in seconds before re-spawning</real>
2044 <integer key="monster_moveflags" name="monster_moveflags">move target while not attacking. 2=wander around, 3=spawn location, 4=no moving</integer>
2045 <target key="target" name="target">disable/enable all relays with this targetname when killed</target>
2046 <target key="target2" name="target2">follow this target</target>
2047 <targetname key="targetname" name="targetname">name that identifies this entity so it can be triggered</targetname>
2048 <integer key="team" name="team">5=red, 14=blue, 13=yellow, 10=pink</integer>
2049 -------- SPAWNFLAGS --------
2050 <flag key="MONSTERFLAG_MINIBOSS" name="MINIBOSS" bit="6">Spawn as mini-boss (slightly more powerful)</flag>
2051 <flag key="MONSTERFLAG_APPEAR" name="APPEAR" bit="1">Spawn when triggered</flag>
2052 <flag key="MONSTERFLAG_NORESPAWN" name="NORESPAWN" bit="2">Don't re-spawn</flag>
2053 <flag key="MONSTERFLAG_FLY_VERTICAL" name="FLY_VERTICAL" bit="3">Allow flying/swimming monsters to move up/down</flag>
2054 <flag key="MONSTERFLAG_INFRONT" name="INFRONT" bit="4">Only attack targets infront of the monster</flag>
2055 <flag key="MONSTERSKILL_NOTEASY" name="NOTEASY" bit="8">Don't spawn this monster when skill is 1</flag>
2056 <flag key="MONSTERSKILL_NOTMEDIUM" name="NOTMEDIUM" bit="9">Don't spawn this monster when skill is 2</flag>
2057 <flag key="MONSTERSKILL_NOTHARD" name="NOTHARD" bit="10">Don't spawn this monster when skill is 3</flag>
2058 </point>
2059
2060 <group name="nexball_redgoal" color="1 0 0">
2061 Red goal. Defended by the red team.
2062 -------- KEYS --------
2063 <sound key="noise" name="noise">sound played when a point is scored</sound>
2064 -------- SPAWNFLAGS --------
2065 <flag key="GOAL_TOUCHPLAYER" name="GOAL_TOUCHPLAYER" bit="0">The trigger also affects ball-carrying players (the ball is then auto-dropped)</flag>
2066 </group>
2067
2068 <group name="nexball_bluegoal" color="0 0 1">
2069 Blue goal. Defended by the blue team.
2070 -------- KEYS --------
2071 <sound key="noise" name="noise">sound played when a point is scored</sound>
2072 -------- SPAWNFLAGS --------
2073 <flag key="GOAL_TOUCHPLAYER" name="GOAL_TOUCHPLAYER" bit="0">The trigger also affects ball-carrying players (the ball is then auto-dropped)</flag>
2074 </group>
2075
2076 <group name="nexball_yellowgoal" color="1 1 0">
2077 Yellow goal. Defended by the yellow team. Needs both red and blue goals on the map to work.
2078 -------- KEYS --------
2079 <sound key="noise" name="noise">sound played when a point is scored</sound>
2080 -------- SPAWNFLAGS --------
2081 <flag key="GOAL_TOUCHPLAYER" name="GOAL_TOUCHPLAYER" bit="0">The trigger also affects ball-carrying players (the ball is then auto-dropped)</flag>
2082 </group>
2083
2084 <group name="nexball_pinkgoal" color="1 0 1">
2085 Pink goal. Defended by the pink team. Needs red, blue and yellow goals on the map to work.
2086 -------- KEYS --------
2087 <sound key="noise" name="noise">sound played when a point is scored</sound>
2088 -------- SPAWNFLAGS --------
2089 <flag key="GOAL_TOUCHPLAYER" name="GOAL_TOUCHPLAYER" bit="0">The trigger also affects ball-carrying players (the ball is then auto-dropped)</flag>
2090 </group>
2091
2092
2093 <group name="nexball_fault" color="0.6 0.1 0">
2094 This acts as a goal that always gives points to the opposing team.
2095 -------- KEYS --------
2096 <sound key="noise" name="noise">sound played when a point is scored</sound>
2097 -------- SPAWNFLAGS --------
2098 <flag key="GOAL_TOUCHPLAYER" name="GOAL_TOUCHPLAYER" bit="0">The trigger also affects ball-carrying players (the ball is then auto-dropped)</flag>
2099 </group>
2100
2101 <group name="nexball_out" color="0.1 0.6 0">
2102 When the ball touches this, it is returned.
2103 -------- KEYS --------
2104 <sound key="noise" name="noise">sound played when a point is scored</sound>
2105 -------- SPAWNFLAGS --------
2106 <flag key="GOAL_TOUCHPLAYER" name="GOAL_TOUCHPLAYER" bit="0">The trigger also affects ball-carrying players (the ball is then auto-dropped)</flag>
2107 </group>
2108
2109 <point name="nexball_football" color=".9 .9 .9" box="-16 -16 -16 16 16 16">
2110 The soccer type Nexball.
2111 -------- KEYS --------
2112 <model key="model" name="model">set this if you want to use your own model</model>
2113 <real key="scale" name="scale">if you're using your own model, change this to scale it to 32*32*32</real>
2114 <sound key="noise" name="noise">played when the ball bounces</sound>
2115 <sound key="noise1" name="noise1">played when the ball is dropped on the map</sound>
2116 </point>
2117
2118 <point name="nexball_basketball" color=".5 .2 0" box="-16 -16 -16 16 16 16">
2119 The basket ball type Nexball.
2120 -------- KEYS --------
2121 <model key="model" name="model">set this if you want to use your own model</model>
2122 <real key="scale" name="scale">if you're using your own model, change this to scale it to 32*32*32</real>
2123 <sound key="noise" name="noise">played when the ball bounces</sound>
2124 <sound key="noise1" name="noise1">played when the ball is dropped on the map</sound>
2125 <sound key="noise2" name="noise2">played when the ball is stolen from the enemy</sound>
2126 </point>
2127
2128 <point name="item_fuel" color=".3 .3 1" box="-30 -30 0 30 30 32">
2129 Jetpack fuel
2130 -------- KEYS --------
2131 <real key="ammo_fuel" name="ammo_fuel">fuel units gained by this item (if unset, g_pickup_fuel is used)</real>
2132 <real key="respawntime" name="respawntime">time till it respawns (default: 15)</real>
2133 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
2134 <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>
2135 <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>
2136 -------- SPAWNFLAGS --------
2137 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
2138 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
2139 modeldisabled=&quot;models/items/g_fuel.md3&quot;
2140 </point>
2141
2142 <point name="item_fuel_regen" color="1 .3 1" box="-30 -30 0 30 30 48">
2143 Fuel regenerator
2144 -------- KEYS --------
2145 <real key="respawntime" name="respawntime">time till it respawns (default: 120)</real>
2146 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
2147 <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>
2148 <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>
2149 -------- SPAWNFLAGS --------
2150 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
2151 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
2152 modeldisabled=&quot;models/items/g_fuelregen.md3&quot;
2153 </point>
2154
2155 <point name="item_jetpack" color=".3 .3 1" box="-30 -30 0 30 30 48">
2156 Jetpack
2157 -------- KEYS --------
2158 <real key="ammo_fuel" name="ammo_fuel">fuel units gained by this item (if unset, g_pickup_fuel_jetpack is used)</real>
2159 <real key="respawntime" name="respawntime">time till it respawns (default: 120)</real>
2160 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
2161 <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>
2162 <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>
2163 -------- SPAWNFLAGS --------
2164 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
2165 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
2166 modeldisabled=&quot;models/items/g_jetpack.md3&quot;
2167 </point>
2168
2169 <point name="trigger_magicear" color="0 0 1" box="-8 -8 -8 8 8 8">
2170 Triggers targets when a given magic word has been said
2171 -------- KEYS --------
2172 <string key="message" name="message">message to wait for (can start or end with * for wildcards)</string>
2173 <string key="netname" name="netname">replacement text (by default, no replacement is performed if empty)</string>
2174 <real key="radius" name="radius">radius in which the player has to be for this to match</real>
2175 <target key="target" name="target">all entities with a matching targetname will be triggered.</target>
2176 <target key="target2" name="target2">all entities with a matching targetname will be triggered.</target>
2177 <target key="target3" name="target3">all entities with a matching targetname will be triggered.</target>
2178 <target key="target4" name="target4">all entities with a matching targetname will be triggered.</target>
2179 <boolean key="target_random" name="target_random">instead of triggering ALL matched entities, trigger ONE of them by random</boolean>
2180 <real3 key="movedir" name="movedir">if TUBA is set, this is a string of &quot;instrument+1 mintempo maxtempo&quot;. Components can be set to 0 to not match.</real3>
2181 -------- SPAWNFLAGS --------
2182 <flag key="IGNORE_SAY" name="IGNORE_SAY" bit="0">do not respond to &quot;say&quot; messages</flag>
2183 <flag key="IGNORE_TEAMSAY" name="IGNORE_TEAMSAY" bit="1">do not respond to &quot;say_team&quot; messages</flag>
2184 <flag key="IGNORE_TELL" name="IGNORE_TELL" bit="2">do not respond to &quot;tell&quot; messages</flag>
2185 <flag key="IGNORE_INVALIDTELL" name="IGNORE_INVALIDTELL" bit="3">do not respond to &quot;tell&quot; messages of invalid syntax</flag>
2186 <flag key="REPLACE_WHOLE_MESSAGE" name="REPLACE_WHOLE_MESSAGE" bit="4">replace the whole message by netname, or drop the message if netname is empty</flag>
2187 <flag key="REPLACE_OUTSIDE" name="REPLACE_OUTSIDE" bit="5">also perform the replacement when outside the radius (to hide the &quot;secret word&quot;)</flag>
2188 <flag key="CONTINUE" name="CONTINUE" bit="6">even if this magic ear matched, continue looking for further matches/replacements (useful for swear word filters)</flag>
2189 <flag key="NODECOLORIZE" name="NODECOLORIZE" bit="7">do not decolorize the input string before matching</flag>
2190 <flag key="TUBA" name="TUBA" bit="8">the message is a space separated note sequence that must be played on the @!#%'n Tuba or the @!#%'n Accordeon. For example, 4.25 means a quarter note at pitch 4, where 0 is base pitch (red team primary fire with no motion). For secret triggers to open doors, use 4.25 0.25 4.25 2.25. The first one to encode a rickroll in this gets slapped with the shotgun.</flag>
2191 <flag key="TUBA_EXACTPITCH" name="TUBA_EXACTPITCH" bit="9">the note pitch must be accurate and cannot be transposed</flag>
2192 </point>
2193
2194 <point name="weapon_fireball" color="1 0 .5" box="-30 -30 0 30 30 32">
2195 the Fireball
2196 -------- KEYS --------
2197 <real key="ammo_rockets" name="ammo_rockets">initial rockets of the weapon (if unset, g_pickup_rockets is used)</real>
2198 <real key="respawntime" name="respawntime">time till it respawns (default: 15)</real>
2199 <real key="respawntimejitter" name="respawntimejitter">respawn time randomization +/- seconds (default: 0)</real>
2200 <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>
2201 <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>
2202 -------- SPAWNFLAGS --------
2203 <flag key="FLOATING" name="FLOATING" bit="0">the item will float in air, instead of aligning to the floor by falling</flag>
2204 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
2205 modeldisabled=&quot;models/weapons/g_fireball.md3&quot;
2206 </point>
2207
2208 <group name="trigger_warpzone" color="1 .5 1">
2209 A warp zone, i.e. seamlessly connecting two parts of the map.
2210 One surface of this entity must have the common/warpzone shader (or a similar selfmade shader) - this will be the warp plane - the others must be common/trigger.
2211 Must target, or be targeted by, another trigger_warpzone with a congruent common/warpzone surface.
2212 Should target a target_position, or be targeted by a misc_warpzone_position.
2213 Should be thick enough to fit a player entity (i.e. 32 units), preferably even thicker.
2214 -------- KEYS --------
2215 <target key="target" name="target">must point to another trigger_warpzone, or...</target>
2216 <targetname key="targetname" name="targetname">must be pointed to by another trigger_warpzone. Should be pointed to by a misc_warpzone_position entity, or...</targetname>
2217 <target key="killtarget" name="killtarget">should point to a target_position entity.</target>
2218 <target key="target2" name="target2">is triggered when a player ENTERS the warpzone (and warps away)</target>
2219 <target key="target3" name="target3">is triggered when a player LEAVES the warpzone (from the other warp zone to this one)</target>
2220 <target key="target4" name="target4">is triggered in both cases</target>
2221 <boolean key="target_random" name="target_random">instead of triggering ALL matched entities, trigger ONE of them by random</boolean>
2222 <real key="warpzone_fadestart" name="warpzone_fadestart">start distance of fading out the warpzone</real>
2223 <real key="warpzone_fadeend" name="warpzone_fadeend">end distance of fading out the warpzone (if viewer is further, warpzone is not rendered at all)</real>
2224 -------- SPAWNFLAGS --------
2225 <flag key="WATCHMOVE" name="WATCHMOVE" bit="0">allow this entity to be moved by others, e.g. misc_follow in MOVETYPE_FOLLOW mode</flag>
2226 </group>
2227
2228 <point name="trigger_warpzone_reconnect" color="1 .5 1" box="-8 -8 -8 8 8 8">
2229 Reconnects (randomly) all warpzones/cameras with matching target when triggered
2230 -------- KEYS --------
2231 <target key="target" name="target">must point to multiple trigger_warpzones, or be not set (then all warpzones may get changed)</target>
2232 <targetname key="targetname" name="targetname">name that identifies this entity so it can be triggered</targetname>
2233 -------- SPAWNFLAGS --------
2234 <flag key="IGNORE_VISIBLE" name="IGNORE_VISIBLE" bit="0">do not rearrange a warpzone if a player can currently see it</flag>
2235 </point>
2236
2237 <point name="misc_warpzone_position" color="1 .5 .25" box="-8 -8 -8 8 8 8">
2238 Orientation specification for a trigger_warpzone
2239 -------- KEYS --------
2240 <target key="target" name="target">must point to a trigger_warpzone</target>
2241 <angles key="angles" name="angles">must point perpendicular to the common/warpzone surface of the trigger_warpzone, and away from the trigger brush</angles>
2242 <real3 key="origin" name="origin">must be on the common/warpzone surface of the trigger_warpzone</real3>
2243 </point>
2244
2245 <group name="func_camera" color="1 .5 1">
2246 A camera, i.e. a surface that shows a view from another part of the map.
2247 One surface of this entity must have the common/camera shader, the others should be common/caulk.
2248 Must target a target_position that indicates the view to be shown (and whose angles also indicate the orientation of the view)
2249 -------- KEYS --------
2250 <target key="target" name="target">must point to a target_position</target>
2251 <real key="warpzone_fadestart" name="warpzone_fadestart">start distance of fading out the warpzone</real>
2252 <real key="warpzone_fadeend" name="warpzone_fadeend">end distance of fading out the warpzone (if viewer is further, warpzone is not rendered at all)</real>
2253 -------- SPAWNFLAGS --------
2254 <flag key="WATCHMOVE" name="WATCHMOVE" bit="0">allow this entity to be moved by others, e.g. misc_follow in MOVETYPE_FOLLOW mode</flag>
2255 </group>
2256
2257 <point name="target_music" color="1 0 0" box="-8 -8 -8 8 8 8">
2258 Background music target (when this is used, the cdtrack line in mapinfo must not be used, and there MUST be a default target_music).
2259 When triggered, the background music is switched to the given track.
2260 When targetname is not set, this is the default track of the map.
2261 -------- KEYS --------
2262 <targetname key="targetname" name="targetname">The name other entities can use to target this entity (when not set, this one is the default)</targetname>
2263 <sound key="noise" name="noise">the music to play (as full sound file name)</sound>
2264 <real key="volume" name="volume">the volume (default: 1)</real>
2265 <real key="fade_time" name="fade_time">fade-in time</real>
2266 <real key="fade_rate" name="fade_rate">fade-out time</real>
2267 <real key="lifetime" name="lifetime">when set, the music created by this target is switched back to the default one when this time expires</real>
2268 -------- SPAWNFLAGS --------
2269 <flag key="START_OFF" name="START_OFF" bit="0">the trigger is off initially</flag>
2270 </point>
2271
2272 <group name="trigger_music" color="1 0 0">
2273 Background music trigger (when this is used, the cdtrack line in mapinfo must not be used, and there MUST be a default target_music).
2274 When triggered, its effect is turned off until triggered again.
2275 -------- KEYS --------
2276 <targetname key="targetname" name="targetname">The name other entities can use to target this entity</targetname>
2277 <sound key="noise" name="noise">the music to play (as full sound file name)</sound>
2278 <real key="volume" name="volume">the volume (default: 1)</real>
2279 <real key="fade_time" name="fade_time">fade-in time</real>
2280 <real key="fade_rate" name="fade_rate">fade-out time</real>
2281 -------- SPAWNFLAGS --------
2282 <flag key="START_OFF" name="START_OFF" bit="0">the trigger is off initially</flag>
2283 </group>
2284
2285 <group name="trigger_gravity" color=".5 .5 1">
2286 An area where gravity differs from the rest of the map.
2287 This acts as a modifier over the normal gravity (sv_gravity). eg: 0.5 is half the normal gravity, 2 is twice the normal gravity.
2288 -------- KEYS --------
2289 <real key="gravity" name="gravity">gravity offset in this area, defaults to 0 if not set</real>
2290 <sound key="noise" name="noise">sound to play when an entity enters the gravity zone, leave empty to disable</sound>
2291 <targetname key="targetname" name="targetname">you can use this to target the grazity zone with a trigger, which will toggle it when activated</targetname>
2292 -------- SPAWNFLAGS --------
2293 <flag key="STICKY" name="STICKY" bit="0">entities keep their gravity after leaving the gravity zone</flag>
2294 <flag key="START_OFF" name="START_OFF" bit="1">when targeted, the gravity zone starts off and is enabled upon triggering</flag>
2295 </group>
2296
2297 <point name="relay_activate" color="0 1 0" box="-8 -8 -8 8 8 8">
2298 Activates all targets
2299 List of currently supported target ents:
2300 trigger_hurt
2301 trigger_heal
2302 trigger_impulse
2303 trigger_push
2304 trigger_teleport
2305 func_rotating
2306 func_bobbing
2307 func_button
2308 func_fourier
2309 func_vectormamamam
2310 -------- KEYS --------
2311 <target key="target" name="target">trigger all entities with this targetname when triggered</target>
2312 <targetname key="targetname" name="targetname">name that identifies this entity so it can be triggered</targetname>
2313 </point>
2314
2315 <point name="relay_deactivate" color="1 0 0" box="-8 -8 -8 8 8 8">
2316 Deactivates all targets
2317 List of currently supported target ents:
2318 trigger_hurt
2319 trigger_heal
2320 trigger_impulse
2321 trigger_push
2322 trigger_teleport
2323 func_rotating
2324 func_bobbing
2325 func_button
2326 func_fourier
2327 func_vectormamamam
2328 -------- KEYS --------
2329 <target key="target" name="target">trigger all entities with this targetname when triggered</target>
2330 <targetname key="targetname" name="targetname">name that identifies this entity so it can be triggered</targetname>
2331 </point>
2332
2333 <point name="relay_activatetoggle" color="0 1 1" box="-8 -8 -8 8 8 8">
2334 Toggles all targets de/active
2335 List of currently supported target ents:
2336 trigger_hurt
2337 trigger_heal
2338 trigger_impulse
2339 trigger_push
2340 trigger_teleport
2341 func_rotating
2342 func_bobbing
2343 func_button
2344 func_fourier
2345 func_vectormamamam
2346 -------- KEYS --------
2347 <target key="target" name="target">trigger all entities with this targetname when triggered</target>
2348 <targetname key="targetname" name="targetname">name that identifies this entity so it can be triggered</targetname>
2349 </point>
2350
2351 <point name="target_changelevel" color=".5 .5 0" box="-8 -8 -8 8 8 8">
2352 Loads another map when triggered. Useful for single player maps.
2353 When no chmap key is set, the entity just ends the match when triggered. The player / team with the highest score at that moment wins.
2354 -------- KEYS --------
2355 <targetname key="targetname" name="targetname">The name other entities can use to target this entity</targetname>
2356 <string key="chmap" name="chmap">Map file to switch to, leave empty to make this entity just end the match</string>
2357 <string key="gametype" name="gametype">Switch to this gametype. If empty, the same gametype stays</string>
2358 </point>
2359 <point name="turret_machinegun" color="1 0 0" box="-32 -32 0 32 32 50">
2360 Fast firing moderate damage bullet (hitscan) turret.
2361 -------- KEYS --------
2362 <real key="turret_scale_damage" name="turret_scale_damage">2 = double damage, 0.5 = half</real>
2363 <real key="turret_scale_range" name="turret_scale_range">2 = double range, 0.5 = half</real>
2364 <real key="turret_scale_refire" name="turret_scale_refire">2 = double refire (SLOWER!), 0.5 = half (FASTER!)</real>
2365 <real key="turret_scale_ammo" name="turret_scale_ammo">2 = double ammo carry &amp; regen, 0.5 = half ammo carry &amp; regen</real>
2366 <real key="turret_scale_aim" name="turret_scale_aim">2 = aim twice as fast, 0,5 = aim at half speed</real>
2367 <real key="turret_scale_health" name="turret_scale_health">2 = double health, 0.5 = half</real>
2368 <target key="target" name="target">Defend the position of this entity</target>
2369 <integer key="team" name="team">5=red, 14=blue, 13=yellow, 10=pink</integer>
2370 -------- SPAWNFLAGS --------
2371 <flag key="PILLAR" name="PILLAR" bit="1">Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals)</flag>
2372 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
2373 model=&quot;../xonotic-data.pk3dir/models/turrets/radiant/mg.md3&quot;
2374 </point>
2375
2376 <point name="turret_plasma" color="1 0 0" box="-32 -32 0 32 32 50">
2377 -------- KEYS --------
2378 <real key="turret_scale_damage" name="turret_scale_damage">2 = double damage, 0.5 = half</real>
2379 <real key="turret_scale_range" name="turret_scale_range">2 = double range, 0.5 = half</real>
2380 <real key="turret_scale_refire" name="turret_scale_refire">2 = double refire (SLOWER!), 0.5 = half (FASTER!)</real>
2381 <real key="turret_scale_ammo" name="turret_scale_ammo">2 = double ammo carry &amp; regen, 0.5 = half ammo carry &amp; regen</real>
2382 <real key="turret_scale_aim" name="turret_scale_aim">2 = aim twice as fast, 0,5 = aim at half speed</real>
2383 <real key="turret_scale_health" name="turret_scale_health">2 = double health, 0.5 = half</real>
2384 <target key="target" name="target">Defend the position of this entity</target>
2385 <integer key="team" name="team">5=red, 14=blue, 13=yellow, 10=pink</integer>
2386 -------- SPAWNFLAGS --------
2387 <flag key="PILLAR" name="PILLAR" bit="1">Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals)</flag>
2388 ---------NOTES----------
2389 Basic energy cannon
2390 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
2391 model=&quot;../xonotic-data.pk3dir/models/turrets/radiant/plasma.md3&quot;
2392 </point>
2393
2394 <point name="turret_plasma_dual" color="1 0 0" box="-32 -32 0 32 32 50">
2395 basic energy cannon * 2
2396 -------- KEYS --------
2397 <real key="turret_scale_damage" name="turret_scale_damage">2 = double damage, 0.5 = half</real>
2398 <real key="turret_scale_range" name="turret_scale_range">2 = double range, 0.5 = half</real>
2399 <real key="turret_scale_refire" name="turret_scale_refire">2 = double refire (SLOWER!), 0.5 = half (FASTER!)</real>
2400 <real key="turret_scale_ammo" name="turret_scale_ammo">2 = double ammo carry &amp; regen, 0.5 = half ammo carry &amp; regen</real>
2401 <real key="turret_scale_aim" name="turret_scale_aim">2 = aim twice as fast, 0,5 = aim at half speed</real>
2402 <real key="turret_scale_health" name="turret_scale_health">2 = double health, 0.5 = half</real>
2403 <target key="target" name="target">Defend the position of this entity</target>
2404 <integer key="team" name="team">5=red, 14=blue, 13=yellow, 10=pink</integer>
2405 -------- SPAWNFLAGS --------
2406 <flag key="PILLAR" name="PILLAR" bit="1">Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals)</flag>
2407 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
2408 model=&quot;../xonotic-data.pk3dir/models/turrets/radiant/plasma2.md3&quot;
2409 </point>
2410
2411 <point name="turret_flac" color="1 0 0" box="-32 -32 0 32 32 50">
2412 Only kills missiles, rockets, grenadelauncher &amp; electro secondaries to be precise.
2413 -------- KEYS --------
2414 <real key="turret_scale_damage" name="turret_scale_damage">2 = double damage, 0.5 = half</real>
2415 <real key="turret_scale_range" name="turret_scale_range">2 = double range, 0.5 = half</real>
2416 <real key="turret_scale_refire" name="turret_scale_refire">2 = double refire (SLOWER!), 0.5 = half (FASTER!)</real>
2417 <real key="turret_scale_ammo" name="turret_scale_ammo">2 = double ammo carry &amp; regen, 0.5 = half ammo carry &amp; regen</real>
2418 <real key="turret_scale_aim" name="turret_scale_aim">2 = aim twice as fast, 0,5 = aim at half speed</real>
2419 <real key="turret_scale_health" name="turret_scale_health">2 = double health, 0.5 = half</real>
2420 <target key="target" name="target">Defend the position of this entity</target>
2421 <integer key="team" name="team">5=red, 14=blue, 13=yellow, 10=pink</integer>
2422 -------- SPAWNFLAGS --------
2423 <flag key="PILLAR" name="PILLAR" bit="1">Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals)</flag>
2424 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
2425 model=&quot;../xonotic-data.pk3dir/models/turrets/radiant/flac.md3&quot;
2426 </point>
2427
2428 <point name="turret_mlrs" color="1 0 0" box="-32 -32 0 32 32 50">
2429 6 unguided rockers fired in a rapid burst.
2430 -------- KEYS --------
2431 <real key="turret_scale_damage" name="turret_scale_damage">2 = double damage, 0.5 = half</real>
2432 <real key="turret_scale_range" name="turret_scale_range">2 = double range, 0.5 = half</real>
2433 <real key="turret_scale_refire" name="turret_scale_refire">2 = double refire (SLOWER!), 0.5 = half (FASTER!)</real>
2434 <real key="turret_scale_ammo" name="turret_scale_ammo">2 = double ammo carry &amp; regen, 0.5 = half ammo carry &amp; regen</real>
2435 <real key="turret_scale_aim" name="turret_scale_aim">2 = aim twice as fast, 0,5 = aim at half speed</real>
2436 <real key="turret_scale_health" name="turret_scale_health">2 = double health, 0.5 = half</real>
2437 <target key="target" name="target">Defend the position of this entity</target>
2438 <integer key="team" name="team">5=red, 14=blue, 13=yellow, 10=pink</integer>
2439 -------- SPAWNFLAGS --------
2440 <flag key="PILLAR" name="PILLAR" bit="1">Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals)</flag>
2441 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
2442 model=&quot;../xonotic-data.pk3dir/models/turrets/radiant/mlrs.md3&quot;
2443 </point>
2444
2445 <point name="turret_hellion" color="1 0 0" box="-32 -32 0 32 32 50">
2446 2 guided moderate damage accelerating rockets
2447 -------- KEYS --------
2448 <real key="turret_scale_damage" name="turret_scale_damage">2 = double damage, 0.5 = half</real>
2449 <real key="turret_scale_range" name="turret_scale_range">2 = double range, 0.5 = half</real>
2450 <real key="turret_scale_refire" name="turret_scale_refire">2 = double refire (SLOWER!), 0.5 = half (FASTER!)</real>
2451 <real key="turret_scale_ammo" name="turret_scale_ammo">2 = double ammo carry &amp; regen, 0.5 = half ammo carry &amp; regen</real>
2452 <real key="turret_scale_aim" name="turret_scale_aim">2 = aim twice as fast, 0,5 = aim at half speed</real>
2453 <real key="turret_scale_health" name="turret_scale_health">2 = double health, 0.5 = half</real>
2454 <target key="target" name="target">Defend the position of this entity</target>
2455 <integer key="team" name="team">5=red, 14=blue, 13=yellow, 10=pink</integer>
2456 -------- SPAWNFLAGS --------
2457 <flag key="PILLAR" name="PILLAR" bit="1">Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals)</flag>
2458 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
2459 model=&quot;../xonotic-data.pk3dir/models/turrets/radiant/hellion.md3&quot;
2460 </point>
2461
2462
2463 <point name="turret_hk" color="1 0 0" box="-32 -32 0 32 32 50">
2464 Single powerful rocket with the ability to evade obstacles to find its target. Varied speed.
2465 -------- KEYS --------
2466 <real key="turret_scale_damage" name="turret_scale_damage">2 = double damage, 0.5 = half</real>
2467 <real key="turret_scale_range" name="turret_scale_range">2 = double range, 0.5 = half</real>
2468 <real key="turret_scale_refire" name="turret_scale_refire">2 = double refire (SLOWER!), 0.5 = half (FASTER!)</real>
2469 <real key="turret_scale_ammo" name="turret_scale_ammo">2 = double ammo carry &amp; regen, 0.5 = half ammo carry &amp; regen</real>
2470 <real key="turret_scale_aim" name="turret_scale_aim">2 = aim twice as fast, 0,5 = aim at half speed</real>
2471 <real key="turret_scale_health" name="turret_scale_health">2 = double health, 0.5 = half</real>
2472 <target key="target" name="target">Defend the position of this entity</target>
2473 <integer key="team" name="team">5=red, 14=blue, 13=yellow, 10=pink</integer>
2474 -------- SPAWNFLAGS --------
2475 <flag key="PILLAR" name="PILLAR" bit="1">Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals)</flag>
2476 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
2477 model=&quot;../xonotic-data.pk3dir/models/turrets/radiant/hk.md3&quot;
2478 </point>
2479
2480 <point name="turret_tesla" color="1 0 0" box="-32 -32 0 32 32 50">
2481 Fires a lightning bolt that will jump to up to 10 targets if they are close enough to each other. Missiles included.
2482 -------- KEYS --------
2483 <real key="turret_scale_damage" name="turret_scale_damage">2 = double damage, 0.5 = half</real>
2484 <real key="turret_scale_range" name="turret_scale_range">2 = double range, 0.5 = half</real>
2485 <real key="turret_scale_refire" name="turret_scale_refire">2 = double refire (SLOWER!), 0.5 = half (FASTER!)</real>
2486 <real key="turret_scale_ammo" name="turret_scale_ammo">2 = double ammo carry &amp; regen, 0.5 = half ammo carry &amp; regen</real>
2487 <real key="turret_scale_aim" name="turret_scale_aim">2 = aim twice as fast, 0,5 = aim at half speed</real>
2488 <real key="turret_scale_health" name="turret_scale_health">2 = double health, 0.5 = half</real>
2489 <target key="target" name="target">Defend the position of this entity</target>
2490 <integer key="team" name="team">5=red, 14=blue, 13=yellow, 10=pink</integer>
2491 -------- SPAWNFLAGS --------
2492 <flag key="PILLAR" name="PILLAR" bit="1">Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals)</flag>
2493 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
2494 model=&quot;../xonotic-data.pk3dir/models/turrets/radiant/tesla.md3&quot;
2495 </point>
2496
2497 <point name="turret_phaser" color="1 0 0" box="-32 -32 0 32 32 50">
2498 Constant beam weapon that will considerably slow its target down while dealing low but constant damage.
2499 -------- KEYS --------
2500 <real key="turret_scale_damage" name="turret_scale_damage">2 = double damage, 0.5 = half</real>
2501 <real key="turret_scale_range" name="turret_scale_range">2 = double range, 0.5 = half</real>
2502 <real key="turret_scale_refire" name="turret_scale_refire">2 = double refire (SLOWER!), 0.5 = half (FASTER!)</real>
2503 <real key="turret_scale_ammo" name="turret_scale_ammo">2 = double ammo carry &amp; regen, 0.5 = half ammo carry &amp; regen</real>
2504 <real key="turret_scale_aim" name="turret_scale_aim">2 = aim twice as fast, 0,5 = aim at half speed</real>
2505 <real key="turret_scale_health" name="turret_scale_health">2 = double health, 0.5 = half</real>
2506 <target key="target" name="target">Defend the position of this entity</target>
2507 <integer key="team" name="team">5=red, 14=blue, 13=yellow, 10=pink</integer>
2508 -------- SPAWNFLAGS --------
2509 <flag key="PILLAR" name="PILLAR" bit="1">Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals)</flag>
2510 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
2511 model=&quot;../xonotic-data.pk3dir/models/turrets/radiant/phaser.md3&quot;
2512 </point>
2513
2514
2515 <point name="turret_fusionreactor" color="1 0 0" box="-32 -32 0 32 32 50">
2516 -------- KEYS --------
2517 <real key="turret_scale_damage" name="turret_scale_damage">2 = double damage, 0.5 = half</real>
2518 <real key="turret_scale_range" name="turret_scale_range">2 = double range, 0.5 = half</real>
2519 <real key="turret_scale_refire" name="turret_scale_refire">2 = double refire (SLOWER!), 0.5 = half (FASTER!)</real>
2520 <real key="turret_scale_ammo" name="turret_scale_ammo">2 = double ammo carry &amp; regen, 0.5 = half ammo carry &amp; regen</real>
2521 <real key="turret_scale_aim" name="turret_scale_aim">2 = aim twice as fast, 0,5 = aim at half speed</real>
2522 <real key="turret_scale_health" name="turret_scale_health">2 = double health, 0.5 = half</real>
2523 <integer key="team" name="team">5=red, 14=blue, 13=yellow, 10=pink</integer>
2524 -------- SPAWNFLAGS --------
2525 <flag key="PILLAR" name="PILLAR" bit="1">Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals)</flag>
2526 ---------NOTES----------
2527 Supplies neerby energy based turrets with more power so they can fire more often.
2528 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
2529 model=&quot;../xonotic-data.pk3dir/models/turrets/radiant/reactor.md3&quot;
2530 </point>
2531
2532 <group name="turret_targettrigger" color=".5 .5 .5">
2533 Used to feed turrets capable of it with remote target info. currently only turret_hk supports this.
2534 </group>
2535
2536
2537 <point name="turret_walker" color="1 0 0" box="-32 -32 0 32 32 50">
2538 -----------KEYS------------
2539 <real key="turret_scale_damage" name="turret_scale_damage">2 = double damage, 0.5 = half</real>
2540 <real key="turret_scale_range" name="turret_scale_range">2 = double range, 0.5 = half</real>
2541 <real key="turret_scale_refire" name="turret_scale_refire">2 = doubble refire (SLOWER!), 0.5 = half (FASTER!)</real>
2542 <real key="turret_scale_ammo" name="turret_scale_ammo">2 = doubble ammo carry &amp; regen, 0.5 = half ammo carry &amp; regen</real>
2543 <real key="turret_scale_aim" name="turret_scale_aim">2 = aim twice as fast, 0,5 = aim at half speed</real>
2544 <real key="turret_scale_health" name="turret_scale_health">2 = double health, 0.5 = half</real>
2545 <integer key="team" name="team">5=red, 14=blue, 13=yellow, 10=pink</integer>
2546 -----------SPAWNFLAGS-----------
2547 ---------NOTES----------
2548
2549 A nasty mechanical critter that will engage longrange target with missiles, midrange with its minigun and melee things up close and personal.
2550
2551 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
2552 model=&quot;../xonotic-data.pk3dir/models/turrets/radiant/walker.md3&quot;
2553 </point>
2554
2555
2556 <point name="turret_ewheel" color="1 0 0" box="-32 -32 0 32 32 50">
2557 -----------KEYS------------
2558 <real key="turret_scale_damage" name="turret_scale_damage">2 = double damage, 0.5 = half</real>
2559 <real key="turret_scale_range" name="turret_scale_range">2 = double range, 0.5 = half</real>
2560 <real key="turret_scale_refire" name="turret_scale_refire">2 = doubble refire (SLOWER!), 0.5 = half (FASTER!)</real>
2561 <real key="turret_scale_ammo" name="turret_scale_ammo">2 = doubble ammo carry &amp; regen, 0.5 = half ammo carry &amp; regen</real>
2562 <real key="turret_scale_aim" name="turret_scale_aim">2 = aim twice as fast, 0,5 = aim at half speed</real>
2563 <real key="turret_scale_health" name="turret_scale_health">2 = double health, 0.5 = half</real>
2564 <integer key="team" name="team">5=red, 14=blue, 13=yellow, 10=pink</integer>
2565 -----------SPAWNFLAGS-----------
2566 ---------NOTES----------
2567
2568 Small, agile and moveing turret.
2569
2570 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
2571 model=&quot;../xonotic-data.pk3dir/models/turrets/radiant/ewheel.md3&quot;
2572 </point>
2573
2574
2575 <point name="turret_checkpoint" color="1 0 1" box="-32 -32 -32 32 32 32">
2576 -----------KEYS------------
2577 <target key="target" name="target">targetname of next wapoint in chain.</target>
2578 <real key="wait" name="wait">Pause at this point # seconds.</real>
2579 -----------SPAWNFLAGS-----------
2580
2581 ---------NOTES----------
2582 If a loop is of targets are formed, any unit entering this loop will patrol it indefinitly.
2583 If the checkpoint chain in not looped, the unit will go &quot;Roaming&quot; when the last point is reached.
2584 </point>
2585 <point name="vehicle_racer" color="0 0 1" box="-48 -48 0 48 48 32">
2586 Fast moving hover type vehicle, with low shield &amp; health.
2587 Primary weapon is a rapid fire energy cannon, secondary lockable rockets.
2588 -------- KEYS --------
2589 <integer key="team" name="team">5=red, 14=blue, 13=yellow, 10=pink</integer>
2590 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
2591 model=&quot;models/vehicles-static/wakazachi.md3&quot;
2592 </point>
2593
2594 <point name="vehicle_spiderbot" color="0 0 1" box="-48 -48 0 48 48 32">
2595 A slow moving 6 legged mech type vehicle that has plenty of health and shield.
2596 Primary weapon is twin miniguns, secondary eight rockets that can be guided by the pilot.
2597 -------- KEYS --------
2598 <integer key="team" name="team">5=red, 14=blue, 13=yellow, 10=pink</integer>
2599 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
2600 model=&quot;models/vehicles-static/spiderbot.md3&quot;
2601 </point>
2602
2603 <point name="vehicle_raptor" color="0 0 1" box="-48 -48 0 48 48 32">
2604 The raptor is primarily an air to ground fighter, it's quite lightly armored or shielded.
2605 Its main weapon is four rapid fire energy cannons, wich can be locked to track a target by aming at it for some time.
2606 Secondary is a pair of very powerful clusterbombs.
2607 -------- KEYS --------
2608 <integer key="team" name="team">5=red, 14=blue, 13=yellow, 10=pink</integer>
2609 -------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
2610 model=&quot;models/vehicles-static/raptor.md3&quot;
2611 </point>
2612
2613 <point name="vehicle_bumblebee" color="0 0 1" box="-48 -48 0 48 48 32">
2614 The bumblebee is a slow flying healer with 2 gunner slots.
2615 Its main weapon is a healing ray that can heal teammates and their vehicles.
2616 Secondary matches primary, but the vehicle can hold 2 extra players who act as gunners with the side cannons.
2617 -------- KEYS --------
2618 <integer key="team" name="team">5=red, 14=blue, 13=yellow, 10=pink</integer>
2619 </point>
2620 </classes>