From 080f47170726304d2a02a20a29c9f2592e1855c1 Mon Sep 17 00:00:00 2001 From: Freddy Date: Fri, 9 Mar 2018 18:39:46 +0100 Subject: [PATCH] Update entities.ent for func_train and path_corner --- scripts/entities.ent | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/scripts/entities.ent b/scripts/entities.ent index 1455ab4d..6b8c19ba 100644 --- a/scripts/entities.ent +++ b/scripts/entities.ent @@ -325,10 +325,9 @@ Point entity with EF_STARDUST applied. This will spawn a particle cloud with mos 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 always start on mapstart unless NEEDACTIVATION is set. Trains do not damage the player 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) @@ -339,6 +338,10 @@ Trains cannot be block-stopped just by getting in their way, the player must be interval to apply dmg to a player who is 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 -------- +don't use the direct path to the next target, instead create a curved path using the current path_corner's curvetarget +turn the train when it reaches a path_corner +train needs to be triggered to start @@ -1098,10 +1101,12 @@ All path_corner entities of a train have to connect in a circular manner, while triggered when a func_train stops at this target triggered when a func_train stops at this target triggered when a func_train stops at this target -instead of triggering ALL matched entities, trigger ONE of them by random +choose a random next corner from the list of all path_corners with targetname specified in "target" 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 +-------- SPAWNFLAGS -------- +train needs to be triggered to move to this corner -- 2.39.2