From 96f404a3a537e7f4bc6cb6514f1d5b8f3a0a3079 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sun, 5 Dec 2010 17:16:18 +0100 Subject: [PATCH] add preliminary .ent files --- scripts/entities.def2ent | 2 +- scripts/entities.ent | 1948 ++++++++++++++++++++++++++++++++++++++ scripts/turrets.def | 12 +- scripts/turrets.ent | 229 +++++ 4 files changed, 2184 insertions(+), 7 deletions(-) create mode 100644 scripts/entities.ent create mode 100644 scripts/turrets.ent diff --git a/scripts/entities.def2ent b/scripts/entities.def2ent index d7e11f2e..bf312379 100644 --- a/scripts/entities.def2ent +++ b/scripts/entities.def2ent @@ -29,7 +29,7 @@ while(<$fh>) } # specialization -$types{angle} = "angle"; +$types{angle} = "direction"; $types{angles} = "angles"; $types{_color} = "color"; $types{colormod} = "color"; diff --git a/scripts/entities.ent b/scripts/entities.ent new file mode 100644 index 00000000..7ef0fa20 --- /dev/null +++ b/scripts/entities.ent @@ -0,0 +1,1948 @@ + + + +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 "scale up" entities in its box. +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. +-------- KEYS -------- +rotation angle of the sky surfaces. +Individual control of PITCH, YAW, and ROLL (default 0 0 0). +scaling factor (default 64), good values are between 50 and 300, depending on the map. + + + +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 "target" entity) +-------- KEYS -------- +the entity to be targeted by the projection +-------- NOTES -------- +This entity MUST contain one or more patch meshes. +The shaders of these patches SHOULD have the "polygonoffset" shader keyword (or you will get insane z-fighting). +The targeted entity is preferably an info_null. +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). + + + +Domination control point +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). +-------- KEYS -------- +message to be displayed to all players when this point is captured, preceded by the team's name. This defaults to " has captured a control point". You can specify different names for each point, for example " has captured the Lava Room". +How often this point gives its controlling team frags. +How many frags this point gives each wait cycle. +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +zbqry="zbqryf/qbzvangvba/qbz_hapynvzrq.zq3" + + + + +Domination team. +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). + +dom_team entites declare the teams (and the models the team uses) that are available in the domination game. Their position does not matter. + +model should be set to models/domination/dom_<team>.md3, where <team> is either "red", "blue", "yellow", or "pink". +-------- KEYS -------- +name of team (Red Team). Set to "" or don't define for the required blank team. +color of the team. See the "Helpful Extras" section in Docs/mapping.txt for info. +When this team captures control points, the points turn to this model. If this is the neutral team, points start out as this model. +Sound to be played on the control point when it's captured. Only players nearby will hear it. +Sound to be played to all players when the control point is captured. Also good for an announcer voice ("Red Team has captured a control point") + + + +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. +-------- KEYS -------- +The damage this trigger can take +The entity/entities to be triggered once this entity gets invisible +The name other entities can use to target this entity +particle effect name to show when destroyed +particle effect multiplier +optional replacement model to show when destroyed +names of debris models to show when destroyed, separated by spaces +sound to play when destroyed +damage to deal to the environment when destroyed +edge damage to deal to the environment when destroyed +damage radius +damage force +death message when a player gets hit by the explosion +death message when someone gets pushed into this (default: "was pushed into an explosion by"). The # character is replaced by the attacker name if present (and it instead does not get appended to the end) +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 +solidity of the debris: one of 0 = NOT, 1 = TRIGGER, 2 = BBOX, 3 = SLIDEBOX, 4 = BSP, 5 = CORPSE +initial velocity vector of the debris (static part) +initial velocity vector of the debris (random part) +initial angular velocity vector of the debris (random part) +time till the debris fades (average) +time till the debris fades (random part) +how long debris takes to fade +how much debris is affected by damage force (e.g. explosions) +skin number of debris +-------- SPAWNFLAGS -------- +if set, splash damage cannot activate the door, only direct damage can (requires health to be set) + + + +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. +-------- KEYS -------- +targetname of a target_objective + + + +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 "noise" key is set. Will crush the player when blocked. +-------- KEYS -------- +amount of time in seconds for one complete oscillation cycle (default 4). +sets the amount of travel of the oscillation movement (default 32). +sets the start offset of the oscillation cycle. Values must be 0 < phase < 1. Any integer phase value is the same as no offset (default 0). +path/name of .wav or .ogg file to play. Use looping sounds only (e.g. sound/world/drone6.wav - See Notes). +damage a player who gets crushed by it receives +interval to apply dmg to a player who is s in the way +death message when a player gets crushed +death message when someone gets pushed into this (default: "was thrown into a world of hurt by"). The # character is replaced by the attacker name if present (and it instead does not get appended to the end) +-------- SPAWNFLAGS -------- +entity will bob along the X axis. +entity will bob along the Y axis. + + + +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). +-------- KEYS -------- +angle amount of the swinging +frequency (cycles per second) of the swinging (if unspecified, a physically "somewhat correct" value is calculated that matches Quake 3) +sets the start offset of the oscillation cycle. Values must be 0 < phase < 1. Any integer phase value is the same as no offset (default 0). +path/name of .wav or .ogg file to play. Use looping sounds only (e.g. sound/world/drone6.wav - See Notes). +damage a player who gets crushed by it receives +interval to apply dmg to a player who is s in the way +death message when a player gets crushed +death message when someone gets pushed into this (default: "was thrown into a world of hurt by"). The # character is replaced by the attacker name if present (and it instead does not get appended to the end) + + + +When a button is touched by a player, it moves in the direction set by the "angle" key, triggers all its targets, stays pressed by an amount of time set by the "wait" key, then returns to it's original position where it can be operated again. +-------- KEYS -------- +determines the direction in which the button will move (up = -1, down = -2). +all entities with a matching targetname will be triggered. +all entities with a matching targetname will be triggered. +all entities with a matching targetname will be triggered. +all entities with a matching targetname will be triggered. +speed of button's displacement (default 40). +number of seconds button stays pressed (default 1, -1 = return immediately). +lip remaining at end of move (default 4 units). +(default 0) if set to any non-zero value, the button must take damage (any amount) to activate. +-------- SPAWNFLAGS -------- +if set, splash damage cannot activate the door, only direct damage can (requires health to be set) + + + +Normal sliding door entity. By default, the door will activate when player walks close to it or when damage is inflicted to it. +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). +-------- KEYS -------- +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 +death message when someone gets pushed into this (default: "was thrown into a world of hurt by"). The # character is replaced by the attacker name if present (and it instead does not get appended to the end) +determines the opening direction +if set, no touch field will be spawned and a remote button or trigger field activates the door. +if set, door must be shot open +movement speed (100 default) +wait before returning (3 default, -1 = never return) +lip remaining at end of move (8 default) +damage to inflict when blocked (when triggered and someone is in the way) +when 1, use default door sounds +sound when the door opens +sound when the door closes +-------- SPAWNFLAGS -------- +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). +the door won't link with another door it touches +causes the door to wait in both the start and end states for a trigger event. +if set, splash damage cannot activate the door, only direct damage can (requires health to be set) + + + +Normal rotating door entity that opens by rotating around an axis (default: Z). Use an origin brush to specify the rotation axis. +By default, the door will activate when player walks close to it or when damage is inflicted to it. +If DOOR_DONT_LINK is not set, the door will be linked with all doors it touches. +BIDIR makes the door work bidirectional, so that the opening direction is always away from the requestor. +The usage of bidirectional doors requires two manually instantiated triggers (trigger_multiple), the one to open it in the other direction +must have set trigger_reverse to 1. +BIDIR_IN_DOWN will the door prevent from reopening while closing if it is triggered from the other side. +-------- KEYS -------- +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 +death message when someone gets pushed into this (default: "was thrown into a world of hurt by"). The # character is replaced by the attacker name if present (and it instead does not get appended to the end) +determines the destination angle for opening. negative values reverse the direction (90 default) +if set, no touch field will be spawned and a remote button or trigger field activates the door. +if set, door must be shot open +speed to rotate (in degrees per second) +wait before returning (3 default, -1 = never return) +damage to inflict when blocked (when triggered and someone is in the way) +when 1, use default door sounds +sound when the door opens +sound when the door closes +-------- SPAWNFLAGS -------- +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). +the door won't link with another door it touches +causes the door to wait in both the start and end states for a trigger event. +if set, splash damage cannot activate the door, only direct damage can (requires health to be set) + + + +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. +-------- KEYS -------- +# of seconds before coming back +first entity key with one-line description +second entity key with one-line description +override WIDTH to move back (or height if going down) +override LENGTH to move sideways +damage to inflict when blocked (2 default) +text to display when activating the door, or death message if dmg is set +death message when someone gets pushed into this (default: "was thrown into a world of hurt by"). The # character is replaced by the attacker name if present (and it instead does not get appended to the end) +sound when opening backwards or closing +sound when opening sideways +sound when stopping +-------- SPAWNFLAGS -------- +only work once, then stay open +1st move is left of arrow +1st move is down from arrow +never respond to shots +even if targetname is set, respond to shots + + + +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. +-------- Q3MAP2 KEYS -------- +light map resolution factor +Allows per-entity control over shadow casting. Defaults to 0 on entities, 1 on world. 0 = no shadow casting. 1 = cast shadows on world. > 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. +Allows per-entity control over shadow reception. Defaults to 1 on everything (world shadows). 0 = receives NO shadows. > 1 = receive shadows only from corresponding keyed entities (see above) and world. < 1 = receive shadows ONLY from corresponding keyed entities. +Sets the cel shader used for this geometry. Note: omit the "textures/" prefix. +-------- KEYS -------- +Path/name for the TGA file used to guide the mapping of textures on the terrain surface. +number of unique root shaders that will be use on the terrain. +Path to the metashader used to assign textures to the terrain entity. Note: Omit the "textures/" prefix. +space separated list of height offsets for the index map + + + +a ladder, need i say no more +grab a trigger brush and put it in front of the part that you want the player to climb + + + +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. +-------- KEYS -------- +determines how fast the plat moves (default 150). +lip remaining at end of move (default 16). Has no effect if "height" is set. +if set, this will determine the total amount of vertical travel of the plat. +damage to inflict on player when he blocks operation of plat. Plat will reverse direction when blocked. +if set, the trigger that points to this will lower the plat each time it fires. The plat lowers and lifts someone up later. +2 for alternate sound set, -1 for silence, or use the fields below +platform starts moving sound +platform stop sound +kill message, when someone gets killed by this plat +death message when someone gets pushed into this (default: "was thrown into a world of hurt by"). The # character is replaced by the attacker name if present (and it instead does not get appended to the end) +-------- SPAWNFLAGS -------- +crush players hit by the platform instantly +-------- NOTES -------- +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 "height" 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 "lip" key. Using the "height" 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. + + + +This is an invisible area like a trigger, which rain falls inside of. +-------- KEYS -------- +falling direction (should be something like '0 0 -700', use the X and Y velocity for wind) +sets color of rain in the Quake palette (default 12 - white) +adjusts density, this many particles fall every second for a 1024x1024 area, default is 2000 + + + +Brush entity that spins in place on one axis (default Z). Use an origin brush to specify the rotation axis. +To rotate around another axis, make a func_wall with an explicit avelocity given. +-------- KEYS -------- +speed to rotate (in degrees per second) +path/name of looping .wav file to play. +Do this much dmg every .dmgtime interval when blocked +See above. (0.25s default) +kill message when crushed by this +death message when someone gets pushed into this (default: "was thrown into a world of hurt by"). The # character is replaced by the attacker name if present (and it instead does not get appended to the end) +-------- SPAWNFLAGS -------- +rotate around the X axis +rotate around the Y axis + + + +This is an invisible area like a trigger, which snow falls inside of. +-------- KEYS -------- +falling direction (should be something like '0 0 -300', use the X and Y velocity for wind) +sets color of snow in the Quake palette (default 12 - white) +adjusts density, this many particles fall every second for a 1024x1024 area, default is 2000 + + + +Point entity with EF_STARDUST applied. This will spawn a particle cloud with mostly golden particles. Used as eye-candy. + + + +Trains are moving solids that follow a cycle of path_corner entities. Origin brushes are NOT supported; they use the "mins" corner as reference (that is, lowest x, y, and z coordinates). +At each node, the train's mins corner hits exactly the path_corner. +Trains always start on in the game. +Trains do not damage the played when blocked. +Trains cannot emit sound. +Trains are not trigger-able or toggle-able. +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. +-------- KEYS -------- +default/initial speed of train (default 100 or overridden by speed value of targeted path_corner) +targetname of first path_corner to move to at the default speed; ideally, this path_corner shall be exactly where the train starts +path/name of .wav or .ogg file to play while moving. Use looping sounds only (e.g. sound/world/drone6.wav - See Notes). +damage a player who gets crushed by it receives +interval to apply dmg to a player who is s in the way +death message when a player gets crushed +death message when someone gets pushed into this (default: "was thrown into a world of hurt by"). The # character is replaced by the attacker name if present (and it instead does not get appended to the end) + + + +Location for use by the %l escape in "say" messages. +The closest "visible" info_location entity is chosen to find the right location name for a point. +-------- KEYS -------- +name of location, possibly with color codes + + + +Entity that does nothing, but may be targeted (e.g. to use its position) +-------- KEYS -------- +must match the target key of entity that uses this for pointing. + + + +Aiming target for q3map2-internal entities like _decal or light. Removes itself when loaded, so it can NOT be used for in-game stuff! +-------- KEYS -------- +the entity that requires an aiming direction points to this. + + + +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. +-------- KEYS -------- +this should point to a target_objective to decide when this spawning point is active. +trigger all entities with this targetname when someone spawns +weight of spawn point for random selection. Set to a lower value if you have many spawn points close together. Default value is 1. +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) + + + +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. +-------- KEYS -------- +weight of spawn point for random selection. Set to a lower value if you have many spawn points close together. Default value is 1. +trigger all entities with this targetname when someone spawns +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. +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) + + + +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. +-------- KEYS -------- +this should point to a target_objective to decide when this spawning point is active. +trigger all entities with this targetname when someone spawns +weight of spawn point for random selection. Set to a lower value if you have many spawn points close together. Default value is 1. +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) + + + +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. +-------- KEYS -------- +weight of spawn point for random selection. Set to a lower value if you have many spawn points close together. Default value is 1. +trigger all entities with this targetname when someone spawns +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. +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) + + + +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. +-------- KEYS -------- +weight of spawn point for random selection. Set to a lower value if you have many spawn points close together. Default value is 1. +trigger all entities with this targetname when someone spawns +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. +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) + + + +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. +-------- KEYS -------- +weight of spawn point for random selection. Set to a lower value if you have many spawn points close together. Default value is 1. +trigger all entities with this targetname when someone spawns +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. +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) + + + +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. +-------- KEYS -------- +weight of spawn point for random selection. Set to a lower value if you have many spawn points close together. Default value is 1. +trigger all entities with this targetname when someone spawns +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. +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) + + + +Large Armor (default 100 armor points) +-------- KEYS -------- +time till it respawns (default: 30) +amount of armor it gives (default: 100 (g_pickup_armorlarge)) +max of armor it increases to (default: 999 (g_pickup_armorlarge_max)) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/items/g_a25.md3" + + + +Big Armor (default 50 armor points) +-------- KEYS -------- +time till it respawns (default: 20) +amount of armor it gives (default: 50 (g_pickup_armorlarge)) +max of armor it increases to (default: 999 (g_pickup_armorlarge_max)) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/items/g_a50.md3" + + + +Medium Armor (default 25 armor points) +-------- KEYS -------- +time till it respawns (default: 20) +amount of armor it gives (default: 25 (g_pickup_armormedium)) +max of armor it increases to (default: 999 (g_pickup_armormedium_max)) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/items/g_armormedium.md3" + + + +Small Armor (default 5 armor points) +-------- KEYS -------- +time till it respawns (default: 15) +amount of armor it gives (default: 5 (g_pickup_armorsmall)) +max of armor it increases to (default: 999 (g_pickup_armorsmall_max)) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/items/g_a1.md3" + + + +Machine Gun ammo +-------- KEYS -------- +bullets gained by this item (if unset, g_pickup_nails is used) +time till it respawns (default: 15) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/items/a_bullets.md3" + + + +Nex, Electro and Crylink ammo +-------- KEYS -------- +cells gained by this item (if unset, g_pickup_cells is used) +time till it respawns (default: 15) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/items/a_cells.md3" + + + +CTF flag for team one (Red). Use more than one if you really insist. +-------- KEYS -------- +model to use +scaling factor (DO set this when using your own model!) +sound played when flag is picked up +sound played when flag is returned +sound played when flag is captured +sound played when flag is lost in the field and respawns itself +-------- ZBQRY SBE ENQVNAG BAYL - QB ABG FRG GUVF NF N XRL -------- +zbqry="zbqryf/pgs/enqvnag/synt_erq_enqvnag.zq3" + + + +CTF flag for team two (Blue). Use more than one if you really insist. +-------- KEYS -------- +model to use +scaling factor (DO set this when using your own model!) +sound played when flag is picked up +sound played when flag is returned +sound played when flag is captured +sound played when flag is lost in the field and respawns itself +-------- ZBQRY SBE ENQVNAG BAYL - QB ABG FRG GUVF NF N XRL -------- +zbqry="zbqryf/pgs/enqvnag/synt_oyhr_enqvnag.zq3" + + + +Large Health (default 50 health points) +-------- KEYS -------- +time till it respawns (default: 20) +amount of health it gives (default: 50 (g_pickup_healthlarge)) +max of health it increases to (default: 999 (g_pickup_healthlarge_max)) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/items/g_h50.md3" + + + +Medium Health (default 25 health points) +-------- KEYS -------- +time till it respawns (default: 15) +amount of health it gives (default: 25 (g_pickup_healthmedium)) +max of health it increases to (default: 999 (g_pickup_healthmedium_max)) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/items/g_h25.md3" + + + +Mega Health (default 100 health points) +In Minstagib, this randomly turns into either an invisibility, an extra lives or a speed power-up with a default respawn time of 120. +-------- KEYS -------- +time till it respawns (default: 30) +amount of health it gives (default: 100 (g_pickup_healthmega)) +max of health it increases to (default: 999 (g_pickup_healthmega_max)) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/items/g_h100.md3" + + + +Small Health (default 5 health points) +-------- KEYS -------- +time till it respawns (default: 15) +amount of health it gives (default: 5 (g_pickup_healthsmall)) +max of health it increases to (default: 5 (g_pickup_healthsmall_max)) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/items/g_h1.md3" + + + +Strong Shield +In Minstagib, this randomly turns into either an invisibility, an extra lives or a speed power-up with a default respawn time of 120. +-------- KEYS -------- +time till it respawns (default: 120) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/items/g_invincible.md3" + + + +Minstagib ammo. +Always contains 5 (g_minstagib_ammo_drop) shots. +It only appears when playing Minstagib and prevents auto-replacement of weapon_nex & weapon_rocketlauncher when used. +-------- KEYS -------- +time till it respawns (default: 45) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/items/a_cells.md3" + + + +Rocket Launcher, Hagar and Mortar ammo +-------- KEYS -------- +rockets gained by this item (if unset, g_pickup_rockets is used) +time till it respawns (default: 15) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/items/a_rockets.md3" + + + +Shotgun ammo +-------- KEYS -------- +shells gained by this item (if unset, g_pickup_shells is used) +time till it respawns (default: 15) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/items/a_shells.md3" + + + +Strength aka Quad damage +In Minstagib, this randomly turns into either an invisibility, an extra lives or a speed power-up with a default respawn time of 120. +-------- KEYS -------- +time till it respawns (default: 120) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/items/g_strength.md3" + + + +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. +Maximum intensity (in a radius 16 sphere around the light): regular lights have light/256, linear lights have light/8000-16*fade. +Falloff radius to a negligible light amount: regular lights have light have 16*sqrt(light), linear lights have light/(fade*8000). +By this you see that you HAVE to specify fade for a linear light... use values below 0.01 there. +-------- KEYS -------- +intensity factor (default: 300). A linear +weighted RGB value of light color (default white - 1.0 1.0 1.0). +Lights pointed at a target will be spotlights. +radius of a spotlight at the target point (default: 64) +scales angle attenuation +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. +filter radius for this light, similar to -light -filter +if 1, this light is an infinite sun light +number of samples to use to get soft shadows from a light +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 +-------- SPAWNFLAGS -------- +Use a linear falloff. Default is inverse distance squared (more realistic). +Ignore angle attenuation. +Do not affect the light grid (dynamic entity lighting). + + + +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. +Maximum intensity (in a radius 16 sphere around the light): regular lights have light/256, linear lights have light/8000-16*fade. +Falloff radius to a negligible light amount: regular lights have light have 16*sqrt(light), linear lights have light/(fade*8000). +By this you see that you HAVE to specify fade for a linear light... use values below 0.01 there. +-------- KEYS -------- +intensity factor (default: 300). A linear +weighted RGB value of light color (default white - 1.0 1.0 1.0). +Lights pointed at a target will be spotlights. +radius of a spotlight at the target point (default: 64) +scales angle attenuation +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. +filter radius for this light, similar to -light -filter +if 1, this light is an infinite sun light +number of samples to use to get soft shadows from a light +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 +-------- SPAWNFLAGS -------- +Use a linear falloff. Default is inverse distance squared (more realistic). +Ignore angle attenuation. + + + +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. +-------- KEYS -------- +target_position the laser targets (may be another entity, preferably target_position, possibly controlled by misc_follow) +name of particle effect for the beam end point (see effectinfo.txt; default is laser_deadly if dmg is set, and none if not) +color of the laser beam (default: red, that is, 1 0 0) +damage inflicted by the beam per second, or -1 for an instant-death ray +name to target this (then its state is toggled) +when set, makes a dark laser of the given strength; may be combined with colormod +scales the beam thickness (default 1) +scales the dynamic light radius at the endpoint (default 1, -1 to turn off) +team that gets hurt (5 = red, 14 = blue, etc) (when set, only this team can get hurt) +-------- SPAWNFLAGS -------- +when targeted, the laser will start switched on +the laser does not extend over its target like light would do, but stops there (takes more bandwidth) +the laser passes through solid (faster rendering on clientside); non-FINITE lasers then never display their impact effect "mdl"! +the team that owns this will NOT get hurt +-------- NOTES -------- +Use trigger_monoflop if you want the laser to turn off for a while, then turn back on. +When the laser's target has itself target set, its targets are triggered when someone enters or leaves the laser. + + + +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. +-------- Q3MAP2 KEYS -------- +file name of model to include +frame of model to include +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. +view direction of the model +view direction of the model in PITCH YAW ROLL +scaling factor +scaling vector for non-uniform scaling +Allows per-entity control over shadow casting. Defaults to 0 on entities, 1 on world. 0 = no shadow casting. 1 = cast shadows on world. > 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. +Allows per-entity control over shadow reception. Defaults to 1 on everything (world shadows). 0 = receives NO shadows. > 1 = receive shadows only from corresponding keyed entities (see above) and world. < 1 = receive shadows ONLY from corresponding keyed entities. +light map resolution factor +the cel shader for this +-------- SPAWNFLAGS -------- +make the model solid +force the model to go through the -meta pipeline and enable lightmapping +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) +always extrude downwards (for terrain) +use the color value as alpha (for terrain blending) +do not regenerate normals + + + +A way to load models from a map by the engine (e.g. self-animated zym models). +Is non-solid by default. +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! +-------- KEYS -------- +when used as a point entity, file name of model to load; when used as a brush entity, do not specify that +animation frame to play (for self-animated zym models) +number of skin to load (when model is used) +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 +solidity: one of 0 = NOT, 1 = TRIGGER, 2 = BBOX, 3 = SLIDEBOX, 4 = BSP, 5 = CORPSE +vector giving its angular velocity (useful for spinning models) +scale factor of the model (range: 0.0625 to 15.9375) +1024 + 16 * pantscolor + shirtcolor +when movetype isn't 0, initial velocity vector +initial looking direction +scaling factor +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 +distance after which to show the first LOD model replacement (default: 1000) +distance after which to show the second LOD model replacement (default: 2000) +file name of the first LOD model replacement +file name of the second LOD model replacement +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. +a vector describing a random offset this entity will be moved on initial spawn. This corresponds to the "origin" field. Works on any non-q3map2-only entity. +a vector in the order "pitch yaw roll" 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 "angles" field. Works on any non-q3map2-only entity. +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 "angle" field. Works on any non-q3map2-only entity. +either a + sign and a comma separated list of game types or the aliases "teams" and "noteams" to ONLY show the entity in the listed game types, or a - sign and a comma separated list of game types or the aliases "teams" and "noteams" 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. +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: "cvar==value", "cvar!=value", "cvar<value", "cvar>value", "cvar<=value", "cvar>=value", "cvar===string", "cvar!==string", "cvar", "!cvar". Ridiculous example filter: "-g_balance_health_start<150 g_balance_armor_start==0" spawns an item only if start health is at least 150 or start armor is not 0. Other ideas: "+g_campaign" and "-g_campaign" for enabling/disabling items when the map is played as part of the campaign. +-------- SPAWNFLAGS -------- +align the origin to the surface below the model +align the bottom of the model to the surface below it + + + +NOTE - THIS ENTITY IS BROKEN REGARDING CLIENT AND PROJECTILE PREDICTION. DO NOT USE IT. USE NONSOLID SHADERS OR FUNC_CLIENTILLUSIONARY INSTEAD. +A non-solid brush entity. Use func_wall if you want it solid. +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! +-------- KEYS -------- +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 +vector giving its angular velocity (useful for spinning models) +scale factor of the model (range: 0.0625 to 15.9375) +1024 + 16 * pantscolor + shirtcolor +when movetype isn't 0, initial velocity vector +initial looking direction +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 +distance after which to show the first LOD model replacement (default: 1000) +distance after which to show the second LOD model replacement (default: 2000) +targetname of the first LOD model entity (can be used instead of lodmodel1 to use a brush model instead) +targetname of the second LOD model entity (can be used instead of lodmodel2 to use a brush model instead) +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. +a vector describing a random offset this entity will be moved on initial spawn. This corresponds to the "origin" field. Works on any non-q3map2-only entity. +a vector in the order "pitch yaw roll" 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 "angles" field. Works on any non-q3map2-only entity. +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 "angle" field. Works on any non-q3map2-only entity. +either a + sign and a comma separated list of game types or the aliases "teams" and "noteams" to ONLY show the entity in the listed game types, or a - sign and a comma separated list of game types or the aliases "teams" and "noteams" 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. +-------- Q3MAP2 KEYS -------- +Allows per-entity control over shadow casting. Defaults to 0 on entities, 1 on world. 0 = no shadow casting. 1 = cast shadows on world. > 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. +Allows per-entity control over shadow reception. Defaults to 1 on everything (world shadows). 0 = receives NO shadows. > 1 = receive shadows only from corresponding keyed entities (see above) and world. < 1 = receive shadows ONLY from corresponding keyed entities. +copies brushes from entity with identical _clonename. Still needs a single brush that will get replaced. +template name so one can clone from it +override automatically found minimum coordinate bounds +override automatically found maximum coordinate bounds +if targeted by a misc_model, its brushes get inserted into this +Sets the cel shader used for this geometry. Note: omit the "textures/" prefix. + + + +A solid brush entity. Use func_clientillusionary if you want it non-solid. +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! +-------- KEYS -------- +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 +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) +vector giving its angular velocity (useful for spinning models) +scale factor of the model (range: 0.0625 to 15.9375) +1024 + 16 * pantscolor + shirtcolor +when movetype isn't 0, initial velocity vector +initial looking direction +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 +distance after which to show the first LOD model replacement (default: 1000) +distance after which to show the second LOD model replacement (default: 2000) +targetname of the first LOD model entity (can be used instead of lodmodel1 to use a brush model instead) +targetname of the second LOD model entity (can be used instead of lodmodel2 to use a brush model instead) +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. +a vector describing a random offset this entity will be moved on initial spawn. This corresponds to the "origin" field. Works on any non-q3map2-only entity. +a vector in the order "pitch yaw roll" 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 "angles" field. Works on any non-q3map2-only entity. +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 "angle" field. Works on any non-q3map2-only entity. +either a + sign and a comma separated list of game types or the aliases "teams" and "noteams" to ONLY show the entity in the listed game types, or a - sign and a comma separated list of game types or the aliases "teams" and "noteams" 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. +-------- Q3MAP2 KEYS -------- +Allows per-entity control over shadow casting. Defaults to 0 on entities, 1 on world. 0 = no shadow casting. 1 = cast shadows on world. > 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. +Allows per-entity control over shadow reception. Defaults to 1 on everything (world shadows). 0 = receives NO shadows. > 1 = receive shadows only from corresponding keyed entities (see above) and world. < 1 = receive shadows ONLY from corresponding keyed entities. +copies brushes from entity with identical _clonename. Still needs a single brush that will get replaced. +template name so one can clone from it +override automatically found minimum coordinate bounds +override automatically found maximum coordinate bounds +if targeted by a misc_model, its brushes get inserted into this +Sets the cel shader used for this geometry. Note: omit the "textures/" prefix. + + + +A way to load models from a map by the engine (e.g. self-animated zym models) on client side. +Is non-solid by default. +-------- KEYS -------- +scale factor of the model (range: 0.0625 to 15.9375) +1024 + 16 * pantscolor + shirtcolor +initial looking direction +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. +emitter class from the BGM script (if prefixed with <, movedir is treated as an angle value) +attack time of the effect strength (0 to 3.9) +decay time of the effect strength (0 to 3.9) +sustain level of the effect strength (0.1 to 1, set to -1 to disable sustain) +release time of the effect strength (0 to 3.9) +vector by which the entity moves when "pressed" by the bgmscript +alpha change when "pressed" by the bgmscript (if > 0, it fades in when pressed, if < 0, it fades out when pressed) +a vector describing a random offset this entity will be moved on initial spawn. This corresponds to the "origin" field. Works on any non-q3map2-only entity. +a vector in the order "pitch yaw roll" 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 "angles" field. Works on any non-q3map2-only entity. +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 "angle" field. Works on any non-q3map2-only entity. +either a + sign and a comma separated list of game types or the aliases "teams" and "noteams" to ONLY show the entity in the listed game types, or a - sign and a comma separated list of game types or the aliases "teams" and "noteams" 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. +-------- SPAWNFLAGS -------- +align the origin to the surface below the model +align the bottom of the model to the surface below it + + + +A client-side non-solid brush entity. Use func_wall if you want it solid. +-------- KEYS -------- +scale factor of the model (range: 0.0625 to 15.9375) +1024 + 16 * pantscolor + shirtcolor +initial looking direction +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. +emitter class from the BGM script +attack time of the effect strength (0 to 3.9) +decay time of the effect strength (0 to 3.9) +sustain level of the effect strength (0.1 to 1, set to -1 to disable sustain) +release time of the effect strength (0 to 3.9) +vector by which the entity moves when "pressed" by the bgmscript +alpha change when "pressed" by the bgmscript (if > 0, it fades in when pressed, if < 0, it fades out when pressed) +a vector describing a random offset this entity will be moved on initial spawn. This corresponds to the "origin" field. Works on any non-q3map2-only entity. +a vector in the order "pitch yaw roll" 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 "angles" field. Works on any non-q3map2-only entity. +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 "angle" field. Works on any non-q3map2-only entity. +either a + sign and a comma separated list of game types or the aliases "teams" and "noteams" to ONLY show the entity in the listed game types, or a - sign and a comma separated list of game types or the aliases "teams" and "noteams" 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. +-------- Q3MAP2 KEYS -------- +Allows per-entity control over shadow casting. Defaults to 0 on entities, 1 on world. 0 = no shadow casting. 1 = cast shadows on world. > 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. +Allows per-entity control over shadow reception. Defaults to 1 on everything (world shadows). 0 = receives NO shadows. > 1 = receive shadows only from corresponding keyed entities (see above) and world. < 1 = receive shadows ONLY from corresponding keyed entities. +copies brushes from entity with identical _clonename. Still needs a single brush that will get replaced. +template name so one can clone from it +override automatically found minimum coordinate bounds +override automatically found maximum coordinate bounds +if targeted by a misc_model, its brushes get inserted into this +Sets the cel shader used for this geometry. Note: omit the "textures/" prefix. + + + +NOTE - THIS ENTITY IS IN MOST USE CASES BROKEN REGARDING CLIENT AND PROJECTILE PREDICTION. DO NOT USE IT. USE FUNC_WALL INSTEAD. +A client-side solid brush entity. Use func_clientillusionary if you want it non-solid. +-------- KEYS -------- +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) +scale factor of the model (range: 0.0625 to 15.9375) +1024 + 16 * pantscolor + shirtcolor +initial looking direction +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. +emitter class from the BGM script +attack time of the effect strength (0 to 3.9) +decay time of the effect strength (0 to 3.9) +sustain level of the effect strength (0.1 to 1, set to -1 to disable sustain) +release time of the effect strength (0 to 3.9) +vector by which the entity moves when "pressed" by the bgmscript +alpha change when "pressed" by the bgmscript (if > 0, it fades in when pressed, if < 0, it fades out when pressed) +a vector describing a random offset this entity will be moved on initial spawn. This corresponds to the "origin" field. Works on any non-q3map2-only entity. +a vector in the order "pitch yaw roll" 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 "angles" field. Works on any non-q3map2-only entity. +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 "angle" field. Works on any non-q3map2-only entity. +either a + sign and a comma separated list of game types or the aliases "teams" and "noteams" to ONLY show the entity in the listed game types, or a - sign and a comma separated list of game types or the aliases "teams" and "noteams" 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. +-------- Q3MAP2 KEYS -------- +Allows per-entity control over shadow casting. Defaults to 0 on entities, 1 on world. 0 = no shadow casting. 1 = cast shadows on world. > 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. +Allows per-entity control over shadow reception. Defaults to 1 on everything (world shadows). 0 = receives NO shadows. > 1 = receive shadows only from corresponding keyed entities (see above) and world. < 1 = receive shadows ONLY from corresponding keyed entities. +copies brushes from entity with identical _clonename. Still needs a single brush that will get replaced. +template name so one can clone from it +override automatically found minimum coordinate bounds +override automatically found maximum coordinate bounds +if targeted by a misc_model, its brushes get inserted into this +Sets the cel shader used for this geometry. Note: omit the "textures/" prefix. + + + +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. +-------- KEYS -------- +make the trigger_teleporter point to this. +target to activate when a teleporter targeting this is used +target to activate when a teleporter targeting this is used +target to activate when a teleporter targeting this is used +target to activate when a teleporter targeting this is used +direction in which player will look when teleported, OR use +pitch and yaw when coming out of the teleporter (also specifies the direction the player will aim when coming out) +weight for random selection, in case a teleporter points at multiple misc_teleporter_dest +maximum speed cap for the teleported player (if -1, teleported players will have no speed) + + + +Control point. Be sure to give this enough clearance so that the shootable part has room to exist +This should link to an onslaught_controlpoint entity or onslaught_generator entity. +-------- KEYS -------- +name that onslaught_link entities will use to target this. +target any entities that are tied to this control point, such as vehicles and buildable structure entities. +name of this control point (should reflect the location in the map, such as "center bridge", "north tower", etc) + + + +Base generator. + +onslaught_link entities can target this. +-------- KEYS -------- +team that owns this generator (5 = red, 14 = blue, etc), MUST BE SET. +name that onslaught_link entities will use to target this. + + + +Link between control points. + +This entity targets two different onslaught_controlpoint or onslaught_generator entities, and suppresses shielding on both if they are owned by different teams. +-------- KEYS -------- +first control point. +second control point. + + + +Path corner entity that func_train will follow. +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) +-------- KEYS -------- +point to next path_corner in the path. +the train following the path or the previous path_corner in the path points to this. +speed of func_train while moving to this path corner. If unset, the value from the func_train will be used. +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 + + + +Spawn point for runes in a runematch. +Runematch can work without runes also, it then spawn runes at random safe locations. + + + +This entity ends the current assault round if triggered or if the timelimit is reached. +Ending a round means swapping attacker/defender teams, resetting objectives and rewarding the winning team. +Every assault map needs this entity. There should only be one per map. +-------- KEYS -------- +Name to target this entity + + + +This entity triggers its targets whenever a new assault round is started. This can be used to e.g. activate the first objective. +-------- KEYS -------- +targetname of entities to be enabled/triggered on round start (e.g. the first target_objective) +targetname of entities to be enabled/triggered on round start (e.g. the func_assault_destructibles targeting the target_objective) +targetname of entities to be enabled/triggered on round start +targetname of entities to be enabled/triggered on round start + + + +target_objective controls an objective. Once triggered the objective is active and has 100 "health" points. If this "health" 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. +-------- KEYS -------- +targetname of entities to be enabled/triggered on objective fulfilling (e.g. the next target_objective, or target_assault_roundend) +targetname of entities to be enabled/triggered on objective fulfilling (e.g. the func_assault_destructibles targeting the target_objective) +targetname of entities to be enabled/triggered on objective fulfilling +targetname of entities to be enabled/triggered on objective fulfilling +targetname for this entity so it can be triggered by other entities. + + + +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. +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 ("Defend" to defenders, "Destroy"/"Push" to attackers) which can be seen through walls. +-------- KEYS -------- +The targetname of the target_objective you want to manipulate. +Name for other entities to target this entity. +The amount of "health"-points you want to subtract from the objective health. Defaults to 101. Also used as score for triggering this objective. + + + +Aiming target for entities like light and trigger_push. +-------- KEYS -------- +the entity that requires an aiming direction points to this. +target to activate when a jumppad targeting this is used + + + +Sound generating entity that plays sound files. +If targeted, it plays the sound file every time when triggered. +If not targeted, it loops the sound file as an ambient noise. +-------- KEYS -------- +path/name of .wav/.ogg file to play +the activating button or trigger points to this. +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) +volume of the sound + + + +Acts as an intermediary for an action that takes multiple inputs. +After the counter has been triggered "count" times, it will fire all of its targets and remove itself. +-------- KEYS -------- +how many times this needs to be triggered to activate its targets +trigger all entities with this targetname when triggered +name that identifies this entity so it can be triggered +delay the triggering by the given time +print this message to the player who activated the trigger +remove all entities with this targetname when triggered +-------- SPAWNFLAGS -------- +don't print a "2 more to go..."-like message when triggered + + + +Trigger that delays triggering by a given amount of time. Only one action can be waited for; if triggered again before the "wait" time expires, the timer will restart (as opposed to trigger_relay). +-------- KEYS -------- +delay the triggering by the given time +trigger all entities with this targetname when triggered +name that identifies this entity so it can be triggered +print this message to the player who activated the trigger +remove all entities with this targetname when triggered + + + +Any object touching this will be hurt. +Has the useful effect of automatically returning flags, keys and runes when they touch it. +-------- KEYS -------- +amount of damage to deal (default: 1000) +kill message when someone gets killed by this (default: "was in the wrong place") +kill message when someone gets pushed into this (default: "was thrown into a world of hurt by"). The # character is replaced by the attacker name if present (and it instead does not get appended to the end) +team that gets hurt (5 = red, 14 = blue, etc) (when set, only this team can get hurt) +-------- SPAWNFLAGS -------- +the team that owns this will NOT jump when touching this + + + +An accelerator/dampener/wind field. +Can be used in two ways: +"dampener field": just set strength to a value from 0 to 1. Entering the field will slow down to this factor. +"accelerator field": just set strength to a value from 1 to infinity. Entering the field will accelerate by this factor. +"wind field": 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. +"gravity field": 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. +-------- KEYS -------- +"wind field": points to the target_position to which the player will get pushed. +"wind field", "gravity field": amount of force per second to apply. "dampener/accelerator field": slowdown/speedup factor. +"gravity field": 0 means no falloff, 1 means linear falloff (zero at the outside), 2 means inverted linear falloff (zero at the inside) + + + +Variable sized repeatable trigger. Must be targeted at one or more entities. If "health" is set, the trigger must be killed to activate each time. +-------- KEYS -------- +amount of damage that has to be dealt to the trigger to activate (it then won't respond to merely touching it) +prevent triggering again for this amount of time (default: 0.2, set to -1 to wait indefinitely, or -2 to not wait at all) +1 to play misc/secret.wav, 2 to play misc/talk.wav, 3 to play misc/trigger1.wav +path to sound file, if you want to play something else +trigger all entities with this targetname when triggered +trigger all entities with this targetname when triggered +trigger all entities with this targetname when triggered +trigger all entities with this targetname when triggered +name that identifies this entity so it can be triggered +delay the triggering by the given time +print this message to the player who activated the trigger +remove all entities with this targetname when triggered +-------- SPAWNFLAGS -------- +the trigger can only be triggered by other entities, not by touching or firing (you should probably use trigger_relay or trigger_delay instead) +the trigger responds to all entities, not just players (useful for targetting trigger_items) +if set, splash damage cannot activate the door, only direct damage can (requires health to be set) + + + +Variable sized repeatable trigger. Must be targeted at one or more entities. If "health" is set, the trigger must be killed to activate each time. +Basically, it's a use-once trigger_multiple. +-------- KEYS -------- +amount of damage that has to be dealt to the trigger to activate (it then won't respond to merely touching it) +1 to play misc/secret.wav, 2 to play misc/talk.wav, 3 to play misc/trigger1.wav +path to sound file, if you want to play something else +trigger all entities with this targetname when triggered +name that identifies this entity so it can be triggered +delay the triggering by the given time +print this message to the player who activated the trigger +remove all entities with this targetname when triggered +-------- SPAWNFLAGS -------- +the trigger can only be triggered by other entities, not by touching or firing (you should probably use trigger_relay or trigger_delay instead) +if set, splash damage cannot activate the door, only direct damage can (requires health to be set) + + + +Jump pad. What else? +Can be used in three ways: +Xonotic "target/height" 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. +Q3A "target" way: put the target_position at the apex of the jump, and hope the player will land at the right spot. Good luck. +Quake "movedir/speed" way: player will get velocity movedir * speed * 10 when using the jump pad +-------- KEYS -------- +point the player will fly to when using the jump pad (use a target_position here) +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 +when target is not set, direction vector to push to +speed of jump pad (default: 1000) +sound to play when jump pad is used; default is misc/jumppad.wav; you can set it to "" to make the pad silent +team that owns this jump pad (5 = red, 14 = blue, etc) (when set, only this team can teleport) +when targeted by a func_button, pressing the button will reassign the teleporter to the team of the activator. +-------- SPAWNFLAGS -------- +the team that owns the teleporter will NOT jump when touching this + + + +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. +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. +More than one "trigger event" can be delayed at once, as opposed to trigger_delay. +-------- KEYS -------- +trigger all entities with this targetname when triggered +trigger all entities with this targetname when triggered +trigger all entities with this targetname when triggered +trigger all entities with this targetname when triggered +name that identifies this entity so it can be triggered +delay the triggering by the given time +print this message to the player who activated the trigger +remove all entities with this targetname when triggered + + + +Players getting into the swamp will get slowed down and damaged +-------- KEYS -------- +damage per interval to deal (default is 5) +interval of damage when in swamp (default is 1) +amount of slowdown caused by the swamp (default is 0.5) + + + +Touching this will teleport players to the location of the targeted misc_teleporter_dest entity. +Note that in Xonotic, teleporters preserve momentum of the player using them. +-------- KEYS -------- +this must point to a misc_teleporter_dest entity. If it points to more than one, a destination is randomly selected on teleport. +target to activate when the teleporter is used +target to activate when the teleporter is used +target to activate when the teleporter is used +team that owns this teleporter (5 = red, 14 = blue, etc) (when set, only this team can teleport) +when targeted by a func_button, pressing the button will reassign the teleporter to the team of the activator. +-------- SPAWNFLAGS -------- +the team that owns the teleporter will NOT teleport when touching this + + + +the Crylink +-------- KEYS -------- +initial cells of the weapon (if unset, g_pickup_cells is used) +time till it respawns (default: 15) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/weapons/g_crylink.md3" + + + +the Electro +-------- KEYS -------- +initial cells of the weapon (if unset, g_pickup_cells is used) +time till it respawns (default: 15) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/weapons/g_electro.md3" + + + +the Mortar +-------- KEYS -------- +initial rockets of the weapon (if unset, g_pickup_rockets is used) +time till it respawns (default: 15) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/weapons/g_gl.md3" + + + +the Hagar +-------- KEYS -------- +initial rockets of the weapon (if unset, g_pickup_rockets is used) +time till it respawns (default: 15) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/weapons/g_hagar.md3" + + + +the Laser. Note that unless you use + settemp_for_type all g_start_weapon_laser 0 +in your mapinfo file, everyone will already spawn with one, making this pickup useless. +-------- KEYS -------- +time till it respawns (default: 15) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/weapons/g_laser.md3" + + + +the Nex +In Minstagib, this turns into an item_minst_cells if no explicit item_minst_cells have been placed. +-------- KEYS -------- +initial cells of the weapon (if unset, g_pickup_cells is used) +time till it respawns (default: 15 * g_balance_nex_respawntime_modifier) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/weapons/g_nex.md3" + + + +the Rocket Launcher +In Minstagib, this turns into an item_minst_cells if no explicit item_minst_cells have been placed. +-------- KEYS -------- +initial rockets of the weapon (if unset, g_pickup_rockets is used) +time till it respawns (default: 15) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/weapons/g_rl.md3" + + + +the Shotgun. Note that unless you use + settemp_for_type all g_start_weapon_shotgun 0 +in your mapinfo file, everyone will already spawn with one, making this pickup useless. +-------- KEYS -------- +initial shells of the weapon (if unset, g_pickup_shells is used) +time till it respawns (default: 15) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/weapons/g_shotgun.md3" + + + +the Machine Gun +-------- KEYS -------- +initial bullets of the weapon (if unset, g_pickup_nails is used) +time till it respawns (default: 15) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/weapons/g_uzi.md3" + + + +The world. +If you see this, the currently selected brush is not of an entity. +-------- KEYS -------- +fog parameters of the map (density red green blue alpha mindist maxdist maxheight fade-height); works just like the "fog" console command +name of the author of the map, if not specified in "message". Will get copied to the "author" entry of the mapinfo file when none is present. +text to print at user logon. Used for name of level. Ideally: "NAMEOFLEVEL by AUTHOR". Will get copied to the "title" and "author" entries of the mapinfo file when none is present. +one-line description of the map. Will get copied to the "description" entry of the mapinfo file when none is present. +-------- Q3MAP2 KEYS -------- +vector specifying the automatic vis subdivision block size (default: 1024 1024 1024) +lightgrid granularity vector (default: 64 64 128) +color of the global light parameters +light added to all surfaces +minimum grid light +minimum light value on both surfaces and lightgrid +_keepLights: do not remove light entities from the map (useful e.g. for realtime lighting) +flood light parameters (red green blue distance intensity), start with 240 240 255 1024 128 +range after which everything is completely invisible by fog (when fog is being used) +turn off sun defined by shaders (useful if you defined your own light entity to be a sun) +ignore leaks when compiling +light map resolution factor +Allows per-entity control over shadow casting. Defaults to 0 on entities, 1 on world. 0 = no shadow casting.1 = cast shadows on world. > 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. +Allows per-entity control over shadow reception. Defaults to 1 on everything (world shadows). 0 = receives NO shadows. > 1 = receive shadows only from corresponding keyed entities (see above) and world. < 1 = receive shadows ONLY from corresponding keyed entities. +Sets the cel shader used for this geometry. Note: omit the "textures/" prefix. + + + +A checkpoint, for the race game mode. Be sure to make them quite long, so they actually catch a player reliably! +-------- KEYS -------- +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! +Death message, when touching checkpoints in the wrong order. +Death message when someone gets pushed into this (default: "was thrown into a world of hurt by"). The # character is replaced by the attacker name if present (and it instead does not get appended to the end) +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. +when the checkpoint is passed, these entities are triggered. Useful for forcing items in certain areas using trigger_items +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 +reason to display when the penalty time is imposed. Default: "missing a checkpoint" +-------- SPAWNFLAGS -------- +the checkpoint will not become active when touched, it HAS to be targeted +only trigger the targets when the checkpoint actually was reached in a valid way (that is, not when going back) +the checkpoint kills when used at the wrong time +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 + + + +A penalty trigger. +-------- KEYS -------- +this penalty time is given if passing this trigger +reason to display when the penalty time is imposed. Default: "leaving the track" +-------- SPAWNFLAGS -------- +the trigger will not become active when touched, it HAS to be targeted + + + +Race spawn point. +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. +-------- KEYS -------- +this should point to a trigger_race_checkpoint to decide when this spawning point is active. The checkpoint has to be AFTER this spawn. +trigger all entities with this targetname when someone spawns +weight of spawn point for random selection. Set to a lower value if you have many spawn points close together. Default value is 1. +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 +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) + + + +A brush that emits particles. +-------- KEYS -------- +particle effect name from effectinfo.txt +when positive, number of particles to emit per second; when negative; number of particles to emit per second and 64^3 block +particle direction and speed +extra velocity jitter amount +particle count multiplier (per spawned particle) +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 +sound to play when the particle is emitted +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) +volume of the sound +name to target this (then its state is toggled) +emitter class from the BGM script +attack time of the effect strength (0 to 3.9) +decay time of the effect strength (0 to 3.9) +sustain level of the effect strength (0.1 to 1, set to -1 to disable sustain) +release time of the effect strength (0 to 3.9) +-------- SPAWNFLAGS -------- +when targeted, the particle emitter will start switched on +only send the full amount of impulse particles when the entity is triggered +only emit particles if the emitter brush is in the current PVS +-------- NOTES -------- +Use trigger_monoflop if you want the particles to turn off for a while, then turn back on. +A BGM script is a .bgs file named like the map, in the maps directory. Its format is lines of the form + <emitter class> <time since start of background music> <0 if the emitters are to be switched off, >0 and <=1 if they are to be switched on> +e.g. + smokers 4.7 1 + smokers 4.9 0 +The lines MUST be sorted by emitter class as primary key, and by the time since start of the BGM as secondary key. + + + +"Flip-flop" trigger gate... lets only every second trigger event through +-------- KEYS -------- +trigger all entities with this targetname when triggered +name that identifies this entity so it can be triggered +-------- SPAWNFLAGS -------- +assume it is already turned on (so the first event is NOT passed through) + + + +"Mono-flop" trigger gate... turns trigger events into pairs of events +-------- KEYS -------- +trigger all entities with this targetname when triggered +name that identifies this entity so it can be triggered +time to wait until the "off" event is fired +-------- SPAWNFLAGS -------- +do pulses of fixed length (so the "off" delay is NOT extended as usual and new events are just ignored) + + + +"Multivibrator" trigger gate... repeatedly sends trigger events. When triggered, turns on or off. +-------- KEYS -------- +trigger all entities with this targetname when it goes off +name that identifies this entity so it can be triggered +phase of the multivibrator (it is added to the time) +"on" cycle time (default: 1) +"off" cycle time (default: same as wait) +-------- SPAWNFLAGS -------- +assume it is already turned on (when targeted) + + + +Triggers once when the game starts, then no longer does anything. +-------- KEYS -------- +trigger all entities with this targetname when starting the game +trigger all entities with this targetname when starting the game +trigger all entities with this targetname when starting the game +trigger all entities with this targetname when starting the game +wait so many seconds before triggering + + + +Makes one entity follow another. Will not work with all entities. +-------- KEYS -------- +points to the entity to move (e.g. something that won't move by itself) +points to the entity that is to be used as the source (e.g. a func_plat) +tag name to attach to (if ATTACH is used) +angle modifier (if LOCAL is used, and ATTACH is not) +-------- SPAWNFLAGS -------- +attachment will be used instead of MOVETYPE_FOLLOW (mostly useful for attaching stuff to ZYM models) +do not untransform the coordinates (that is, the map specifies local coordinates, not global ones). Mostly useful with ATTACH. + + + +Placing this entity on a map kills your cat, voids the warranty on your toaster, and makes your map an unenjoyable campers' paradise. +the MinstaGib Nex. Always kills with one shot. +-------- KEYS -------- +initial cells of the weapon (if unset, g_pickup_cells is used) +time till it respawns (default: 15) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/weapons/g_minstanex.md3" + + + +the Port-O-Launch. Only can be shot once. +Portals cannot be made on noimpact surfaces, and the portal missile will bounce on slick surfaces. +-------- KEYS -------- +time till it respawns (default: 120) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/weapons/g_porto.md3" + + + +Sets the items of any player who triggers this. +For the number fields, not specifying a value means not changing it. To clear armor, you need to explicitly set "armor" to "-1". +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). +-------- KEYS -------- +used to trigger this +space separated list of items (either weapon short names (like in g_start_weapon_* cvars), or item short names "unlimited_ammo", "unlimited_weapon_ammo", "unlimited_superweapons", "invincible", "strength", "jetpack" and "fuel_regen" +message to print +amount of shells +amount of bullets +amount of rockets +amount of cells +amount of fuel +amount of health +amount of armor +if "strength" is specified, the time in seconds for which the strength will hold +if "invincible" is specified, the time in seconds for which the invincibility will hold +-------- SPAWNFLAGS -------- +any items not listed will get removed, and none will get added +the player may keep items not listed +the items listed will get removed from the player + + + +Spawns or modifies an entity when triggered. +The entity field list is a single string of the form: +'field' 'value' 'field' 'value' ... 'classname' 'item_bullets' ... 'field' 'value' +The special "field" name $ calls a void(void) function, for example a spawn function. +Special function names available are _setmodel and _setsize. +Field values can use various variable replacements: +$E +$E.field +$E.field+offset +$E.field+offset+randomoffset +where "E" can be self, activator, target (the entity being created/modified), killtarget, target2, target3, target4 and pusher. +Example is a Mario-style question mark block which could throw a new weapon_nex when activated like this: +{ +"classname" "func_button" +"angle" "-1" +"wait" "5" +"target" "makenex" +"speed" "1000" +"lip" "64" +... +} +{ +"classname" "target_spawn" +"origin" "0 0 448" +"targetname" "makenex" +"message" "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" +} +-------- KEYS -------- +used to trigger this +entity field list +when set, target_spawn edits entities, instead of creating new ones; the special value *activator causes the activator to be edited +make sure no more than count entities have been created by this (refuse to spawn new ones if exceeded) +reference entity (can be used as $killtarget) +reference entity (can be used as $target2) +reference entity (can be used as $target3) +reference entity (can be used as $target4) +-------- SPAWNFLAGS -------- +create a first entity on map load + + + +This is a brush model which can be damaged. +Once all health is consumed it'll disappear and trigger the targeted entity/entities. +When triggered, it resets to full health, and unbreaks. +-------- KEYS -------- +The damage this trigger can take +The entity/entities to be triggered once this entity gets invisible +The name other entities can use to target this entity +particle effect name to show when destroyed +particle effect multiplier +optional replacement model to show when destroyed +names of debris models to show when destroyed, separated by spaces +sound to play when destroyed +damage to deal to the environment when destroyed +edge damage to deal to the environment when destroyed +damage radius +damage force +death message when a player gets hit by the explosion +death message when someone gets pushed into this (default: "was pushed into an explosion by"). The # character is replaced by the attacker name if present (and it instead does not get appended to the end) +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 +solidity of the debris: one of 0 = NOT, 1 = TRIGGER, 2 = BBOX, 3 = SLIDEBOX, 4 = BSP, 5 = CORPSE +initial velocity vector of the debris (static part) +initial velocity vector of the debris (random part) +initial angular velocity vector of the debris (random part) +time till the debris fades (average) +time till the debris fades (random part) +how long debris takes to fade +how much debris is affected by damage force (e.g. explosions) +skin number of debris +-------- SPAWNFLAGS -------- +do not allow damaging this until it is first activated +indicate amount of damage already taken by coloring +if set, splash damage cannot activate the door, only direct damage can (requires health to be set) + + + +Relays the trigger event if a cvar is set to a specified value. +-------- KEYS -------- +The entity/entities to relay the trigger events to +The name other entities can use to target this entity +The name of the cvar to check +The value of the cvar to check +The count of entities that must be found +-------- SPAWNFLAGS -------- +trigger if the cvar does NOT match the value. + + + +the Heavy Laser Assault Cannon. +-------- KEYS -------- +initial cells of the weapon (if unset, g_pickup_cells is used) +time till it respawns (default: 30) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/weapons/g_hlac.md3" + + + +Placing this entity on a map kills your dog, voids the warranty on your car, and makes your map an unenjoyable noobs' paradise. +the T.A.G. Seeker. +-------- KEYS -------- +initial rockets of the weapon (if unset, g_pickup_rockets is used) +time till it respawns (default: 30) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/weapons/g_seeker.md3" + + + +the on-hand Grappling Hook. +-------- KEYS -------- +initial cells of the weapon (if unset, g_pickup_cells is used) +time till it respawns (default: 30) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/weapons/g_hookgun.md3" + + + +Any object touching this will be healed. +-------- KEYS -------- +health to give per second (default 10) +max health this trigger will give (default 200) +sound file to play (use misc/null.wav to make it silent), default = item_health_medium sound + + + +the Camping Rifle. +-------- KEYS -------- +initial bullets of the weapon (if unset, g_pickup_nails is used) +time till it respawns (default: 30) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/weapons/g_campingrifle.md3" + + + +Solid entity that oscillates according to a sum of sine waves. +-------- KEYS -------- +amount of time in seconds for one complete oscillation cycle in the base frequency (default 4). +sets the amount of travel of the oscillation movement (default 32). +sets the start offset of the oscillation cycle. Values must be 0 < phase < 1. Any integer phase value is the same as no offset (default 0). +path/name of .wav or .ogg file to play. Use looping sounds only (e.g. sound/world/drone6.wav - See Notes). +damage a player who gets crushed by it receives +interval to apply dmg to a player who is s in the way +death message when a player gets crushed +death message when someone gets pushed into this (default: "was thrown into a world of hurt by"). The # character is replaced by the attacker name if present (and it instead does not get appended to the end) +list of <frequencymultiplier> <phase> <x> <y> <z> 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 + + + +Solid entity that moves according to the movement of multiple given entities (max 4) +-------- KEYS -------- +first reference entity +factor by which to take the first reference entity (default 1). +if set, the first reference entity's location is first projected onto a plane with that normal +second reference entity +factor by which to take the second reference entity (default 1). +if set, the second reference entity's location is first projected onto a plane with that normal +third reference entity (optional) +factor by which to take the third reference entity (default 1). +if set, the third reference entity's location is first projected onto a plane with that normal +fourth reference entity (optional) +factor by which to take the fourth reference entity (default 1). +if set, the fourth reference entity's location is first projected onto a plane with that normal +path/name of .wav or .ogg file to play. Use looping sounds only (e.g. sound/world/drone6.wav - See Notes). +damage a player who gets crushed by it receives +interval to apply dmg to a player who is s in the way +death message when a player gets crushed +death message when someone gets pushed into this (default: "was thrown into a world of hurt by"). The # character is replaced by the attacker name if present (and it instead does not get appended to the end) +-------- SPAWNFLAGS -------- +target's origin is projected onto the given direction vector, not on the plane perpendicular to it +target2's origin is projected onto the given direction vector, not on the plane perpendicular to it +target3's origin is projected onto the given direction vector, not on the plane perpendicular to it +target4's origin is projected onto the given direction vector, not on the plane perpendicular to it + + + +Works similar to trigger_relay, but only relays trigger events if the team of the activator matches this entity's team +-------- KEYS -------- +trigger all entities with this targetname when triggered +trigger all entities with this targetname when triggered +trigger all entities with this targetname when triggered +trigger all entities with this targetname when triggered +name that identifies this entity so it can be triggered +delay the triggering by the given time +print this message to the player who activated the trigger +remove all entities with this targetname when triggered +5 for red, 14 for blue, 13 for yellow, 10 for pink team +-------- SPAWNFLAGS -------- +also relay events if the activator has no team set +only relay the event if this entity has the matching team + + + +Disables a trigger_relay temporarily (until triggered again) +-------- KEYS -------- +disable/enable all relays with this targetname when triggered +name that identifies this entity so it can be triggered + + + +Red goal. Defended by the red team. +-------- KEYS -------- +sound played when a point is scored +-------- SPAWNFLAGS -------- +The trigger also affects ball-carrying players (the ball is then auto-dropped) + + + +Blue goal. Defended by the blue team. +-------- KEYS -------- +sound played when a point is scored +-------- SPAWNFLAGS -------- +The trigger also affects ball-carrying players (the ball is then auto-dropped) + + + +Yellow goal. Defended by the yellow team. Needs both red and blue goals on the map to work. +-------- KEYS -------- +sound played when a point is scored +-------- SPAWNFLAGS -------- +The trigger also affects ball-carrying players (the ball is then auto-dropped) + + + +Pink goal. Defended by the pink team. Needs red, blue and yellow goals on the map to work. +-------- KEYS -------- +sound played when a point is scored +-------- SPAWNFLAGS -------- +The trigger also affects ball-carrying players (the ball is then auto-dropped) + + + + +This acts as a goal that always gives points to the opposing team. +-------- KEYS -------- +sound played when a point is scored +-------- SPAWNFLAGS -------- +The trigger also affects ball-carrying players (the ball is then auto-dropped) + + + +When the ball touches this, it is returned. +-------- KEYS -------- +sound played when a point is scored +-------- SPAWNFLAGS -------- +The trigger also affects ball-carrying players (the ball is then auto-dropped) + + + +The soccer type Nexball. +-------- KEYS -------- +set this if you want to use your own model +if you're using your own model, change this to scale it to 32*32*32 +played when the ball bounces +played when the ball is dropped on the map + + + +The basket ball type Nexball. +-------- KEYS -------- +set this if you want to use your own model +if you're using your own model, change this to scale it to 32*32*32 +played when the ball bounces +played when the ball is dropped on the map +played when the ball is stolen from the enemy + + + +Jetpack fuel +-------- KEYS -------- +fuel units gained by this item (if unset, g_pickup_fuel is used) +time till it respawns (default: 15) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/items/g_fuel.md3" + + + +Fuel regenerator +-------- KEYS -------- +time till it respawns (default: 120) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/items/g_fuelregen.md3" + + + +Jetpack +-------- KEYS -------- +fuel units gained by this item (if unset, g_pickup_fuel_jetpack is used) +time till it respawns (default: 120) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/items/g_jetpack.md3" + + + +Triggers targets when a given magic word has been said +-------- KEYS -------- +message to wait for (can start or end with * for wildcards) +replacement text (by default, no replacement is performed if empty) +radius in which the player has to be for this to match +all entities with a matching targetname will be triggered. +all entities with a matching targetname will be triggered. +all entities with a matching targetname will be triggered. +all entities with a matching targetname will be triggered. +-------- SPAWNFLAGS -------- +do not respond to "say" messages +do not respond to "say_team" messages +do not respond to "tell" messages +do not respond to "tell" messages of invalid syntax +replace the whole message by netname, or drop the message if netname is empty +also perform the replacement when outside the radius (to hide the "secret word") +even if this magic ear matched, continue looking for further matches/replacements (useful for swear word filters) +do not decolorize the input string before matching + + + +the Fireball +-------- KEYS -------- +initial rockets of the weapon (if unset, g_pickup_rockets is used) +time till it respawns (default: 15) +out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. +weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. +-------- SPAWNFLAGS -------- +the item will float in air, instead of aligning to the floor by falling +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +modeldisabled="models/weapons/g_fireball.md3" + + + +A warp zone, i.e. seamlessly connecting two parts of the map. +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. +Must target, or be targeted by, another trigger_warpzone with a congruent common/warpzone surface. +Should target a target_position, or be targeted by a misc_warpzone_position. +Should be thick enough to fit a player entity (i.e. 32 units), preferably even thicker. +-------- KEYS -------- +must point to another trigger_warpzone, or... +is triggered when a player ENTERS the warpzone (and warps away) +is triggered when a player LEAVES the warpzone (from the other warp zone to this one) +is triggered in both cases +must be pointed to by another trigger_warpzone. Should be pointed to by a misc_warpzone_position entity, or... +should point to a target_position entity, or +start distance of fading out the warpzone +end distance of fading out the warpzone (if viewer is further, warpzone is not rendered at all) + + + +Reconnects (randomly) all warpzones/cameras with matching target when triggered +-------- KEYS -------- +must point to multiple trigger_warpzones, or be not set (then all warpzones may get changed) +name that identifies this entity so it can be triggered +-------- SPAWNFLAGS -------- +do not rearrange a warpzone if a player can currently see it + + + +Orientation specification for a trigger_warpzone +-------- KEYS -------- +must point to a trigger_warpzone +must point perpendicular to the common/warpzone surface of the trigger_warpzone, and away from the trigger brush +must be on the common/warpzone surface of the trigger_warpzone + + + +A camera, i.e. a surface that shows a view from another part of the map. +One surface of this entity must have the common/camera shader, the others should be common/caulk. +Must target a target_position that indicates the view to be shown (and whose angles also indicate the orientation of the view) +-------- KEYS -------- +must point to a target_position +start distance of fading out the warpzone +end distance of fading out the warpzone (if viewer is further, warpzone is not rendered at all) + + + +Background music target (when this is used, the cdtrack line in mapinfo must not be used, and there MUST be a default target_music). +When triggered, the background music is switched to the given track. +When targetname is not set, this is the default track of the map. +-------- KEYS -------- +The name other entities can use to target this entity (when not set, this one is the default) +the music to play (as full sound file name) +the volume (default: 1) +fade-in time +fade-out time +when set, the music created by this target is switched back to the default one when this time expires +-------- SPAWNFLAGS -------- +the trigger is off initially + + + +Background music trigger (when this is used, the cdtrack line in mapinfo must not be used, and there MUST be a default target_music). +When triggered, its effect is turned off until triggered again. +-------- KEYS -------- +The name other entities can use to target this entity +the music to play (as full sound file name) +the volume (default: 1) +fade-in time +fade-out time +-------- SPAWNFLAGS -------- +the trigger is off initially + + + +An area where gravity differs from the rest of the map. +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. +-------- KEYS -------- +gravity offset in this area, defaults to 0 if not set +sound to play when an entity enters the gravity zone, leave empty to disable +you can use this to target the grazity zone with a trigger, which will toggle it when activated +-------- SPAWNFLAGS -------- +entities keep their gravity after leaving the gravity zone +when targeted, the gravity zone starts off and is enabled upon triggering + + + +Activates all .target's +List of currently supported target ents: +trigger_hurt +trigger_heal +trigger_impulse +trigger_push +trigger_teleport +func_rotating +func_bobbing +func_button +func_fourier +func_vectormamamam +-------- KEYS -------- +trigger all entities with this targetname when triggered +name that identifies this entity so it can be triggered + + + +Deactivates all .target's +List of currently supported target ents: +trigger_hurt +trigger_heal +trigger_impulse +trigger_push +trigger_teleport +func_rotating +func_bobbing +func_button +func_fourier +func_vectormamamam +-------- KEYS -------- +trigger all entities with this targetname when triggered +name that identifies this entity so it can be triggered + + + +Toggles all .target's de/active +List of currently supported target ents: +trigger_hurt +trigger_heal +trigger_impulse +trigger_push +trigger_teleport +func_rotating +func_bobbing +func_button +func_fourier +func_vectormamamam +-------- KEYS -------- +trigger all entities with this targetname when triggered +name that identifies this entity so it can be triggered + + + +Loads another map when triggered. Useful for single player maps. +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. +-------- KEYS -------- +The name other entities can use to target this entity +Map file to switch to, leave empty to make this entity just end the match +Switch to this gametype. If empty, the same gametype stays + + diff --git a/scripts/turrets.def b/scripts/turrets.def index 6ed2e286..71bfd0d6 100644 --- a/scripts/turrets.def +++ b/scripts/turrets.def @@ -67,7 +67,7 @@ PILLAR: Adds a supporting pillar under this turret, for turrets on terrain/uneve model="../xonotic-data.pk3dir/models/turrets/radiant/flac.md3" */ -/*QUAKED turret_mlrs (1 0 0) (-32 -32 0) (32 32 50) +/*QUAKED turret_mlrs (1 0 0) (-32 -32 0) (32 32 50) - PILLAR 6 unguided rockers fired in a rapid burst. -------- KEYS -------- turret_scale_damage: 2 = double damage, 0.5 = half @@ -84,7 +84,7 @@ PILLAR: Adds a supporting pillar under this turret, for turrets on terrain/uneve model="../xonotic-data.pk3dir/models/turrets/radiant/mlrs.md3" */ -/*QUAKED turret_hellion (1 0 0) (-32 -32 0) (32 32 50) +/*QUAKED turret_hellion (1 0 0) (-32 -32 0) (32 32 50) - PILLAR 2 guided moderate damage accelerating rockets -------- KEYS -------- turret_scale_damage: 2 = double damage, 0.5 = half @@ -102,7 +102,7 @@ model="../xonotic-data.pk3dir/models/turrets/radiant/hellion.md3" */ -/*QUAKED turret_hk (1 0 0) (-32 -32 0) (32 32 50) +/*QUAKED turret_hk (1 0 0) (-32 -32 0) (32 32 50) - PILLAR Single powerful rocket with the ability to evade obstacles to find its target. Varied speed. -------- KEYS -------- turret_scale_damage: 2 = double damage, 0.5 = half @@ -119,7 +119,7 @@ PILLAR: Adds a supporting pillar under this turret, for turrets on terrain/uneve model="../xonotic-data.pk3dir/models/turrets/radiant/hk.md3" */ -/*QUAKED turret_tesla (1 0 0) (-32 -32 0) (32 32 50) +/*QUAKED turret_tesla (1 0 0) (-32 -32 0) (32 32 50) - PILLAR Fires a lightning bolt that will jump to up to 10 targets if they are close enough to each other. Missiles included. -------- KEYS -------- turret_scale_damage: 2 = double damage, 0.5 = half @@ -136,7 +136,7 @@ PILLAR: Adds a supporting pillar under this turret, for turrets on terrain/uneve model="../xonotic-data.pk3dir/models/turrets/radiant/tesla.md3" */ -/*QUAKED turret_phaser (1 0 0) (-32 -32 0) (32 32 50) +/*QUAKED turret_phaser (1 0 0) (-32 -32 0) (32 32 50) - PILLAR Constant beam weapon that will considerably slow its target down while dealing low but constant damage. -------- KEYS -------- turret_scale_damage: 2 = double damage, 0.5 = half @@ -154,7 +154,7 @@ model="../xonotic-data.pk3dir/models/turrets/radiant/phaser.md3" */ -/*QUAKED turret_fusionreactor (1 0 0) (-32 -32 0) (32 32 50) +/*QUAKED turret_fusionreactor (1 0 0) (-32 -32 0) (32 32 50) - PILLAR -------- KEYS -------- turret_scale_damage: 2 = double damage, 0.5 = half turret_scale_range: 2 = double range, 0.5 = half diff --git a/scripts/turrets.ent b/scripts/turrets.ent new file mode 100644 index 00000000..0d573b97 --- /dev/null +++ b/scripts/turrets.ent @@ -0,0 +1,229 @@ + + + +Fast firing moderate damage bullet (hitscan) turret. +-------- KEYS -------- +2 = double damage, 0.5 = half +2 = double range, 0.5 = half +2 = double refire (SLOWER!), 0.5 = half (FASTER!) +2 = double ammo carry & regen, 0.5 = half ammo carry & regen +2 = aim twice as fast, 0,5 = aim at half speed +2 = double health, 0.5 = half +Defend the position of this entity +5=red, 14=blue +-------- SPAWNFLAGS -------- +Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +model="../xonotic-data.pk3dir/models/turrets/radiant/mg.md3" + + + +-------- KEYS -------- +2 = double damage, 0.5 = half +2 = double range, 0.5 = half +2 = double refire (SLOWER!), 0.5 = half (FASTER!) +2 = double ammo carry & regen, 0.5 = half ammo carry & regen +2 = aim twice as fast, 0,5 = aim at half speed +2 = double health, 0.5 = half +Defend the position of this entity +5=red, 14=blue +-------- SPAWNFLAGS -------- +Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) +---------NOTES---------- +Basic energy cannon +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +model="../xonotic-data.pk3dir/models/turrets/radiant/plasma.md3" + + + +basic energy cannon * 2 +-------- KEYS -------- +2 = double damage, 0.5 = half +2 = double range, 0.5 = half +2 = double refire (SLOWER!), 0.5 = half (FASTER!) +2 = double ammo carry & regen, 0.5 = half ammo carry & regen +2 = aim twice as fast, 0,5 = aim at half speed +2 = double health, 0.5 = half +Defend the position of this entity +5=red, 14=blue +-------- SPAWNFLAGS -------- +Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +model="../xonotic-data.pk3dir/models/turrets/radiant/plasma2.md3" + + + +Only kills missiles, rockets, grenadelauncher & electro secondaries to be precise. +-------- KEYS -------- +2 = double damage, 0.5 = half +2 = double range, 0.5 = half +2 = double refire (SLOWER!), 0.5 = half (FASTER!) +2 = double ammo carry & regen, 0.5 = half ammo carry & regen +2 = aim twice as fast, 0,5 = aim at half speed +2 = double health, 0.5 = half +Defend the position of this entity +5=red, 14=blue +-------- SPAWNFLAGS -------- +Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +model="../xonotic-data.pk3dir/models/turrets/radiant/flac.md3" + + + +6 unguided rockers fired in a rapid burst. +-------- KEYS -------- +2 = double damage, 0.5 = half +2 = double range, 0.5 = half +2 = double refire (SLOWER!), 0.5 = half (FASTER!) +2 = double ammo carry & regen, 0.5 = half ammo carry & regen +2 = aim twice as fast, 0,5 = aim at half speed +2 = double health, 0.5 = half +Defend the position of this entity +5=red, 14=blue +-------- SPAWNFLAGS -------- +Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +model="../xonotic-data.pk3dir/models/turrets/radiant/mlrs.md3" + + + +2 guided moderate damage accelerating rockets +-------- KEYS -------- +2 = double damage, 0.5 = half +2 = double range, 0.5 = half +2 = double refire (SLOWER!), 0.5 = half (FASTER!) +2 = double ammo carry & regen, 0.5 = half ammo carry & regen +2 = aim twice as fast, 0,5 = aim at half speed +2 = double health, 0.5 = half +Defend the position of this entity +5=red, 14=blue +-------- SPAWNFLAGS -------- +Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +model="../xonotic-data.pk3dir/models/turrets/radiant/hellion.md3" + + + + +Single powerful rocket with the ability to evade obstacles to find its target. Varied speed. +-------- KEYS -------- +2 = double damage, 0.5 = half +2 = double range, 0.5 = half +2 = double refire (SLOWER!), 0.5 = half (FASTER!) +2 = double ammo carry & regen, 0.5 = half ammo carry & regen +2 = aim twice as fast, 0,5 = aim at half speed +2 = double health, 0.5 = half +Defend the position of this entity +5=red, 14=blue +-------- SPAWNFLAGS -------- +Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +model="../xonotic-data.pk3dir/models/turrets/radiant/hk.md3" + + + +Fires a lightning bolt that will jump to up to 10 targets if they are close enough to each other. Missiles included. +-------- KEYS -------- +2 = double damage, 0.5 = half +2 = double range, 0.5 = half +2 = double refire (SLOWER!), 0.5 = half (FASTER!) +2 = double ammo carry & regen, 0.5 = half ammo carry & regen +2 = aim twice as fast, 0,5 = aim at half speed +2 = double health, 0.5 = half +Defend the position of this entity +5=red, 14=blue +-------- SPAWNFLAGS -------- +Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +model="../xonotic-data.pk3dir/models/turrets/radiant/tesla.md3" + + + +Constant beam weapon that will considerably slow its target down while dealing low but constant damage. +-------- KEYS -------- +2 = double damage, 0.5 = half +2 = double range, 0.5 = half +2 = double refire (SLOWER!), 0.5 = half (FASTER!) +2 = double ammo carry & regen, 0.5 = half ammo carry & regen +2 = aim twice as fast, 0,5 = aim at half speed +2 = double health, 0.5 = half +Defend the position of this entity +5=red, 14=blue +-------- SPAWNFLAGS -------- +Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +model="../xonotic-data.pk3dir/models/turrets/radiant/phaser.md3" + + + + +-------- KEYS -------- +2 = double damage, 0.5 = half +2 = double range, 0.5 = half +2 = double refire (SLOWER!), 0.5 = half (FASTER!) +2 = double ammo carry & regen, 0.5 = half ammo carry & regen +2 = aim twice as fast, 0,5 = aim at half speed +2 = double health, 0.5 = half +5=red, 14=blue +-------- SPAWNFLAGS -------- +Adds a supporting pillar under this turret, for turrets on terrain/uneven surfaces. (only for visuals) +---------NOTES---------- +Supplies neerby energy based turrets with more power so they can fire more often. +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +model="../xonotic-data.pk3dir/models/turrets/radiant/reactor.md3" + + + +Used to feed turrets capable of it with remote target info. currently only turret_hk supports this. + + + + +-----------KEYS------------ +2 = double damage, 0.5 = half +2 = double range, 0.5 = half +2 = doubble refire (SLOWER!), 0.5 = half (FASTER!) +2 = doubble ammo carry & regen, 0.5 = half ammo carry & regen +2 = aim twice as fast, 0,5 = aim at half speed +2 = double health, 0.5 = half +5=red, 14=blue +-----------SPAWNFLAGS----------- +---------NOTES---------- + +A nasty mechanical critter that will engage longrange target with missiles, midrange with its minigun and meele things up close and personal. + +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +model="../xonotic-data.pk3dir/models/turrets/radiant/walker.md3" + + + + +-----------KEYS------------ +2 = double damage, 0.5 = half +2 = double range, 0.5 = half +2 = doubble refire (SLOWER!), 0.5 = half (FASTER!) +2 = doubble ammo carry & regen, 0.5 = half ammo carry & regen +2 = aim twice as fast, 0,5 = aim at half speed +2 = double health, 0.5 = half +5=red, 14=blue +-----------SPAWNFLAGS----------- +---------NOTES---------- + +Small, agile and moveing turret. + +-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY -------- +model="../xonotic-data.pk3dir/models/turrets/radiant/ewheel.md3" + + + + +-----------KEYS------------ +.targetname of next wapoint in chain. +Pause at this point # seconds. +-----------SPAWNFLAGS----------- + +---------NOTES---------- +If a loop is of targets are formed, any unit entering this loop will patrol it indefinitly. +If the checkpoint chain in not looped, the unit will go "Roaming" when the last point is reached. + + -- 2.39.2