From 0ef86096d5e65cd65e39ada82c37938fca1eddee Mon Sep 17 00:00:00 2001 From: div0 Date: Sat, 11 Jul 2009 21:14:27 +0000 Subject: [PATCH] entities.def git-svn-id: svn://svn.icculus.org/nexuiz/trunk@7200 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- .../nexuiz.game/data/entities.def | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/misc/netradiant-NexuizPack/nexuiz.game/data/entities.def b/misc/netradiant-NexuizPack/nexuiz.game/data/entities.def index 594a65dd4..471732841 100644 --- a/misc/netradiant-NexuizPack/nexuiz.game/data/entities.def +++ b/misc/netradiant-NexuizPack/nexuiz.game/data/entities.def @@ -1228,6 +1228,8 @@ message: Death message, when touching checkpoints in the wrong order. message2: 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) targetname: Name of the checkpoint. info_player_race can target this to assign a spawn to a checkpoint. Also used for triggering a checkpoint by an event. target: when the checkpoint is passed, these entities are triggered. Useful for forcing items in certain areas using trigger_items +race_penalty: when set, this penalty time is given if passing this checkpoint, and the checkpoint does not show up with a sprite. Useful for invisible checkpoints to detect driving around the intended checkpoint +race_penalty_reason: reason to display when the penalty time is imposed. Default: "missing a checkpoint" -------- SPAWNFLAGS -------- NOTOUCH: the checkpoint will not become active when touched, it HAS to be targeted STRICTTRIGGER: only trigger the targets when the checkpoint actually was reached in a valid way (that is, not when going back) @@ -1235,6 +1237,15 @@ CRUSH: the checkpoint kills when used at the wrong time FINISH: 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 */ +/*QUAKED trigger_race_penalty (0 1 0) ? NOTOUCH +A penalty trigger. +-------- KEYS -------- +race_penalty: this penalty time is given if passing this trigger +race_penalty_reason: reason to display when the penalty time is imposed. Default: "leaving the track" +-------- SPAWNFLAGS -------- +NOTOUCH: the trigger will not become active when touched, it HAS to be targeted +*/ + /*QUAKED info_player_race (1 0.5 0) (-16 -16 -24) (16 16 45) Race spawn point. NOTE for race_place: when the race starts after the qualifying, the player with the fastest map 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 race_place not set. So for each trigger_race_checkpoint, there must be at least one corresponding info_player_race with race_place NOT set. -- 2.39.2