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