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