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