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