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