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