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