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